:root {
    --bg-navy: #0a1128; /* The dark navy from your logo */
    --text-white: #ffffff;
    --accent-green: #4CAF50; /* The leaf green */
    --tagline-gold: #fbc02d; /* The yellow from your image text */
    --card-bg: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-navy);
    color: var(--text-white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.m-symbol {
    color: var(--accent-green);
    border: 2px solid white;
    padding: 2px 8px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, #16264d 0%, #0a1128 100%);

    background-image: linear-gradient(rgba(10, 17, 40, 0.7), rgba(10, 17, 40, 0.7)), url('images/background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: creates a parallax effect */
}

.hero-logo {
    width: 120px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--tagline-gold);
}

.hero p {
    font-size: 1.2rem;
    color: var(--tagline-gold);
    max-width: 600px;
    margin: 0 auto 30px;
}

.main-btn {
    padding: 15px 35px;
    background-color: var(--accent-green);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s;
    display: inline-block;
}

.main-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

/* Pillars Section */
.pillars-section {
    padding: 100px 10%;
    background-color: #0d1631;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    text-align: center;
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-green);
    transform: translateY(-10px);
}

.pillar-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.pillar-card h3 {
    margin-bottom: 15px;
    color: var(--accent-green);
}

.footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}


.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 50px; /* Adjust this height to fit your navbar perfectly */
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

.nav-logo:hover {
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

/* Adjust navbar padding if the logo feels too tight */
.navbar {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Container Helper */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Hero */
.about-hero {
    padding: 150px 0 100px;
    background: linear-gradient(rgba(10, 17, 40, 0.8), rgba(10, 17, 40, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.subtitle {
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.9rem;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-top: 10px;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-green);
}

.mission-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.img-responsive {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Values Grid */
.values-section {
    padding: 100px 0;
    background: #0d1631;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.value-item {
    border-top: 1px solid var(--accent-green);
    padding-top: 20px;
}

.value-item .number {
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: 700;
}

.value-item h3 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.active {
    color: var(--accent-green) !important;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid-2, .values-grid {
        grid-template-columns: 1fr;
    }
    .about-hero h1 { font-size: 2.5rem; }
}

/* Pillars Grid on About Page */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    display: flex;
    flex-direction: column;
    text-align: left; /* Aligns text to the left like the image */
}

.pillar-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps them perfectly square */
    overflow: hidden;
    border-radius: 15px; /* Matches the rounded corners in your image */
    margin-bottom: 25px;
    border-bottom: 2px solid var(--accent-green); /* Subtle green line below image */
}

.pillar-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.value-item:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.value-item .number {
    font-size: 0.9rem;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.value-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: #e0e0e0;
}

/* Adjust mobile view for images */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-navy);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -40px auto 60px;
    opacity: 0.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3, .contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* Info Items */
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.info-link, .info-text {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 1.1rem;
}

.visit-card {
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-green);
}

.visit-card p { margin-bottom: 10px; font-weight: 700; }
.visit-card a { color: var(--accent-green); text-decoration: none; }

/* Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-green);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #43a047;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* Modern Round Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    /* "Big" but proportional size */
    height: clamp(3.5rem, 8vh, 5rem); 
    width: clamp(3.5rem, 8vh, 5rem);
    
    /* Makes it round */
    border-radius: 50%; 
    
    /* Modern finishing touches */
    object-fit: cover; 
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.2); /* Subtle green glow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-green);
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.5);
}

/* Hero Logo (The one in the center of the page) */
.hero-logo {
    width: clamp(6rem, 15vw, 10rem);
    height: clamp(6rem, 15vw, 10rem);
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid var(--accent-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


/* Modern Expertise Section */
.pillars-section {
    padding: var(--space-lg) 0;
    background-color: var(--bg-navy);
}

.pillars-container {
    display: grid;
    /* Proportional grid that stacks on mobile */
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    padding-top: var(--space-md);
}

.pillar-card-modern {
    position: relative;
    height: 30rem; /* Fixed height for consistency */
    border-radius: 2rem; /* Round corners like the image */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Keeps text at the bottom */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pillar-content {
    padding: 2rem;
    color: var(--text-white);
}

.pillar-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pillar-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.read-more {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: capitalize;
    display: inline-block;
    transition: letter-spacing 0.3s ease;
}

.read-more:hover {
    letter-spacing: 1px;
    text-decoration: underline;
}

/* Ensure mobile responsiveness */
@media (max-width: 48rem) {
    .pillar-card-modern {
        height: 25rem;
    }
}

/* Reduce the gap between items slightly to fit the extra address */
.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem; /* Reduced from 30px to keep it compact */
    align-items: flex-start; /* Better for multi-line addresses */
}

.info-icon {
    flex-shrink: 0; /* Prevents the icon from squishing if text is long */
    width: 3rem;
    height: 3rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Ensure the visit card stays at the very bottom */
.visit-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border-left: 4px solid var(--accent-green);
}

/* Specific Page Hero Styling */
.page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: 5rem;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 1rem 0;
}

.content-section {
    padding: var(--space-lg) 0;
    background-color: var(--bg-navy);
}

.text-block h2 {
    color: var(--accent-green);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-block p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.img-responsive {
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.3);
}

.initiatives-section {
    padding: var(--space-lg) 0;
    background-color: #0d1631; /* Slightly different navy for section separation */
}

/* Mobile Toggle Styling */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Tablet and Phone View */
/* Mobile Toggle Styling */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Tablet and Phone View */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show the 3 lines */
    }

    /* Override your existing display: none */
    .navbar .nav-links {
        display: none; /* Keep hidden by default */
        position: fixed;
        right: 0;
        top: 70px; 
        height: auto;
        width: 100%;
        background: rgba(10, 17, 40, 0.98); 
        flex-direction: column;
        
        /* ADD THESE THREE LINES TO CENTER */
        align-items: center;      /* Centers the <li> elements horizontally */
        justify-content: center;  /* Adds balanced spacing if height was larger */
        text-align: center;       /* Ensures text inside links is centered */
        
        padding: 2rem 0;
        border-bottom: 2px solid var(--accent-green);
        gap: 20px;                /* Adds spacing between the menu items */
    }

    /* THIS MAKES IT WORK: Show when JS adds the 'active' class */
    .navbar .nav-links.active {
        display: flex; 
    }

    /* Hamburger to X Animation */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Swiper Styles */
.pillars-swiper {
    width: 100%;
    height: 100vh;
    margin-top: 80px;
}

.pillars-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.swiper-slide-content {
    max-width: 800px;
    padding: 40px;
    color: var(--text-white);
    z-index: 10;
}

.swiper-slide-content h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.swiper-slide-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.95;
}

.swiper-btn {
    padding: 15px 35px;
    background-color: var(--accent-green);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.swiper-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

/* Swiper Navigation Buttons */
.pillars-swiper .swiper-button-next,
.pillars-swiper .swiper-button-prev {
    color: var(--accent-green);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.pillars-swiper .swiper-button-next:after,
.pillars-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.pillars-swiper .swiper-button-next:hover,
.pillars-swiper .swiper-button-prev:hover {
    background: rgba(76, 175, 80, 0.2);
}

/* Swiper Pagination */
.pillars-swiper .swiper-pagination-bullet {
    background: var(--accent-green);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.pillars-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .pillars-swiper {
        height: 80vh;
        margin-top: 70px;
    }
    
    .swiper-slide-content {
        padding: 20px;
    }
    
    .pillars-swiper .swiper-button-next,
    .pillars-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .pillars-swiper .swiper-button-next:after,
    .pillars-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* --- Contact Section Image Row --- */
.contact-images-row {
    display: flex;
    gap: 20px;
    margin: 40px 0 60px 0;
}

.contact-img-wrapper {
    flex: 1;
    position: relative;
    height: 300px; /* Adjust height as needed */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the space without distortion */
    transition: transform 0.5s ease;
}

.contact-img-wrapper:hover .gallery-img {
    transform: scale(1.1);
}

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(10, 17, 40, 0.9));
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- Contact Grid Layout --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .contact-images-row {
        flex-direction: column; /* Images stack on mobile */
    }
    
    .contact-img-wrapper {
        height: 250px;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Form stacks below info */
    }
}

