:root {
    --primary-color: #2E7D32;
    /* Deep Green */
    --secondary-color: #FF6D00;
    /* Warm Orange */
    --text-dark: #333333;
    --text-muted: #666666;
    --light-bg: #FFFFFF;
    /* White Background */
    --card-bg: #FFFFFF;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--light-bg) !important;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: #F8F9FA !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.text-dark {
    color: #333333 !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.card {
    background-color: var(--card-bg);
    color: var(--text-dark);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.section-padding {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Hero Slider */
.hero-slider .carousel-item {
    height: 85vh;
    /* Default Desktop Height */
    min-height: 500px;
    position: relative;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.4);
}

.hero-caption {
    bottom: 30%;
    z-index: 2;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-caption h1,
.hero-caption p {
    color: #fff !important;
}

/* Responsive Hero Adjustments */
@media (max-width: 991px) {

    /* Tablet */
    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .hero-caption h1 {
        font-size: 2.5rem;
    }

    .hero-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

    /* Mobile */
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 350px;
    }

    .hero-caption {
        bottom: 20%;
    }

    .hero-caption h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem !important;
    }

    .hero-caption .badge {
        font-size: 0.8rem;
    }

    .btn-lg {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem !important;
    }
}

/* Images & Aspect Ratios */
.card-img-top,
.gallery-slider img,
.about-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Cards & Hover Effects */
.feature-card {
    border: none;
    transition: all 0.3s ease;
    border-radius: 20px;
    background: var(--card-bg);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Gallery Slider Enhancements */
.gallery-section {
    position: relative;
    padding-bottom: 100px;
}

.gallery-slider .card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-slider .card:hover {
    transform: translateY(-5px);
}

.gallery-slider .card:hover img {
    transform: scale(1.05);
}

/* Custom Slider Navigation */
.slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

/* Process Cards */
.process-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    z-index: 1;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5222 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    color: white;
}

.process-card:hover::before {
    opacity: 1;
}

.process-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.process-card:hover .icon-box-process {
    background: white;
    color: var(--primary-color);
}

.icon-box-process {
    width: 70px;
    height: 70px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

/* Info Cards (Transparency) */
.info-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Wave Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(157% + 1.3px);
    height: 86px;
}

.wave-divider .shape-fill {
    fill: var(--light-bg);
}

.wave-top {
    top: 0;
    bottom: auto;
    transform: rotate(0deg);
}

/* Footer */
footer a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

/* Responsive General Adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .divide-x>div {
        border-right: none !important;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .divide-x>div:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #ddd;
    }
}

/* ... (previous styles) ... */

/* Footer Redesign */
.footer-modern {
    background-color: #1a1a1a;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-modern h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-modern h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-modern a {
    color: #b0b0b0;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-modern a:hover {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-left: 0;
}

.footer-modern .social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.1rem;
}

.footer-modern .social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    background-color: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 15px;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    border-radius: 5px;
}

/* About Section Enhancements */
.about-featured-img {
    border-radius: 30px;
    box-shadow: 20px 20px 0 var(--primary-color);
    transition: transform 0.3s ease;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-featured-img:hover {
    transform: translateY(-5px);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: -10px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-width: 140px;
}

.about-list-item {
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.about-list-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.about-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Impact Stats Mobile Adjustments */
@media (max-width: 767px) {
    .impact-stat-col {
        padding: 15px 10px;
        border: 1px solid #ddd;
        /* Light border for grid look */
        border-radius: 10px;
        margin-bottom: 15px !important;
    }

    .impact-stat-number {
        font-size: 1.8rem;
    }

    .impact-stat-text {
        font-size: 0.8rem;
    }

    /* Reset divide-x styles for mobile grid */
    .divide-x>div {
        border-right: none !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Program Cards - New Modern Design */
.program-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.program-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.3s ease;
}

.program-card:hover .program-card-accent {
    height: 6px;
}

.program-icon-wrapper {
    display: inline-block;
}

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.program-icon i {
    font-size: 2.2rem;
    display: block;
}

.program-card .btn {
    transition: all 0.3s ease;
}

.program-card:hover .btn-outline-success {
    background: #198754;
    color: white;
    border-color: #198754;
}

.program-card:hover .btn-outline-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.program-card:hover .btn-outline-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Program Cards V2 - Icons at Top Center */
.program-card-v2 {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: visible;
    position: relative;
    padding: 60px 30px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.program-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.program-icon-top {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.program-icon-top i {
    font-size: 2.5rem;
}

.program-card-v2:hover .program-icon-top {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.program-card-content {
    position: relative;
}