/* ========================================
   AHIMSA ALLIANCE - Production Stylesheet
   Based on Samarthanam.org design patterns
   ======================================== */

/* CSS Custom Properties */
:root {
    --primary: #54B435;
    --primary-dark: #379237;
    --primary-darker: #2B7A0B;
    --primary-darkest: #1A5D1A;
    --accent: #E5272D;
    --accent-dark: #C41E24;
    --text-dark: #0F172A;
    --text-body: #475569;
    --text-light: #94A3B8;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-green-light: #EDFBE2;
    --bg-green-soft: #D5EAD8;
    --bg-dark: #1E293B;
    --bg-footer: #0F172A;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Lexend', sans-serif;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(84, 180, 53, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-donate {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    padding: 10px 24px;
}

.btn-donate:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 39, 45, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
}

/* ========================
   TOP BAR
   ======================== */
.top-bar {
    background-color: var(--bg-footer);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.8);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.top-bar-right a:hover {
    background: var(--primary);
    color: white;
}

/* ========================
   HEADER
   ======================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-tagline {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 4px;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--primary);
    background: var(--bg-green-light);
}

.nav-list > li > a .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-body);
}

.dropdown li a:hover {
    background: var(--bg-green-light);
    color: var(--primary);
    padding-left: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================
   HERO SECTION
   ======================== */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 700px;
    color: white;
    padding: 0 60px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(84, 180, 53, 0.9);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 16px;
    line-height: 1.15;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Nav */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--primary);
    width: 36px;
    border-radius: 6px;
}

/* ========================
   SECTION HEADERS
   ======================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.light h2 {
    color: white;
}

.section-header.light .section-tag {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
}

.section-tag {
    display: inline-block;
    background: var(--bg-green-light);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
    margin: 0 auto;
}

.section-desc {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--text-body);
}

/* ========================
   ABOUT SECTION
   ======================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-green-light);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
}

.about-feature i {
    color: var(--primary);
    font-size: 18px;
}

/* ========================
   MISSION SECTION
   ======================== */
.mission-section {
    background: var(--bg-green-light);
}

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

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 26px;
}

.mission-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.mission-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* ========================
   INITIATIVES SECTION
   ======================== */
.initiatives-section {
    background: var(--bg-light);
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.initiative-card {
    background: white;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.initiative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transition: var(--transition);
}

.initiative-card:nth-child(1)::before { background: #54B435; }
.initiative-card:nth-child(2)::before { background: #379237; }
.initiative-card:nth-child(3)::before { background: #2B7A0B; }
.initiative-card:nth-child(4)::before { background: #1A5D1A; }

.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.initiative-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.initiative-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: var(--transition);
}

.initiative-card:nth-child(1) .initiative-icon {
    background: rgba(84, 180, 53, 0.12);
    color: #54B435;
}

.initiative-card:nth-child(2) .initiative-icon {
    background: rgba(55, 146, 55, 0.12);
    color: #379237;
}

.initiative-card:nth-child(3) .initiative-icon {
    background: rgba(43, 122, 11, 0.12);
    color: #2B7A0B;
}

.initiative-card:nth-child(4) .initiative-icon {
    background: rgba(26, 93, 26, 0.12);
    color: #1A5D1A;
}

.initiative-card:hover .initiative-icon {
    transform: scale(1.1);
}

.initiative-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.initiative-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.initiative-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.initiative-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ========================
   IMPACT SECTION
   ======================== */
.impact-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
                url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0;
}

.impact-overlay {
    padding: 80px 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.impact-card {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.impact-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.impact-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}

.impact-number::after {
    content: '+';
    font-size: 24px;
}

.impact-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
}

/* ========================
   EVENTS SECTION
   ======================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.event-card {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.event-image {
    position: relative;
    width: 220px;
    min-height: 220px;
    flex-shrink: 0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.event-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.event-category {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.event-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.event-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.event-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ========================
   VIDEO CTA SECTION
   ======================== */
.video-section {
    background: linear-gradient(rgba(84, 180, 53, 0.9), rgba(43, 122, 11, 0.9)),
                url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.video-overlay {
    padding: 80px 0;
}

.video-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    color: white;
}

.video-content h2 {
    font-size: 40px;
    color: white;
    margin-bottom: 16px;
}

.video-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ========================
   GET INVOLVED SECTION
   ======================== */
.involved-section {
    background: var(--bg-light);
}

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

.involved-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.involved-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.involved-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 28px;
    transition: var(--transition);
}

.involved-card:hover .involved-icon {
    background: var(--primary);
    color: white;
}

.involved-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.involved-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ========================
   TESTIMONIALS SECTION
   ======================== */
.testimonials-section {
    background: var(--bg-green-light);
}

.testimonials-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-card.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.testimonial-quote {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 20px;
}

.testimonial-card > p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    font-size: 44px;
    color: var(--primary);
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ========================
   NEWSLETTER SECTION
   ======================== */
.newsletter-section {
    background: var(--bg-footer);
    padding: 50px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 6px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    width: 300px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

/* ========================
   CONTACT SECTION
   ======================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--bg-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-body);
}

.contact-form {
    background: var(--bg-light);
    padding: 36px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ========================
   FOOTER
   ======================== */
.main-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 38px;
    height: 38px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-col h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================
   BACK TO TOP
   ======================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================
   ANIMATIONS (Scroll)
   ======================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .initiatives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        margin: 0 auto;
    }

    /* Mobile Nav */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-xl);
        z-index: 1001;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 80px 20px 20px;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list > li > a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
        justify-content: space-between;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: var(--bg-light);
        border-radius: 0;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-donate {
        display: none;
    }

    /* Hero */
    .hero-section {
        height: 70vh;
        min-height: 450px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        height: 300px;
    }

    .about-image-badge {
        bottom: -15px;
        right: 15px;
    }

    /* Mission */
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 28px;
    }

    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-image {
        width: 100%;
        min-height: 200px;
        max-height: 200px;
    }

    /* Impact */
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Get Involved */
    .involved-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Video Section */
    .video-content h2 {
        font-size: 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .impact-number {
        font-size: 28px;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px 16px;
    }
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Utility: Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================
   PAGE BANNER & BREADCRUMB
   ======================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-darkest) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0 50px;
    text-align: center;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 6px;
}

/* ========================
   ALT BACKGROUND
   ======================== */
.alt-bg {
    background: var(--bg-light);
}

/* ========================
   TEAM SECTION
   ======================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 16px;
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 4px;
}

.team-role {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* ========================
   PROGRAM DETAIL PAGES
   ======================== */
.program-detail-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

.program-detail-grid.reverse {
    direction: rtl;
}

.program-detail-grid.reverse > * {
    direction: ltr;
}

.program-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    flex-shrink: 0;
}

.program-detail-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.program-detail-content p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.program-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.program-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-body);
    font-size: 15px;
}

.program-highlights li i {
    color: var(--primary);
    font-size: 16px;
}

/* ========================
   EVENTS FILTER
   ======================== */
.events-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
}

/* ========================
   IMPACT STORIES
   ======================== */
.impact-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.impact-story-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.impact-story-card:hover {
    transform: translateY(-5px);
}

.impact-story-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-green-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 16px;
}

.impact-story-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
}

.impact-story-card p {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================
   STYLED FORMS (GET INVOLVED)
   ======================== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

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

.styled-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.styled-form input,
.styled-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.styled-form input:focus,
.styled-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.1);
}

/* ========================
   DONATE PAGE
   ======================== */
.donate-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.donate-form-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.donate-amounts h3,
.donate-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.amount-btn {
    padding: 14px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    background: var(--bg-green-light);
    color: var(--primary);
}

.donate-form .form-group {
    margin-bottom: 16px;
}

.donate-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.donate-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.donate-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.1);
}

.donate-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.donate-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.donate-submit {
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.donate-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.donate-secure {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

.donate-secure i {
    color: var(--primary);
}

.donate-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.donate-info-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.donate-info-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.donate-info-card h3 i {
    color: var(--primary);
}

.donate-info-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

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

.donate-usage li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-body);
}

.donate-usage li i {
    color: var(--primary);
    font-size: 14px;
}

/* ========================
   DONATION SUCCESS PAGE
   ======================== */
.donation-success-section {
    padding-top: 120px;
}

.donation-success {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 24px;
}

.donation-success h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 16px;
}

.success-message {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.success-details {
    margin-bottom: 24px;
}

.order-id {
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   MAP SECTION
   ======================== */
.map-section {
    line-height: 0;
}

.map-section iframe {
    display: block;
}

/* ========================
   RESPONSIVE: NEW PAGES
   ======================== */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-layout {
        grid-template-columns: 1fr;
    }

    .impact-stories-grid {
        grid-template-columns: 1fr;
    }

    .program-detail-grid {
        grid-template-columns: 1fr;
    }

    .program-detail-grid.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 80px 0 40px;
    }

    .page-banner h1 {
        font-size: 28px;
    }

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

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .donate-form .form-row {
        grid-template-columns: 1fr;
    }

    .events-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}
