:root {
    --bg-color: #000000;
    --card-bg-color: #000000;
    --primary-purple: #a37dfd;
    --secondary-purple: #7957d5;
    --text-light: #e0e0e0;
    --text-dark: #888; /* UPDATED: Made text slightly lighter for better contrast */
    --star-yellow: #fddf5e;
}

/* Basic Reset and Setup */
* {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Main Background Gradient */
.main-bg {
    background-color: var(--bg-color);
    /* UPDATED: Reduced gradient opacity for a darker feel */
    background-image: radial-gradient(circle at 50% 0%, rgba(163, 125, 253, 0.1) 0%, rgba(163, 125, 253, 0) 40%),
                      radial-gradient(circle at 50% 100%, rgba(121, 87, 213, 0.1) 0%, rgba(121, 87, 213, 0) 40%);
}

/* Container for centering content */
.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


/* Buttons */
.btn {
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-purple);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-purple);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--text-light);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-secondary:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* Glow Effects */
.purple-glow {
    box-shadow: 0 0 15px 5px rgba(163, 125, 253, 0.3), 0 0 5px 1px rgba(163, 125, 253, 0.2);
}
.purple-glow-hard {
    box-shadow: 0 0 25px 8px rgba(163, 125, 253, 0.4), 0 0 10px 2px rgba(163, 125, 253, 0.3);
}
.text-glow {
    text-shadow: 0 0 10px var(--primary-purple);
}

.animated-gradient-text {
    background-image: linear-gradient(90deg, var(--primary-purple), var(--text-light), var(--primary-purple));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-flow 4s linear infinite;
}

@keyframes gradient-flow {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -6rem; /* Offset for header height */
}

.hero-section .journey-tag {
    display: inline-block;
    background-color: rgba(121, 87, 213, 0.2);
    color: var(--primary-purple);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(121, 87, 213, 0.5);
    margin-bottom: 1rem;
}

.hero-section h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.2;
}

.hero-section h2 span {
    color: var(--primary-purple);
}

.hero-section p {
    font-size: 1.125rem;
    color: var(--text-dark);
    max-width: 48rem;
    margin: 1.5rem auto 0;
}

.hero-section .btn {
    margin-top: 2.5rem;
}

/* Generic Section Styling */
.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Section 2: Philosophy */
.philosophy-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.philosophy-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(121, 87, 213, 0.25);
}

.section-tag {
    color: var(--primary-purple);
    font-weight: 1000;
    font-size: 40px;
    margin-bottom: 0.5rem;
}

.section-heading {
    font-size: 30px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.section-text {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.75;
}

/* Section 3: Pillars */
.pillars-grid {
    display: grid;
    gap: 2rem;
}

.card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px -10px rgba(163, 125, 253, 0.2);
}

.card .icon, .card h4, .card p, .card .tags, .card .btn {
    transform: translateZ(20px);
}

.card .icon {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.card .tags { display: flex; }
.card .tag {
    background-color: #111;
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-right: 0.5rem;
}

.card .btn {
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Section 4: Horizontal Scroll Section */
.process-section-container { position: relative; }
.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
}
.horizontal-track {
    position: relative;
    height: 100%;
    display: flex;
    will-change: transform;
}
.panel {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.panel:first-child { border-left: none; }

/* Panel Content Layout */
.panel-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
    max-width: 1000px;
}

.panel-text {
    text-align: center;
}

.panel-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 0 auto;
}

.panel h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}
.panel p {
    font-size: 1.125rem;
    color: var(--text-dark);
    max-width: 500px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section { text-align: center; 
padding-top: 4rem;}
.cta-section .container div {
    max-width: 56rem;
    margin: 0 auto;
}

/* Footer */
      .site-footer {
            background-color: #05020c;
            color: #a0a0a0;
            padding: 50px 20px 20px 20px;
            margin-top: auto;
            border-top: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

      .footer-logo {
        height: 100px;
        margin-bottom: 15px;
      }

        .site-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 150%;
            height: 400px;
            background: radial-gradient(circle, rgba(163, 125, 253, 0.1), transparent 70%);
            pointer-events: none;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column .logo-svg {
            height: 40px;
            margin-bottom: 15px;
        }

        .footer-column p {
            font-size: 14px;
            line-height: 1.7;
        }

        .footer-column h3 {
            color: #ffffff;
            font-size: 18px;
            margin-bottom: 20px;
            font-weight: 500;
        }
        .footer-heading {
            font-size: 30px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 20px;
            font-family: 'Poppins', sans-serif;
            
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #a0a0a0;
            text-decoration: none;
            transition: color 0.3s, padding-left 0.3s;
        }

        
        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .newsletter-input {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            color: #fff;
            padding: 12px;
            border-radius: 8px;
            font-family: inherit;
            transition: border-color 0.3s, box-shadow 0.3s;
            outline: none;
        }

        .newsletter-input:focus {
            border-color: var(--primary-purple);
            box-shadow: 0 0 0 3px rgba(163, 125, 253, 0.3);
        }

        .subscribe-btn {
            background-color: var(--primary-purple);
            color: #fff;
            font-weight: 500;
        }
        
        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 14px;
        }

        .footer-socials {
            display: flex;
            gap: 15px;
        }

        .footer-socials a {
            color: #a0a0a0;
            font-size: 18px;
            transition: color 0.3s, transform 0.3s;
        }

        .footer-socials a:hover {
            color: #fff;
            transform: scale(1.2);
        }
/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    margin-top: 130px;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-purple) 0%, rgba(121, 87, 213, 0) 60%);
    opacity: 0.1; /* UPDATED: Reduced opacity for darker feel */
    pointer-events: none;
    transition: transform 0.1s ease-out;
    z-index: -1;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .main-nav { display: flex; align-items: center; gap: 2rem; }
    .hero-section h2 { font-size: 4.5rem; }
    .hero-section p { font-size: 1.25rem; }
    .section { padding-top: 8rem; padding-bottom: 8rem; }
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    .section-heading { font-size: 3rem; }
    .cta-section .section-heading { font-size: 3.75rem; }
    
    /* Responsive Panel Layout */
    .panel-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }
    .panel-text { text-align: left; }
    .panel-image img { margin: 0; }
    .panel p { margin: 0; }
    .panel h3 { font-size: 4rem; }
}
/* Add this new rule to the END of your about-us.css file */

.cta-section .reveal.visible {
    margin-top: 0;
}
