@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --color-bg: #1A237E; /* Deep Navy Blue */
    --color-bg-dark: #0f1544;
    --color-text: #F5F5DC; /* Elegant Cream */
    --color-text-muted: rgba(245, 245, 220, 0.7);
    --color-accent: #FFD700; /* Gold/Yellow for subtle highlights */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-gsap: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll Progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-accent), #FFF);
    z-index: 10001;
    transform-origin: 0 50%;
    transform: scaleX(0);
}

/* Smooth Scrolling optimization */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    background-image: 
        linear-gradient(rgba(245, 245, 220, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 245, 220, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Noise overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.section-header p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.6;
}
/* Glass Header */
.glass-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    background: rgba(26, 35, 126, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.glass-header.is-solid {
    background: var(--color-bg); /* Solid Navy */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--color-text);
}

.logo .highlight {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-links li a:hover {
    opacity: 1;
}

.nav-links li a:hover::after {
    width: 100%;
}

.btn-primary {
    padding: 0.6rem 1.5rem;
    background: var(--color-text);
    color: var(--color-bg);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--color-text);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    cursor: pointer;
    will-change: transform;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: transparent;
    color: var(--color-text);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -6px); /* Simplified cross animation */
    /* Note: simplified to just rotation for robustness, precise cross requires 3 lines usually or better math */
    opacity: 0; 
}
/* Let's try a better cross with 3 lines usually, but here I have 2. 
   With 2 lines, usually convert to X. 
   Line 1 -> Rotate 45
   Line 2 -> Rotate -45
   But they need center alignment.
   Let's just keep it simple or add a 3rd line in HTML if needed.
   Wait, HTML has 2 spans. 
   Let's do:
   span 1: rotate 45 translate 0, 0
   span 2: rotate -45 translate 0, 0
   Need absolute positioning for perfect center.
*/
.mobile-menu-toggle {
    width: 30px;
    height: 24px;
    position: relative;
}
.mobile-menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
}
.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { bottom: 0; }

/* Let's stick to standard 3 bars or modify HTML. The HTML has 2 spans currently. */
/* HTML: <span></span><span></span> */
.mobile-menu-toggle span:nth-child(1) { top: 8px; } 
.mobile-menu-toggle span:nth-child(2) { top: 16px; }
/* Wait, let's fix the CSS for 2 lines to make a nice open/close or just hamburger */


/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-overlay ul {
    text-align: center;
}

.mobile-nav-overlay li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.mobile-nav-overlay.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay a {
    font-size: 2rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-title .line {
    display: block;
}

.text-accent {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-text);
    position: relative;
    display: inline-block;
}

.text-accent::before {
    content: 'Striking';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-accent); /* Changed back to Gold/Yellow */
    width: 0;
    height: 120%;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--color-accent);
    padding-right: 15px; /* Increased slightly for better clearance on 'g' */
    animation: typeReveal 3s infinite alternate;
    -webkit-text-stroke: 0;
}

@keyframes typeReveal {
    0%, 30% { width: 0; }
    70%, 100% { width: 100%; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 600px;
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 5px;
}

.btn-explore .arrow {
    transition: transform 0.3s ease;
}

.btn-explore:hover .arrow {
    transform: translateX(10px);
}

/* Background Elements */
.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3949AB, transparent);
    top: -100px;
    right: -100px;
    animation: pulse 10s infinite alternate;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #000051, transparent);
    bottom: -10%;
    left: -10%;
    animation: float 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -30px); }
}

/* Hero Marquee */
.hero-marquee {
    position: absolute;
    bottom: 5vh;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2;
    padding: 20px 0;
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-text);
    opacity: 0.15;
    text-transform: uppercase;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .hero-marquee {
        bottom: 8vh;
    }
    .marquee-track span {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}

/* Work Section Redesign */
.work-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
    position: relative;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

.work-header h2 {
    font-size: clamp(3rem, 7vw, 5rem);
    letter-spacing: -2px;
}

.work-header p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

.work-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.5;
}

.work-nav .active {
    color: var(--color-accent);
    opacity: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    height: auto;
    padding: 0;
    flex-direction: column;
    justify-content: flex-start;
}

.card-image {
    height: 300px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    padding: 2.5rem;
}

.card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
    display: block;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.card-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
}

.card-link span {
    transition: transform 0.3s ease;
}

.work-card:hover .card-link span {
    transform: translateX(5px);
}

.work-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255, 215, 0, 0.2);
}

/* Minimalist Mockup Visuals */
.mockup-ui, .mockup-ui-2, .mockup-ui-3 {
    width: 70%;
    height: 150px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.6s var(--transition-smooth);
}

.work-card:hover .mockup-ui,
.work-card:hover .mockup-ui-2,
.work-card:hover .mockup-ui-3 {
    transform: translateY(-10px) scale(1.05);
}

.ui-line {
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    width: 100%;
}

.ui-line.tall { height: 12px; background: rgba(255,255,255,0.1); width: 60%; }

.ui-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
}

.ui-graph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.bento-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bento-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.bento-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 90%;
}

.tags {
    margin-top: 1rem;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags span {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* New Bento Visual Mockups */
.bento-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.bento-item:hover .bento-visual {
    opacity: 0.8;
}

.mockup-header {
    height: 35px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
    margin: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.mockup-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: inline-block;
}

.mockup-search {
    width: 80px;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    margin-left: auto;
}

.mockup-stats {
    padding: 5px 20px;
    display: flex;
    gap: 12px;
}

.stat-pill {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
}

.mockup-sidebar {
    width: 50px;
    height: 100%;
    background: rgba(255,255,255,0.03);
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    gap: 1.5rem;
}

.sidebar-item {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
}

.sidebar-item.active { background: var(--color-accent); }

.visual-chart-line {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    width: 160px;
    filter: drop-shadow(0 0 10px var(--color-accent));
}

.bento-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    will-change: transform;
}

.bento-metric {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -2px;
}

.metric-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    opacity: 0.5;
    text-align: right;
    display: block;
}


/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* About Section */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background-image: linear-gradient(to bottom, var(--color-bg) 0%, rgba(26, 35, 126, 0.6) 15%, rgba(26, 35, 126, 0.6) 80%, var(--color-bg) 100%), url('../image/background.png');
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
}

@media (min-width: 1024px) {
    .about-section {
        background-attachment: fixed;
    }
}

.about-text h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 2.5rem;
    max-width: 900px;
    line-height: 1.1;
}

.about-text p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 800px;
}

.footer {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-text);
    color: var(--color-bg);
    border-top: 1px solid rgba(26, 35, 126, 0.1);
    opacity: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-large { grid-column: span 2; height: 400px; }
    .bento-medium-v { grid-column: span 1; height: 350px; }
    .bento-medium-h { grid-column: span 1; height: 350px; }
    .bento-small { grid-column: span 1; height: 250px; }
}

@media (max-width: 768px) {
    .glass-header { padding: 1rem; width: 95%; }
    
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .hero-title { font-size: 14vw; } /* Bigger text for mobile */
    .hero-subtitle { font-size: 1.1rem; }
    
    .work-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        margin: 0 -20px;
        padding: 0 20px 20px;
        -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }

    .work-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    .work-card {
        min-width: 85%;
        scroll-snap-align: center;
    }

    .card-image {
        height: 160px; /* More compact height on mobile */
    }

    .card-content {
        padding: 1.5rem; /* Tighter padding on mobile */
    }
    
    .text-accent::before {
        display: block; 
    }
    .text-accent {
        -webkit-text-stroke: 1px var(--color-text);
        color: transparent;
    }
}

/* Services Section */
.services-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.services-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 5rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    will-change: transform;
    z-index: 2;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    opacity: 0.03;
    line-height: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.service-card:hover .service-number {
    opacity: 0.08;
    transform: translateY(-5px);
}

/* Mobile Haptic/Interaction Feedback */
.service-card:active, .work-card:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 250px;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255, 215, 0, 0.2); /* Subtle Gold border on hover */
}

/* Subtle glow effect on hover */
.service-card:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, rgba(255, 215, 0, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    z-index: 1;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    z-index: 1;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    z-index: 1;
}

/* Responsive for Services */
@media (max-width: 768px) {
    .services-section { padding: 80px 0; overflow: hidden; }
    
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        margin: 0 -20px;
        padding: 0 40px 20px 20px; /* Extra right padding for scroll end */
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    
    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        min-width: 85%;
        scroll-snap-align: center;
        padding: 3rem 1.5rem;
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 3rem 1.5rem;
        text-align: left;
        align-items: flex-start;
    }

    .service-number {
        font-size: 3rem;
    }
}

/* Impact Bar Styles */
.impact-bar {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin: 40px 0;
}

.impact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.impact-item {
    text-align: center;
    flex: 1;
}

.impact-count {
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.impact-item.highlight .impact-count {
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .impact-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .impact-bar {
        padding: 40px 0;
    }
    .impact-count {
        font-size: 2rem;
    }
    .impact-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
}

.faq-question {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--color-text);
    padding-right: 20px;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.4s var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    background: rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-question { padding: 1.5rem; }
    .faq-question h3 { font-size: 1rem; }
    .faq-answer p { padding: 0 1.5rem 1.5rem; font-size: 0.9rem; }
}

/* Contact Section */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    z-index: 10;
    background-color: var(--color-text); /* Color from brand.jpeg words */
    color: var(--color-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    border-radius: 24px;
    align-items: center;
}

.contact-content h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    color: var(--color-bg);
}

.contact-content p {
    font-size: 1.2rem;
    color: rgba(26, 35, 126, 0.8);
    margin-bottom: 4rem;
    max-width: 500px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3949AB;
    margin-bottom: 0.5rem;
}

.contact-item .value {
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    color: var(--color-bg);
}

.contact-item .value::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-bg);
    transition: var(--transition-smooth);
}

.contact-item .value:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    font-size: 1.1rem;
    border-bottom: 1px solid transparent;
    color: var(--color-bg);
}

.social-link:hover {
    color: #3949AB;
    border-color: #3949AB;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: #FFFFFF;
    border: 1px solid rgba(26, 35, 126, 0.1);
    border-radius: 12px;
    color: var(--color-bg);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-bg);
    background: #FFFFFF;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    padding: 1.2rem;
    background: var(--color-bg);
    color: var(--color-text);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #3949AB;
    transform: translateY(-2px);
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 3rem;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .contact-content p {
        margin: 0 auto 3rem;
    }
    
    .contact-details {
        align-items: center;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--color-accent);
}


/* Process Section - Timeline Style */
.process-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.process-steps {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Vertical Central Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
    opacity: 0.2;
    z-index: 0;
}

.step {
    position: relative;
    width: 45%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05); /* Brightened slightly */
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    z-index: 1;
    margin-bottom: 60px;
}

/* Alternating Cards */
.step:nth-child(odd) {
    align-self: flex-start;
    text-align: right;
}

.step:nth-child(even) {
    align-self: flex-end;
    text-align: left;
}

/* Timeline Dots */
.step::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 0 20px var(--color-accent);
    animation: dotPulse 2s infinite ease-in-out;
}

.step:nth-child(odd)::after {
    right: calc(-11.1% - 6px);
}

.step:nth-child(even)::after {
    left: calc(-11.1% - 6px);
}

@keyframes dotPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.5; }
}

.step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.step h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.step p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Clearfix for floats */
.process-steps::after {
    content: '';
    display: table;
    clear: both;
}

/* Mobile Responsive Timeline */
@media (max-width: 768px) {
    .process-section { padding: 60px 0; overflow: hidden; }
    
    .process-steps::before {
        display: none;
    }
    
    .process-steps {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        margin: 2rem -20px 0;
        padding: 0 40px 20px 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    
    .process-steps::-webkit-scrollbar {
        display: none;
    }
    
    .step {
        min-width: 85%;
        flex: 0 0 auto;
        scroll-snap-align: center;
        align-self: stretch !important;
        text-align: left !important;
        padding: 2.5rem 2rem;
        margin: 0;
        backdrop-filter: blur(10px);
    }
    
    .step::after {
        display: none !important;
    }
}


/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    backdrop-filter: blur(10px);
}

.quote-icon {
    font-size: 5rem;
    color: var(--color-accent);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.1rem;
}

.client-org {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .process-steps, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .step, .testimonial-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section { overflow: hidden; }
    
    .testimonials-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        margin: 0 -20px;
        padding: 0 40px 20px 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-card {
        min-width: 85%;
        flex: 0 0 auto;
        scroll-snap-align: center;
        padding: 3rem 2rem;
    }
}

/* Toast Notification (GSAP Controlled) */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(26, 35, 126, 0.95);
    color: var(--color-text);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
}

.toast.success { border-left: 4px solid #4CAF50; }
.toast.error { border-left: 4px solid #F44336; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--glass-border);
    /* background: rgba(255, 255, 255, 1);  */
    background-color: var(--color-text);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    
}

.back-to-top.is-inverted {
    background: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Performance & Responsive */
@media (max-width: 768px) {
    .scroll-progress { height: 2px; }
}

