/* =================================================== */
/* --- 1. Accessibility & Reset --- */
/* =================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

:root {
    --primary-color: #174572;
    /* Deep Blue */
    --secondary-color: #FF8C00;
    /* Bright Orange/Gold */
    --light-grey: #F5F5F5;
    --text-color-dark: #333;
}

:focus {
    /* outline: 3px solid var(--secondary-color); */
    outline-offset: 2px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    /* Ensures equal margins on web size */
}

.container.fas.fa-phone {
    margin: 0;
}

.container_logo {
    width: 90%;
    /* max-width: 1200px; */
    margin: 10px auto;
    /* Ensures logo container is centered */
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* =================================================== */
/* --- 2. Header & Navigation --- */
/* =================================================== */
.top-bar {
    background: linear-gradient(135deg, #174572, #246bb2);
    color: white;
    padding: 2px 0;
    font-size: 1.1em;
    margin-left: 0px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info i {
    margin-right: 10px;
}

.social-links a {
    color: white;
    margin-left: 15px;
    transition: color 0.3s;
    font-size: 1.0em;
}

.social-links a:hover,
.social-icons :hover {
    color: var(--secondary-color);
}

.main-nav-bar {
    background-color: white;
    border-bottom: 1px solid var(--light-grey);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100% !important;
}

.main-nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    padding-left: 0;
    /* REMOVED PADDING-LEFT: 10px to ensure centering integrity */
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 10px 15px;
    display: block;
    font-weight: 600;

}

#main-nav ul li a.active {
    color: white;
    background-color: var(--primary-color);
    border-radius: 5px;
}

nav ul li a:hover {
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Hidden checkbox for mobile menu toggle */
#menu-check {
    display: none;
}

/* Hamburger menu icon (hidden by default on desktop) */
.menu-toggle {
    display: none;
    /* HIDES HAMBURGER ICON ON DESKTOP/WEB SIZE */
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    color: var(--primary-color);
    order: 2;
}

/* Call To Action Button */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    font-size: 1.0em;
    margin-bottom: 5px;
}

.cta-button:hover {
    background-color: white;
    border: none;
    color: #174572;
}

.primary-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.donate-btn {
    font-size: 1.1em;
    border: 2px solid #fd9515 !important;

}

.donate-note {
    display: inline-block;
    background-color: #17457215;

    border-left: 5px solid #174572;
    padding: 10px 9px;
    border-radius: 4px;
    list-style: none;
    margin: 0px 0;
}

/* Global CSS (Hides on desktop) */
.social-links-mob {
    display: none;
}

/* =================================================== */
/* --- 3. Hero Slider --- */
/* =================================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
    background-color: var(--primary-color);
}

.slider-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.hero-slider input[type="radio"] {
    display: none;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    object-fit: cover;
    width: calc(100% / 3);
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: opacity 0.8s;
}

/* Slide specific backgrounds (Replace with actual images) */
/*.slide-1 { background-image: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)),*/
.slide-1 {
    background-image: url('../img/img3_web.jpeg');
}

.slide-2 {
    background-image: url('../img/img2_web.jpeg')
}

.slide-3 {
    background-image: url('../img/img1_web.jpeg');
}

.slide-content {
    color: white;
    position: absolute;
    top: 45%;
    left: 35%;
    transform: translate(-50%, -50%);
    text-align: left;
    max-width: 800px;
    padding: 10px;
    height: 200px;
    text-shadow: #1a0960;

}

.slide-content p {
    bottom: 20%;
}

.slide-content h1 {
    width: 700px;
    color: white;
    font-size: 3em;
    margin-bottom: 1px;
    align-items: left;
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Navigation logic based on radio buttons */
#slide1:checked~.slides {
    transform: translateX(0);
}

#slide2:checked~.slides {
    transform: translateX(calc(-100% / 3));
}

#slide3:checked~.slides {
    transform: translateX(calc(-200% / 3));
}


.navigation-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 200;
}

.navigation-dots label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid white;
}

#slide1:checked~.navigation-dots label:nth-child(1),
#slide2:checked~.navigation-dots label:nth-child(2),
#slide3:checked~.navigation-dots label:nth-child(3) {
    background: var(--secondary-color);
}


/* --- 4. Section Styling (General) --- */
.content-section {
    padding: 30px 0;
    text-align: center;
    margin-bottom: 0px;
}

h2 {
    font-size: 2.2em;
    /* margin-top:70px; */
    margin-bottom: 0px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    /* height: 4px; */
    /* background-color: var(--secondary-color); */
    margin: 10px auto 30px;
    border-radius: 2px;
}

.lead-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

/* --- 5. Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
    text-align: left;
}

.service-card {
    border: 1px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 51, 102, 0.2);
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.service-card i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* --- 6. Board Grid --- */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.board-member {
    background-color: white;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.board-member h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.board-member .role {
    color: var(--secondary-color);
    font-weight: bold;
    font-style: italic;
    font-size: 0.9em;
}

.board-member.other {
    font-size: 0.9em;
    padding: 10px 20px;
    border-left: 3px solid #ccc;
    background-color: var(--light-grey);
}

/* --- 7. Gallery Grid --- */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-preview-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.gallery-preview-grid iframe {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-preview-grid img:hover {
    transform: scale(1.05);
}

/* --- 8. Contact & Appeal --- */
.appeal-bg {
    background-color: var(--primary-color);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    text-align: left;
}

.line_breaker {
    border-bottom: 5px solid white;

}

.contact-form-area h2,
.appeal-info h2 {
    color: white;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.contact-form-area h2::after,
.appeal-info h2::after {
    display: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.9);
}

.contact-form textarea {
    resize: vertical;
    min-height: 190px;

}

.contact-form button.cta-button {
    width: 100%;
    border: none;
}

.contact-form {
    height: 100%;
}

.appeal-info {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    /* Slight overlay for contrast */
    border-radius: 5px;
}

.appeal-quote {
    font-style: italic;
    margin-bottom: 20px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 10px;
}

.address-details p {
    margin-bottom: 5px;
}

.address-details strong {
    color: var(--secondary-color);
}

/* --- 9. Responsiveness (Mobile First) --- */

@media (max-width: 900px) {
    .main-nav-bar .container {
        flex-wrap: wrap;
    }

    nav {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    nav ul {
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .donate-btn {
        order: 2;
        margin-left: auto;
    }

    .logo {
        order: 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-box {
        margin-inline: 9px !important;
    }

}


@media (max-width: 600px) {
    .top-bar .container {
        flex-direction: column;
    }

    .social-links {
        margin-top: 5px;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 2em;
    }

    .slide-content p {
        font-size: .8em;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        padding: 5px 15px;
    }

    .slide content {
        left: 50%
    }

    .slide-1 h1 {
        margin-top: 20px;
    }

    .slide-2 h1 {
        margin-top: 5px;
    }

    .slide-3 h1 {
        margin-top: 30px;
    }

    .contact-form {
        width: auto;
    }
}

/* ... (Existing CSS from previous response) ... */

/* --- 6. Footer (UPDATED) --- */
/* footer {
    background-color: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}*/
/* 
footer {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 5px;
} 

/* .developer-credit {
    margin-top: 15px;
    font-size: 0.9em;
    color: #999; /* Lighter color for credit text
} */

/* .developer-credit a {
    color: #fff; /* Make Aura's name stand out 
     font-weight: bold;
    text-decoration: underline;
}
 */

/* --- 10. Fixed Call Button (NEW CODE) --- */



/* Ensure the button is still legible on smaller screens */
/* @media (max-width: 600px) {
    .fixed-call-button {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
        bottom: 15px;
        right: 15px;
    } 
}/* =================================================== */
/* --- 9. Responsiveness (Mobile First) --- */
/* =================================================== */

/* --------------------------------------------------- */
/* Tablet View (Max 900px wide) */
/* --------------------------------------------------- */
@media (max-width: 905px) {

    .main-nav-bar .container {
        flex-wrap: wrap;
    }

    nav {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    nav ul {
        justify-content: space-around;
        flex-wrap: wrap;
        /* Ensure it's visible on tablet */
        display: flex !important;
    }

    /* The hamburger icon remains hidden on tablet */
    .menu-toggle {
        display: none;
    }


}

/* --------------------------------------------------- */
/* Mobile View (Max 600px wide) */
/* --------------------------------------------------- */
/* NEW: Hide the actual checkbox */
#menu-check {
    display: none;
}

@media (max-width: 600px) {

    /* --- Main Navigation Layout --- */
    .main-nav-bar .container {
        flex-wrap: nowrap;
        align-items: center;
    }

    .slide-content h1 {
        width: auto;
    }

    /* 1. Show the Hamburger Icon (The Fix) */
    .menu-toggle {
        display: block;
        /* <--- FIXED: Now the icon will be visible */
        margin-left: auto;
        /*Pushes the icon to the right side of the header */
        order: 2;
        /* Ensures it's on the right of the logo */
        font-size: 24px;
        /* Adjust size as needed */
        padding: 10px 15px;
        /*  Add padding for easy tapping */
        cursor: pointer;
    }

    /* 2. Hide the CTA button from the header on mobile to simplify it */
    .donate-btn {
        display: none;
    }

    /* 3. Initial state: Hide the Nav Menu */
    nav {
        /* order: 3; <-- Remove 'order' since 'position: absolute/fixed' takes it out of the flex flow */
        width: 100%;
        display: none;
        /* Hides the menu initially */

        /* Consider using position: fixed for better mobile experience: */
        position: fixed;

        top: 60px;
        /* Adjust this value to be the height of your top bar */
        left: 0;
        height: calc(100vh - 60px);
        /* Fill the rest of the screen */
        background-color: white;
        border-top: 1px solid var(--light-grey);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        /* Allow scrolling if menu is long */
    }

    /* 4. Vertical Stacked Menu */
    nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }

    /* 5. Full-width link blocks (Your existing styles here are correct) */
    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 10px 20px;
        width: 100%;
        border-bottom: 1px solid var(--light-grey);

    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    /* 6. Toggle Logic: Show the menu when the checkbox is checked */
    /* Note: This selector assumes the input is a sibling of the .main-nav-bar wrapper */
    #menu-check:checked~.main-nav-bar nav {
        display: block;
    }

}

/* --- NEW SLIDER BACKGROUND LOGIC FOR MOBILE --- */
@media (max-width: 600px) {

    /* ... (Existing mobile rules above) ... */
    .social-links-mob a {
        color: rgb(18, 12, 70);
        transition: color 0.3s;
        font-size: 1.5em;
    }

    .social-links-mob a:hover {
        color: var(--secondary-color);
    }

    /* 7. Change Hero Slider Height and Background for Mobile */
    .hero-slider {
        height: 620px;
        /* Make the slider shorter on mobile */
    }

    .hero-slide-2 {
        height: 630px;
    }

    .slide-content h1 {
        font-size: 1.5em;
    }

    .slide-content {
        /* top:40%; */
    }

    /* 8. Remove the large background images for mobile */
    .slide-1,
    .slide-2,
    .slide-3 {
        /* Remove the background-image property */
        background-image: none !important;
        /* Set a simple fallback color to maintain slide visibility and height */
        background-color: var(--primary-color);
    }

    .slides {
        display: flex;
        width: 100%;
        height: 100%;
    }

    .slide {
        object-fit: cover;
        width: calc(100% / 3);
        height: 100vh !important;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
        position: relative;
        transition: opacity 0.8s;
    }

    /* OPTION 1: Use a simple, primary color background (Current implementation above) */

    /* OPTION 2: Use a small, dedicated mobile-optimized image (uncomment to use)
    .slide-1 { 
        background-image: url('../img/img3_mob.jpeg') !important; 
        background-color: var(--primary-color); 
    }
    .slide-content.slide-2 { 
        background-image: url('../img/img3_mob.jpeg') !important;
        background-color: var(--primary-color);
    }
    .slide-3 { 
        background-image: url('../img/img3_mob.jpeg') !important;
        background-color: var(--primary-color); 
    }*/
    .contact-form-area {
        margin: 10px;
    }

    .slide.h1 {
        margin-block-start: 1.5em;

    }

    .div.slider-content container.h1 {
        padding-bottom: 25px;

    }

    .slide-content.cta-button {
        top: 20%;
    }

    .cta-button {
        margin-top: 10px;
    }
}

/*styling mob nav*/
.phone-icon {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 9999;
    background-color: #28a745;
    color: white;
    padding: 15px;
    /* Increased padding for better pulse visibility */
    border-radius: 50%;
    display: flex;
    /* Use flex to perfectly center the icon inside the circle */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* Good practice if this is a link */
    font-size: 24px;
    /* Icon size */

    /* --- APPLY THE ANIMATION --- */
    animation: pulse 2s infinite;
}

/* Keyframes for the Pulse Effect */
@keyframes pulse {
    0% {
        /* Initial state: no extra shadow, standard size */
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
        /* rgba of background color */
    }

    70% {
        /* Mid-animation: shadow expands and fades */
        box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
    }

    100% {
        /* End state: reset for the next loop */
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

@media screen and (max-width: 768px) {
    /* ... other mobile styles ... */

    /* Explicitly ensure the logo is the first item */
    .logo {
        order: 0;
        /* The logo text/link itself should not have margin-left: auto; */
    }

    /* The icon will then be placed after the logo (order: 2), and margin-left: auto will push it right */
    .menu-toggle {
        display: block;
        margin-left: auto;
        /* Pushes this element to the right */
        order: 2;
        /* Ensures it is after the logo */
        /* ... rest of your menu-toggle styles ... */
    }

    /* ... rest of your mobile styles ... */
}

/* Mobile Media Query: Targets screens 768px wide or smaller */
@media screen and (max-width: 768px) {

    /* Hide the social links container on mobile */
    .social-links {
        display: none !important;
        /* Use !important to ensure it overrides other rules */
    }
}

/* Global CSS (Hides on desktop) */
.social-links-mob {
    display: none;
}

/* ---------------------------------------------------------------------- */

/* Mobile Media Query (Shows on mobile) */
@media screen and (max-width: 600px) {

    /* Yes, this is the correct placement for the rule to take effect */
    .social-links-mob {
        display: flex;
        justify-content: center;
        /* Optional: to center the icons */
    }

    .slide-content {
        text-align: center;
        left: 50%;
    }

    /* .modal{
        width:50%;
        height:60%;
    }
    .modal-content{
      width:50%;
        height:60%; 
      
    } */
}

/* Default state (e.g., slightly hidden or normal) */
#sticky {
    transition: transform 0.3s ease-out;
    transform: translateY(0);
    /* Start visible */
    width: 1260px
}

/* The class applied by JavaScript */
.sticky-fixed {
    position: fixed;
    /* Use fixed for JS-controlled sticky behavior */
    top: 0;
    z-index: 1200;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100% !important;
}

/* Style your header normally */
.sticky-element {
    /* background-color: #333; */
    /* color: white; */

    width: 100% !important;

    /* 🔑 KEY STICKY PROPERTIES 🔑 */
    /* 1. Enable sticky positioning */
    position: sticky;

    /* 2. Define the offset where it should stick (0 means the very top) */
    top: 0;

    /* 3. Ensure it sits above other content when scrolling */
    z-index: 1000;

}

/* --- 1. The Lightbox Overlay (The background) --- */
.lightbox {
    /* Hidden by default */
    display: none;
    /* Stay in place (full screen) */
    position: fixed;
    /* Sit on top */
    z-index: 1000;
    /* Full width and height */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* Enable scroll if needed */
    overflow: auto;
    /* Black w/ opacity (the modal background) */
    background-color: rgba(0, 0, 0, 0.9);
}

/* --- 2. The Lightbox Content (The large image itself) --- */
.lightbox-content {
    /* Centering the image */
    margin: auto;
    display: block;
    /* Keep the image within the viewport */
    max-width: 90%;
    max-height: 90%;
    /* Add some top padding/positioning for aesthetic */
    margin-top: 50px;
    /* Animation for smooth appearance */
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* --- 3. The Close Button --- */
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
    /* Make sure it's above the overlay */
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}

/* --- 4. The Caption/Alt Text --- */
#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* --- 5. Keyframes Animation (for a smooth pop-in effect) --- */
@keyframes zoom {
    from {
        transform: scale(0.1)
    }

    to {
        transform: scale(1)
    }
}

/* MOBILE-SPECIFIC STYLE - Target screens up to 600px wide */
@media screen and (max-width: 600px) {

    /* Select the same lightbox class */
    .lightbox {
        /* OVERRIDE the background color with lower opacity */
        background-color: rgba(0, 0, 0, 0.7);
        /* 0.7 is 70% opacity (less black) */
    }

    /* OPTIONAL: You might also want to reduce the space around the image on mobile */
    .lightbox-content {
        margin-top: 20px;
        /* Less space above the image */
    }

    #sticky {
        width: 100%;
        margin: 0;

    }

    .sticky-fixed {
        width: 100%;
    }

    .sticky-element {
        /* padding: 10px 5px; */
        padding-block: 0px !important;
    }
}



.slide-content h1 {
    width: 700px;
    color: white;
    font-size: 3em;
    margin-bottom: 1px;
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Navigation logic based on radio buttons */
#slide1:checked~.slides {
    transform: translateX(0);
}

#slide2:checked~.slides {
    transform: translateX(calc(-100% / 3));
}

#slide3:checked~.slides {
    transform: translateX(calc(-200% / 3));
}


.navigation-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 200;
}

.navigation-dots label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid white;
}

#slide1:checked~.navigation-dots label:nth-child(1),
#slide2:checked~.navigation-dots label:nth-child(2),
#slide3:checked~.navigation-dots label:nth-child(3) {
    background: var(--secondary-color);
}


/* =================================================== */
/* --- 4. Section Styling (General) --- */
/* =================================================== */
.content-section {
    padding: 60px 0;
    text-align: center;
}

h2 {
    font-size: 2.2em;
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    margin: 10px auto 30px;
    border-radius: 2px;
}

.lead-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

/* =================================================== */
/* --- 5. Services Grid --- */
/* =================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
    text-align: left;
}

.service-card {
    border: 1px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 51, 102, 0.2);
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.service-card i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* =================================================== */
/* --- 6. Board Grid --- */
/* =================================================== */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.board-member {
    background-color: white;
    padding: 20px;
    border: 1px solid #174572;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.board-member h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.board-member .role {
    color: var(--secondary-color);
    font-weight: bold;
    font-style: italic;
    font-size: 0.9em;
}

.board-member.other {
    font-size: 0.9em;
    padding: 10px 20px;
    border-left: 3px solid #ccc;
    background-color: var(--light-grey);
}

/* =================================================== */
/* --- 7. Gallery Grid & Lightbox --- */
/* =================================================== */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-preview-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-preview-grid img:hover {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 50px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

@keyframes zoom {
    from {
        transform: scale(0.1)
    }

    to {
        transform: scale(1)
    }
}

/* =================================================== */
/* --- 8. Contact & Appeal --- */
/* =================================================== */
.appeal-bg {
    background-color: var(--primary-color);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    text-align: left;
}

.line_breaker {
    border-bottom: 5px solid white;
}

.contact-form-area h2,
.appeal-info h2 {
    color: white;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.contact-form-area h2::after,
.appeal-info h2::after {
    display: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.9);
}

.contact-form textarea {
    resize: vertical;
    min-height: 190px;
}

.contact-form button.cta-button {
    width: 100%;
    border: none;
}

.contact-form {
    height: 100%;
}

.appeal-info {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.appeal-quote {
    font-style: italic;
    margin-bottom: 20px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 10px;
}

.address-details p {
    margin-bottom: 5px;
}

.address-details strong {
    color: var(--secondary-color);
}

/* =================================================== */
/* --- 9. Fixed Buttons & Sticky Header (JS/CSS) --- */
/* =================================================== */
/* Phone Call Button (Fixed) */
.phone-icon {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    background-color: #28a745;
    color: white;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Scroll Buttons */
#scrollUpBtn,
#scrollDownBtn {
    background-color: orange;
    color: white;
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 12px;
    position: fixed;
    right: 20px;
    z-index: 99;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#scrollUpBtn {
    bottom: 140px;
}

#scrollDownBtn {
    bottom: 90px;
}

#scrollUpBtn:hover,
#scrollDownBtn:hover {
    background-color: darkorange;
}

/* Sticky Header Logic (CSS-only sticky) */
.main-nav-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* JS-controlled fixed class (for optional sticky change) */
.sticky-fixed {
    position: fixed;
    top: 0;
    z-index: 1200;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* =================================================== */
/* --- 10. Footer --- */
/* =================================================== */
.contact-footer {
    color: white;
    /* padding-top: 60px; */
    box-sizing: border-box;
}

.footer-container {
    max-width: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 40px 40px;
}

.contact-heading {
    color: white;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 1px;
    cursor: pointer;
}

.contact-info-column,
.location-map-column {
    flex-basis: 48%;
    min-width: 379px;
    padding: 0 10px;
    box-sizing: border-box;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-detail i {
    font-size: 1.5em;
    color: white;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contact-detail>div {
    display: inline-block;
    line-height: 1.4;
}

.contact-detail strong {
    display: inline;
    font-size: 1.1em;
    margin-right: 8px;
}

.contact-detail a,
.contact-detail p {
    display: inline;
    margin: 0;
    font-size: 1em;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--secondary-color);
}

.address-block p {
    flex-basis: 100%;
    display: block !important;
    margin: 0;
}

.social-icons {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.map-container {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    background: linear-gradient(135deg, #174572, #246bb2);
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    color: white;
    width: 100%;
    margin-top: 20px;
}

/* =================================================== */
/* --- 11. RESPONSIVENESS (Media Queries) --- */
/* =================================================== */

/* --------------------------------------------------- */
/* Tablet View (Max 905px wide) */
/* --------------------------------------------------- */
@media (max-width: 905px) {

    /* --- General Container Adjustments --- */
    .container {
        width: 95%;
    }

    /* --- Main Nav Bar Layout (Horizontal Wrap) --- */
    .main-nav-bar .container {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    nav {
        order: 3;
        width: 100%;
        margin-top: 5px;
    }

    nav ul {
        justify-content: space-between;
        flex-wrap: wrap;
        display: flex;
    }

    /* Ensure hamburger icon remains hidden on tablet */
    .menu-toggle {
        display: none;
    }

    /* --- Contact & Footer Grid Stacking --- */
    .contact-grid,
    .footer-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .contact-info-column,
    .location-map-column {
        flex-basis: 100%;
        min-width: unset;
        max-width: 100%;
    }

    .contact-info-column {
        margin-bottom: 40px;
    }

    .map-container {
        height: 300px;
    }
}

/* --------------------------------------------------- */
/* Mobile View (Max 600px wide) */
/* --------------------------------------------------- */
@media (max-width: 600px) {

    /* --- General Adjustments --- */
    .top-bar {
        display: none;
    }

    .content-section {
        padding: 10px 0;
        margin-left: 7px !important;
    }

    h2 {
        font-size: 1.8em;
    }

    .lead-text {
        font-size: 1.1em;
    }

    section#contact.content-section {
        margin-top: 10px;
    }

    /* --- Header & Navigation Toggle (Hamburger Logic) --- */
    .main-nav-bar .container {
        flex-wrap: nowrap;
        height: 60px;
        padding: 0 10px;
    }

    /* Show the hamburger icon on mobile */
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    /* Hide desktop elements */
    .social-links,
    .donate-btn {
        display: none !important;
    }

    /* Mobile Menu Container - Fixed position dropdown */
    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        height: calc(100vh - 60px);
        width: 100%;
        background-color: white;
    }

    /* Vertical Stacked Menu */
    nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }

    nav ul li a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--light-grey);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    /* Show Mobile Social Links (if implemented in HTML) */
    .social-links-mob {
        display: flex;
        justify-content: center;
    }

    .social-links-mob a {

        font-size: 1.5em;
        margin: 0 1px;
    }

    /* --- Hero Slider Adjustments --- */
    .hero-slider {
        height: 400px;
    }

    .slide {
        height: auto;

    }

    .slide-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
    }

    .slide-content h1 {
        font-size: 2em;
        width: auto;
    }

    .slide-content p {
        font-size: 1em;
    }

    /* --- General Grid Stacking --- */
    .services-grid,
    .board-grid,
    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }

    /* --- Contact Form/Appeal Layout --- */
    .contact-form textarea {
        min-height: 150px;
    }

    .contact-form button.cta-button {
        width: 100%;
    }

    /* Lightbox mobile fix */
    .lightbox-content {
        margin-top: 20px;
    }
}

/* --------------------------------------------------- */
/* Ultra-Small Mobile View (Max 380px wide) */
/* --------------------------------------------------- */
@media (max-width: 380px) {
    .container {
        width: 98%;
    }

    /* Ensure fixed elements span full width */
    .sticky-fixed,
    #sticky {
        width: 100%;
    }

    .fa-bars:before {
        display: block;
    }

    /* Full-width form elements */
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        width: 100%;
        padding: 15px;
    }

    .map-container {
        width: 100%;
    }

    /* Left align contact details on smallest screen */
    .contact-detail {
        justify-content: flex-start;
    }

    .contact-heading {
        font-size: 1.6em;
    }

    .sticky-element {
        /* padding: 5px 5px; */
    }

    .social-links-mob {
        padding: 1px 0px;
    }

    slide.slide-1 {
        height: auto;
    }
}

/*demo*/
/* --- 11. RESPONSIVENESS (Media Queries) --- */

/* --------------------------------------------------- */
/* Tablet View (Max 905px wide) */
/* --------------------------------------------------- */
@media (max-width: 905px) {
    /* ... other tablet styles ... */

    /* ** Keeps hamburger icon hidden on Tablet Size ** */
    .menu-toggle {
        display: none;
    }

    /* ... other tablet styles ... */
}

/*demo*/
.form-button {
    /* --- COLOR & TEXT STYLES --- */
    background-color: #ff8c00;
    /* A vibrant, strong orange */
    color: white;
    /* White text for contrast */
    border: none;
    /* Remove the default button border */
    text-decoration: none;
    /* Ensure no underline if it's an <a> tag */

    /* --- LAYOUT & SHAPE --- */
    display: inline-block;
    /* Allows padding and width/height settings */
    padding: 12px 25px;
    /* Vertical and horizontal padding for size */
    border-radius: 6px;
    /* Slightly rounded corners */
    font-size: 16px;
    /* Standard readable font size */
    font-weight: bold;
    /* Make the text stand out */
    text-align: center;
    /* Center the text inside the button */
    cursor: pointer;
    /* Add the 'hover hand' cursor */
    transition: background-color 0.3s ease;
    /* Smooth hover transition */

    /* --- RESPONSIVE STYLING (The key to multi-screen support) --- */
    width: 100%;
    /* Default width based on content */
    max-width: 100%;
    /* Ensure it never overflows its container */
    align-items: center;
    border: 2px solid #ff8c00;

}

/* --- HOVER EFFECT (Optional but recommended) --- */
.form-button:hover,
.form-button:focus {
    background-color: #ffffff;
    border: 2px solid #174572;
    color: #174572;

}

.button-wrapper {
    /* The key line to center the button */
    text-align: center;
}

/* --- MOBILE STYLING (Make it full-width on small screens) --- */
@media (max-width: 600px) {
    .form-button {
        width: 200px;
        /*Button takes up the full width of its container */
        padding: 20px 20;
        /* Increase vertical padding for easy tapping */
        font-size: 1.1em;
        /* Slightly larger font for better visibility on small screens */
        box-sizing: border-box;
        /* Ensures padding is included in the total width */
        display: inline;

    }

    .button-wrapper {
        margin-top: 15px;
    }
}

/* --- 2. Header & Navigation --- */
/* ... */
/* Hamburger menu icon (hidden by default on desktop) */
.menu-toggle {
    /* HIDES HAMBURGER ICON ON DESKTOP/WEB SIZE */
    display: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    color: var(--primary-color);
    order: 2;
}

/* --- 11. RESPONSIVENESS (Media Queries) --- */

/* --------------------------------------------------- */
/* Tablet View (Max 905px wide) */
/* --------------------------------------------------- */
@media (max-width: 905px) {
    /* ... other tablet styles ... */

    /* ** Crucial Change: SHOW the hamburger icon on Tablet size (and below) ** */
    .menu-toggle {
        display: block;
        /* Make it visible for tablet (905px) and mobile (600px) */
    }

    /* Ensure the full navigation menu is hidden on tablet/mobile */
    /* This logic depends on your navigation (nav ul) styling and checkbox/JS setup */

    /* ... other tablet styles ... */
}

/*-----demo*/
/* --- 2. Header & Navigation (Base Styles) --- */

/* ... other styles ... */

/* Mobile Menu Base State */
/* The main navigation for desktop, but we'll modify it for mobile below */
nav {
    /* ... (Keep existing desktop list styles) ... */

    /* Ensure the transition property is present for a smooth slide */
    transition: transform 0.3s ease-out;
}

/* ... other styles ... */

/* --------------------------------------------------- */
/* Mobile View (Max 600px wide) - Menu Visibility */
/* --------------------------------------------------- */
@media (max-width: 600px) {
    /* ... (Other mobile styles) ... */

    /* Mobile Menu Container - Fixed position dropdown */
    nav {
        /* OVERRIDE: Positioning for the slide-out menu */
        display: block;
        /* Must be 'block' or 'flex' to enable positioning */
        position: fixed;
        top: 0;
        /* Align to the very top */
        right: 0;
        /* Anchor to the right edge */
        bottom: 0;
        /* Extend to the bottom (full viewport height) */
        left: unset;
        /* Remove left anchor */
        height: 100vh;
        /* Full viewport height */
        width: 300px;
        /* Set a fixed width for the menu */
        background-color: white;
        z-index: 990;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        /* Shadow for depth */

        /* 1. Default state: Push the menu completely off-screen to the right */
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    /* Vertical Stacked Menu (Ensure list items are aligned to the right side if needed) */
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        /* Align links to the left inside the menu box */
        padding: 60px 20px 20px;
        /* Add padding at the top to clear the header */
    }

    nav ul li a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--light-grey);
    }

    /* 2. Menu OPEN State: Slide the menu back into view */
    /* This overrides the 'transform: translateX(100%)' */
    #menu-check:checked~nav {
        transform: translateX(0);
    }

    /* Optional: Add a dim background when the menu is open (Overlay) */
    /* You would need a separate div (e.g., <div id="overlay"></div>) 
       or use a pseudo-element on the body, which is more complex.
       Let's stick to the menu for now. */
}

.fa-bars:before {
    color: #0c0f4b;
}

i.fa.fa-times {
    color: orange;
}

/* Hide the icon element by default on desktop */
.icon {
    display: none !important;
    /* Use !important if other CSS is overriding */
}

/* ... (rest of your desktop styles) ... */

/* --- MOBILE STYLES (Screen width 768px and smaller) --- */

@media screen and (max-width: 768px) {

    /* ... */
    /* This rule ensures the icon becomes visible on mobile screens */
    .icon {
        display: block !important;
        /* ... other mobile icon styles ... */
    }

    /* ... */
}

@media screen and (max-width: 768px) {

    /* 1. HIDE the desktop menu and CTA button by default on mobile */


    /* 2. SHOW the hamburger icon in the header */
    .icon {
        display: block;
        font-size: 24px;
        color: #fff;
        padding: 10px;
        /* Reduced padding for the icon */
        cursor: pointer;
    }

    /* 3. Dropdown Menu Appearance (When 'responsive' class is added by JS) */
    .main-nav-bar.responsive #main-nav {
        display: block;
        /* Make the menu container visible */
        position: absolute;
        top: 100%;
        /* Drop it below the header */
        right: 0;
        width: 50%;
        height: 320%;
        background-color: rgb(248, 244, 244);
        /* Slightly darker background for the dropdown */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        z-index: 10;
    }


    /* 4. Vertical stacking of links inside the dropdown */
    .main-nav-bar.responsive #main-nav ul {
        flex-direction: column;
        /* Stacks links vertically */
    }

    /* 5. Style individual links for the mobile menu */
    .main-nav-bar.responsive #main-nav li {
        width: 100%;
        text-align: center;
        border-top: 1px solid #444;
        /* Separator line */
    }

    .main-nav-bar.responsive #main-nav li:first-child {
        border-top: none;
    }

    .main-nav-bar.responsive #main-nav a {
        padding: 5px 10px;
        color: rgb(12, 11, 11);
    }
}

#main-nav a:hover {
    color: rgb(255, 255, 255);
    border: none;
}

.content-section {
    padding-block: 10px !important;
}


.fa-bars:before {
    color: #0c0f4b;
}

i.fa.fa-times {
    color: orange;
}

/* Hide the icon element by default on desktop */
.icon {
    display: none !important;
    /* Use !important if other CSS is overriding */
}

/* ... (rest of your desktop styles) ... */

/* --- MOBILE STYLES (Screen width 768px and smaller) --- */

@media screen and (max-width: 768px) {

    /* ... */
    /* This rule ensures the icon becomes visible on mobile screens */
    .icon {
        display: block !important;
        /* ... other mobile icon styles ... */
    }

    /* ... */
}

@media screen and (max-width: 768px) {

    /* 1. HIDE the desktop menu and CTA button by default on mobile */


    /* 2. SHOW the hamburger icon in the header */
    .icon {
        display: block;
        font-size: 24px;
        color: #fff;
        padding: 10px;
        /* Reduced padding for the icon */
        cursor: pointer;
    }

    /* 3. Dropdown Menu Appearance (When 'responsive' class is added by JS) */
    .main-nav-bar.responsive #main-nav {
        display: block;
        /* Make the menu container visible */
        position: absolute;
        top: 100%;
        /* Drop it below the header */
        /* left: 0; */
        width: 50%;
        height: 350%;
        background-color: white;
        /* Slightly darker background for the dropdown */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    /* 4. Vertical stacking of links inside the dropdown */
    .main-nav-bar.responsive #main-nav ul {
        flex-direction: column;
        /* Stacks links vertically */
    }

    /* 5. Style individual links for the mobile menu */
    .main-nav-bar.responsive #main-nav li {
        width: 100%;
        text-align: left;
        border-top: 1px solid #444;
        /* Separator line */
    }

    .main-nav-bar.responsive #main-nav li:first-child {
        border-top: none;
    }

    .main-nav-bar.responsive #main-nav a {
        padding: 10px 10px;
        color: rgb(12, 11, 11);
    }
}

/*scoll button style*/
/* General style for both buttons */
#scrollUpBtn,
#scrollDownBtn {
    /* Appearance */
    background-color: orange;
    /* The requested background color */
    color: white;
    /* Arrow color */
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 12px;
    text-align: center;
    text-decoration: none;

    /* Positioning */
    position: fixed;
    /* Keep them in place when scrolling */
    right: 20px;
    /* Distance from the right edge */
    z-index: 99;
    /* Ensure they are above other content */
    cursor: pointer;

    /* Initial state: Hidden on load, shown by JavaScript */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

@media (max-width: 600px) {

    .slide {
        height: 150vh;
    }

    .slide-2 {
        height: 130vh;
        /* Set a specific height relative to the mobile screen */
    }
}

@media (max-width: 600px) {

    /* ... (Existing mobile rules above) ... */
    .social-links-mob a {
        color: rgb(18, 12, 70);
        transition: color 0.3s;
        font-size: 1.5em;
        border: 1px solid #174572;
        padding-inline: 8px;
        border-radius: 5px;
        padding-block: 0px !important;
        margin: 0px !important;
    }

    .social-links-mob {
        gap: 5px;
        margin-left: -30px !important;
    }

    .social-links-mob a:hover,
    .social-links-mob a:focus {
        background-color: #174572;
        color: white;
        border: 1px solid #ffffff;
    }

    /* 7. Change Hero Slider Height and Background for Mobile */
    .hero-slider {
        height: 620px;
        /* Make the slider shorter on mobile */
    }

    .hero-slide-2 {
        height: 630px;
    }

    .slide-content h1 {
        font-size: 1.5em;
    }

    .slide-content {
        top: 40%;
    }

    /* 8. Remove the large background images for mobile */
    .slide-1,
    .slide-2,
    .slide-3 {
        /* Remove the background-image property */
        background-image: none !important;
        /* Set a simple fallback color to maintain slide visibility and height */
        background-color: var(--primary-color);
    }

    /* OPTION 1: Use a simple, primary color background (Current implementation above) */

    /* OPTION 2: Use a small, dedicated mobile-optimized image (uncomment to use)*/
    .slide-1 {
        background-image: url('../img/img3_mob.jpeg') !important;
        background-color: var(--primary-color);
    }

    .slide-2 {
        background-image: url('../img/img2_mob.jpeg') !important;
        background-color: var(--primary-color);

    }

    .slide-3 {
        background-image: url('../img/img1_mob.jpeg') !important;
        background-color: var(--primary-color);
    }

    .slide.h1 {
        margin-block-start: 1.5em;

    }

    .div.slider-content container.h1 {
        padding-bottom: 25px;

    }

    .slider-content.container {
        margin-top: 45%;
    }

    .slide-content .container h1 {
        margin-top: 55%;
    }

    .slide-content.cta-button {
        top: 20%;
    }

    .container_logo {
        width: auto;
        justify-content: space-between;
        margin-block: 0px !important;
    }

    .container {
        margin: 0;
    }

    #sticky.main-nav-bar.sticky-fixed {
        /* padding:10px 10px; */
        margin-left: 0%;
        width: auto;
        padding-left: 12px;
    }

    .slider-container.slider img {
        height: 620px;
    }
}

/* Target the element specifically for mobile/smaller screens */
@media screen and (max-width: 768px) {

    /* Adjust breakpoint as needed */
    #sticky.main-nav-bar.sticky-fixed {
        position: fixed;
        /* or sticky */
        /* Crucial: Set all horizontal positioning to 0 */
        left: 0;
        right: 0;
        /* Ensure no outside spacing on the element itself */
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        /* Optional: Set width explicitly. 100% or 100vw is usually best. */
        width: 100%;
        /* If 100% doesn't work, try 100vw (viewport width) */
        /* width: 100vw; */

        /* And make sure it's at the top (or bottom/specific offset) */
        top: 0;
        /* Also, give it a high z-index to stay above content */
        z-index: 1000;
    }

}

/* Positioning for the Up button */
#scrollUpBtn {
    bottom: 140px;
    /* Positioned higher than the down button */
}

/* Positioning for the Down button */
#scrollDownBtn {
    bottom: 90px;
    /* Positioned lower */
}

/* Hover effect */
#scrollUpBtn:hover,
#scrollDownBtn:hover {
    background-color: darkorange;
}


*/ .fa-bars:before {
    color: #0c0f4b;
}

i.fa.fa-times {
    color: orange;
}

/* Hide the icon element by default on desktop */
.icon {
    display: none !important;
    /* Use !important if other CSS is overriding */
}

/* ... (rest of your desktop styles) ... */

/* --- MOBILE STYLES (Screen width 768px and smaller) --- */

@media screen and (max-width: 768px) {

    /* ... */
    /* This rule ensures the icon becomes visible on mobile screens */
    .icon {
        display: block !important;
        /* ... other mobile icon styles ... */
    }

    /* ... */
}

@media screen and (max-width: 768px) {

    /* 1. HIDE the desktop menu and CTA button by default on mobile */


    /* 2. SHOW the hamburger icon in the header */
    .icon {
        display: block;
        font-size: 24px;
        color: #fff;
        padding: 10px;
        /* Reduced padding for the icon */
        cursor: pointer;
    }

    /* 3. Dropdown Menu Appearance (When 'responsive' class is added by JS) */
    .main-nav-bar.responsive #main-nav {
        display: block;
        /* Make the menu container visible */
        position: absolute;
        top: 100%;
        /* Drop it below the header */
        left: 0;
        width: 50%;
        height: 350%;
        background-color: white;
        /* Slightly darker background for the dropdown */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    /* 4. Vertical stacking of links inside the dropdown */
    .main-nav-bar.responsive #main-nav ul {
        flex-direction: column;
        /* Stacks links vertically */
    }

    /* 5. Style individual links for the mobile menu */
    .main-nav-bar.responsive #main-nav li {
        width: 100%;
        text-align: left;
        border-top: 1px solid #444;
        /* Separator line */
    }

    .main-nav-bar.responsive #main-nav li:first-child {
        border-top: none;
    }

    .main-nav-bar.responsive #main-nav a {
        padding: 10px 10px;
        color: rgb(12, 11, 11);
    }
}

/*scoll button style*/
/* General style for both buttons */
#scrollUpBtn,
#scrollDownBtn {
    /* Appearance */
    background-color: orange;
    /* The requested background color */
    color: white;
    /* Arrow color */
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 12px;
    text-align: center;
    text-decoration: none;

    /* Positioning */
    position: fixed;
    /* Keep them in place when scrolling */
    right: 20px;
    /* Distance from the right edge */
    z-index: 99;
    /* Ensure they are above other content */
    cursor: pointer;

    /* Initial state: Hidden on load, shown by JavaScript */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Positioning for the Up button */
#scrollUpBtn {
    bottom: 140px;
    /* Positioned higher than the down button */
}

/* Positioning for the Down button */
#scrollDownBtn {
    bottom: 90px;
    /* Positioned lower */
}

/* Hover effect */
#scrollUpBtn:hover,
#scrollDownBtn:hover {
    background-color: darkorange;
}

@media (max-width: 770px) {
    .top-bar.container_logo.contact-info {
        margin: 20px;
    }

    .content-section .container h2 {
        margin-top: 0px;
    }

    .section#board .content-section.light-bg {
        margin-top: 0px;
        padding: 0px;
    }

    .footer-bottom {
        /* margin-bottom: 70px !important;
        padding-bottom: 130px !important; */
    }

    .contact-footer {
        padding-bottom: 70px !important;
    }
}

.spl-aura:hover {
    color: white !important;

}

/* Style for the Sticky Footer container */

/* 1. HIDE THE FOOTER BY DEFAULT */
.sticky-footer {
    display: none;
    /* Hide for desktop by default (Mobile-First approach would start with display: flex) */

    /* Existing fixed positioning styles (will only apply when display is changed by media query) */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    /* Styling */
    background-color: white;
    color: white;
    padding: 7px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;

    /* Flexbox properties will be set inside the media query to ensure they only apply there */
    /* display: flex;
    justify-content: space-around;
    align-items: center; */
}

/* 2. MEDIA QUERY TO SHOW THE FOOTER ON MOBILE AND TABLET SCREENS */
@media (max-width: 1024px) {
    .sticky-footer {
        display: flex;
        /* Override the default 'display: none' */
        justify-content: space-around;
        /* Apply Flexbox properties for icon layout */
        align-items: center;
    }
}


/* Existing styles for individual icon links, hover effects, icons, and text remain the same */
.footer-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    padding: 5px;
    transition: color 0.3s;
}

.footer-icon-link:hover,
.footer-icon-link:focus {
    color: var(--secondary-color)
}

.footer-icon-link i {
    font-size: 20px;
    margin-bottom: 4px;
}

.footer-icon-link span {
    font-size: 12px;
}



/* main contact */

.contact-layout {
    display: grid;
    gap: 2rem;
    margin-block: 2rem;
    align-items: stretch;
    /* ensures both grid items match the tallest one */
    grid-template-columns: 1fr 1.5fr;
    margin-inline: 50px;
    margin-top: 0px !important;

}


@media (max-width: 768px) {
    .contact-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-inline: 10px !important;

    }

    .contact-sec-info,
    .contact-map {
        width: 100% !important;
    }

    .contact-info-card {
        padding: 1rem;
    }

    .contact-icon {
        font-size: 1.5rem;
    }

    .contact-map {
        /* height: 70vh; */
        height: 100% !important;
        padding: 10px !important;
    }

    .quick-contact {
        margin-inline: 10px !important;
    }
}

.contact-sec-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px -2px hsla(348, 83%, 47%, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #5555552f;
}

.contact-info-card:hover {
    transform: translateY(-4px);

}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.75;
}

.contact-icon {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.address-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-top: 15px;
    text-align: left;
}

.icon-box {
    background-color: #174572;
    color: white;
    font-size: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.text-box h3 {
    font-size: 16px;
    margin: 0 0 6px;
    font-weight: 700;
    color: #222;
}

.contact-social {
    border-radius: 5px;
}

.contact-social a {
    color: #174572;
    margin-right: 7px;
    font-size: 20px;
    padding-inline: 7px !important;
    border: 1px solid #174572;
    border-radius: 5px;
}

.contact-social a:hover {
    background-color: #174572;
    color: white;

}

.text-box p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.contact-map {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: #174572;
    border: 1px solid #5555552f;

}

.contact-map h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.map-placeholder {
    background: var(--color-muted);
    border-radius: 0.5rem;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    border: none;
}

.map-placeholder p {
    color: var(--color-muted-foreground);
    font-size: 1rem;
}

.quick-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-block: 3rem;
    margin-inline: 50px;
    margin-bottom: 0px !important;

}

@media (min-width: 768px) {
    .quick-contact {
        grid-template-columns: repeat(3, 1fr);
    }
}

.quick-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 20px -2px hsla(348, 83%, 47%, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #5555552f;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: #174572;
}

.quick-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quick-card p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.quick-icon {
    font-size: 2.0rem;
    margin-bottom: 1rem;
    background: #174572;
    color: #fff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-outline-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: 1px solid rgba(128, 128, 128, 0.242);
    background: transparent;
}

.btn-outline-small:hover {
    background: #174572;
    color: white;
}

/* appeal section */

.appeal-section {
    padding: 50px 1px;
    font-family: "Poppins", sans-serif;
    margin-inline: 50px;
}

.appeal-container {
    margin: auto;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 16;
    overflow: hidden;
}

/* Left Section */
.appeal-left {
    flex: 1 1 100%;
    background: linear-gradient(135deg, #174572, #246bb2);
    color: #fff;
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 25px;


}

.appeal-left h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.appeal-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #e3f2fd;
    margin-bottom: 25px;
    border-left: 4px solid #fd9515;
    padding-left: 15px;
}

.appeal-text {
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

.appeal-note {
    color: #ffeb3b;
    font-weight: 600;
    margin-bottom: 35px;
}

.donate-btnn {
    background: #fd9515;
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.donate-btnn:hover {
    background: #ffffff;
    color: #174572;

}

.donate-btn:hover {
    background: #fff !important;
    color: #174572 !important;
    border: 2px solid #174572 !important;
}

/* Right Section */
.appeal-right {
    flex: 1 1 50%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    margin-top: 70px;
    border-radius: 25px;



}

.info-box {
    background: #eff2fd;
    border-radius: 15px;
    padding: 50px 50px;
    transition: all 0.3s ease;
    border-radius: 25px;

}

.info-box:hover {
    transform: translateY(-4px);
}

.info-box i {
    margin-right: 3px;
}

.info-box h3 {
    color: #174572;
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: inline-block;
    padding-bottom: 4px;
}

#donate {
    scroll-margin-top: 100px;
}

#support {
    scroll-margin-top: 160px !important;
}

#about {
    scroll-margin-top: 90px;
}

#services {
    scroll-margin-top: 90px;
}

#gallery {
    scroll-margin-top: 90px;
}

#board {
    scroll-margin-top: 90px;
}

#contact {
    scroll-margin-top: 100px;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    margin: 8px 0;
    color: #444;
    line-height: 1.6;
    font-size: 18px;
}

.info-box p {
    color: #444;
    line-height: 1.6;
}

.highlight {
    color: #174572;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .appeal-container {
        flex-direction: column;
    }

    .appeal-section {
        margin-inline: 8px !important;
        padding-top: 25px !important;
    }

    .info-box {

        padding: 40px 25px;


    }



    .appeal-left {
        border-radius: 25px;
        flex: 1 1 100%;
        padding: 40px 25px;
    }

    .appeal-right {
        border-radius: 0 0 25px 25px;
        flex: 1 1 100%;

    }

    .appeal-left h2 {
        font-size: 1.8rem;
    }

    .logoimg {
        width: 160px;
        height: 90px
    }

    .navigation-dots {

        bottom: 210px;



    }

    .slide-content p {
        display: none;
    }


}

.logoimg {
    width: 170px;
    height: 100px
}

@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none !important;
        /* Hide desktop nav */
    }

    .mobile-container {
        display: block !important;
        /* Show mobile nav */
    }
}

/* ===== Mobile Nav ===== */
/* ===== Mobile Nav ===== */
.mobile-container {
    display: none;
}

.topnav {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.topnav a {
    color: rgb(0, 0, 0);
    padding: 14px 16px;
    text-decoration: none;
    display: block;
}

.topnav a.icon {
    background: #ffffff;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.topnav #myLinks {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 998;
    padding: 10px;
}

.topnav a:hover {
    background-color: #174572;
    border-radius: 5px;
    color: white;
}

#myLinks a.active {
    color: #ffffff;
    /* highlight color */
    font-weight: bold;
    background: #174572;
    border-radius: 5px;

}

/* founder */

.founder-section {
    background: linear-gradient(135deg, #174572, #246bb2);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-block: 10px;
    border-radius: 25px;

}

.founder-section::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
}



.founder-section h3 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 800;


}

.founder-section h3 span {
    color: #ffffff;
}

.founder-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 15px 0 10px;
    color: #ffffff;
}

.founder-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.founder-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    margin: 20px auto;
    border-radius: 2px;
    animation: fadeSlide 2s ease-in-out infinite alternate;
}