/* ============================================
   GREENFAJ SOLUTIONS - MAIN STYLESHEET
   Agriculture Company Website
   ============================================ */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3e2b;
    
    /* ===== BODY BACKGROUND IMAGE ===== */
    background-image: url('img/body-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    /* Fallback color */
    background-color: #d4e8d0;
}

/* ========== COLOR VARIABLES ========== */
:root {
    --primary-green: #1b5e2a;
    --primary-dark: #1a3a22;
    --primary-light: #2a8e40;
    --accent-gold: #f7b32b;
    --accent-dark: #e09d1a;
    --gray-dark: #4eb450;
    --text-dark: #2d3e2b;
    --text-light: #3a5236;
    --bg-light: #fefef7;
    --bg-soft: #f0f7ed;
    --white: #ffffff;
    --footer-text: #bcd9b0;
    --navlinks-text: #121212;
}

/* ========== ANIMATION KEYFRAMES ========== */

/* Fade In Up - for scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Scale - for hero content */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Soft Pop - for logo */
@keyframes softPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide Down - for nav links */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Fade In Last - for copyright */
@keyframes fadeInLast {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.8;
    }
}

/* Slide In Success Message */
@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger Fade Up for cards */
@keyframes staggerFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade Left */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Right */
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== ANIMATION CLASSES ========== */

/* Scroll Animation Base */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Individual animation types */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay classes */
.stagger-delay-1 { transition-delay: 0.05s; }
.stagger-delay-2 { transition-delay: 0.1s; }
.stagger-delay-3 { transition-delay: 0.15s; }
.stagger-delay-4 { transition-delay: 0.2s; }
.stagger-delay-5 { transition-delay: 0.25s; }
.stagger-delay-6 { transition-delay: 0.3s; }
.stagger-delay-7 { transition-delay: 0.35s; }
.stagger-delay-8 { transition-delay: 0.4s; }
.stagger-delay-9 { transition-delay: 0.45s; }
.stagger-delay-10 { transition-delay: 0.5s; }
.stagger-delay-11 { transition-delay: 0.55s; }
.stagger-delay-12 { transition-delay: 0.6s; }

/* Mission/Vision side animations */
.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Page load animations */
.hero-animated {
    animation: fadeInScale 0.8s ease forwards;
}

.logo-animated {
    animation: softPop 0.5s ease forwards;
}

.nav-link-animated {
    opacity: 0;
    animation: slideDown 0.4s ease forwards;
}

/* Footer copyright animation */
.copyright-animated {
    opacity: 0;
    animation: fadeInLast 0.8s ease forwards;
    animation-delay: 0.5s;
}

/* Success message animation */
.success-message-slide {
    animation: slideInSuccess 0.4s ease forwards;
}

/* ========== SECTION BACKGROUNDS - GRADIENT WITH LOW OPACITY ========== */
/* Hero sections are EXCLUDED - they keep their original backgrounds */

/* About section (all pages) - 35% opacity */
.about,
.about-story {
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.35), rgba(42, 142, 64, 0.35)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Services section (all pages) - 35% opacity */
.services,
.services-main {
    background: linear-gradient(135deg, rgba(240, 247, 237, 0.35), rgba(27, 94, 42, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Project Management section - 35% opacity */
.project-section {
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(240, 247, 237, 0.35)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* SDG Section - 30% opacity */
.sdg-section {
    position: relative;
    padding: 5rem 10%;
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(42, 142, 64, 0.30)) !important;
    backdrop-filter: blur(2px);
    overflow: hidden;
}

/* Hide the old video background */
.sdg-full-video-bg {
    display: none !important;
}

/* Contact section (all pages) - 30% opacity */
.contact,
.contact-page {
    position: relative;
    padding: 5rem 10%;
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(42, 142, 64, 0.30)) !important;
    backdrop-filter: blur(2px);
    min-height: auto;
}

/* Hide contact video background */
.contact-video-bg,
.contact-video-overlay {
    display: none !important;
}

/* Mission & Vision section - 30% opacity */
.mission-vision {
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(42, 142, 64, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Core Values section - 30% opacity */
.values {
    background: linear-gradient(135deg, rgba(240, 247, 237, 0.35), rgba(27, 94, 42, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* CEO Section - 30% opacity */
.ceo-section {
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(42, 142, 64, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Team Section - 30% opacity */
.team-section {
    background: linear-gradient(135deg, rgba(240, 247, 237, 0.35), rgba(27, 94, 42, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Advocacy Section - 30% opacity */
.advocacy-section {
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(42, 142, 64, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Training Section - 30% opacity */
.training-section {
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(42, 142, 64, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Gallery sections - 30% opacity */
.gallery-filter-section,
.gallery-main {
    background: linear-gradient(135deg, rgba(240, 247, 237, 0.35), rgba(27, 94, 42, 0.30)) !important;
    backdrop-filter: blur(2px);
}

/* Projects sections - 30% opacity */
.projects-section,
.projects-gallery-section,
.partners-section {
    background: linear-gradient(135deg, rgba(240, 247, 237, 0.35), rgba(27, 94, 42, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Why Choose Us section - 30% opacity */
.why-choose-us {
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.30), rgba(42, 142, 64, 0.30)) !important;
    backdrop-filter: blur(2px);
    padding: 5rem 10%;
}

/* Impact Stats section - KEEP its gradient (solid) */
.impact-stats {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light)) !important;
    text-align: center;
    padding: 5rem 10%;
}

/* Stats section - KEEP its gradient (solid) */
.stats {
    padding: 4rem 10%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    text-align: center;
}

/* Filter section - 30% opacity */
.filter-section {
    background: linear-gradient(135deg, rgba(240, 247, 237, 0.4), rgba(27, 94, 42, 0.30)) !important;
    backdrop-filter: blur(2px);
}

/* ========== HERO SECTIONS - UNTOUCHED (Keep original backgrounds) ========== */
/* Page hero with video */
.page-hero.video-hero {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 10%;
    background: transparent !important;
    backdrop-filter: none !important;
}

/* Hero section (homepage) */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background: transparent !important;
    backdrop-filter: none !important;
}

/* ========== ALL PAGES - ALL P ELEMENTS WHITE ========== */

/* Make all paragraph text white across all pages for better readability */
p,
.about p,
.about-story p,
.mission-vision p,
.values p,
.ceo-section p,
.team-section p,
.advocacy-section p,
.training-section p,
.services p,
.services-main p,
.project-section p,
.sdg-section p,
.contact p,
.contact-page p,
.gallery-main p,
.projects-section p,
.partners-section p,
.why-choose-us p,
.relationships-cta-section p,
.footer-copyright {
    color: white !important;
}

/* Section subtitles and labels */
.values-subtitle,
.team-subtitle,
.contact-subtitle,
.form-subtitle,
.gallery-header p,
.section-subtitle {
    color: white !important;
}

/* Story stats labels */
.about-story .stat-label {
    color: white !important;
}

/* Story stats numbers stay gold */
.about-story .stat-number {
    color: var(--accent-gold) !important;
}

/* Section tags stay gold */
.section-tag {
    color: var(--accent-gold) !important;
}

/* Headings stay white */
h1, h2, h4,
.about h2,
.about-story h2,
.mission-vision h2,
.values h2,
.ceo-section h2,
.team-section h2,
.advocacy-section h2,
.training-section h2,
.services h2,
.services-main h2,
.project-section h2,
.sdg-section h2,
.contact h2,
.contact-page h2,
.gallery-main h2,
.projects-section h2,
.partners-section h2,
.why-choose-us h2,
.relationships-cta-section h2,
.relationships-cta-section h3 {
    color: white !important;
}

/* CEO section specific */
.ceo-section .ceo-content h3 {
    color: var(--accent-gold) !important;
}

.ceo-section .ceo-quote p {
    color: var(--text-light) !important;
    font-style: italic;
}

.ceo-section .ceo-contact-link {
    color: var(--accent-gold) !important;
}

.ceo-section .ceo-contact-link:hover {
    color: white !important;
}

/* Advocacy section stats */
.advocacy-section .stat-item span {
    color: white !important;
}

.advocacy-section .stat-item i {
    color: var(--accent-gold) !important;
}

/* Training section features */
.training-section .feature-item span {
    color: white !important;
}

.training-section .feature-item i {
    color: var(--accent-gold) !important;
}

.training-section .training-icon i {
    color: var(--accent-gold) !important;
}

/* ========== CARD TEXT - KEEP DARK FOR READABILITY (White cards) ========== */
.service-card p,
.service-card h3,
.value-card p,
.value-card h3,
.team-card p,
.team-card h3,
.team-card .team-title,
.team-card .team-expertise,
.project-card p,
.project-card h4,
.project-card .project-stats span,
.gallery-card p,
.gallery-card h3,
.partner-card p,
.partner-card h3,
.mission.card p,
.mission.card h2,
.vision.card p,
.vision.card h2,
.project-info p,
.project-info h4 {
    color: var(--text-dark) !important;
}

/* Project card location text */
.project-location {
    color: var(--accent-gold) !important;
}

/* Service benefits items */
.service-benefits .benefit-item span {
    color: var(--text-dark) !important;
}

.service-benefits .benefit-item i {
    color: var(--accent-gold) !important;
}

/* Service features list items */
.service-features li {
    color: var(--text-dark) !important;
}

.service-features li i {
    color: var(--accent-gold) !important;
}

/* ========== SERVICES CATEGORY CARDS - BLACK TEXT ========== */
/* Make text on the right sidebar category cards black */

.services-categories .service-category .service-category-info h4,
.services-categories .service-category .service-category-info p {
    color: #000000 !important;
}

.services-categories .service-category i:last-child {
    color: #000000 !important;
}

/* When hovering over a category (gold background) - text turns white */
.services-categories .service-category:hover .service-category-info h4,
.services-categories .service-category:hover .service-category-info p,
.services-categories .service-category:hover i:last-child {
    color: #ffffff !important;
}

/* When a category is active/selected (green background) - text turns white */
.services-categories .service-category.active .service-category-info h4,
.services-categories .service-category.active .service-category-info p,
.services-categories .service-category.active i:last-child {
    color: #ffffff !important;
}

/* ========== MOBILE SIDEBAR SAME FIX ========== */
.categories-sidebar .service-category .service-category-info h4,
.categories-sidebar .service-category .service-category-info p {
    color: #000000 !important;
}

.categories-sidebar .service-category:hover .service-category-info h4,
.categories-sidebar .service-category:hover .service-category-info p {
    color: #ffffff !important;
}

.categories-sidebar .service-category.active .service-category-info h4,
.categories-sidebar .service-category.active .service-category-info p {
    color: #ffffff !important;
}

/* ========== SERVICES PAGE - SERVICE DETAILS PANEL (WHITE BACKGROUND) ========== */
/* Fix for text on white background - make them dark/readable */

.service-details-panel h2,
.service-details-panel p,
.service-details-panel .service-features li,
.service-details-panel .service-benefits .benefit-item span,
.service-details-panel .service-pricing p,
.service-details-panel .service-pricing h3 {
    color: var(--text-dark) !important;
}

/* Keep icons gold */
.service-details-panel .service-details-icon i,
.service-details-panel .service-features li i,
.service-details-panel .service-benefits .benefit-item i,
.service-details-panel .service-pricing i {
    color: var(--accent-gold) !important;
}

/* Keep headings inside service details panel dark */
.service-details-panel h2,
.service-details-panel h3,
.service-details-panel .service-features h3,
.service-details-panel .service-benefits h3 {
    color: var(--primary-green) !important;
}

/* Related projects section inside service details */
.service-details-panel .related-projects-section h3,
.service-details-panel .related-projects-section .project-info h4,
.service-details-panel .related-projects-section .project-stats span {
    color: var(--text-dark) !important;
}

.service-details-panel .related-projects-section .project-location {
    color: var(--accent-gold) !important;
}

/* ========== SDG SECTION SPECIFIC ========== */
.sdg-header h2,
.sdg-header p,
.sdg-footer-text {
    color: white !important;
}

.sdg-content-right h4,
.sdg-content-right .progress-percent {
    color: var(--primary-green) !important;
}

/* ========== CONTACT SECTION SPECIFIC ========== */
.contact-content h2,
.contact-page .contact-details h2 {
    color: white !important;
}

.contact .contact-subtitle,
.contact-page .contact-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.working-hours p,
.working-hours .status-text {
    color: white !important;
}

.info-details h4 {
    color: var(--accent-gold) !important;
}

.info-details p {
    color: white !important;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us .why-text p {
    color: white !important;
}

.why-choose-us .why-icon i {
    color: var(--accent-gold) !important;
}

/* ========== RELATIONSHIPS SECTION ========== */
.relationships-cta-section .relationships-content p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.relationships-cta-section .value-item span {
    color: white !important;
}

.relationships-cta-section .value-item i {
    color: var(--accent-gold) !important;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ========== HEADER & DESKTOP NAVIGATION ========== */
header {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--white);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links-desktop {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links-desktop a {
    color: var(--bg-light);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 25px;
    display: inline-block;
}

.nav-links-desktop a:hover {
    transform: scale(1.1);
    background-color: var(--primary-green);
    color: var(--accent-gold) !important;
}

.nav-links-desktop a.active-nav {
    background-color: var(--primary-green);
    color: var(--accent-gold) !important;
    font-weight: bold;
}

/* ========== MOBILE MENU - RIGHT SIDEBAR ========== */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white);
    z-index: 1001;
    position: relative;
}

/* Overlay when menu is open */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer;
}

/* Navigation Links - Right Sidebar */
.nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    z-index: 1002;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.nav-links.active {
    right: 0;
}

/* Sidebar Logo */
.sidebar-logo {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-logo img {
    width: 100px;
    height: auto;
}

/* Sidebar Navigation List */
.sidebar-nav {
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
}

.sidebar-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 85%;
    margin: 0 auto;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.sidebar-nav a i {
    width: 28px;
    margin-right: 12px;
    font-size: 1.1rem;
    text-align: center;
}

.sidebar-nav a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding-left: 1.5rem;
}

.sidebar-nav a.active-nav {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    font-weight: bold;
}

/* Sidebar Contact Info */
.sidebar-contact {
    margin-top: auto;
    padding: 20px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.sidebar-contact-item i {
    width: 20px;
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.sidebar-contact-item span {
    flex: 1;
    line-height: 1.4;
}

/* Close button inside sidebar */
.nav-links .close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    z-index: 1003;
    transition: all 0.3s ease;
}

.nav-links .close-menu:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .nav-links {
        display: none !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--accent-dark);
    transform: scale(1.05);
}

/* Ripple Effect */
.btn .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.4s linear;
    pointer-events: none;
}

/* ========== HERO SECTION WITH SLIDESHOW (Homepage - Untouched) ========== */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ========== PAGE HERO (Other Pages - Untouched) ========== */
.page-hero.video-hero .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero.video-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-hero.video-hero .hero-content {
    position: relative;
    z-index: 2;
}

.page-hero.video-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero.video-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* ========== ABOUT SECTION IMAGE SLIDESHOW ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: white;
}

.about-text .link {
    color: var(--accent-gold);
    background: rgba(27, 94, 42, 0.7);
}

.about-image {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-slideshow {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.about-slide {
    display: none;
    width: 100%;
}

.about-slide.active {
    display: block;
    animation: fadeEffect 0.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.about-slide img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-slide-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-gold);
    width: 25px;
    border-radius: 10px;
}

.dot:hover {
    background-color: var(--primary-green);
}

.about a.link {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.about a.link:hover {
    background-color: var(--accent-dark);
    transform: scale(1.05);
}

.about-slideshow-container {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-gold);
    color: var(--primary-green);
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slideshow-btn:hover {
    background-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -35px;
}

.next-btn {
    right: -35px;
}

@media (max-width: 992px) {
    .about,
    .about-story {
        padding: 3rem 5%;
    }
    
    .about-slideshow {
        max-width: 350px;
    }
    
    .about-slide img {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .about-slideshow {
        max-width: 320px;
    }
    
    .about-slide img {
        max-width: 320px;
    }
    
    .prev-btn {
        left: -20px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .next-btn {
        right: -20px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .about-slideshow {
        max-width: 260px;
    }
    
    .about-slide img {
        max-width: 260px;
    }
}

/* ========== SERVICES GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 15);
    border-bottom-color: var(--accent-dark);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.3rem;
    margin: 1.2rem 1rem 0.8rem 1rem;
    color: var(--primary-green);
}

.service-card p {
    padding: 0 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: transparent;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--accent-gold);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateX(5px);
}

/* ========== SDG SECTION ========== */
.sdg-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sdg-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sdg-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sdg-video-left {
    border-radius: 20px;
    border-top-left-radius: 95px;
    border-bottom-right-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sdg-video-left video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sdg-content-right {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    border-bottom-right-radius: 38px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sdg-grid {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.sdg-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.sdg-icon {
    font-size: 2.5rem;
    width: 65px;
    text-align: center;
}

.sdg-info {
    flex: 1;
}

.sdg-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-gold);
    border-radius: 10px;
}

.progress-percent {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
    display: inline-block;
}

.sdg-footer-text {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0;
}

@media (max-width: 992px) {
    .sdg-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sdg-video-left {
        order: -1;
        max-height: 300px;
    }
    
    .sdg-video-left video {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .sdg-section {
        padding: 3rem 5%;
    }
    
    .sdg-header h2 {
        font-size: 1.5rem;
    }
    
    .sdg-content-right {
        padding: 1.5rem;
    }
    
    .sdg-icon {
        font-size: 2rem;
        width: 50px;
    }
    
    .sdg-info h4 {
        font-size: 0.9rem;
    }
    
    .sdg-item {
        padding: 0.5rem 0;
        gap: 0.8rem;
    }
}

/* ========== PROJECT MANAGEMENT SECTION ========== */
.project-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.project-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-section .section-tag,
.project-section h2,
.project-section p {
    color: white;
}

.project-section .skill-name,
.project-section .skill-percent {
    color: var(--accent-gold);
}

.project-image {
    position: relative;
    border-radius: 20px;
    border-top-left-radius: 150px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--accent-gold);
    padding: 1.2rem 1.8rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.years-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
    line-height: 1;
}

.years-text {
    font-size: 0.8rem;
    color: var(--primary-green);
    font-weight: 500;
    letter-spacing: 1px;
}

.project-content {
    padding: 1rem;
}

.project-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.project-content > p {
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ceo-info {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
}

.ceo-name {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.ceo-title {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 1px;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    width: 100%;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--accent-gold);
}

.skill-percent {
    font-weight: 600;
    color: var(--accent-gold);
}

.skill-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background-color: var(--accent-gold);
    border-radius: 10px;
}

@media (max-width: 992px) {
    .project-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-image {
        order: 1;
        max-height: 400px;
    }
    
    .project-content {
        order: 2;
        text-align: center;
    }
    
    .project-content h2 {
        font-size: 1.6rem;
    }
    
    .skills-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .project-section {
        padding: 3rem 5%;
    }
    
    .experience-badge {
        bottom: 20px;
        left: 20px;
        padding: 0.8rem 1.2rem;
    }
    
    .years-big {
        font-size: 1.8rem;
    }
    
    .years-text {
        font-size: 0.7rem;
    }
    
    .project-content h2 {
        font-size: 1.3rem;
    }
}

/* ========== STATS SECTION ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== CONTACT SECTION ========== */
.contact-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.contact-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.working-hours {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.status-badge.open {
    background: rgba(76, 175, 80, 0.25);
    border: 1px solid #4caf50;
}

.status-badge.closed {
    background: rgba(244, 67, 54, 0.25);
    border: 1px solid #f44336;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.open .status-dot {
    background: #4caf50;
    box-shadow: 0 0 5px #4caf50;
}

.closed .status-dot {
    background: #f44336;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

#status-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.open #status-text {
    color: #4caf50;
}

.closed #status-text {
    color: #f44336;
}

.hours-display p {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.countdown {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.contact-info-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex: 1;
    min-width: 200px;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-gold);
}

.info-card:first-child .info-icon i,
.info-card:nth-child(2) .info-icon i,
.info-card:nth-child(3) .info-icon i {
    color: var(--accent-gold);
    font-size: 2rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.info-details h4 {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.info-details p {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.hours-note {
    font-size: 0.7rem !important;
    opacity: 0.8;
}

.help-btn {
    display: none;
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.help-btn:hover {
    background-color: var(--accent-dark);
    transform: scale(1.05);
}

.info-card-link {
    text-decoration: none;
    display: block;
    flex: 1;
    min-width: 200px;
}

.info-card-link .info-card {
    height: 100%;
    cursor: pointer;
}

.info-card-link:hover .info-card {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-gold);
}

@media (max-width: 768px) {
    .contact,
    .contact-page {
        padding: 3rem 5%;
        min-height: auto;
    }
    
    .contact-content h2 {
        font-size: 1.8rem;
    }
    
    .working-hours {
        padding: 1rem;
        max-width: 100%;
    }
    
    .contact-info-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
}

/* ========== FOOTER WITH GRADIENT BACKGROUND - NO BODY BG SHOWING ========== */
footer {
    position: relative;
    background: linear-gradient(135deg, #1a3a22, #0d2618);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

/* Remove video background elements */
.footer-video-bg,
.footer-video-overlay {
    display: none !important;
}

footer .footer-info-line,
footer .btn,
footer .footer-copyright {
    position: relative;
    z-index: 2;
}

footer .btn {
    display: inline-block;
    margin: 0 auto 1rem auto;
    background-color: var(--accent-gold);
    color: var(--primary-green);
}

footer .btn:hover {
    background-color: var(--accent-dark);
    transform: scale(1.05);
}

.footer-info-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--footer-text);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.footer-item:hover {
    transform: translateY(-3px);
}

.footer-item i {
    font-size: 1rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.footer-item:hover i {
    transform: scale(1.1);
}

.footer-item i.fa-phone-alt {
    color: var(--primary-green);
}

.footer-item i.fa-envelope {
    color: white;
}

.footer-copyright {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
    color: var(--footer-text);
}

@media (max-width: 768px) {
    .footer-info-line {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-item {
        justify-content: center;
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .about, .services, .stats, .contact,
    .about-story, .mission-vision, .values,
    .ceo-section, .team-section, .advocacy-section,
    .training-section, .projects-section, .partners-section,
    .why-choose-us {
        padding: 3rem 5%;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-gold);
}

.text-green {
    color: var(--primary-green);
}

.bg-soft {
    background-color: var(--bg-soft);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========== FIXED BACK TO TOP BUTTON ========== */
#back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background-color: var(--accent-gold) !important;
    color: var(--primary-green) !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
}

#back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

#back-to-top:hover {
    background-color: var(--accent-dark) !important;
    transform: scale(1.1) !important;
}

/* ========== STICKY FOOTER ========== */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* ========== PRINT STYLES ========== */
@media print {
    header, .stats, .contact .btn, footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        height: auto;
        background: none;
        color: black;
    }
}

/* ========== INPUT FOCUS GLOW EFFECT ========== */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(247, 179, 43, 0.3) !important;
    transition: all 0.3s ease;
}

/* ========== FORM SUCCESS MESSAGE STYLES ========== */
#form-message {
    transition: all 0.3s ease;
}