/* --- Variables & Reset --- */
:root {
    --primary-color: #05501d; /* Deep Emerald */
    --secondary-color: #10b981; /* Vibrant Green */
    --accent-color: #f59e0b; /* Amber/Gold */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.socials a { margin-left: 15px; transition: var(--transition); }
.socials a:hover { color: var(--accent-color); }

/* --- Navbar --- */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}
.logo-circle {
    width: 80px;
    height: 60px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}
.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}
.btn-nav:hover { background: var(--secondary-color); }

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}
.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    text-align: center;
    padding-bottom: 60px;
    background: var(--white);
}
.hero-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 250px;
    overflow: hidden;
}
.hero-grid img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-grid img:hover { transform: scale(1.05); }
.hero-text {
    margin-top: 40px;
}
.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.hero-text p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Stats --- */
.stats {
    display: flex;
    justify-content: space-between;
    padding: 60px 20px;
    flex-wrap: wrap;
    gap: 30px;
}
.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}
.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    transition: var(--transition);
}
.stat-item:hover .icon-box {
    transform: translateY(-5px);
    background: var(--secondary-color);
}
.stat-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* --- Who We Are --- */
.who-we-are {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
}
.who-we-are h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.mission-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* --- Services Grid --- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}
.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
    padding-bottom: 20px;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.img-wrapper { height: 180px; overflow: hidden; }
.img-wrapper img { height: 100%; object-fit: cover; }
.service-card h3 { margin: 15px 0 10px; font-size: 1.2rem; }
.service-card p { padding: 0 15px; font-size: 0.9rem; color: var(--text-light); }

/* --- Volunteers --- */
.volunteers {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(rgba(6, 95, 70, 0.9), rgba(6, 95, 70, 0.9)), url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    border-radius: 10px;
    margin: 40px auto;
}
.volunteers h2 { margin-bottom: 15px; font-size: 2rem; }
.volunteers p { max-width: 700px; margin: 0 auto 30px; }
.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover { background: #d97706; }

/* --- Featured Causes --- */
.causes { padding: 60px 20px; text-align: center; }
.section-title { margin-bottom: 40px; color: var(--primary-color); font-size: 2rem; }
.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.cause-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}
.cause-img { position: relative; height: 220px; }
.cause-img img { height: 100%; object-fit: cover; }
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
}
.cause-info { padding: 25px; }
.cause-info h3 { margin-bottom: 10px; color: var(--primary-color); }
.cause-info p { margin-bottom: 20px; color: var(--text-light); font-size: 0.9rem; }
.btn-donate {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px;
    border-radius: 5px;
    transition: var(--transition);
}
.btn-donate:hover { background: var(--secondary-color); }

/* --- State of Art --- */
.state-art { text-align: center; padding: 60px 20px; }
.subtitle { margin-bottom: 30px; color: var(--text-light); }
.project-box {
    background: #d4a3a3; /* Muted Rose from design */
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.project-box::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; width: 50%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1));
}
.project-content h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* --- Footer --- */
footer {
    background: var(--white);
    margin-top: 60px;
    border-top: 1px solid #eee;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    min-height: 400px;
}
.footer-info {
    padding: 60px 40px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer-info .logo { font-size: 1.5rem; margin-bottom: 20px; }
.footer-info p { color: var(--text-light); margin-bottom: 20px; max-width: 400px; }
.social-links { display: flex; gap: 15px; margin-bottom: 40px; }
.social-links a {
    width: 35px; height: 35px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { transform: translateY(-3px); background: var(--secondary-color); }
.copyright { font-size: 0.8rem; color: #9ca3af; }

/* Emergency Block (Green Side) */
.emergency-block {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.emergency-block h3 { font-size: 2rem; z-index: 2; }
.arrows {
    font-size: 5rem;
    opacity: 0.2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.emergency-text { z-index: 2; }
.emergency-text p { font-size: 1.2rem; margin-bottom: 15px; }
.btn-contact {
    display: inline-block;
    border: 2px solid var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
}
.btn-contact:hover { background: var(--white); color: var(--primary-color); }

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    z-index: 999;
}
.mobile-menu.active { transform: translateY(0); }
.mobile-menu a {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .emergency-block { min-height: 300px; margin-top: 30px; border-radius: 10px 10px 0 0; }
    .footer-info { padding: 40px 20px; text-align: center; align-items: center; }
}

@media (max-width: 600px) {
    .hero-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-text h1 { font-size: 1.8rem; }
    .stats { flex-direction: column; }
    .project-box { width: 100%; }
}

/* Contact us page */

/* --- SCOPED CSS FOR CONTACT PAGE --- */

/* Wrapper to isolate styles from the rest of the website */
.contact-page-wrapper {
    /* Local Variables for this page only */
    --cp-primary: #065f46;   /* Deep Emerald */
    --cp-secondary: #10b981; /* Vibrant Green */
    --cp-dark: #1f2937;      /* Dark Text */
    --cp-gray: #6b7280;      /* Light Text */
    --cp-light: #f3f4f6;     /* Light BG */
    --cp-white: #ffffff;
    --cp-font: 'Poppins', sans-serif;
    
    font-family: var(--cp-font);
    color: var(--cp-dark);
    line-height: 1.6;
    background-color: var(--cp-white);
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Reset specifically for elements inside wrapper */
.contact-page-wrapper * {
    box-sizing: border-box;
}

.contact-page-wrapper h1, 
.contact-page-wrapper h2, 
.contact-page-wrapper h3 {
    margin: 0;
    font-weight: 600;
}

.contact-page-wrapper p {
    margin: 0 0 15px 0;
    color: var(--cp-gray);
}

.cp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cp-section {
    padding: 60px 0;
}

/* --- 1. Hero Section --- */
.cp-hero {
    position: relative;
    height: 350px;
    background-image: url('https://images.unsplash.com/photo-1589923188900-85dae5233271?q=80&w=1600&auto=format&fit=crop'); /* Tea plantation look */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cp-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}

.cp-hero-content {
    position: relative;
    z-index: 2;
    color: var(--cp-white);
}

.cp-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--cp-white);
}

.cp-breadcrumbs {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.cp-breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

/* --- 2. Intro Text --- */
.cp-intro-text {
    text-align: center;
}

.cp-intro-text h2 {
    font-size: 2.2rem;
    color: var(--cp-primary);
    margin-bottom: 20px;
}

.cp-intro-text p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- 3. Form & Image Split --- */
.cp-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Left Image styling */
.cp-poster-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 500px;
}

.cp-poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cp-poster-wrapper:hover img {
    transform: scale(1.03);
}

.cp-poster-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    color: var(--cp-white);
}

/* Right Form styling */
.cp-form {
    background: var(--cp-white);
    padding: 10px;
}

.cp-form-group {
    margin-bottom: 20px;
}

.cp-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--cp-dark);
    font-weight: 500;
}

.cp-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: var(--cp-font);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.cp-input:focus {
    outline: none;
    border-color: var(--cp-secondary);
    background: var(--cp-white);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.cp-row-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cp-btn-submit {
    background-color: transparent;
    color: var(--cp-primary);
    border: 1px solid var(--cp-primary);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 10px;
}

.cp-btn-submit:hover {
    background-color: var(--cp-primary);
    color: var(--cp-white);
}

/* --- 4. Info Cards --- */
.cp-grid-thirds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cp-card {
    background: var(--cp-light);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: var(--cp-white);
}

.cp-icon-circle {
    width: 60px;
    height: 60px;
    border: 1px solid var(--cp-primary); /* Outlined style from design */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--cp-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cp-card:hover .cp-icon-circle {
    background: var(--cp-primary);
    color: var(--cp-white);
}

.cp-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cp-card p {
    font-size: 0.9rem;
    margin: 0;
}

.cp-sm-text {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* --- 5. Address Text --- */
.cp-address-text {
    text-align: center;
    padding-top: 20px;
}

.cp-address-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--cp-dark);
}

.cp-address-text p {
    font-size: 1rem;
    line-height: 1.8;
}

/* --- 6. Green CTA Banner --- */
.cp-cta-banner {
    background: var(--cp-primary);
    /* Adding a subtle texture to mimic the "grass" look */
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20L0 20z' fill='%23054f3a' fill-opacity='0.1'/%3E%3C/svg%3E");
    color: var(--cp-white);
    text-align: center;
    padding: 80px 20px;
    margin-top: 40px;
}

.cp-cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--cp-white);
}

.cp-cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cp-btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--cp-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.cp-btn-outline:hover {
    background: var(--cp-white);
    color: var(--cp-primary);
    border-color: var(--cp-white);
}

/* --- Animations --- */
.cp-fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.cp-fade-left { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.cp-fade-right { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }

.cp-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* --- Responsiveness --- */
@media (max-width: 900px) {
    .cp-grid-split {
        grid-template-columns: 1fr;
    }
    .cp-poster-wrapper {
        min-height: 300px;
        margin-bottom: 20px;
    }
    .cp-grid-thirds {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cp-hero h1 { font-size: 2rem; }
    .cp-row-inputs { grid-template-columns: 1fr; }
    .cp-cta-banner h2 { font-size: 1.8rem; }
}

/* --- Scoped Styles for State of the Arts Project Section --- */

.sap-section {
    /* Local Variables used only within this section */
    --sap-primary: #065f46;   /* Deep Emerald */
    --sap-accent: #10b981;    /* Bright Green */
    --sap-text: #374151;      /* Dark Grey */
    --sap-bg: #ffffff;        /* White Background */
    --sap-font: 'Poppins', sans-serif;
    
    background-color: var(--sap-bg);
    padding: 80px 20px;
    font-family: var(--sap-font);
    color: var(--sap-text);
    box-sizing: border-box;
    width: 100%;
}

/* Ensure box-sizing works inside the section without global reset */
.sap-section *, 
.sap-section *::before, 
.sap-section *::after {
    box-sizing: border-box;
}

.sap-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header Styling --- */
.sap-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.sap-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

/* Decorative Divider */
.sap-divider {
    width: 60px;
    height: 4px;
    background-color: var(--sap-accent);
    margin: 0 auto 25px auto;
    border-radius: 2px;
}

.sap-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* --- Grid Layout --- */
.sap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* --- Card Components --- */
.sap-card {
    position: relative;
    height: 450px; /* Tall vertical cards as per design */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.sap-img-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.sap-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Effect: Zoom Image */
.sap-card:hover .sap-img-wrapper img {
    transform: scale(1.1);
}

/* Overlay Gradient - Enhances text readability */
.sap-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.6) 40%, 
        rgba(0,0,0,0.1) 80%, 
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.sap-content {
    color: #ffffff;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.sap-card:hover .sap-content {
    transform: translateY(0);
}

.sap-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.sap-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

/* --- Animations --- */
.sap-animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.sap-visible {
    opacity: 1;
    transform: translateY(0);
}

.sap-delay-1 { transition-delay: 0.1s; }
.sap-delay-2 { transition-delay: 0.2s; }

/* --- Responsiveness --- */
@media (max-width: 900px) {
    .sap-title { font-size: 2rem; }
    .sap-subtitle { font-size: 1rem; }
}

@media (max-width: 600px) {
    .sap-section { padding: 60px 15px; }
    .sap-title { font-size: 1.8rem; }
    .sap-card { height: 400px; }
    .sap-content h3 { font-size: 1.3rem; }
}

/* --- Scoped Styles for Slider Section --- */

.hs-slider-container {
    /* Local Variables */
    --hs-primary: #065f46;   /* Deep Emerald */
    --hs-accent: #f59e0b;    /* Amber/Gold */
    --hs-white: #ffffff;
    --hs-text: #f3f4f6;
    --hs-overlay: rgba(6, 95, 70, 0.6); /* Greenish tint overlay */
    
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for hero section */
    overflow: hidden;
    background-color: var(--hs-primary);
    font-family: 'Poppins', sans-serif;
}

.hs-slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    /* Transition is handled via JS for the infinite loop logic */
}

.hs-slide {
    min-width: 100%; /* Each slide takes full width */
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

/* Image Styling */
.hs-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hs-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark Gradient Overlay for text readability */
.hs-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3), transparent);
    z-index: 2;
}

/* Content Styling */
.hs-content {
    position: relative;
    z-index: 3;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.hs-text-box {
    max-width: 600px;
    color: var(--hs-white);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Animation for text when slide becomes active */
.hs-slide.active-slide .hs-text-box {
    opacity: 1;
    transform: translateY(0);
}

.hs-badge {
    display: inline-block;
    background: var(--hs-primary);
    color: var(--hs-white);
    padding: 5px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hs-badge-accent {
    background: var(--hs-accent);
    color: #fff;
    border: none;
}

.hs-text-box h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hs-text-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hs-btn {
    display: inline-block;
    background: var(--hs-accent);
    color: var(--hs-white);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hs-btn:hover {
    background: #d97706; /* Darker amber */
    transform: translateY(-2px);
}

/* Dots Navigation */
.hs-nav-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.hs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.hs-dot.active {
    background: var(--hs-white);
    transform: scale(1.2);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hs-slider-container {
        height: 500px;
    }

    .hs-text-box h2 {
        font-size: 2.2rem;
    }
    
    .hs-slide::after {
        /* Darker overlay on mobile for better text contrast */
        background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    }
    
    .hs-content {
        align-items: flex-end; /* Text at bottom on mobile */
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hs-slider-container {
        height: 400px;
    }
    .hs-text-box h2 {
        font-size: 1.8rem;
    }
}

/* =========================================
   DONATION POPUP STYLES
   ========================================= */

/* Scoped variables for this modal only */
.dnt-overlay {
    --dnt-primary: #05501d;      /* Theme Orange */
    --dnt-primary-dark: #10b981;;
    --dnt-bg: #FFFFFF;
    --dnt-text: #333333;
    --dnt-text-light: #666666;
    --dnt-border: #E0E0E0;
    --dnt-overlay-bg: rgba(0, 0, 0, 0.75);
    --dnt-font: 'Manrope', sans-serif; /* Ensuring consistency */
}

/* 1. Modal Overlay (Background) */
.dnt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dnt-overlay-bg);
    z-index: 99999; /* Highest priority */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    font-family: var(--dnt-font);
    box-sizing: border-box;
    overflow-y: auto; /* Allow scroll if screen is too small */
}

/* State: Open */
.dnt-overlay.dnt-open {
    opacity: 1;
    visibility: visible;
}

/* 2. Modal Box */
.dnt-modal-box {
    background: var(--dnt-bg);
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* Prevents it from being taller than screen */
}

.dnt-overlay.dnt-open .dnt-modal-box {
    transform: scale(1) translateY(0);
}

/* 3. Header */
.dnt-header {
    background: #FFF8F0; /* Light orange tint */
    padding: 20px 30px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--dnt-border);
}

.dnt-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dnt-icon-circle {
    width: 45px;
    height: 45px;
    background: var(--dnt-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dnt-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--dnt-text);
    font-weight: 700;
}

.dnt-header p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dnt-text-light);
}

.dnt-close-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--dnt-text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.dnt-close-btn:hover {
    color: var(--dnt-primary);
}

/* 4. Body & Form */
.dnt-body {
    padding: 30px;
    overflow-y: auto; /* Scrollable content inside modal */
}

.dnt-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--dnt-text-light);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--dnt-primary);
    padding-left: 10px;
}

.dnt-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dnt-input-group {
    margin-bottom: 20px;
}

.dnt-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dnt-text);
}

.dnt-field-wrapper {
    position: relative;
}

.dnt-field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.9rem;
}

.dnt-field-wrapper input,
.dnt-field-wrapper select,
.dnt-input-group textarea {
    width: 100%;
    padding: 12px 15px 12px 40px; /* Space for icon */
    border: 1px solid var(--dnt-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dnt-text);
    transition: all 0.3s ease;
    background: #FAFAFA;
}

/* Textarea doesn't have an icon */
.dnt-input-group textarea {
    padding-left: 15px;
    resize: vertical;
}

.dnt-field-wrapper input:focus,
.dnt-field-wrapper select:focus,
.dnt-input-group textarea:focus {
    outline: none;
    border-color: var(--dnt-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

/* Amount Wrapper (Currency + Input) */
.dnt-amount-wrapper {
    display: flex;
    border: 1px solid var(--dnt-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: 0.3s;
}

.dnt-amount-wrapper:focus-within {
    border-color: var(--dnt-primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.dnt-currency-select {
    width: 90px;
    border: none;
    background: #F0F0F0;
    padding: 12px;
    font-weight: 700;
    color: var(--dnt-text);
    cursor: pointer;
    border-right: 1px solid var(--dnt-border);
}

.dnt-amount-wrapper input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
}

/* Submit Button */
.dnt-submit-btn {
    width: 100%;
    background: var(--dnt-primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.dnt-submit-btn:hover {
    background: var(--dnt-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.dnt-secure-text {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* 5. Responsiveness */
@media (max-width: 600px) {
    .dnt-modal-box {
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        transform: scale(1) translateY(0);
    }
    
    .dnt-header {
        border-radius: 0;
        padding: 15px 20px;
    }

    .dnt-grid-2 {
        grid-template-columns: 1fr; /* Stack inputs */
        gap: 0;
    }
}
/* Donation form end */