/* Color Variables */
:root {
    --mountain-meadow: #13b267;
    --moon-mist: #dfe1d1;
    --gamboge: #e5a309;
    --bombay: #abacad;
    --buttercup: #f7c011;
    --quill-gray: #dadad9;
    --granite-green: #8c897c;
    --eucalyptus: #207c49;
    --thunder: #261f25;
    --sea-green: #2ea453;
    --nandor: #575a58;
    --mid-gray: #6c6c74;
    --mantis: #73c053;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--thunder);
    background-color: #ffffff;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--eucalyptus);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--mountain-meadow);
}

.btn-dsac {
    background-color: var(--mountain-meadow);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-dsac:hover {
    background-color: var(--eucalyptus);
    color: white;
}

.btn-dsac-grey {
    background-color: var(--nandor);
    border: 2px solid var(--nandor);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dsac-grey:hover {
    background-color: var(--granite-green);
    color: white;
}

.section-title-223 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--eucalyptus);
    position: relative;
    padding-bottom: 10px;
    font-weight: bold;
}

.section-title-233::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(#f7c011, #13b267)
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    /* background-color: var(--buttercup); */
    background: var(--buttercup);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.header-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    /* White circle */
    border-radius: 50%;
    /* Makes it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Remove inherited color */
.header-social a svg {
    width: 18px;
    height: 18px;
}

/* Brand Colors */
.header-social a[aria-label="Facebook"] svg {
    fill: #1877F2;
}

.header-social a[aria-label="Twitter"] svg {
    fill: #000000;
    /* X (Twitter) is black */
}

.header-social a[aria-label="Instagram"] svg {
    fill: #E4405F;
}

.header-social a[aria-label="YouTube"] svg {
    fill: #FF0000;
}

/* Hover Effect */
.header-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


/* PROFILE(LIBRARY) PAGE SOCIAL MEDIA ICONS STYLING*/

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #ffffff;
    /* White circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Normalize SVG size */
.social-icons a svg {
    width: 22px;
    height: 22px;
}

.social-icons a[aria-label="WhatsApp"]:hover {
    background: #25D366;
}

.social-icons a[aria-label="Facebook"]:hover {
    background: #1877F2;
}

.social-icons a[aria-label="Instagram"]:hover {
    background: #E1306C;
}

.social-icons a[aria-label="YouTube"]:hover {
    background: #FF0000;
}

.social-icons a[aria-label="Twitter"]:hover,
.social-icons a[aria-label="TikTok"]:hover {
    background: #000000;
}

.social-icons a:hover svg {
    fill: #ffffff;
}




.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}



.logo img {
    height: 70px;
    margin-right: 10px;
    margin-left: -20px;
}

.logo-text {
    font-size: 1.0rem;
    font-weight: 400;
    color: #ffffff;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.logo-slogan {
    font-size: 0.8rem;
    color: var(--mid-gray);
    font-style: italic;
}

/* ======================================================
   SMALL SCREENS (300px – 991px)
   ====================================================== */
@media (max-width: 991px) {
    .logo img {
        height: 45px;
        margin-right: 8px;
        margin-left: 0;
    }

    .logo-text {
        font-size: 1.1rem;
        font-weight: 700;
        color: #ffffff;
        white-space: nowrap;
    }

    .logo-slogan {
        font-size: 0.7rem;
        color: var(--mid-gray);
        font-style: italic;
        white-space: nowrap;
    }
}

/* ======================================================
   LARGE SCREENS (992px and above)
   ====================================================== */
@media (min-width: 992px) {
    .logo img {
        height: 70px;
        margin-right: 10px;
        margin-left: 0;
    }

    .logo-text {
        font-size: 1.6rem;
        font-weight: 700;
        color: #ffffff;
    }

    .logo-slogan {
        font-size: 0.85rem;
        color: var(--mid-gray);
        font-style: italic;
    }
}


/* ------------------- NAVBAR STYLING ------------------- */


.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
    background-color: var(--buttercup) !important;
    color: white !important;
}


/* ------------------- HERO SECTION ------------------- */
.hero-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
    margin-top: -90px;
    /* as in inline style */
    padding-top: 0;
}



.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6), rgba(9, 91, 56, 0.7));
    z-index: 1;
}





/* Hero buttons */

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--buttercup);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--buttercup);
    }
}

/* Sticky search bar within slider */
.search-bar-sticky {
    background-color: white;
    border-radius: 50px;
    display: flex;
    width: 90%;
    max-width: 600px;
    z-index: 3;
    padding: 5px;
}

.search-bar-sticky input {
    flex: 1;
    border: none;
    padding: 10px 20px;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-size: 1rem;
}

.search-bar-sticky button {
    background-color: var(--mountain-meadow);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-bar-sticky button:hover {
    background-color: var(--eucalyptus);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
}

/* Hero Buttons inside Caption 11 */
.carousel-caption00 .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    width: 100px;
    gap: 15px;
    padding-right: 120px;
}



/* Carousel Caption 11 - Base Styles */
.carousel-caption11 {
    position: relative;
    z-index: 2;
    /* Ensure it is above overlay */
    /* text-align: left; Left-aligned content */
    padding-left: 70px;
    padding-top: 210px;
    width: 100%;
    /* optional: prevent captions from being too wide */
}

/* Slide Title */
.carousel-caption11 h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* margin-bottom: 200px; */
    /* padding-left: 470px; */
}

/* Slide Description */
.carousel-caption11 p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    padding-left: 350px;
    display: flex;
    flex-wrap: wrap;
}

/* Hero Buttons inside Caption 11 */
.carousel-caption11 .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-right: 220px;
}





/* Carousel Caption 12 - Base Styles */
.carousel-caption12 {
    position: relative;
    z-index: 2;
    /* Ensure it is above overlay */
    text-align: center;
    /* padding-left: 130px; */
    padding-top: 170px;

    width: 100%;
}

/* Slide Title */
.carousel-caption12 h1 {
    font-size: 2.7rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* margin-bottom: 200px; */
    /* margin-right: 80px; */
    /* text-align: center; */
    /* left: 40px; */
    /* max-width: 1400px;  */


}

/* Slide Description */
.carousel-caption12 p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;

}

/* Hero Buttons inside Caption 11 */
.carousel-caption12 .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-right: 220px;
}


/* =========================================================
   RESPONSIVE OVERRIDES — TWO RANGES ONLY
   ========================================================= */

/* =========================================================
   RANGE 1: SMALL SCREENS (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {

    /* Typewriter */
    .typewriter {
        font-size: 1rem;
        letter-spacing: 0.1em;
        white-space: normal;
        max-width: 100%;
    }

    /* Sticky Search Bar */
    .search-bar-sticky {
        top: 72%;
        width: 95%;
        max-width: 95%;
        padding: 4px;
    }

    .search-bar-sticky input {
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    .search-bar-sticky button {
        font-size: 0.9rem;
        padding: 8px 18px;
    }

    /* Carousel Controls */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 36px;
        height: 36px;
    }

    /* Caption 11 */
    .carousel-caption11 {
        padding-top: 140px;
        padding-left: 20px;
        text-align: center;
        max-width: 100%;
    }

    .carousel-caption11 h1 {
        font-size: 1.8rem;
        padding-left: 0;
        max-width: 100%;
    }

    .carousel-caption11 p {
        font-size: 1.1rem;
        padding-left: 0;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Caption 12 */
    .carousel-caption12 {
        padding-top: 140px;
        text-align: center;
        max-width: 100%;
    }

    .carousel-caption12 h1 {
        font-size: 1.8rem;
        max-width: 100%;
        padding-right: 50px;
    }

    .carousel-caption12 p {
        font-size: 1.1rem;
        padding-right: 0;
        max-width: 100%;
    }

    /* Hero Buttons (All Captions) */
    .carousel-caption00 .hero-buttons,
    .carousel-caption11 .hero-buttons,
    .carousel-caption12 .hero-buttons {
        justify-content: center;
        padding-right: 0;
        width: 100%;
        gap: 12px;
    }
}

/* =========================================================
   RANGE 2: LARGE SCREENS (> 768px)
   ========================================================= */
.typewriter {
    font-size: 1.4rem;
    max-width: 100%;
}

/* Sticky Search Bar */
.search-bar-sticky {
    top: 62%;
    width: 90%;
    max-width: 600px;
    padding: 6px;
}


/* Features Section */
.features {
    padding: 20px 0;
    background-color: white;
}

.feature-card {
    min-width: 280px;
    max-width: 220px;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    /* Prevent cards from shrinking */
    display: flex;
    flex-direction: column;
    height: 100%;

    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature1 {
    background: #000000;
}

.feature2 {
    background: #207c49;
}

.feature3 {
    background: #e5a309;
}

.feature4 {
    background: #8c897c;
}

.feature5 {
    background: #2ea453;
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    line-height: 1.5;
    margin: 0;
    color: white;
}

.news-events {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    color: var(--thunder);
}

.features-container {
    max-width: 1400px;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 1.5rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.features-container::-webkit-scrollbar {
    height: 6px;
}

.features-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.feature-link {
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    /* Prevent links from shrinking */
}


/* Mobile-specific styles */
@media (max-width: 768px) {
    .features {
        padding: 1.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .features-container {
        gap: 1rem;
        padding: 0.25rem 0.25rem 1rem;
    }

    .feature-card {
        min-width: 260px;
        height: 300px;
        padding: 1.25rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-container {
        gap: 0.75rem;
    }

    .feature-card {
        min-width: 240px;
        height: 280px;
        padding: 1rem;
    }

    .feature-icon {
        font-size: 1.75rem;
    }
}

/* For very small screens */
@media (max-width: 360px) {
    .feature-card {
        width: 220px;
        height: 260px;

    }
}


/* Animated letters background */
.background-letters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.08;
}

.letter {
    position: absolute;
    font-size: 4rem;
    font-weight: 800;
    /* Darkened version of your eucalyptus variable */
    color: var(--eucalyptus);
    opacity: 1;
    /* Ensures full visibility */
    animation: zoomOut 10s linear infinite;
    user-select: none;
}


.letter:nth-child(2n) {
    color: var(--mountain-meadow);
}

.letter:nth-child(3n) {
    color: var(--sea-green);
}

.letter:nth-child(4n) {
    color: var(--nandor);
}

.letter:nth-child(5n) {
    color: var(--granite-green);
}

@keyframes zoomOut {
    0% {
        transform: scale(5) translateY(100%) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: scale(0.5) translateY(-100%) rotate(360deg);
        opacity: 0;
    }
}

.section-title-226 {
    font-weight: 700;
    color: var(--eucalyptus);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    border-bottom: 4px solid var(--eucalyptus);
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title-226::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gamboge);
}

.news-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--eucalyptus);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--nandor);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    color: var(--thunder);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.news-content p {
    color: var(--mid-gray);
    margin-bottom: 1rem;
}

.news-content a {
    color: var(--eucalyptus);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.news-content a:hover {
    color: var(--mountain-meadow);
    text-decoration: underline;
}

.events-sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--gamboge);
}

.events-sidebar h3 {
    color: var(--thunder);
    border-bottom: 1px solid var(--quill-gray);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.event-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--quill-gray);
}

.event-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.event-date {
    color: var(--nandor);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-item h4 {
    color: var(--thunder);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.event-item p {
    color: var(--mid-gray);
    margin-bottom: 1rem;
}

.btn-dsac {
    background-color: var(--eucalyptus);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-dsac:hover {
    background-color: var(--mountain-meadow);
    color: white;
}

/* Government seal styling */
.seal-container {
    text-align: center;
    margin-bottom: 2rem;
}

.seal {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--buttercup);
}

.seal i {
    font-size: 2rem;
    color: var(--eucalyptus);
}

/* Content background */
.content-bg {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}



/* Digital Resources Section */
.digital-resources {
    padding: 80px 0;
    background-color: white;
}

.resources-tabs .nav-link {
    color: var(--mid-gray);
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 0;
}

.resources-tabs .nav-link.active {
    color: var(--mountain-meadow);
    border-bottom: 2px solid var(--mountain-meadow);
    background: transparent;
}

.resource-card {
    background-color: var(--moon-mist);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 100%;
}

.resource-icon {
    font-size: 2rem;
    color: var(--mountain-meadow);
    margin-bottom: 15px;
}

/* Kids & Teens Zone */
.kids-teens {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--buttercup) 0%, var(--gamboge) 100%);
    color: var(--thunder);
}

.age-group {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.age-group h3 {
    color: var(--eucalyptus);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: linear-gradient(to top, #204a36, #261f25, #261f25, #261f25);
    color: white;
    padding: 60px 0 20px;
}

.footer-col h3 {
    color: var(--gamboge);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-col ul li a {
    text-decoration: none;
    color: var(--bombay);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--nandor);
    color: var(--bombay);
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--mountain-meadow);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: var(--eucalyptus);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2.8rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-social {
        margin-top: 10px;
    }

    .carousel-caption {
        bottom: 40%;
        transform: translateY(40%);
    }

    .carousel-caption h1 {
        font-size: 2.2rem;
    }

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

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {

    /* .logo-text {
                font-size: 1.5rem;
            }
             */
    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption {
        padding: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Accessibility Features */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    .typewriter {
        animation: none;
        border-right: none;
    }
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--mountain-meadow);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* WELCOME MESSAGE - HOMEPAGE */

.main-container-01 {
    /* max-width: 1600px; */
    max-width: 100%;
    width: 100%;
}

.combined-section-01 {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.welcome-content-01 {
    width: 60%;
    padding: 50px;
    border-right: 1px solid #ffffff;
}

.right-section-01 {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.image-container-01 {
    height: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.library-svg-01 {
    width: 100%;
    height: auto;
    /* keep image ratio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.library-svg-01 img {
    width: 100%;
    height: auto;
    /* scale proportionally */
    object-fit: contain;
    /* similar to background-size: contain */
}


.quick-links-container-vertical-01 {
    height: 50%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 12px;
}

h1 {
    color: #207c49;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

/* h1:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: transparent;
            border-radius: 2px;
        }
         */
.welcome-text-01 {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.bold-primary-01 {
    font-weight: 700;
    color: #13b267;
}

.bold-secondary-01 {
    font-weight: 700;
    color: #207c49;
}

.features-01 {
    margin: 20px 0;
}

.feature-item-01 {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feature-icon-01 {
    color: #e5a309;
    font-size: 16px;
    margin-right: 10px;
    margin-top: 4px;
}

.vision-box-01 {
    background: rgba(223, 225, 209, 0.4);
    border-left: 4px solid #e5a309;
    padding: 18px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.vision-text-01 {
    font-style: italic;
    font-size: 1.1rem;
    color: #261f25;
}

.explore-btn-01 {
    display: inline-block;
    background: #207c49;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(32, 124, 73, 0.3);
}

.explore-btn-01:hover {
    background: #13b267;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(32, 124, 73, 0.4);
}

/* Quick Links Vertical */
.quick-link-vertical-01 {
    background-color: var(--nandor);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--nandor);
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
}

.quick-link-vertical-01:hover {
    background-color: var(--granite-green);
    border-color: var(--granite-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff
}

.quick-link-vertical-01:active {
    transform: translateY(0);
    box-shadow: none;
}

.link-icon-01 {
    font-size: 18px;
}

@media (max-width: 992px) {
    .combined-section-01 {
        flex-direction: column;
    }

    .welcome-content-01,
    .right-section-01 {
        width: 100%;
    }

    .right-section-01 {
        flex-direction: row;
        height: auto;
    }

    .image-container-01 {
        width: 50%;
        height: 300px;
    }

    .quick-links-container-vertical-01 {
        width: 50%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .welcome-content-01 {
        padding: 30px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .right-section-01 {
        flex-direction: column;
    }

    .image-container-01,
    .quick-links-container-vertical-01 {
        width: 100%;
    }

    .image-container-01 {
        height: 250px;
    }

    .quick-links-container-vertical-01 {
        height: auto;
        padding: 10px 5px;
    }

    .quick-link-vertical-01 {
        max-width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {

    .welcome-content-01 {
        padding: 20px;
    }

    .image-container-01 {
        height: 200px;
    }
}








/* HOMEPAGE - NEWS & EVENTS SECTION */

/* body {
            background-color: var(--moon-mist);
            color: var(--thunder);
            line-height: 1.6;
        } */

.container13 {
    /* max-width: 1200px; */
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.header13 {
    text-align: center;
    padding: 30px 0;
    background-color: var(--thunder);
    color: white;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.h1-13 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--moon-mist);
}

.subtitle13 {
    font-size: 1.2rem;
    color: var(--bombay);
}

.content-section13 {
    position: relative;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    /* margin-bottom: 40px; */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.animated-bg13 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.33;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.letter13 {
    position: absolute;
    font-size: 24px;
    color: var(--eucalyptus);
    font-weight: bold;
    opacity: 0;
    animation: float13 15s infinite linear;
}

@keyframes float13 {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.content-wrapper13 {
    position: relative;
    z-index: 1;
}

.section-title13 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mountain-meadow);
    color: var(--thunder);
}

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

@media (min-width: 768px) {
    .grid-container13 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-container13 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card13 {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--mountain-meadow);
    z-index: 99;
}

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

.card-title13 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--eucalyptus);
}

.news-item13 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--quill-gray);
}

.news-item13:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.news-date13 {
    font-size: 0.9rem;
    color: var(--mid-gray);
    margin-bottom: 5px;
}

.news-title13 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--thunder);
}

.news-excerpt13 {
    font-size: 0.95rem;
    color: var(--nandor);
}

.hours-table13 {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.hours-table13 tr {
    border-bottom: 1px solid var(--quill-gray);
}

.hours-table13 tr:last-child {
    border-bottom: none;
}

.hours-table13 td {
    padding: 10px 5px;
}

.hours-day13 {
    font-weight: 600;
}

.hours-time13 {
    text-align: right;
    color: var(--nandor);
}

.event13 {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--moon-mist);
    border-radius: 6px;
}

.event13:last-child {
    margin-bottom: 0;
}

.event-title13 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--thunder);
}

.event-date13 {
    font-size: 0.9rem;
    color: var(--mid-gray);
    margin-bottom: 5px;
}

.event-description13 {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--nandor);
}

.btn13 {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--mountain-meadow);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn13:hover {
    background-color: var(--eucalyptus);
}



.hero-buttons .register-btn13c {
    background-color: var(--mountain-meadow);
    color: white;
    padding-right: 20px;
}

.hero-buttons .register-btn13 {
    background-color: var(--buttercup);
    color: white;
    padding-right: 20px;

}



.btn-outline13 {
    background-color: transparent;
    border: 2px solid var(--mountain-meadow);
    color: var(--mountain-meadow);
}

.btn-outline13:hover {
    background-color: var(--mountain-meadow);
    color: white;
}

.view-more13 {
    text-align: center;
    margin-top: 25px;
}

.modal13 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal-content13 {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-title13 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--thunder);
}

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

.form-group13 label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--nandor);
}

.form-group13 input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--bombay);
    border-radius: 4px;
    font-size: 1rem;
}

.modal-buttons13 {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
}

.close-modal13 {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--mid-gray);
}

.footer13 {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: var(--mid-gray);
    font-size: 0.9rem;
}




/* from the pages */
/* 
                .dropdown-item:hover,
        .dropdown-item:focus,
        .dropdown-item:active {
            background-color: #e5a309 !important;
            color: white !important;
        } */

.dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}


.container131 {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.emergency-card131 {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow131);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.emergency-card131:hover {
    transform: translateY(-5px);
}

.emergency-header131 {
    background-color: var(--mountain-meadow);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emergency-icon131 {
    font-size: 2.5rem;
    animation: pulse131 2s infinite;
}

.emergency-title131 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.emergency-content131 {
    padding: 5px;
}

.alert-message131 {
    background-color: #fff9f9;
    border-left: 5px solid var(--alert-color131);
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
}

.alert-title131 {
    color: var(--alert-color131);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.closure-time131 {
    display: inline-block;
    color: var(--alert-color131);
    ;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.button-container131 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.btn131 {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary131 {
    background-color: var(--sea-green);
    color: white;
}

.btn-primary131:hover {
    background-color: var(--eucalyptus);
}

.btn-secondary131 {
    background-color: var(--eucalyptus);
    color: white;
    width: 250px;
    text-align: center;

}

.btn-secondary131:hover {
    background-color: #929993ff;
}

.btn-small131 {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background-color: var(--alert-color131);
    color: white;
}

.btn-small131:hover {
    background-color: var(--mountain-meadow);
}

.closure-container131 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}



/* HOMEPAGE- DISTRICTS SECTION */


.districts-section-002 {
    /* max-width: 1600px; */
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 30px;
    background-color: var(--buttercup);
}

.section-header-002 {
    text-align: center;
    /* margin-bottom: 30px; */
}

.section-title-002 {
    font-size: 32px;
    color: var(--eucalyptus);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle-002 {
    font-size: 18px;
    color: var(--nandor);
    max-width: 800px;
    margin: 0 auto 15px;
}

.section-divider-002 {
    width: 100px;
    height: 3px;
    background: var(--mountain-meadow);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.districts-grid-002 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.district-card-002 {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    height: 160px;
}

.district-card-002:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.district-image-002 {
    width: 30%;
    background: var(--moon-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    padding: 12px;
}

.district-image-002 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.district-image-002 .placeholder-002 {
    color: var(--granite-green);
    font-size: 14px;
    text-align: center;
    padding: 0 15px;
}

.district-content-002 {
    width: 70%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.district-name-002 {
    font-size: 18px;
    font-weight: 700;
    color: var(--thunder);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.district-libraries-002 {
    font-size: 15px;
    color: var(--nandor);
    margin-bottom: 15px;
}

.libraries-count-002 {
    font-weight: 700;
    color: var(--mountain-meadow);
}

.view-district-btn-002 {
    background: var(--mountain-meadow);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    font-size: 13px;
}

.view-district-btn-002:hover {
    background: var(--eucalyptus);
}

@media (max-width: 1100px) {
    .districts-section-002 {
        padding: 25px 25px;
    }
}

@media (max-width: 992px) {
    .districts-grid-002 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .district-card-002 {
        height: 150px;
    }

    .district-content-002 {
        padding: 16px;
    }

    .district-name-002 {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .districts-section-002 {
        padding: 20px 20px;
    }

    .section-header-002 {
        margin-bottom: 25px;
    }

    .section-title-002 {
        font-size: 26px;
    }

    .section-subtitle-002 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .section-divider-002 {
        margin-bottom: 20px;
    }

    .districts-grid-002 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .district-card-002 {
        height: auto;
        flex-direction: column;
    }

    .district-image-002 {
        width: 100%;
        height: 140px;
        padding: 15px;
    }

    .district-content-002 {
        width: 100%;
        padding: 16px;
    }

    .district-name-002 {
        font-size: 18px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

@media (max-width: 480px) {
    .districts-section-002 {
        padding: 15px 15px;
    }

    .section-header-002 {
        margin-bottom: 20px;
    }

    .section-title-002 {
        font-size: 22px;
    }

    .section-subtitle-002 {
        font-size: 14px;
    }

    .district-image-002 {
        height: 120px;
        padding: 12px;
    }

    .district-name-002 {
        font-size: 16px;
    }

    .district-libraries-002 {
        font-size: 14px;
    }

    .view-district-btn-002 {
        padding: 8px 14px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }
}

@media (hover: none) {
    .district-card-002:hover {
        transform: none;
    }

    .view-district-btn-002:active {
        background: var(--eucalyptus);
    }
}



/* HOMEPAGE - COMMUNITY GALLERY SECTION */

.community-gallery {
    background-color: white;
    /* max-width: 1600px; */
    max-width: 100%;
}


.digital-resources {
    padding: 60px 0;
    background-color: #f8faf8;
}

.section-title133 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--eucalyptus);
    font-weight: 700;
}

.resources-tabs {
    justify-content: center;
    border-bottom: 2px solid var(--quill-gray);
    margin-bottom: 30px;
}

.resources-tabs .nav-link {
    color: var(--thunder);
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 8px 8px 0 0;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.resources-tabs .nav-link.active {
    background-color: var(--eucalyptus);
    color: white;
}

.resources-tabs .nav-link:hover:not(.active) {
    background-color: rgba(32, 124, 73, 0.1);
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    /* padding: 10px; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.gallery-item1111 {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--moon-mist), var(--bombay));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--granite-green);
    font-size: 16px;
}

.image-info-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 18px;
    color: var(--eucalyptus);
    z-index: 10;
}

.image-info-btn:hover {
    background: var(--eucalyptus);
    color: white;
    transform: scale(1.1);
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--quill-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: var(--thunder);
}

.nav-btn:hover {
    background: var(--eucalyptus);
    color: white;
    border-color: var(--eucalyptus);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--quill-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--eucalyptus);
    transform: scale(1.2);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal-header {
    padding: 20px 25px;
    background: var(--eucalyptus);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    margin-top: 10px;
    z-index: 5;
    transition: color 0.3s ease;
    color: var(--mid-gray);
}

.close-modal:hover {
    color: var(--buttercup);
}

.close-modal-p:hover {
    cursor: pointer;
}

.modal-body {
    padding: 25px;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    gap: 10px;
}

.detail-label {
    font-weight: 600;
    min-width: 100px;
    color: var(--eucalyptus);
}

.detail-value {
    color: var(--thunder);
}

@media (max-width: 992px) {
    .gallery-slide {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .resources-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

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

@media (max-width: 576px) {
    .digital-resources {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .resources-tabs {
        flex-wrap: wrap;
    }

    .resources-tabs .nav-link {
        margin-bottom: 5px;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .gallery-slide {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-content {
        max-width: 100%;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* Add styles for the zoom modal */
.zoom-modal-content {
    max-width: 90%;
    max-height: 90vh;
    width: auto;
}

.zoomed-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.zoomed-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .resources-tabs {
        flex-wrap: wrap;
    }

    /* .nav-item {
            flex: 1 0 50%;
            max-width: 50%;
        }
        
        .nav-link {
            font-size: 0.9rem;
            padding: 8px 12px;
        } */
}

/* @media (max-width: 576px) {
        .nav-item {
            flex: 1 0 100%;
            max-width: 100%;
        }
        
        .nav-link {
            font-size: 0.85rem;
        }
    } */