/* ===== FONT FACE DECLARATIONS ===== */
@font-face {
    font-family: 'franklingothic';
    src: url('../fonts/FRAMDCN_0.eot');
    src: url('../fonts/FRAMDCN_0d41d.eot?#iefix') format('embedded-opentype'), 
         url('../fonts/FRAMDCN_0.woff') format('woff'), 
         url('../fonts/FRAMDCN_0.ttf') format('truetype'), 
         url('../fonts/FRAMDCN_0.svg#PixieFontRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'McgannahanRegular';
    src: url('../fonts/mcgarg_-webfont.eot');
    src: url('../fonts/mcgarg_-webfontd41d.eot?#iefix') format('embedded-opentype'), 
         url('../fonts/mcgarg_-webfont.html') format('woff'), 
         url('../fonts/mcgarg_-webfont.ttf') format('truetype'), 
         url('../fonts/mcgarg_-webfont.svg#McgannahanRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2c5530;
    --secondary: #4a7c59;
    --accent: #8fbc8f;
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --success: #28a745;
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 14px; /* Increased from 12px for better readability */
    color: #333; /* Changed from #505050 for better contrast */
    line-height: 1.6; /* Better line spacing */
    background-color: #f8f9fa;
    padding-top: 140px; /* For fixed header */
    margin: 0;
}

/* Remove old body background if not needed */
/* background: url(../images/body_bg.jpg) left top repeat-x; */

strong {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: var(--primary); /* Use theme color */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

a img {
    border: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ===== LAYOUT UTILITIES ===== */
.left {
    float: left !important;
}

.right {
    float: right !important;
}

.clear {
    clear: both;
}

.clear_after::after {
    content: '';
    display: block;
    clear: both;
}

.container {
    width: 100%;
    max-width: 1200px; /* Modern container width */
    margin: 0 auto;
    padding: 0 15px;
}
/* ===== MOBILE-FIRST HEADER STYLES ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Mobile-specific adjustments */
@media (max-width: 767.98px) {
    body {
        padding-top: 90px; /* Reduced for mobile */
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
    
    .navbar-toggler {
        margin-left: auto;
        border: none;
        padding: 0.25rem;
    }
    
    .navbar-collapse {
        background: white;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: var(--primary);
        color: white !important;
    }
    
    /* Dropdown menu mobile adjustments */
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(var(--primary-rgb), 0.05);
        margin: 0.5rem 0;
        padding: 0;
    }
    
    .dropdown-item {
        padding: 0.75rem 1.5rem;
        border-radius: 0;
        margin: 0;
    }
    
    .dropdown-item:hover {
        background-color: var(--primary);
        color: white;
    }
    
    /* Hero section mobile adjustments */
    .hero-section {
        padding: 40px 0;
        margin-top: -30px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    /* Floating donation button mobile */
    .floating-donation {
        bottom: 150px;
        right: 15px;
    }
    
    .floating-donation .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        padding-top: 110px;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Desktop adjustments */
@media (min-width: 992px) {
    body {
        padding-top: 140px;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
    
    .navbar-nav {
        margin-left: auto;
    }
}

/* Enhanced dropdown for desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Header shrink animation */
header.shrink {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

header.shrink .navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

header.shrink .navbar-brand img {
    height: 40px;
}

/* Mobile-specific shrink */
@media (max-width: 767.98px) {
    header.shrink .navbar-brand img {
        height: 35px;
    }
    
    header.shrink .navbar {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }
}

/* Navigation Active State Enhancement */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Mobile navigation active state */
@media (max-width: 767.98px) {
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-link.active {
        background-color: var(--primary);
        color: white !important;
    }
}

/* Ensure proper spacing for mobile */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Improved mobile typography */
@media (max-width: 767.98px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 767.98px) {
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px; /* Minimum touch target size */
    }
    
    .social-links .btn {
        padding: 0.5rem;
        min-height: auto;
    }
}
  /* New Interactive Features */
    .impact-counter {
        font-size: 2.5rem;
        font-weight: bold;
        color: var(--primary);
    }
    
    .volunteer-card {
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    
    .volunteer-card:hover {
        transform: translateY(-5px);
    }
    
    .progress-ring {
        transform: rotate(-90deg);
    }
    
    .progress-ring-circle {
        transition: stroke-dashoffset 0.5s ease;
    }
    
    .testimonial-card {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-left: 4px solid var(--primary);
    }
    
    .floating-donation {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        animation: float 3s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    
    /* Updated Impact Map Styles */
    .impact-map {
        position: relative;
        height: 400px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #dee2e6;
        background: #f8f9fa;
    }

    .map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://upload.wikimedia.org/wikipedia/commons/6/64/Mumbai_Weltkulturerbe.svg') center/cover no-repeat, linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
    transform: scale(1.3); /* More zoom */
    transform-origin: center;
}

    .map-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(1px);
        z-index: 1;
    }

    .map-point {
        position: absolute;
        width: 16px;
        height: 16px;
        background: #ff6b6b;
        border: 3px solid white;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: pulse 2s infinite;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
        z-index: 2; /* Ensure points are above overlay */
    }

    .map-point:hover {
        transform: translate(-50%, -50%) scale(1.3);
        background: #ff5252;
        z-index: 10;
    }

    @keyframes pulse {
        0% { 
            transform: translate(-50%, -50%) scale(1); 
            opacity: 1; 
            box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
        }
        70% { 
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
        }
        100% { 
            transform: translate(-50%, -50%) scale(1);
            box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
        }
    }

    /* Tooltip customization */
    .tooltip {
        font-size: 0.8rem;
    }

    .tooltip .tooltip-inner {
        background: rgba(0, 0, 0, 0.8);
        padding: 8px 12px;
        border-radius: 6px;
    }
    
    .achievement-badge {
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }
    
  /* Fade-in animation for timeline */
.timeline-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.6s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger animation delays */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--primary);
}
    
    .timeline-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 5px;
        width: 12px;
        height: 12px;
        background: var(--primary);
        border-radius: 50%;
    }
    
    .timeline-item::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 17px;
        width: 2px;
        height: calc(100% + 13px);
        background: #dee2e6;
    }
    
    .timeline-item:last-child::after {
        display: none;
    }
/* Better mobile timeline */
@media (max-width: 768px) {
    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .timeline-item::before {
        left: -8px;
        width: 16px;
        height: 16px;
    }
    
    /* Stack vision/mission on mobile */
    .row.mt-4 .col-md-6 {
        margin-bottom: 1.5rem;
    }
}
/* ===== HERO SECTIONS ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    margin-top: -40px; /* Compensate for fixed header */
}

.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 0;
    margin-top: -40px;
}
/* ===== CAROUSEL STYLES ===== */
.feature-card .carousel {
    border-radius: 12px;
    overflow: hidden;
}

.feature-card .carousel-item {
    height: 300px; /* Fixed height for consistent slides */
}

.feature-card .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the area properly */
}

.feature-card .carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1.5rem;
}

.feature-card .carousel-caption h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Carousel controls styling */
.feature-card .carousel-control-prev,
.feature-card .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
}

.feature-card .carousel-control-prev {
    left: 10px;
}

.feature-card .carousel-control-next {
    right: 10px;
}

/* Carousel indicators */
.feature-card .carousel-indicators {
    margin-bottom: 10px;
}

.feature-card .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255,255,255,0.5);
    border: none;
}

.feature-card .carousel-indicators button.active {
    background-color: white;
}

/* Hover effects for carousel */
.feature-card:hover .carousel-control-prev,
.feature-card:hover .carousel-control-next {
    background: rgba(0,0,0,0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-card .carousel-item {
        height: 250px;
    }
    
    .feature-card .carousel-caption {
        padding: 1rem;
    }
    
    .feature-card .carousel-caption h5 {
        font-size: 1rem;
    }
    
    .feature-card .carousel-control-prev,
    .feature-card .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .feature-card .carousel-item {
        height: 200px;
    }
    
    .feature-card .carousel-caption h5 {
        font-size: 0.9rem;
    }
}
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.project-image {
    object-fit: contain; /* Changed from 'cover' to 'contain' to show full image */
    object-position: center;
    width: 100%;
    height: 250px; /* Fixed height to match width */
    background-color: #f8f9fa; /* Background for any empty space */
}

/* For responsive square layout */
.col-md-4 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.committee-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    text-align: center;
}

.committee-card:hover {
    transform: translateY(-5px);
}

/* ===== BADGES & TAGS ===== */
.year-badge {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.category-tag {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.category-badge {
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 5px;
    display: inline-block;
}

/* ===== BUTTON STYLES ===== */
.view-all-btn {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}
/* ===== YEAR NAVIGATION - MOBILE OPTIMIZED WITHOUT SCROLLBAR ===== */
.year-nav {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 140px;
    z-index: 1020;
    transition: all 0.3s ease;
}

.year-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.year-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border: 2px solid var(--primary);
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
}

.year-link:hover,
.year-link.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
}

.year-link.view-all-btn {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    font-weight: 600;
}

.year-link.view-all-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .year-nav {
        top: 90px;
        padding: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }
    
    .year-links-container {
        gap: 8px;
    }
    
    .year-link {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-height: 40px;
        border-radius: 20px;
        flex: 1 0 auto;
        max-width: calc(33.333% - 8px);
        justify-content: center;
        text-align: center;
    }
    
    .year-nav h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Hide scrollbar completely */
    .year-links-container {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    
    .year-links-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .year-nav {
        top: 80px;
        padding: 0.8rem;
        margin-left: 0;
        margin-right: 0;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .year-links-container {
        gap: 6px;
    }
    
    .year-link {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-height: 36px;
        border-radius: 18px;
        max-width: calc(25% - 6px);
        font-size: 0.75rem;
    }
    
    /* Make "View All" button full width on very small screens */
    .year-link.view-all-btn {
        max-width: 100%;
        margin-top: 8px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .year-link {
        max-width: calc(33.333% - 6px);
        font-size: 0.7rem;
        padding: 5px 8px;
    }
    
    .year-link.view-all-btn {
        max-width: 100%;
        font-size: 0.8rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .year-nav {
        top: 110px;
    }
    
    .year-links-container {
        gap: 12px;
    }
    
    .year-link {
        flex: 0 0 auto;
    }
}

/* Desktop hover effects */
@media (min-width: 1025px) {
    .year-links-container {
        gap: 12px;
    }
    
    .year-link {
        flex: 0 0 auto;
    }
}

/* When header shrinks on scroll */
header.shrink ~ main .year-nav {
    top: 120px;
}

@media (max-width: 768px) {
    header.shrink ~ main .year-nav {
        top: 70px;
    }
}

@media (max-width: 576px) {
    header.shrink ~ main .year-nav {
        top: 60px;
    }
}

/* Active state improvements */
.year-link.active {
    position: relative;
}

.year-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Focus states for accessibility */
.year-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Project sections styling */
.year-section {
    scroll-margin-top: 160px;
}

@media (max-width: 768px) {
    .year-section {
        scroll-margin-top: 120px;
    }
}

@media (max-width: 576px) {
    .year-section {
        scroll-margin-top: 100px;
    }
}
/* ===== TIMELINE STYLES ===== */
.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px; /* Adjusted to align with content */
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem; /* Increased padding to make space for dots */
    padding-top: 0.25rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px; /* Position dots along the timeline line */
    top: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:last-child::after {
    display: none;
}

/* Remove the old timeline styles that might be conflicting */
.timeline-item::after {
    display: none; /* Remove the vertical line from individual items */
}


/* ===== STATS & COUNTERS ===== */
.stats-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

/* Fix for the animated counter */
.stats-counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    display: block;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .stats-counter {
        font-size: 2.5rem;
    }
    
    .impact-number,
    .stats-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .stats-counter {
        font-size: 2rem;
    }
    
    .impact-number,
    .stats-number {
        font-size: 1.75rem;
    }
}
/* ===== MISSION & VISION ===== */
.mission-vision-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
}

/* ===== CONTACT STYLES ===== */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: white;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== COMMITTEE STYLES ===== */
.member-photo {
    width: 180px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--accent);
}

.member-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.member-role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-title {
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    font-size: 1.75rem;
}

.committee-section {
    margin-bottom: 4rem;
}

.nav-tabs .nav-link {
    color: var(--primary);
    font-weight: 500;
    border: none;
    padding: 12px 24px;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    border-radius: 8px;
}

/* ===== ICONS & SOCIAL ===== */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-contact a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-contact a:hover {
    transform: translateY(-3px);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== SUCCESS STORIES ===== */
.success-story {
    background: linear-gradient(45deg, #e8f5e8, #f0f8f0);
    border-left: 4px solid var(--success);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* ===== ARTICLE CARDS ===== */
.article-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* ===== DONATION BOX ===== */
.donation-box {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* ===== LEGACY STYLES (Keep for compatibility) ===== */
/* Only include these if you're still using the old HTML structure */
.upper_wrapper {
    height: auto; /* Changed from fixed height */
    margin-bottom: 2rem;
}

.success {
    background: none; /* Remove old background */
    height: auto;
    width: 100%;
    float: none;
    position: relative;
}

.upper {
    padding: 2rem 0;
}

.success_details_img {
    width: 100%;
    height: auto;
    display: block;
    float: none;
    margin: 0 0 1rem 0;
}

.success_details {
    margin: 0;
    padding: 1.5rem;
    float: none;
    border: 1px solid #CBD4DF;
    border-radius: 8px;
}

.breadcrumb {
    background: #f8f9fa;
    height: auto;
    margin: 1rem 0;
    overflow: hidden;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.box {
    background: #f8fbfd;
    border: 1px solid #cbd4df;
    padding: 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
}

.wrapper, .left_bar, .right_bar {
    overflow: hidden;
}

.left_bar {
    float: left;
    width: 65%; /* Responsive width */
    position: relative;
}

.right_bar {
    width: 32%; /* Responsive width */
    float: right;
}

h1 {
    font-family: 'Inter', Arial, Helvetica, sans-serif; /* Updated font */
    font-size: 2rem;
    color: var(--light);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 2rem;
    font-weight: 700;
}

h1 span {
    color: var(--secondary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .left_bar, .right_bar {
        width: 100%;
        float: none;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
        font-size: 14px;
    }
    
    .hero-section {
        padding: 60px 0;
        margin-top: -30px;
    }
    
    .contact-hero {
        padding: 40px 0;
        margin-top: -30px;
    }
    
    .stats-counter, .impact-number, .stats-number {
        font-size: 2rem;
    }
    
    header.shrink .navbar-brand img {
        height: 45px;
    }
    
    .project-image {
        height: 150px;
    }
    
    .member-photo {
        width: 150px;
        height: 170px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 100px;
    }
    
    .hero-section {
        padding: 40px 0;
        margin-top: -20px;
    }
    
    .feature-card, .contact-card, .box {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .feature-card:hover,
    .project-card:hover,
    .committee-card:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus, .btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        padding-top: 0;
        font-size: 12pt;
        background: white !important;
        color: black !important;
    }
    
    header {
        position: static;
        box-shadow: none;
    }
    
    .hero-section, .contact-hero {
        background: #fff !important;
        color: #000 !important;
        margin-top: 0;
    }
    
    .feature-card, .project-card, .contact-card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
        page-break-inside: avoid;
    }
    
    .navbar-nav, .social-links, .btn {
        display: none !important;
    }
}

/* Donation Modal Styles */
.bank-detail-item {
    padding: 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e9ecef;
}

.copy-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: var(--primary);
    color: white;
}

.copy-btn.copied {
    background-color: var(--success);
    color: white;
    border-color: var(--success);
}

.quick-actions .btn {
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

.floating-donation {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-donation .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .bank-detail-item {
        padding: 10px;
    }
}