
:root {
    --primary-green: #00A86B;
    --deep-green: #006B4A;
    --light-green: #E8F5E9;
    --accent-blue: #0077BE;
    --dark-blue: #004D7A;
    --neutral-dark: #1A1A1A;
    --neutral-gray: #4A4A4A;
    --neutral-light: #F8F9FA;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #00A86B 0%, #0077BE 100%);
    --gradient-accent: linear-gradient(135deg, #E8F5E9 0%, #E3F2FD 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--neutral-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 168, 107, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 150px;                 /* VERY IMPORTANT */
    height: 50px;

    background-image: url('logo/logo.png');
    background-size: contain;     /* Fit logo properly */
    background-position: center;
    background-repeat: no-repeat;

    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 107, 0.3);
}

.nav-dashboard {
    border: 2px solid var(--primary-green);
    color: var(--primary-green) !important;
    padding: 0.70rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-dashboard:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

/* Landing Section */
.landing-section {
    position: relative;
    height: 100vh;                 /* Full viewport height */
    width: 100%;                   /* Full width */
    background-image: url('images/no_mascot_wallpaper.png');
    background-size: cover;        /* Cover full area */
    background-position: center center;   /* Center image */
    background-repeat: no-repeat;  /* Prevent repeating */
    
    /* Swap background to original with mascot face once caterpillar finishes crawling (8s) */
    animation: swapBackground 8.0s forwards;
}

@keyframes swapBackground {
    0%, 99.9% {
        background-image: url('images/no_mascot_wallpaper.png');
    }
    100% {
        background-image: url('images/ecoholic_wallpaper.webp');
    }
}

.crawler-caterpillar {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: auto;
    height: auto;
    opacity: 0;
    
    /* Animation to move the caterpillar along the path */
    animation: crawlPath 8.0s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.segment {
    width: 3.0vmax;
    height: 3.0vmax;
    background: radial-gradient(circle at 35% 35%, #8ae068 0%, #5cb847 60%, #449030 100%);
    border-radius: 50%;
    box-shadow: 0 0.4vmax 0.8vmax rgba(0,0,0,0.2);
    margin-left: -0.9vmax;
    position: relative;
    display: inline-block;
    animation: wiggleSegment 0.35s ease-in-out infinite alternate;
}

/* Legs styling for body segments */
.segment:not(.head-segment)::before,
.segment:not(.head-segment)::after {
    content: '';
    position: absolute;
    width: 0.6vmax;
    height: 1.0vmax;
    background: linear-gradient(to bottom, #5cb847, #3b8225);
    border-radius: 0.3vmax;
    bottom: -0.7vmax;
    z-index: -1;
}

/* Offset the two legs of each segment to create depth */
.segment:not(.head-segment)::before {
    left: 0.6vmax;
    transform: rotate(-15deg);
}

.segment:not(.head-segment)::after {
    right: 0.6vmax;
    transform: rotate(15deg);
    background: linear-gradient(to bottom, #4b9b32, #2e681c); /* slightly darker for the back leg */
}

.segment-1 { animation-delay: 0.0s; }
.segment-2 { animation-delay: 0.08s; }
.segment-3 { animation-delay: 0.16s; }
.segment-4 { animation-delay: 0.24s; }
.segment-5 { animation-delay: 0.32s; }

/* Head segment styling */
.head-segment {
    width: 3.6vmax;
    height: 3.6vmax;
    background: radial-gradient(circle at 35% 35%, #8ae068 0%, #5cb847 60%, #449030 100%);
    z-index: 5;
    margin-left: -0.9vmax;
}

/* Antennae */
.antenna {
    position: absolute;
    width: 0.4vmax;
    height: 1.4vmax;
    background-color: #5cb847;
    top: -1.0vmax;
    border-radius: 0.2vmax;
}
.antenna::after {
    content: '';
    position: absolute;
    width: 0.8vmax;
    height: 0.8vmax;
    background-color: #5cb847;
    border-radius: 50%;
    top: -0.6vmax;
    left: -0.2vmax;
    box-shadow: inset 0.15vmax 0.15vmax 0.2vmax rgba(255,255,255,0.4);
}
.left-antenna {
    left: 0.8vmax;
    transform: rotate(-25deg);
}
.right-antenna {
    right: 0.8vmax;
    transform: rotate(25deg);
}

/* Eyes */
.eye {
    position: absolute;
    width: 0.9vmax;
    height: 1.3vmax;
    background-color: white;
    border-radius: 50%;
    top: 0.8vmax;
    box-shadow: 0 0.1vmax 0.3vmax rgba(0,0,0,0.1);
}
.eye::after {
    content: '';
    position: absolute;
    width: 0.5vmax;
    height: 0.8vmax;
    background: radial-gradient(circle at 35% 35%, #ffffff 25%, #000000 28%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.left-eye {
    left: 0.7vmax;
}
.right-eye {
    right: 0.7vmax;
}

/* Smile */
.smile {
    position: absolute;
    width: 1.0vmax;
    height: 0.5vmax;
    border: 0.22vmax solid #000000;
    border-top: none;
    border-radius: 0 0 1.0vmax 1.0vmax;
    bottom: 0.6vmax;
    left: 50%;
    transform: translateX(-50%);
}

/* Caterpillar segment wiggling & squashing crawling motion */
@keyframes wiggleSegment {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        /* Compress body: squash down and stretch up slightly, and move forward slightly */
        transform: translateY(-0.8vmax) scaleX(0.8) scaleY(1.2) translateX(-0.4vmax);
    }
    100% {
        /* Push forward: stretch and descend */
        transform: translateY(0) scaleX(1.1) scaleY(0.9) translateX(0.4vmax);
    }
}

/* Path Animation: crawls around word and merges into the first O */
@keyframes crawlPath {
    0% {
        /* Starts off-screen bottom-right, facing left */
        transform: translate(50vmax, 15vmax) scaleX(-1);
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    18% {
        /* Crawls leftwards under the right letters */
        transform: translate(20vmax, 10vmax) scaleX(-1);
    }
    33% {
        /* Climbs up and loops over 'C' and 'I' */
        transform: translate(26vmax, -2vmax) scaleX(1);
    }
    48% {
        /* Crawls leftwards along the top of letters */
        transform: translate(6vmax, -9vmax) scaleX(-1);
    }
    63% {
        /* Drops down near the middle and heads left under 'E' and 'C' */
        transform: translate(-25vmax, 8vmax) scaleX(-1);
    }
    78% {
        /* Loops up around the 'E' */
        transform: translate(-30vmax, -5vmax) scaleX(1);
    }
    90% {
        /* Crawls rightwards along the top of 'E' and 'C' */
        transform: translate(-17vmax, -10vmax) scaleX(1);
    }
    95% {
        /* Drops down exactly onto the target 'O' face */
        transform: translate(-22.6vmax, 1.0vmax) scaleX(1) scale(1.35);
        opacity: 1;
    }
    100% {
        /* Merges and vanishes */
        transform: translate(-22.6vmax, 1.0vmax) scaleX(1) scale(0);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .landing-section {
        background-size: cover;
        background-position: 15% center; 
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image: url('images/patna.webp'); /* Your image path */
    background-size: cover;        /* Cover entire section */
    background-position: center;   /* Center image */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="800" height="800" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,168,107,0.05)" stroke-width="1"/></pattern></defs><rect width="800" height="800" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    /* color: var(--neutral-dark); */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 span {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    animation: slideUp 0.8s ease-out 0.6s backwards;
}

.hero-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-accent);
    border-radius: 12px;
    border: 2px solid rgba(0, 168, 107, 0.1);
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    font-family: 'Sora', sans-serif;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--neutral-gray);
    margin-top: 0.5rem;
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--light-green);
    color: var(--primary-green);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.section-description {
    font-size: 1.2rem;
    color: var(--neutral-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--neutral-gray);
    margin-bottom: 1.5rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mv-card {
    padding: 2rem;
    background: var(--gradient-accent);
    border-radius: 16px;
    border-left: 4px solid var(--primary-green);
}

.mv-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-green);
}

.mv-card p {
    color: var(--neutral-gray);
    font-size: 1rem;
}

/* Problem Section */
.problem {
    background: var(--neutral-dark);
    color: white;
}

.problem .section-title {
    color: white;
}

.problem .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-green);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.problem-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
}

.flow-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
}

.flow-step::after {
    content: '→';
    position: absolute;
    right: -2rem;
    top: 30%;
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: 800;
}

.flow-step:last-child::after {
    display: none;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 168, 107, 0.3);
}

.flow-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--neutral-gray);
}

/* Process Section */
.process {
    background: var(--gradient-accent);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    border-top: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 107, 0.15);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.process-card h4 {
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-dark);
}

.process-card p {
    color: var(--neutral-gray);
}

/* Technology Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--light-green);
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 107, 0.15);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    color: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-dark);
}

.tech-card p {
    color: var(--neutral-gray);
    font-size: 0.95rem;
}

/* Revenue Model */
.revenue {
    background: var(--deep-green);
    color: white;
}

.revenue .section-title,
.revenue .section-tag {
    color: white;
}

.revenue .section-tag {
    background: rgba(255, 255, 255, 0.2);
}

.revenue .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.revenue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.revenue-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.revenue-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.revenue-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.revenue-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.revenue-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.revenue-highlight {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.revenue-highlight h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--gradient-accent);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(0, 168, 107, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 107, 0.15);
    border-color: var(--primary-green);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-green);
}

.product-arrow {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin: 0.5rem 0;
}

.product-list {
    list-style: none;
    margin-top: 0.75rem;
}

.product-list li {
    padding: 0.4rem 0;
    color: var(--neutral-gray);
    font-size: 0.95rem;
}

.product-list li::before {
    content: '✓ ';
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.products-tagline {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-top: 4rem;
    font-family: 'Sora', sans-serif;
}

/* Carbon & EPR Section */
.carbon {
    background: linear-gradient(135deg, #E8F5E9 0%, #E3F2FD 50%, #E8F5E9 100%);
}

.carbon-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.carbon-feature {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.carbon-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-green);
}

.carbon-feature p {
    color: var(--neutral-gray);
}

/* Impact Section */
.impact {
    background: var(--neutral-dark);
    color: white;
}

.impact .section-title {
    color: white;
}

.impact .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid rgba(0, 168, 107, 0.3);
    transition: all 0.3s ease;
}

.impact-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-green);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Sora', sans-serif;
}

.impact-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.impact-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.impact-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-green);
}

.impact-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.impact-feature p {
    color: rgba(255, 255, 255, 0.8);
}

/* Scalability Section */
.scalability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.scalability-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scalability-point {
    background: var(--light-green);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.scalability-point h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.scalability-map {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.map-visual {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.expansion-path {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
}

/* Services Section */
.services {
    background: var(--gradient-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 107, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-dark);
}

.service-card p {
    color: var(--neutral-gray);
}

/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--light-green);
    text-align: center;
    transition: all 0.3s ease;
}

.client-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 168, 107, 0.1);
}

.client-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.client-name {
    font-weight: 600;
    color: var(--neutral-dark);
}

/* Hybrid Model Section */
.hybrid {
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--dark-blue) 100%);
    color: white;
}

.hybrid .section-title {
    color: white;
}

.hybrid .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.hybrid .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.hybrid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.hybrid-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hybrid-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hybrid-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hybrid-card ul {
    list-style: none;
    margin-top: 1rem;
}

.hybrid-card li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.hybrid-card li::before {
    content: '→ ';
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.hybrid-benefits {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.hybrid-benefits h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: var(--gradient-accent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--neutral-dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--neutral-dark);
}

.contact-item-content p {
    color: var(--neutral-gray);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--neutral-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-green);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.3);
}

/* Footer */
footer {
    background: var(--neutral-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.sustainability-pledge {
    background: rgba(0, 168, 107, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .carbon-content,
    .scalability-content,
    .contact-container,
    .hybrid-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .metric-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-flow {
        flex-direction: column;
    }
    
    .flow-step::after {
        display: none;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Live Counter Animation */
@keyframes countUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.metric-value {
    animation: countUp 0.8s ease-out;
}

/* Interactive Locations Map Section */
#map-section {
    padding: 8rem 2rem;
    background-color: var(--neutral-light); /* Off-white background to stand out */
}

#map-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 168, 107, 0.1);
}

#patna-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Custom styles for Leaflet popups to match branding */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    padding: 5px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-tip {
    background: white !important;
}

/* Ensure map does not conflict with responsive layouts */
@media (max-width: 768px) {
    #map-section {
        padding: 5rem 1rem;
    }
    .map-wrapper {
        height: 350px;
        margin-top: 2rem;
    }
}
