@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Libre+Caslon+Display&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #f9f9f9;
    line-height: 1.6;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- BUTTONS --- */
.btn-secondary {
    background-color: white;
    color: #1a1a1a;
    border: 1px solid #ccc;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
    box-shadow: inset 1 1 1 1 #1a1a1a;
    transition: all 0.3s ease;
    /* Added transition for smooth effect */
}

/* UPDATED: Added .hover-in-view selector */
.btn-secondary:hover,
.btn-secondary.hover-in-view {
    background-color: #101010;
    color: white;
    box-shadow: inset 0 0 0 2px #1a1a1a;
}

.btn-outline {
    border: 1px solid #1a1a1a;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: #1a1a1a;
    color: white;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 1000;
    font-size: 1.8rem;
    color: #0f3d28;
    padding-right: 10px;
    font-family: "Libre Caslon Display", serif;

    font-style: normal;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.navbar nav a {
    font-size: 18px;
    align-items: center;
    color: #000000;
}

.navbar nav a:hover {
    color: #a60303;
    font-weight: 700;
}

/* --- PARTNERS STRIP --- */
.partners {
    overflow: hidden;
    max-width: 100%;
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.logo-strip {
    display: flex;
    width: max-content;
    gap: 50px;
    animation: infinite-scroll 30s linear infinite;
}

@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.logo-strip span {
    padding: 0 1rem;
    white-space: nowrap;
    color: #666;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-solar-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.solar-panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: white;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero-image-container {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    max-height: 400px;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* UPDATED: Added .hover-in-view selector */
.hero-image-container:hover img,
.hero-image-container.hover-in-view img {
    transform: scale(1.05);
}


/* --- FEATURES SECTION --- */
.features {
    display: flex;
    padding: 80px 10%;
    gap: 60px;
    align-items: center;
    background-color: #fff;
}

.features-text {
    flex: 1;
}

.features-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.features-text p {
    color: #666;
    margin-bottom: 30px;
}

.features-image {
    flex: 1;
    overflow: hidden;
}

.features-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

/* UPDATED: Added .hover-in-view selector */
.features-image:hover img,
.features-image.hover-in-view img {
    transform: scale(1.05);
}

/* --- SOLUTIONS SECTION --- */
.solutions {
    padding: 80px 10%;
    background-color: #f9f9f9;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 400;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    height: 350px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 61, 40, 0.3) 0%, rgba(12, 120, 12, 0.1) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* UPDATED: Added .hover-in-view selector */
.card:hover,
.card.hover-in-view {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    background-size: 150%;
    background-position: center;
    color: white;
    background-repeat: no-repeat;
    transition: background-size 0.6s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

/* UPDATED: Added .hover-in-view selector (Triggered by parent card) */
.card-image:hover,
.card.hover-in-view .card-image {
    background-size: 200%;
}

/* Glass Overlay Effect - Only at bottom where text is */
.glass-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    background: linear-gradient(to top,
            rgba(15, 61, 40, 0.95) 0%,
            rgba(15, 61, 40, 0.4) 60%,
            rgba(15, 61, 40, 0) 100%);
    transition: all 0.4s ease;
}

.glass-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

.glass-overlay p {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    color: white;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        gap: 15px;
        padding: 15px 20px;
    }

    .navbar nav {
        display: none;
    }

    .navbar .btn-outline {
        display: none;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .solar-panel-img {
        transform: scale(1) !important;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .btn-secondary {
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .features {
        flex-direction: column;
        padding: 30px 4%;
        gap: 30px;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .features-text h2 {
        font-size: 1.4rem;
        word-wrap: break-word;
    }

    .features-text p {
        font-size: 0.9rem;
    }

    /* Solutions cards — 2 per row, compact */
    .solutions {
        padding: 30px 4%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .card {
        height: 280px;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, rgba(15, 61, 40, 0.4) 0%, rgba(12, 120, 12, 0.2) 100%);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    /* Glass Overlay Mobile Adjustments */
    .glass-overlay {
        padding: 20px;
        background: linear-gradient(to top,
                rgba(15, 61, 40, 0.98) 0%,
                rgba(15, 61, 40, 0.6) 70%,
                rgba(15, 61, 40, 0) 100%);
        inset: 0;
    }

    .glass-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .glass-overlay p {
        font-size: 0.85rem;
        line-height: 1.4;
        opacity: 0.9;
    }

    /* Projects Mobile */
    .projects {
        padding: 30px 4%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
    }

    .project-card {
        max-width: 100%;
        box-sizing: border-box;
    }

    .project-image {
        height: 140px;
    }

    .project-info {
        padding: 16px;
    }

    .project-info h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .project-location,
    .project-client,
    .project-scope {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .project-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .project-stats .stat {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .view-more-container {
        margin-top: 25px;
    }

    .btn-view-more {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    /* Key Ideas and Vision & Mission Mobile moved to bottom of file */
}

/* Extra small devices — keep 2 cards per row, even smaller */
@media (max-width: 400px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .card {
        height: 140px;
    }

    .glass-overlay {
        padding: 8px;
    }

    .glass-overlay h3 {
        font-size: 0.72rem;
    }

    .glass-overlay p {
        font-size: 0.6rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-image {
        background-size: cover;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .idea-card {
        padding: 16px 14px;
    }

    .goal-item {
        padding: 14px;
    }
}

/* --- SCROLL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Effect for Grid Cards */
.solutions-grid .card:nth-child(2) {
    transition-delay: 0.2s;
}

.solutions-grid .card:nth-child(3) {
    transition-delay: 0.4s;
}

.solutions-grid .card:nth-child(4) {
    transition-delay: 0.6s;
}


/* --- INSIGHTS SECTION --- */
/* --- PROJECTS SECTION --- */
.projects {
    padding: 80px 10%;
    background-color: #fff;
}

.section-header p {
    color: #666;
    margin-top: -30px;
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Project Card Styling */
.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: all 0.4s ease;
}

.project-card:hover,
.project-card.hover-in-view {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(12, 120, 12, 0.15);
    border-color: #0c780c;
}

/* Project Image Area */
.project-image {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eff5 100%);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(12, 120, 12, 0.05) 0%, rgba(24, 121, 3, 0.05) 100%);
}

.image-placeholder span {
    font-size: 1rem;
    color: #999;
    font-weight: 600;
}

/* Project Badge */
.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0c780c 0%, #187903 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(12, 120, 12, 0.3);
}

/* Project Info */
.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #0f3d28;
    font-weight: 700;
}

.project-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.project-client {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
}

.project-scope {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-stats .stat {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0c780c;
    background: rgba(12, 120, 12, 0.08);
    padding: 6px 12px;
    border-radius: 12px;
}

/* View More Button Container */
.view-more-container {
    text-align: center;
    margin-top: 50px;
}

.btn-view-more {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0c780c 0%, #187903 100%);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(12, 120, 12, 0.3);
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(12, 120, 12, 0.4);
    background: linear-gradient(135deg, #0a6609 0%, #156602 100%);
}

/* --- RESPONSIVE FIX FOR PROJECTS --- */
/* (moved to the main 768px media query above) */


/* --- SERVICES / PROCESS SECTION --- */
.services {
    padding: 80px 10%;
    background-color: #f9f9f9;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
    gap: 20px;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: #0f3d28;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(15, 61, 40, 0.2);
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-image: linear-gradient(to right, #ccc 50%, transparent 50%);
    background-size: 10px 1px;
    background-repeat: repeat-x;
    margin-top: 30px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .services {
        text-align: center;
        padding: 60px 20px;
    }

    .process-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-top: 40px;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .step-connector {
        display: none;
    }

    .step-icon {
        margin-bottom: 15px;
    }
}

/* --- FOOTER SECTION --- */
.footer {
    background: radial-gradient(circle at top left, #0f3d28, #000000);
    position: relative;
    padding: 80px 5% 100px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
}

.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: #1a6b42;
    filter: blur(150px);
    opacity: 0.5;
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: #0c4d2d;
    filter: blur(150px);
    opacity: 0.4;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.1s ease, background 0.3s ease, border-color 0.3s ease;
}

.footer-col:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #4ade80;
    margin-top: 5px;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: 0.3s;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #4ade80;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.newsletter-form input:focus {
    border-color: #4ade80;
    background: rgba(0, 0, 0, 0.5);
}

.newsletter-form button {
    background: #4ade80;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: #fff;
    transform: scale(1.02);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* =========================================
   1. DESKTOP / LAPTOP NAVIGATION 
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    /* Slightly transparent white */
    backdrop-filter: blur(10px);
    /* Blur effect for top bar too */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: #0f3d28;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    /* Space between links */
}

.navbar nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #0c780c;
    /* Green on hover */
}

/* IMPORTANT: Hide the Mobile Bottom Bar on Laptop */
.bottom-nav {
    display: none;
    padding: 10px 10px;
}


/* =========================================
   FOOTER SECTION (Updated Layout)
   ========================================= */
.footer {
    background: radial-gradient(circle at top left, #0f3d28, #000000);
    position: relative;
    padding: 80px 5% 100px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
}

/* Background Effects */
.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: #1a6b42;
    filter: blur(150px);
    opacity: 0.5;
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: #0c4d2d;
    filter: blur(150px);
    opacity: 0.4;
    z-index: 0;
}

/* --- THE GRID LAYOUT FIX --- */
.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    /* Default Desktop: 3 Columns */
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    width: 100%;
    /* Ensure it fits container */
}

/* Individual Glass Cards */
.footer-col {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s ease;
    /* Ensure content doesn't overflow */
    min-width: 0;
}

.footer-col:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Headings & Links */
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #4ade80;
    margin-top: 5px;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: 0.3s;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: #4ade80;
    padding-left: 5px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    color: white;
    outline: none;
    width: 100%;
}

.newsletter-form button {
    background: #4ade80;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE BREAKPOINTS (The Fix)
   ========================================= */

/* 1. TABLET VIEW (768px to 1024px) */
/* This handles iPads and Small Laptops */
@media (max-width: 1024px) {
    .footer-content {
        /* Switch to 2 Columns (2x2 Grid) */
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* 2. MOBILE VIEW (Below 768px) */
/* This handles Phones */
@media (max-width: 768px) {

    /* Mobile Nav Bar Styles */
    .navbar {
        display: none;
    }

    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.6);
        padding-bottom: 5px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #555;
        font-size: 0.7rem;
        width: 100%;
        text-decoration: none;
        padding: 5px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-item svg {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-item:hover {
        color: #fff;
        background: linear-gradient(135deg, #0f3d28, #1a6b42);
        border-radius: 15px;
        transform: translateY(-5px);
        width: 80%;
        height: 85%;
        box-shadow: 0 5px 15px rgba(15, 61, 40, 0.3);
    }

    .nav-item:hover svg {
        transform: scale(1.1);
    }

    .nav-item:active {
        color: #fff;
        background: linear-gradient(135deg, #0a2d1d, #145935);
        border-radius: 15px;
        transform: scale(0.95);
        width: 80%;
        height: 85%;
        box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.2);
    }

    /* Footer Fix for Mobile */
    .footer {
        padding: 40px 5% 100px;
    }

    .footer-content {
        /* Force 1 Column Stack */
        display: grid;
        grid-template-columns: 1fr !important;
        /* !important ensures it overrides everything */
        gap: 20px;
    }

    /* Center text for mobile footer */
    .footer-col {
        text-align: center;
    }

    .footer-col ul li a {
        justify-content: center;
    }

    .footer-col h4::after {
        margin: 5px auto 0;
    }

    /* Other Mobile Fixes */
    .hero {
        min-height: 100vh;
        padding-top: 100px;
        height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .features {
        flex-direction: column;
        padding: 30px 4%;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .step-connector {
        display: none;
    }

}


/* --- PREMIUM DARK GLASS POPUP MENU --- */
.menu-popup {
    position: fixed;
    bottom: 80px;
    /* Position above the bottom nav */
    right: 15px;
    /* Align to the right */
    width: 250px;
    /* Slightly wider for better text flow */

    /* DARK GLASS EFFECT */
    background: rgba(10, 30, 20, 0.85);
    /* Dark Green, Semi-transparent */
    backdrop-filter: blur(20px);
    /* Strong Blur */
    -webkit-backdrop-filter: blur(20px);
    /* For Safari */

    /* BORDER & SHADOW */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle white border */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    /* Deep, soft shadow */

    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
    /* Ensure it's on top */

    /* ANIMATION: Slide Up & Fade In */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* --- POPUP ITEMS --- */
.popup-item {
    display: flex;
    align-items: center;
    /* Vertically align icon and text */
    gap: 15px;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 15px;
    transition: 0.3s ease;
    border: 1px solid transparent;
    /* Prepare for hover border */
}

/* Hover Effect */
.popup-item:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Light highlight */
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    /* Subtle slide right */
}

/* --- ICON BOX --- */
.icon-box {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    /* Faint background for icon */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

.icon-box svg {
    width: 20px;
    height: 20px;
    stroke: #aaa;
    /* Default grey color */
    transition: 0.3s;
}

/* Hover: Icon turns Green */
.popup-item:hover .icon-box {
    background: #4ade80;
    /* Bright Green */
}

.popup-item:hover .icon-box svg {
    stroke: #05160e;
    /* Dark icon on green bg */
}

/* --- TEXT STYLING --- */
.text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    color: #eee;
    /* White-ish text */
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.subtitle {
    color: #888;
    /* Grey subtitle */
    font-size: 0.75rem;
    margin-top: 3px;
    line-height: 1.2;
}

/* Hover Text Colors */
.popup-item:hover .title {
    color: #fff;
}

.popup-item:hover .subtitle {
    color: #ccc;
}

/* =========================================
   DESKTOP DROPDOWN STYLE (Paste at bottom of CSS)
   ========================================= */
@media (min-width: 769px) {
    .menu-popup {
        /* 1. Reset Mobile Positioning */
        bottom: auto !important;

        /* 2. Position it like a Dropdown */
        top: 85px !important;
        /* Right below the navbar */

        /* Smart Calculation: 5% (page padding) + 160px (button width + gap) */
        right: calc(5% + 160px) !important;

        /* 3. Dropdown Visuals */
        display: flex !important;
        transform-origin: top right;
        /* Animates from the button */
        border-top-right-radius: 4px;
        /* Makes it look attached */
        z-index: 9999 !important;
    }

    /* 4. The Little Triangle Arrow (Pointing Up) */
    .menu-popup::after {
        content: '';
        position: absolute;
        top: -10px;
        /* Move above the box */
        right: 20px;
        /* Align with the "More" text */
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;

        /* Match the Green Gradient Color */
        border-bottom: 10px solid rgba(24, 121, 3, 0.95);
    }

    /* Active State */
    .menu-popup.active {
        opacity: 1 !important;
        pointer-events: all !important;
        transform: translateY(0) scale(1) !important;
    }
}


/* --- MOBILE HEADER STYLES --- */

/* 1. Default: Hide on Desktop */
.mobile-header {
    display: none;
}

/* 2. Mobile View: Show & Style */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        justify-content: left;
        /* Center the Logo */
        align-items: center;
        padding: 0 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;

        /* Glass Effect */
        background-color: white;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);

        z-index: 999;
        /* Sit on top of content */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .mobile-header .logo {
        font-size: 1.5rem;
        font-weight: 800;
        color: #0f3d28;
        /* Dark Green */
        text-decoration: none;
        letter-spacing: -0.5px;
    }

    /* Ensure Hero content doesn't get hidden behind the new header */
    .hero {
        padding-top: 80px !important;
    }
}

/* =========================================
   NEW DROPDOWN STYLES (Paste at bottom of CSS)
   ========================================= */

/* Default State: Hidden */
.custom-dropdown {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 80px;
    right: 33%;
    /* Adjust this to move left/right */
    width: 260px;

    /* Green Glass Style */
    background: linear-gradient(135deg, rgba(24, 121, 3, 0.98) 0%, #0a291b 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-radius: 15px;

    flex-direction: column;
    padding: 10px;
    gap: 5px;
    z-index: 10000;
    /* Super high Z-Index */

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show State (Triggered by JS) */
.custom-dropdown.show {
    display: flex;
    /* Make it exist */
    opacity: 1;
    /* Make it visible */
    transform: translateY(0);
}

/* The Triangle Arrow (Pointing Up) */
.custom-dropdown::after {
    content: '';
    position: absolute;
    top: -8px;
    right: 30px;
    /* Aligns with the More button */
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(24, 121, 3, 0.98);
    /* Same green as bg */
}

/* Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.d-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.dropdown-item:hover .d-icon {
    background: white;
    color: #0a291b;
}

.d-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.d-subtitle {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ===== KEY IDEAS SECTION ===== */
.key-ideas {
    padding: 120px 10%;
    background: white;
}

.section-header.center {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0c780c 0%, #187903 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header.center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f3d28;
    margin-bottom: 24px;
}

.section-header.center p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.idea-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(12, 120, 12, 0.2);
    border-radius: 24px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.idea-card:hover {
    border-color: #0c780c;
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(12, 120, 12, 0.1) 0%, rgba(24, 121, 3, 0.05) 100%);
    box-shadow: 0 20px 50px rgba(12, 120, 12, 0.15);
}

.idea-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(12, 120, 12, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.idea-icon-wrap svg {
    stroke: #0c780c;
    transition: all 0.4s ease;
}

.idea-card:hover .idea-icon-wrap {
    background: linear-gradient(135deg, #0c780c 0%, #187903 100%);
}

.idea-card:hover .idea-icon-wrap svg {
    stroke: white;
}

.idea-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f3d28;
    margin-bottom: 14px;
}

.idea-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 12px;
}

/* ===== VISION & MISSION SECTION ===== */
.vision-mission {
    padding: 120px 10%;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.vision-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.vision-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vision-left h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f3d28;
    margin-bottom: 24px;
    line-height: 1.2;
}

.vision-intro {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.vision-goals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.goal-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.goal-item:hover {
    transform: translateX(10px);
    border-color: #0c780c;
    box-shadow: 0 8px 30px rgba(12, 120, 12, 0.15);
}

.goal-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(12, 120, 12, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.goal-icon svg {
    stroke: #0c780c;
    transition: all 0.4s ease;
}

.goal-item:hover .goal-icon {
    background: linear-gradient(135deg, #0c780c 0%, #187903 100%);
    transform: scale(1.1);
}

.goal-item:hover .goal-icon svg {
    stroke: white;
}

.goal-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f3d28;
    margin-bottom: 8px;
}

.goal-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.vision-right {
    align-self: start;
    position: sticky;
    top: 120px;
}

.mission-card {
    background: linear-gradient(135deg, #0c780c 0%, #187903 100%);
    padding: 50px 40px;
    border-radius: 28px;
    color: white;
    box-shadow: 0 25px 60px rgba(12, 120, 12, 0.25);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.mission-icon svg {
    stroke: white;
}

.mission-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.mission-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
    margin: 0;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    padding: 16px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
}

.mission-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 16px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.mission-list li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Mobile: Hide this specific dropdown on phones */
@media (max-width: 768px) {
    .custom-dropdown {
        display: none !important;
    }

    /* ===== KEY IDEAS & VISION MISSION SECTION - MOBILE (Tuned) ===== */
    .key-ideas {
        padding: 20px 3%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .section-header.center {
        margin-bottom: 16px;
        max-width: 100%;
    }

    .section-header.center h2 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-header.center p {
        font-size: 0.75rem;
        line-height: 1.4;
        word-wrap: break-word;
        margin-top: 6px;
    }

    .section-tag {
        font-size: 0.65rem;
        padding: 4px 10px;
        margin-bottom: 6px;
    }

    .ideas-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 100%;
    }

    .idea-card {
        padding: 14px 12px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(12, 120, 12, 0.2);
    }

    .idea-icon-wrap {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        margin-bottom: 6px;
        flex-shrink: 0;
    }

    .idea-icon-wrap svg {
        width: 16px;
        height: 16px;
    }

    .idea-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }

    .idea-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        display: block;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        margin-top: 8px;
    }

    /* ===== VISION & MISSION SECTION - MOBILE ===== */
    .vision-mission {
        padding: 60px 5%;
    }

    .vision-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-left h2 {
        font-size: 1.8rem;
    }

    .vision-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .goal-item {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: left;
    }

    .goal-item:hover {
        transform: translateY(-5px);
    }

    .goal-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .goal-content h4 {
        font-size: 1.1rem;
    }

    .goal-content p {
        font-size: 0.9rem;
    }

    .vision-right {
        position: static !important;
    }

    .mission-card {
        padding: 35px 28px;
        margin-bottom: 40px;
    }

    .mission-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }

    .mission-icon svg {
        width: 40px;
        height: 40px;
    }

    .mission-card h3 {
        font-size: 1.6rem;
    }

    .mission-card p {
        font-size: 1rem;
    }
}

/* Partners Strip Mobile */
.logo-strip span {
    font-size: 0.85rem;
    padding: 0 0.4rem;
}

.partners {
    padding: 18px 0;
}