/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Advent Sans';
    src: url('../assets/fonts/AdventSans-Logo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Enhanced Color Palette */
    --primary-color: #1A3C34;
    --primary-dark: #0F2A24;
    --primary-light: #2a5c54;
    --accent-color: #E6B222;  /* New gold accent */
    --accent-dark: #C49516;
    
    /* Secondary Colors */
    --secondary-color: #800000;
    --secondary-dark: #6B0000;
    --secondary-light: #9B0000;

    
    /* Text Colors */
    --text-color: #333;
    --text-light: #666;
    --text-white: #FFFFFF;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #fff;
    --bg-lighter: #f8f9fa;
    
    /* Border & Shadow Colors */
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-color: rgba(0, 0, 0, 0.5);
    
    /* Font Family */
    --font-family: 'Open Sans', sans-serif;
    
    /* Improved Typography Scale */
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.75rem;
    --h4-size: 1.5rem;
    --body-size: 1rem;
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    line-height: 1.6;
    font-size: var(--body-size);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    background-color: var(--bg-white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
    box-sizing: border-box;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    padding: 0.5rem 2rem;
}

header {
    width: 90%;
    padding: 0 2rem;
    box-sizing: border-box;
    margin-top: 80px;
    margin-left: 0;
    margin-right: 0;
}

.container {
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 768px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.75rem;
        --h3-size: 1.5rem;
        --h4-size: 1.25rem;
    }

    section {
        padding: var(--space-lg) 0;
    }

    .navbar {
        width: 90%;
        padding: 1rem;
    }
    
    .navbar.scrolled {
        padding: 0.5rem 1rem;
    }

    header, .container {
        width: 90%;
        padding: 0 1rem;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    header, .container {
        width: 100%;
        padding: 0 0.5rem;
        margin-left: 0;
        margin-right: 0;
    }
}

.navbar .logo a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.navbar.scrolled .logo a {
    color: var(--text-white);
}

.navbar .logo-text {
    font-family: 'Advent Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 1rem;
    line-height: 1.2;
}

.navbar .logo-conference {
    font-size: 1.2rem;
    font-weight: 400;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:not(.btn-donate)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:not(.btn-donate):hover::after,
.nav-links a:not(.btn-donate).active::after {
    width: 80%;
}

.nav-links a:not(.btn-donate):hover {
    background-color: transparent;
}

.navbar.scrolled .nav-links a:not(.btn-donate) {
    color: var(--text-white);
}

.navbar.scrolled .nav-links a:not(.btn-donate):hover {
    background-color: transparent;
    color: var(--text-white);
}

.nav-links a:not(.btn-donate).active {
    background-color: transparent;
    color: var(--primary-color);
}

.navbar.scrolled .nav-links a.active {
    background-color: transparent;
    color: var(--text-white);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

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

.btn-donate {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-donate.active {
    background-color: var(--secondary-color);
    color: var(--text-white);
    text-decoration: none;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: background-color 0.3s ease;
}

.navbar.scrolled .hamburger span {
    background-color: var(--text-white);
}

@media (max-width: 768px) {
    .navbar .logo-text {
        font-size: 1rem;
        text-align: left;
        margin: 0;
        padding: 0;
        white-space: normal;
        line-height: 1.2;
    }

    .navbar .logo-conference {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar .logo-conference {
        font-size: 0.7rem;
    }
}

/* Layout Container */
.layout-container {
    display: flex;
    flex: 1;
    position: relative;
    margin-top: 40px; /*Add margin equal to header height*/
    /* min-height: calc(100vh - 80px); Subtract header height from viewport height */
}

/* Main Content Area */
.main-content {
    width: 95%;
    margin-right: 10%;
    padding: 2rem 0; /* Add vertical padding */
}

/* Events Section */
.events-section {
    padding: 2rem;
    margin-top: 0; /* Remove any top margin */
}

/* Media Tabs */
.media-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.media-tab {
    padding: 0.8rem 1.5rem;
    border: none;
    background: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.media-tab::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.media-tab:hover {
    color: var(--primary-color);
    background-color: var(--bg-lighter);
}

.media-tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

.media-tab.active::after {
    transform: scaleX(1);
}

.media-tab i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.media-tab:hover i {
    transform: scale(1.1);
}

/* Media Content Sections */
.media-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding-top: 1rem;
}

.media-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem; /* Increased from 1.5rem */
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    color: var(--text-white);
    transition: bottom 0.3s ease;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: var(--text-white);
}

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

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem; /* Increased from 1.5rem */
    margin-top: 2rem;
}

.video-card {
    background: var(--bg-white);
    border-radius: 12px; /* Increased from 8px */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added shadow */
}

.video-embed {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .media-tabs {
        top: 0;
        gap: 0.5rem;
        padding: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .gallery-grid,
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-info {
        padding: 1rem;
    }
}

.video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover img {
    transform: scale(1.05);
}

.video-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-item .play-icon i {
    color: white;
    font-size: 1.5rem;
}

.video-item:hover .play-icon {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Side Section */
.side-section {
    width: 10vw;
    background: var(--primary-color);
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    z-index: 999;
    margin: 0;
    transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -2px 0 5px var(--shadow-color);
}

.side-section.scrolled {
    background: linear-gradient(to bottom, var(--primary-color), var(--bg-white));
    height: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
}

.side-section .logo {
    position: sticky;
    top: 2rem;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    padding: 0.3rem;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.side-section:hover .logo {
    background: transparent;
    transform: scale(1.05);
}

.side-section .logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logo white */
}

/* Responsive adjustments for side section */
@media (max-width: 768px) {
    .side-section {
        width: 10%;
        padding: 1rem 0.5rem;
    }

    .side-section .logo {
        max-width: 120px;
        padding: 0.2rem;
        margin-top: 100px;
    }
}

@media (max-width: 480px) {
    .side-section {
        width: 10%;
        padding: 0.5rem 0.25rem;
    }

    .side-section .logo {
        max-width: 100px;
        padding: 0.2rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 0;
    height: 30vh;
    overflow: hidden;
    background-color: var(--primary-color);
    margin-top: -80px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    position: relative;
    width: 90%;
    max-width: 800px;
    text-align: center;
    z-index: 2;
    padding: 0 1rem;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--overlay-color);
    line-height: 1.2;
}

.hero-text p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px var(--overlay-color);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 200px;
        padding: 100px 1rem 2rem;
    }

    .hero-text {
        width: 100%;
        padding: 0;
    }

    .hero-text h1 {
        margin-bottom: 0.5rem;
    }

    .hero-text p {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 180px;
        padding: 90px 1rem 1.5rem;
    }
}

/* Hero Carousel for Index Page */
.hero-carousel {
    position: relative;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 0;
    height: 100vh;
    overflow: hidden;
    background-color: var(--primary-color);
    margin-top: -80px;
    /* padding-top: 80px; */
}

.hero-carousel .carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-carousel .carousel-item.active {
    opacity: 1;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.hero-carousel .carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--overlay-color);
}

.hero-carousel .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px var(--overlay-color);
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 90vh;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-carousel .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 80vh;
    }
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    text-align: center;
    z-index: 2; /* Ensure caption is above the overlay */
}

.carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: var(--text-white);
}

/* Featured Section */
.featured {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.featured-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-item h3 {
    padding: 1rem;
    margin: 0;
    color: var(--primary-color);
}

.featured-item p {
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.featured-item .btn {
    margin: 1rem;
}

/* News Section Styles */
.news-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

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

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content .date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--text-white);
    background: var(--secondary-color);
}

.news-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.nav-btn:not(:disabled):hover {
    background: var(--secondary-color);
}

/* News Popup Styles */
.news-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.news-popup.active {
    display: flex;
}

.news-popup-content {
    background: white;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 15px;
    position: relative;
}

.news-popup-close {
    position: sticky;
    top: 15px;
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    transition: transform 0.3s ease;
}

.news-popup-close:hover {
    background: var(--secondary-dark);
    transform: rotate(90deg);
}

.news-popup-image-container {
    position: relative;
    height: 300px;
}

.news-popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-popup-details {
    padding: 30px;
}

.news-popup-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.news-popup-date,
.news-popup-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.news-popup-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.news-popup-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.news-popup-description p {
    margin-bottom: 15px;
}

.news-popup-highlights,
.news-popup-event-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.news-popup-highlights h4,
.news-popup-event-details h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.highlights-list li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.event-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.event-detail i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

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

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

    .news-popup-content {
        max-height: 95vh;
    }

    .news-popup-image-container {
        height: 200px;
    }

    .news-popup-details {
        padding: 20px;
    }

    .news-popup-title {
        font-size: 1.5rem;
    }
} 

/* Quick Links */
.quick-links {
    padding: 3rem 0;
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.quick-link-item {
    color: var(--text-white);
    text-decoration: none;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-5px);
}

.quick-link-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 3rem 0 1rem;
    position: sticky;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto 2rem;
    width: 90%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.footer-info, .footer-links, .footer-social {
    text-align: left;
}

.footer-info h3,
.footer-links h3,
.footer-social h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-info p{
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 8.33%;
    height: 2px;
    background-color: var(--text-white);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 16.67%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* About, Ministries, Churches, Events, Resources */
.leader-card, .ministry-card, .church-card, .event-card, .resource-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;     
}

.leader-card img, .ministry-card img, .church-card img, .event-card img, .resource-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form, .donate-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 5px;
}

.contact-form p{
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: bold;
}

.contact-form label, .donate-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input, .contact-form textarea, .donate-form input, .donate-form select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    border-radius: 50px;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--secondary-color);
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--secondary-dark);
}

/* Carousel Button Specific Styles */
.carousel-caption .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.carousel-caption .btn:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-grid,
    .news-grid,
    .quick-links-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 30px;
        height: 30px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
        width: 100%;
        color: var(--text-white) !important;
    }

    .nav-links a:not(.btn-donate):hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-links a:not(.btn-donate).active {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text-white) !important;
    }

    .nav-links a:not(.btn-donate)::after {
        background-color: var(--text-white);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        transition: background-color 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .dropdown {
        width: 100%;
    }
    .dropdown-menu a.active{
        color: var(--text-white);
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem 1rem;
        cursor: pointer;
        color: var(--text-white) !important;
    }

    .dropdown-toggle::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 5px;
        color: var(--primary-dark);
        transition: color 0.3s ease;
    }

    .navbar.scrolled .dropdown-toggle::after {
        color: var(--text-white);
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
        
    }

    .dropdown-menu {
        position: static;
        background-color: var(--primary-color);
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.5rem 2rem;
        color: var(--text-white);
        display: block;
        width: 100%;
        text-align: left;
    }
    .dropdown-menu ul{
        list-style: none;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        padding-left: 2.5rem;
    }
    .dropdown-menu a.active{
        color: var(--text-white);
    }

    .btn-donate {
        margin: 1rem 0;
    }

    .navbar .logo {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .navbar .logo img {
        max-width: 15%;
        max-height: 15%;
    }

    .navbar .logo-text {
        font-size: 1rem;
        text-align: left;
        margin: 0;
        padding: 0;
        white-space: normal;
        line-height: 1.2;
    }

    .navbar .logo-conference {
        font-size: 0.8rem;
    }

    .hero:not(:has(img)) {
        height: 25vh;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .side-section .logo {
        width: 100%;
        margin: 0;
    }

    .side-section .logo img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .navbar .logo-conference {
        font-size: 0.7rem;
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.footer-social {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.1); */
}

.social-links a:hover {
    color: var(--text-white);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--bg-light);
}

.social-links a:active {
    transform: translateY(-1px);
}

/* Daily Verse Section */
.daily-verse {
    padding: 2rem 0;
    background-color: var(--background-light);
}

.daily-verse .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.verse-container,
.quote-container {
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.verse-container:hover,
.quote-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.verse-container h2,
.quote-container h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.verse-content,
.quote-content {
    margin-bottom: 1.5rem;
}

.verse-text,
.quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
}

.verse-reference,
.quote-source {
    color: var(--secondary-color);
    font-weight: 500;
    text-align: left;
}

.verse-actions,
.quote-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.verse-btn, .quote-btn {
    background: var(--primary-dark);
    color: var(--text-white);
    border: none;
    padding: 0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    position: relative;
}

.verse-btn:hover, .quote-btn:hover {
    width: auto;
    padding: 8px 16px;
    background: var(--primary-dark);
}

.verse-btn i, .quote-btn i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.verse-btn:hover i, .quote-btn:hover i {
    position: static;
    transform: none;
}

.verse-btn .btn-text, .quote-btn .btn-text {
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-left: 24px;
}

.verse-btn:hover .btn-text, .quote-btn:hover .btn-text {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .daily-verse .container {
        grid-template-columns: 1fr;
    }
    
    .verse-container,
    .quote-container {
        padding: 1.5rem;
    }
}

/* Beliefs Section */
.beliefs {
    padding: 4rem 0;
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.belief-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.belief-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.belief-number {
    font-size: 1.8rem;
    color: var(--secondary-dark);
    font-weight: bold;
    margin-bottom: 1rem;
}

.belief-title {
    color: #1A3C34;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.belief-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.belief-scripture {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Search Section */
.search-section {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-btn {
    background: var(--secondary-dark);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: var(--secondary-light);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .beliefs-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .belief-card {
        padding: 1.5rem;
    }

    .search-bar {
        flex-direction: column;
        padding: 0 1rem;
    }

    .search-btn {
        width: 100%;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.navbar.scrolled .dropdown-toggle::after {
    color: var(--text-white);
}

.dropdown-menu {
        position: absolute;
    top: 100%;
        left: 0;
        background-color: #1A3C34;
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--text-white);
    padding-left: 2rem;
}

.dropdown-menu a.active {
    background-color: var(--primary-light);
    color: var(--text-white);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.5rem 2rem;
        color: var(--text-white);
        display: block;
        width: 100%;
        text-align: left;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        padding-left: 2.5rem;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem 1rem;
    }

    .dropdown-toggle::after {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .dropdown-toggle::after {
        color: var(--text-white);
    }
}

/* Departments Section */
.departments {
    padding: 2rem 0;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.department-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.department-logo {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 1rem;
}

.department-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

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

.department-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.department-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.department-card .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-dark);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.department-card .btn:hover {
    background-color: var(--secondary-dark);
}

/* Department Popup */
.department-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.department-popup.active {
    opacity: 1;
    visibility: visible;
}

.department-popup-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.department-popup.active .department-popup-content {
    transform: translateY(0);
}

.department-popup-close {
    position: sticky;
    top: 0;
    right: 0;
    background: none;
    border: 2px solid var(--secondary-dark);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-dark);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
    margin-left: auto;
    margin-bottom: 1rem;
}

.department-popup-close:hover {
    background-color: var(--secondary-dark);
    color: #fff;
    border-color: var(--secondary-dark);
}

.department-header {
    text-align: center;
    margin-bottom: 2rem;
}

.department-logo {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
    overflow: hidden;
}

.department-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.department-name {
    color: var(--secondary-dark);
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
}

.department-description {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.department-mission {
    background-color: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.department-mission h4 {
    color: var(--secondary-dark);
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

.department-mission p {
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.department-activities {
    margin-bottom: 2rem;
}

.department-activities h4 {
    color: var(--secondary-dark);
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

.department-activities ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.department-activities li {
    background-color: var(--bg-white);
    padding: 1rem;
    border-radius: 6px;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}

.department-scripture {
    font-style: italic;
    color: var(--secondary-dark);
    text-align: center;
    font-size: 1.1rem;
    padding: 1rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    margin: 0;
}

/* Scrollbar Styles for Popup */
.department-popup-content::-webkit-scrollbar {
    width: 8px;
}

.department-popup-content::-webkit-scrollbar-track {
    background: var(--bg-white);
    border-radius: 4px;
}

.department-popup-content::-webkit-scrollbar-thumb {
    background: var(--secondary-dark);
    border-radius: 4px;
}

.department-popup-content::-webkit-scrollbar-thumb:hover {
    background: var(--bg-lighter);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .department-popup-content {
        width: 95%;
        padding: 1.5rem;
    }

    .department-name {
        font-size: 1.5rem;
    }

    .department-logo {
        height: 150px;
    }

    .department-activities ul {
        grid-template-columns: 1fr;
    }
}

/* Update existing ministry-card styles to match */
/* .ministry-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ministry-card h3 {
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.ministry-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ministry-card .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.ministry-card .btn:hover {
    background-color: var(--secondary-light);
}
 */

/* Department Directors Section */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.director-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.director-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.director-card h3 {
    color: #1A3C34;
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.director-card p {
    text-align: left;
    color: var(--secondary-dark);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .directors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .director-image {
        height: 250px;
    }
}

/* About Page Sections */
.about-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h2 {
    color: #1A3C34;
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-dark);
}

.about-content p {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Mission Section */
.mission-section {
    background-color: #fff;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mission-section h2 {
    color: #1A3C34;
    text-align: left;
    margin-bottom: 2rem;
}

.mission-section p {
    max-width: auto;
    padding-left: 15px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
}

/* History Section */
.history-section {
    padding: 3rem 2rem;
    background-color: #fff;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.history-section h2 {
    color: #1A3C34;
    margin-bottom: 2rem;
}

.history-section p {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Executive Section */
.executive-section {
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.executive-section h2 {
    color: #1A3C34;
    text-align: left;
    margin-bottom: 2rem;
}
.leadership h2 {
    color: #800000;
    text-align: center;
    margin: 0;
}

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

.leader-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.leader-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.leader-card h3 {
    color: #1A3C34;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.5rem;
    padding: 0 1rem;
}

.leader-card p {
    color: var(--secondary-dark);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-content {
        padding: 1rem;
    }

    .mission-section,
    .history-section,
    .executive-section {
        padding: 2rem 1rem;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }

    .mission-section p,
    .history-section p {
        font-size: 1rem;
    }

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

    .leader-card img {
        height: 250px;
    }
}

/* Churches Section */
.churches-section {
    padding: 2rem;
}

.search-filters {
    margin-bottom: 2rem;
        display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-btn {
    background: #1A3C34;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-light);
}

.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filters select {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 200px;
    background-color: white;
    cursor: pointer;
}

.churches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.church-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.church-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.church-card h3 {
    color: #1A3C34;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.church-card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.church-card p strong {
    color: #1A3C34;
}

@media (max-width: 768px) {
    .churches-section {
        padding: 1rem;
    }

    .search-filters {
        gap: 0.5rem;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .filters {
        flex-direction: column;
    }

    .filters select {
        width: 100%;
    }

    .churches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Events Page Styles */
.events-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.events-header h1 {
    color: var(--secondary-dark);
    font-size: 2.5rem;
    margin: 0;
    text-align: center;
}

.year-tabs {
    display: flex;
    gap: 1rem;
    background: var(--bg-lighter);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.year-tab {
    padding: 0.8rem 2rem;
    border: none;
    background: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.event-card .venue {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
    text-align: center;
} 
.year-tab:hover {
    color: var(--primary-color);
}

.year-tab.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(26, 60, 52, 0.2);
}

.events-controls {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.month-filter select {
    display: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid #1A3C34;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    min-width: 200px;
}

.quarter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1rem;
}

.quarter-tab {
    padding: 0.8rem 1.5rem;
    border: none;
    background: none;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.quarter-tab::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quarter-tab.active {
    color: var(--primary-dark);
    font-weight: 600;
}

.quarter-tab.active::after {
    transform: scaleX(1);
}

.quarter-events {
    display: none;
}

.quarter-events.active {
    display: block;
}

.month-section {
    margin-bottom: 3rem;
}

.month-section h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.event-date {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 10px;
    text-align: center;
}

.event-date .day {
    font-size: 1.5em;
    font-weight: bold;
    display: block;
}

.event-date .month {
    font-size: 0.9em;
    text-transform: uppercase;
}

.event-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left !important;
}

.event-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: var(--text-color);
    text-align: left !important;
}

.event-details .department {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 10px;
    text-align: left !important;
}

.event-details .venue {
    color: var(--text-light);
    font-size: 0.9em;
    margin-top: auto;
    text-align: left !important;
}

.event-details .venue i {
    margin-right: 5px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .events-header h1 {
        font-size: 2rem;
    }

    .year-tabs {
        padding: 0.4rem;
    }

    .year-tab {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .month-filter select {
        width: 100%;
    }

    .quarter-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .quarter-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .event-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .event-date {
        margin-bottom: 1rem;
    }

    .event-details .venue {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .events-header h1 {
        font-size: 1.8rem;
    }

    .year-tabs {
        padding: 0.3rem;
    }

    .year-tab {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Resources Page Layout */
.resources-layout {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    min-height: calc(100vh - 80px);
}

/* Media Section (Left) */
.media-section {
    flex: 2;
    padding-right: 2rem;
    overflow-y: auto;
    position: relative;
}

/* Resources Section (Right) */
.resources-section {
    flex: 1;
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.resources-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    padding: 1rem;
    border-radius: 8px;
    background: var(--bg-lighter);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.resource-item:hover {
    transform: translateX(-5px);
    background: var(--bg-white);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.resource-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.resource-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resource-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resource-item .btn-download {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.resource-item .btn-download i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
}

.resource-item .btn-download .btn-text {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    margin-left: 24px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    color: var(--primary-color);
}

.resource-item .btn-download:hover {
    width: auto;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--text-white);
}

.resource-item .btn-download:hover i {
    position: static;
    transform: none;
    color: var(--text-white);
}

.resource-item .btn-download:hover .btn-text {
    position: static;
    opacity: 1;
    visibility: visible;
    color: var(--text-white);
}

/* Scrollbar Styles for Resources Section */
.resources-section::-webkit-scrollbar {
    width: 6px;
}

.resources-section::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 3px;
}

.resources-section::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.resources-section::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

@media (max-width: 1024px) {
    .resources-layout {
        flex-direction: column;
        padding: 1rem;
    }

    .media-section {
        padding-right: 0;
    }

    .resources-section {
        position: relative;
        top: 0;
        height: auto;
        margin-top: 2rem;
    }
}

/* Live Stream Section */
.live-stream-section {
    padding: 1rem 0;
}

.live-stream-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: none;
}

.live-stream-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-white);
    text-align: center;
    
}

.live-stream-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.placeholder-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

.placeholder-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.placeholder-overlay p {
    font-size: 1.1rem;
    color: var(--text-white);
    opacity: 0.9;
}

.live-stream-player {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.live-stream-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .live-stream-section {
        padding: 1rem 0;
    }

    .placeholder-overlay h3 {
        font-size: 1.5rem;
    }

    .placeholder-overlay p {
        font-size: 1rem;
    }
}

/* Contact Page Layout */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    color: var(--light-gray);
}

.contact-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
}

.contact-content h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-dark);
    margin: 15px auto;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info, .contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover, .contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--text-white);
    padding-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-info{
    .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .social-links a {
        display: inline-flex;
        text-decoration: none;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--bg-lighter);
        border-radius: 50%;
        color: var(--secondary-light);
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        background: var(--secondary-dark);
        color: var(--bg-white);
        transform: translateY(-3px);
    }
    
}
/* Form Styling */
.contact-form p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}



.submit-btn {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 60, 52, 0.2);
}

.submit-btn i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        padding: 2rem 1rem;
    }
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
}

/* Donate Info Section */
.donate-info {
    background: var(--bg-white);
    top: 1rem;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}


.donate-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.donate-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.donate-info ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.donate-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-lighter);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.donate-info ul li:hover {
    transform: translateX(5px);
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.donate-info ul li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: var(--bg-white);
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.donate-info ul li:hover i {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.1);
}

.donate-info ul li div {
    flex: 1;
}

.donate-info ul li h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.donate-info ul li p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .donate-info {
        padding: 1.5rem;
    }

    .donate-info h3 {
        font-size: 1.3rem;
    }

    .donate-info ul li {
        padding: 0.8rem;
    }
}

.media-tab {
    padding: 0.8rem 1.5rem;
    border: none;
    background: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.media-tab i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .media-tabs {
        top: 0;
        gap: 0.5rem;
        padding: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .media-tab {
        padding: 0.8rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .media-tab span {
        display: none;
    }

    .media-tab i {
        font-size: 1.2rem;
        margin: 0;
    }

    .media-tab::after {
        bottom: -0.5rem;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        left: 50%;
        transform: translateX(-50%) scale(0);
    }

    .media-tab.active::after {
        transform: translateX(-50%) scale(1);
    }
}

/* Statistics Section */
.statistics-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, var(--bg-lighter), var(--bg-white));
    text-align: center;
}
.stat-card{
    background: var(--border-color);
    padding: 1rem;
    border-radius: 15px;
}
.statistics-grid {
    
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    font-size: 4rem;
    text-align: center;
    padding: 2rem;
    background: var(--primary-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(26, 60, 52, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 60, 52, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-dark);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 60, 52, 0.15);
    border-color: rgba(26, 60, 52, 0.2);
    background: var(--bg-white);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item i {
    font-size: 6rem;
    color: var(--bg-lighter);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .statistics-section {
        padding: 2rem 0;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1.5rem;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-item i {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .stat-content {
        text-align: left;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .statistics-section {
        padding: 1.5rem 0;
    }

    .stat-item {
        padding: 1rem;
        gap: 1rem;
    }

    .stat-item i {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }
}

/* Institution Section */
/* Institutions Section Styling */
.institutions-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.institutions-section h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    position: relative;
}

.institutions-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-dark);
    margin: 15px auto;
    border-radius: 2px;
}

.institution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.institution-card {
    display: flex;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.institution-image {
    flex: 0 0 40%;
    min-height: 250px;
    overflow: hidden;
}

.institution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.institution-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.institution-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.institution-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.institutions-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-lighter);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.institutions-summary p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .institution-card {
        flex-direction: column;
    }
    
    .institution-image {
        flex: 1;
        min-height: 200px;
    }
    
    .institution-content {
        padding: 1.5rem;
    }
    
    .institutions-section {
        padding: 3rem 1.5rem;
    }
    
    .institutions-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .institution-content h3 {
        font-size: 1.3rem;
    }
    
    .institution-content p {
        font-size: 0.95rem;
    }
    
    .institutions-summary p {
        font-size: 1rem;
    }
    
    .institutions-section {
        padding: 2rem 1rem;
    }
    
    .institution-image {
        min-height: 180px;
    }
}

.upcoming {
    margin-bottom: 2rem;
}

.upcoming-event-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin: 1rem 0;
}

.upcoming-event-header {
    margin-bottom: 1rem;
}

.upcoming-event-header h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin: 0;
}

.upcoming-event-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.upcoming-event-content .event-date {
    background: var(--primary-dark);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-width: 120px;
    flex-shrink: 0;
}

.upcoming-event-content .event-date .date-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.upcoming-event-content .event-date .day {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-white);
}

.upcoming-event-content .event-date .month {
    font-size: 1rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.upcoming-event-content .event-date .date-separator {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0 0.2rem;
}

.upcoming-event-content .event-details {
    flex: 1;
    text-align: center;
}

.upcoming-event-content .event-details h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.upcoming-event-content .event-details p {
    margin: 0.3rem 0;
    color: #666;
    text-align: center;
}

.upcoming-event-content .event-details .venue {
    text-align: center;
    display: flex;
    align-items: center;
}

.upcoming-event-content .event-details i {
    margin-right: 0.5rem;
    color: var(--secondary-dark);
}

/* Responsive styles for upcoming event card */
@media (max-width: 768px) {
    .upcoming-event-card {
        padding: 1rem;
    }

    .upcoming-event-header h2 {
        font-size: 1.3rem;
    }

    .upcoming-event-content {
        flex-direction: column;
        gap: 1rem;
    }

    .upcoming-event-content .event-date {
        width: 100%;
        min-width: unset;
        padding: 0.8rem;
    }

    .upcoming-event-content .event-date .date-range {
        justify-content: center;
    }

    .upcoming-event-content .event-details {
        text-align: center;
    }

    .upcoming-event-content .event-details h3 {
        font-size: 1.2rem;
    }

    .upcoming-event-content .event-details .venue {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .upcoming-event-card {
        padding: 0.8rem;
    }

    .upcoming-event-header h2 {
        font-size: 1.2rem;
    }

    .upcoming-event-content .event-date .day {
        font-size: 1.5rem;
    }

    .upcoming-event-content .event-date .month {
        font-size: 0.9rem;
    }

    .upcoming-event-content .event-details h3 {
        font-size: 1.1rem;
    }

    .upcoming-event-content .event-details p {
        font-size: 0.9rem;
    }
}