/* 
   New Aajad Seva Sansthan, Dausa - CSS Styling
   A modern, warm, and highly professional design system.
   Colors: Deep Trust Blue (#0F4C3A), Hope Orange (#D94E34), Sunshine Gold (#E0A92C), Clean Light (#F8F9FA)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Root Variables & Design Tokens --- */
:root {
    /* Color Palette - Restored to Indian Heritage & Modern Hope */
    --primary: #0F4C3A;          /* Deep Emerald Green (Trust & Growth) */
    --primary-light: #1b6d54;    /* Lighter Teal/Green */
    --primary-dark: #07261c;     /* Dark Green background elements */
    --secondary: #D94E34;        /* Sunset Clay/Coral (Hope & Warmth) */
    --secondary-hover: #b83b23;  /* Coral Hover */
    --accent: #E0A92C;           /* Warm Gold (Sunshine & Brightness) */
    --accent-light: #fef5db;     /* Soft Gold Background */
    --text-dark: #1E2522;        /* Off-Black Charcoal */
    --text-muted: #53625C;       /* Green-tinged Slate Muted */
    --bg-light: #FAF8F4;         /* Warm Ivory/Cream Background */
    --bg-white: #FFFFFF;
    --border-color: #E6EBE8;     /* Warm Ivory Border */
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 76, 58, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 76, 58, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 76, 58, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

p {
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
}

/* --- Global Utilities --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-bg-white {
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(249, 87, 56, 0.1);
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-title {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(249, 87, 56, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 87, 56, 0.4);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(15, 76, 58, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 58, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-light {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* --- Top Announcement Bar --- */
.announcement-bar {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info-top {
    display: flex;
    gap: 20px;
}

.contact-info-top span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-info-top a:hover {
    color: var(--accent);
}

.social-tax-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tax-badge {
    background-color: rgba(244, 211, 94, 0.2);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.social-links-top {
    display: flex;
    gap: 12px;
}

.social-links-top a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.social-links-top a:hover {
    color: var(--secondary);
}

/* --- Sticky Header & Navigation --- */
.header-main {
    background-color: rgba(255, 255, 255, 0.95);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.header-main.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    font-family: var(--font-heading);
}

.logo-subtitle {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
    color: var(--secondary);
}

.nav-item.active::after, .nav-item:hover::after {
    width: 100%;
}

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

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
}

/* --- Hero Section (Slideshow) --- */
.hero-section {
    position: relative;
    min-height: calc(85vh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
    background-color: var(--primary-dark);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.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 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 38, 28, 0.85) 0%, rgba(15, 76, 58, 0.65) 50%, rgba(7, 38, 28, 0.85) 100%);
    z-index: 3;
}

.hero-container {
    position: relative;
    z-index: 4;
}

.hero-content-full {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--bg-white);
}

.hero-badge-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 28px;
    font-family: var(--font-heading);
    backdrop-filter: blur(5px);
}

.hero-badge-light i {
    color: var(--accent);
}

.hero-title-light {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--bg-white);
    font-family: var(--font-heading);
}

.hero-title-light span {
    color: var(--accent);
}

.hero-desc-light {
    font-size: 19px;
    line-height: 1.6;
    margin: 0 auto 40px auto;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.hero-trust-metrics-light {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    margin-top: 50px;
}

.hero-metric-light {
    display: flex;
    flex-direction: column;
}

.hero-metric-num-light {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-metric-label-light {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- About Us, Vision, Mission Section --- */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: flex-start;
}

.about-image-collage {
    position: relative;
}

.about-img-main {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    width: 90%;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 50%;
    border: 6px solid var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.about-quote-box {
    margin-top: 40px;
    padding: 24px 30px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--secondary);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    width: 48%;
}

.about-quote-text {
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 8px;
}

.about-quote-author {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tabs-container {
    margin-top: 24px;
}

.tabs-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-muted);
    padding: 12px 24px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeInTab 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

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

.philosophy-card {
    background-color: rgba(15, 76, 58, 0.02);
    border: 1px solid rgba(15, 76, 58, 0.05);
    padding: 24px;
    border-radius: var(--border-radius-md);
}

.mission-list {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.mission-item i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 16px;
}

/* --- Programs & Impact --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(249, 87, 56, 0.15);
}

.program-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.program-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.program-card:hover .program-card-img {
    transform: scale(1.05);
}

.program-icon-wrapper {
    padding: 30px 30px 20px 30px;
}

.program-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background-color: rgba(15, 76, 58, 0.08);
    color: var(--primary);
    transition: var(--transition-fast);
}

.program-card:hover .program-icon {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.program-body {
    padding: 0 30px 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.program-desc {
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-progress-bar-container {
    margin-top: auto;
    margin-bottom: 12px;
}

.program-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.program-progress-bar {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.program-progress-fill {
    height: 100%;
    background-color: var(--secondary);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out-in;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.impact-card {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.impact-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.impact-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bg-white);
}

.impact-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* --- Filterable Gallery --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
    border-radius: 0;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 76, 58, 0.9), rgba(15, 76, 58, 0.2));
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-tag {
    align-self: flex-start;
    padding: 4px 10px;
    background-color: var(--secondary);
    color: var(--bg-white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gallery-overlay-title {
    color: var(--bg-white);
    font-size: 18px;
    font-weight: 700;
}

/* --- Stats Counter Area --- */
.stats-section {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 80px 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 90%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Testimonials Slider --- */
.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-normal) ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-quote-icon {
    font-size: 32px;
    color: rgba(249, 87, 56, 0.2);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.6;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.testimonial-user-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
}

.testimonial-user-role {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

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

/* --- Call to Action & Supporter Block --- */
.action-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 60px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: -60px;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.action-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(249, 87, 56, 0.15) 0%, rgba(249, 87, 56, 0) 60%);
    z-index: 1;
}

.action-banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.action-banner-title {
    color: var(--bg-white);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.action-banner-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 30px;
}

.action-banner-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact & Footer --- */
.contact-section {
    padding-top: 140px; /* Accounts for overlapping action banner */
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(15, 76, 58, 0.05);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item-details p, .contact-item-details a {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-map-mock {
    width: 100%;
    height: 250px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    gap: 12px;
}

.contact-map-mock i {
    font-size: 32px;
    color: var(--secondary);
}

.contact-form-container {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-white);
    transition: var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- Footer Area --- */
.footer-main {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 120px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-title {
    color: var(--bg-white);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-logo-subtitle {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-fast);
}

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

.footer-widget-title {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.newsletter-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex-grow: 1;
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 12px 20px;
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    background-color: var(--secondary);
    color: var(--bg-white);
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background-color: var(--secondary-hover);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 20px;
}

.tax-exempt-notice {
    color: var(--accent);
    font-weight: 500;
}

/* --- Modal Overlay & Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 76, 58, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-container {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 550px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 24px 30px;
    position: relative;
}

.modal-title {
    color: var(--bg-white);
    font-size: 22px;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 30px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--bg-white);
}

.modal-body {
    padding: 30px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

/* Donate Modal Specifics */
.donate-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.donate-amount-btn {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    text-align: center;
    transition: var(--transition-fast);
}

.donate-amount-btn:hover, .donate-amount-btn.active {
    background-color: var(--secondary);
    color: var(--bg-white);
    border-color: var(--secondary);
}

.payment-method-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 24px;
}

.payment-method-btn {
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.payment-method-btn:hover, .payment-method-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(15, 76, 58, 0.02);
    box-shadow: var(--shadow-sm);
}

.donate-subtext {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--bg-white);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    padding: 16px 24px;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.active {
    transform: translateX(0);
}

.toast-success {
    border-left-color: #2E7D32;
}

.toast-error {
    border-left-color: #D32F2F;
}

.toast-icon {
    font-size: 20px;
}

.toast-success .toast-icon {
    color: #2E7D32;
}

.toast-error .toast-icon {
    color: #D32F2F;
}

.toast-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    z-index: 999;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
}

.mobile-nav-menu.active {
    transform: translateX(0);
}

.mobile-nav-menu .nav-item {
    font-size: 20px;
    font-weight: 700;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-trust-metrics {
        justify-content: center;
        width: 100%;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-collage {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu, .header-actions .btn-secondary {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .action-banner {
        padding: 40px 24px;
        margin-bottom: -30px;
    }
    
    .action-banner-title {
        font-size: 26px;
    }
    
    .donate-options-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 80%;
        margin: -20px auto 20px auto;
        display: block;
        border: 6px solid var(--bg-white);
    }
    
    .about-quote-box {
        max-width: 100%;
        margin-top: 20px;
    }
}

/* ==========================================
   OUR MEMBERS / TEAM SECTION
   ========================================== */
.team-section {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.team-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2; /* Horizontal aspect ratio */
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Ensure faces remain visible when cropped */
    transition: var(--transition-normal);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.team-info {
    padding: 24px;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.team-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

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

/* ==========================================
   WELCOME SECTION & MISSION-VISION-OBJECTIVE
   ========================================== */
.welcome-section {
    background-color: var(--bg-light);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.welcome-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-intro-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary);
}

.welcome-intro-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.welcome-right {
    text-align: right;
    border-right: 4px solid var(--secondary);
    padding-right: 30px;
}

.welcome-tagline {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.welcome-title {
    font-size: 46px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-top: 10px;
}

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

.mv-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    text-align: center;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mv-card.highlighted {
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(217, 78, 52, 0.15);
}

.mv-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px auto;
    color: var(--secondary);
}

.mv-icon {
    width: 100%;
    height: 100%;
}

.mv-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.mv-card.highlighted .mv-card-title {
    color: var(--secondary);
}

.mv-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================
   TIMELINE ACTIVITIES SECTION
   ========================================== */
.timeline-section {
    background-color: var(--bg-white);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 50px auto 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.timeline-item-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.timeline-item-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.timeline-node {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.timeline-node-dot {
    width: 16px;
    height: 16px;
    background-color: var(--bg-white);
    border: 3px solid var(--secondary);
    transform: rotate(45deg);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-node-dot {
    background-color: var(--secondary);
    transform: rotate(45deg) scale(1.2);
}

.timeline-image-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border-color);
}

.timeline-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-image-card img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .welcome-right {
        text-align: left;
        border-right: none;
        border-left: 4px solid var(--secondary);
        padding-right: 0;
        padding-left: 20px;
        order: -1; /* Place welcome title above description on mobile */
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 45px;
        position: relative;
    }
    
    .timeline-node {
        position: absolute;
        left: 20px;
        top: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-left .timeline-content-card,
    .timeline-left .timeline-image-card,
    .timeline-right .timeline-content-card,
    .timeline-right .timeline-image-card {
        grid-column: span 1;
    }
    
    /* Ensure content card always comes first, then the image card */
    .timeline-left {
        display: flex;
        flex-direction: column;
    }
    
    .timeline-right {
        display: flex;
        flex-direction: column;
    }
    
    .timeline-image-card {
        width: 100%;
    }
}

/* ==========================================
   HEADER NAVIGATION ABOUT US DROPDOWN
   ========================================== */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle i {
    font-size: 11px;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.nav-dropdown-wrapper:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 220px;
    background-color: var(--primary-dark);
    border-top: 3px solid var(--secondary); /* Thick horizontal border at top of dropdown */
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    padding: 12px 0;
    z-index: 1000;
}

.nav-dropdown a {
    display: block;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
    text-align: left;
}

.nav-dropdown a:hover {
    color: var(--accent) !important;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 28px;
}

/* Mobile Submenu Styling */
.mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 15px;
    margin-top: -10px;
    margin-bottom: 5px;
}

.mobile-submenu-item {
    font-size: 16px !important;
    font-weight: 600;
    color: var(--text-muted) !important;
    transition: var(--transition-fast);
}

.mobile-submenu-item:hover {
    color: var(--secondary) !important;
}

/* ==========================================
   TRANSPARENCY / DOCUMENTS SECTION
   ========================================== */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.doc-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-normal);
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.doc-icon {
    font-size: 36px;
    color: var(--secondary);
    flex-shrink: 0;
}

.doc-info {
    flex-grow: 1;
}

.doc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.doc-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.doc-btn {
    flex-shrink: 0;
}

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

/* ==========================================
   ORGANISATION PROFILE SECTION
   ========================================== */
.profile-banner-block {
    position: relative;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.profile-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    filter: grayscale(100%);
    transition: var(--transition-normal);
}

.profile-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 58, 0.9) 0%, rgba(30, 37, 34, 0.85) 100%);
}

.profile-banner-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.profile-banner-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--bg-white) !important;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.profile-banner-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--bg-white);
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.9;
}

.profile-table-wrapper {
    max-width: 900px;
    margin: 30px auto 0 auto;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 16px;
    table-layout: fixed; /* enforce exact column widths */
}

.profile-table th, .profile-table td {
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.profile-table th {
    background-color: var(--bg-white);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary);
}

.profile-table tr:last-child td {
    border-bottom: none;
}

.profile-table tr:nth-child(even) {
    background-color: rgba(15, 76, 58, 0.015);
}

.profile-table th:first-child, .profile-table td:first-child {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    width: 40%;
    padding-right: 16px;
}

.profile-table th:last-child, .profile-table td:last-child {
    color: var(--text-dark);
    width: 60%;
    padding-left: 48px; /* Clean and spacious visual gutter */
}

.profile-table td a {
    color: var(--secondary);
    font-weight: 500;
    border-bottom: 1px dashed var(--secondary);
}

.profile-table td a:hover {
    color: var(--secondary-hover);
    border-bottom-style: solid;
}

@media (max-width: 768px) {
    .profile-banner-block {
        height: 240px;
    }
    .profile-banner-title {
        font-size: 32px;
    }
    .profile-banner-subtitle {
        font-size: 12px;
        letter-spacing: 4px;
    }
    .profile-table {
        font-size: 14px;
        table-layout: auto; /* allow fluid scaling on mobile */
    }
    .profile-table th, .profile-table td {
        padding: 14px 16px;
    }
    .profile-table th:first-child, .profile-table td:first-child {
        width: auto;
        padding-right: 8px;
    }
    .profile-table th:last-child, .profile-table td:last-child {
        width: auto;
        padding-left: 16px;
    }
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-page {
    background-color: var(--bg-light);
    min-height: 100vh;
    padding: 60px 0;
    font-family: var(--font-body);
}

.login-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 40px;
    max-width: 450px;
    margin: 40px auto;
    border: 1px solid var(--border-color);
}

.login-card h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.admin-header h1 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 800;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.admin-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.admin-card h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

.admin-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    text-decoration: none;
}

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

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

.admin-btn-secondary {
    background-color: var(--text-muted);
    color: var(--bg-white);
}

.admin-btn-secondary:hover {
    background-color: var(--text-dark);
}

.admin-btn-danger {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 8px 16px;
    font-size: 13px;
    width: auto;
    border-radius: var(--border-radius-sm);
}

.admin-btn-danger:hover {
    background-color: var(--secondary-hover);
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.admin-gallery-item {
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.admin-gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.admin-gallery-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-gallery-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(15, 76, 58, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.admin-gallery-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alert-message {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(15, 76, 58, 0.1);
    color: var(--primary);
    border: 1px solid rgba(15, 76, 58, 0.2);
}

.alert-danger {
    background-color: rgba(217, 78, 52, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(217, 78, 52, 0.2);
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   STRATEGIC PILLARS & ROADMAP TIMELINE
   ========================================================================== */
.strategic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.strategic-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.strategic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.strategic-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-fast);
}

.strategic-card:hover::after {
    transform: scaleX(1);
}

.strategic-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

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

.strategic-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

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

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 20px 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.roadmap-node {
    position: relative;
    width: 50%;
    padding: 0 40px 40px 40px;
    box-sizing: border-box;
}

.roadmap-node.left {
    left: 0;
    text-align: right;
}

.roadmap-node.right {
    left: 50%;
    text-align: left;
}

.roadmap-node::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 4px solid var(--bg-white);
    top: 6px;
    z-index: 1;
    box-shadow: 0 0 0 3px var(--primary);
}

.roadmap-node.left::after {
    right: -12px;
}

.roadmap-node.right::after {
    left: -12px;
}

.node-year {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    background-color: var(--accent-light);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.node-content {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.roadmap-node:hover .node-content {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.node-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.node-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.node-content li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
}

.roadmap-node.left .node-content li {
    padding-right: 15px;
}

.roadmap-node.left .node-content li::after {
    content: '•';
    color: var(--primary);
    position: absolute;
    right: 0;
    top: 0;
}

.roadmap-node.right .node-content li {
    padding-left: 15px;
}

.roadmap-node.right .node-content li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .roadmap-timeline::before {
        left: 31px;
    }
    
    .roadmap-node {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .roadmap-node.left {
        left: 0;
        text-align: left;
    }
    
    .roadmap-node.right {
        left: 0;
        text-align: left;
    }
    
    .roadmap-node.left::after {
        left: 20px;
        right: auto;
    }
    
    .roadmap-node.right::after {
        left: 20px;
    }
    
    .roadmap-node.left .node-content li {
        padding-left: 15px;
        padding-right: 0;
    }
    
    .roadmap-node.left .node-content li::after {
        display: none;
    }
    
    .roadmap-node.left .node-content li::before {
        content: '•';
        color: var(--primary);
        position: absolute;
        left: 0;
        top: 0;
    }
}


