/* =========================================================
   Har Prabh Aasra Sewa Samiti — MERGED STYLESHEET
   Replaces style.css + newstyle.css. Link ONLY this file.
   ========================================================= */

/* ---------- Reset ---------- */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    overflow-x:hidden;
    min-height:100vh;
}

.website-wrapper{
    border:3px solid #f5a623;
    min-height:100vh;
}

/* =========================================================
   Brand variables
   Palette:  --cream #FBF6EC  --ink #2B1B12  --saffron #C1652F
             --maroon #7A2E1D  --sand #EDE2CC  --muted #6B5847
   Type:     Fraunces (wordmark) / Work Sans (nav + UI)
   ========================================================= */
:root{
    --cream:   #FBF6EC;
    --ink:     #2B1B12;
    --saffron: #C1652F;
    --maroon:  #7A2E1D;
    --sand:    #EDE2CC;
    --muted:   #6B5847;
    --header-h: 84px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header, .site-header *{
    box-sizing: border-box;
}

.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    font-family: "Work Sans", "Segoe UI", sans-serif;
}

/* thin marigold gradient thread under the header */
.site-header::after{
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--saffron) 20%, var(--maroon) 50%, var(--saffron) 80%, transparent);
    opacity: .55;
}

.header-inner{
    max-width: 1200px;
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ---------- Logo ---------- */
.logo-area{
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-area img{
    height: 80px !important;
    width: 80px !important;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--sand);
    padding: 3px;
    background: #fff;
}

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

.logo-text h2{
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.28rem;
    letter-spacing: .01em;
    color: var(--ink);
}

.logo-text span{
    font-size: .74rem;
    color: var(--muted);
    letter-spacing: .02em;
}

/* ---------- Desktop nav ---------- */
.navbar{
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar a{
    position: relative;
    padding: 8px 14px;
    color: var(--ink);
    text-decoration: none;
    font-size: .96rem;
    font-weight: 500;
    border-radius: 6px;
    transition: color .2s ease;
}

.navbar a::after{
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--saffron);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.navbar a:hover,
.navbar a:focus-visible{
    color: var(--maroon);
}

.navbar a:hover::after,
.navbar a:focus-visible::after{
    transform: scaleX(1);
}

.navbar a.active{
    color: var(--maroon);
    font-weight: 600;
}

.navbar a.active::after{
    transform: scaleX(1);
}

/* ---------- Right-hand controls ---------- */
.header-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.admin-btn button{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1.5px solid var(--saffron);
    background: transparent;
    color: var(--maroon);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 24px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.admin-btn button:hover,
.admin-btn button:focus-visible{
    background: var(--saffron);
    color: #fff;
}

.toggle-btn{
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--sand);
    color: var(--ink);
    border-radius: 10px;
    font-size: 1.15rem;
    cursor: pointer;
}

.toggle-btn:hover{
    background: var(--saffron);
    color: #fff;
}

/* ---------- Mobile menu panel ---------- */
.mobile-menu{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--cream);
    border-left: 1px solid var(--sand);
    box-shadow: -8px 0 24px rgba(43, 27, 18, .12);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 90px 28px 28px;
    transform: translateX(100%);
    transition: transform .32s ease;
    z-index: 1100;
}

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

.mobile-menu a{
    padding: 14px 4px;
    border-bottom: 1px solid var(--sand);
    color: var(--ink);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
}

.mobile-menu a:last-child{
    border-bottom: none;
    margin-top: 10px;
    color: var(--maroon);
    font-weight: 600;
}

.menu-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(43, 27, 18, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1050;
}

.menu-backdrop.open{
    opacity: 1;
    pointer-events: auto;
}

.mobile-close{
    position: absolute;
    top: 26px;
    right: 24px;
    width: 38px;
    height: 38px;
    border: none;
    background: var(--sand);
    border-radius: 8px;
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
}

/* ---------- Header responsive breakpoints ---------- */
@media (max-width: 900px){
    .navbar{ display: none; }
    .admin-btn{ display: none; }
    .toggle-btn{ display: inline-flex; }
}

@media (max-width: 480px){
    :root{ --header-h: 72px; }
    .logo-text h2{ font-size: 1.05rem; }
    .logo-text span{ font-size: .66rem; }
    .logo-area img{ height: 42px; width: 42px; }
    .header-inner{ padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce){
    .navbar a::after,
    .mobile-menu,
    .menu-backdrop,
    .admin-btn button,
    .toggle-btn{
        transition: none;
    }
}

.site-header a:focus-visible,
.site-header button:focus-visible{
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}

.py-32{
    padding-top: 14rem !important;
    padding-bottom: 8rem;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about-section{
    padding: 80px 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--cream);
}

/* ---------- tag badge ---------- */
.section-tag{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: var(--sand);
    color: var(--maroon);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 18px;
}

.section-tag i{
    color: var(--saffron);
}

/* ---------- heading ---------- */
.about-content h2{
    font-family: "Fraunces", Georgia, serif;
    font-size: 34px;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 20px;
}

.heading-accent{
    color: var(--saffron);
}

/* ---------- paragraphs ---------- */
.about-content p{
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 16px;
}

/* ---------- CTA ---------- */
.about-cta-row{
    margin-top: 12px;
}

.more-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: var(--saffron);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 24px;
    transition: all .25s ease;
}

.more-btn i{
    transition: transform .25s ease;
}

.more-btn:hover{
    background: var(--maroon);
    transform: translateY(-2px);
}

.more-btn:hover i{
    transform: translateX(4px);
}

/* ---------- image side ---------- */
.about-image{
    position: relative;
}

.image-frame{
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(43, 27, 18, .18);
}

.image-frame::after{
    content: "";
    position: absolute;
    inset: 0;
    border: 6px solid var(--cream);
    border-radius: 14px;
    pointer-events: none;
}

.about-image img{
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
}

/* decorative offset border behind the image */
.about-image::before{
    content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--saffron);
    border-radius: 14px;
    z-index: -1;
}

/* floating badge */
.about-badge{
    position: absolute;
    bottom: -24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(43, 27, 18, .18);
}

.about-badge i{
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--saffron);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
}

.about-badge h4{
    font-family: "Fraunces", Georgia, serif;
    font-size: 17px;
    color: var(--ink);
    margin: 0;
}

.about-badge span{
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- TABLET ---------- */
@media (max-width: 991px){
    .about-section{
        gap: 40px;
        padding: 60px 6%;
    }
    .about-content h2{
        font-size: 28px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px){

    .about-section{
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 6%;
    }

    .about-content{
        order: 1;
    }

    .about-image{
        order: 2;
        margin-top: 10px;
    }

    .about-image::before{
        top: -12px;
        left: -12px;
    }

    .about-content h2{
        font-size: 24px;
    }

    .about-content p{
        font-size: 14.5px;
    }

    .about-badge{
        right: 16px;
        bottom: -20px;
        padding: 12px 16px;
        gap: 10px;
    }

    .about-badge i{
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .about-badge h4{
        font-size: 15px;
    }
}

/* =========================================================
   GALLERY — carousel + lightbox
   ========================================================= */

.gallery-section{
    padding: 80px 6%;
    background: var(--cream);
}

.section-heading{
    text-align: center;
    max-width: 600px;
    margin: 0 auto 44px;
}

.section-heading .section-tag{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: var(--sand);
    color: var(--maroon);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-heading .section-tag i{
    color: var(--saffron);
}

.section-heading h2{
    font-family: "Fraunces", Georgia, serif;
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 10px;
}

.section-subtext{
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- carousel wrapper ---------- */
.gallery-swiper-wrapper{
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gallerySwiper{
    overflow: hidden;
    padding: 10px 4px 44px;
}

.gallerySwiper .swiper-slide{
    height: auto;
}

/* ---------- gallery item ---------- */
.gallery-item{
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(43, 27, 18, .12);
}

.gallery-item img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

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

.gallery-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(43,27,18,.75) 0%, rgba(43,27,18,.15) 55%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}

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

.gallery-overlay i{
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--saffron);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transform: scale(.7);
    transition: transform .35s ease;
}

.gallery-item:hover .gallery-overlay i{
    transform: scale(1);
}

/* ---------- nav arrows ---------- */
.gallery-nav-prev,
.gallery-nav-next{
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--maroon);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(43, 27, 18, .18);
    cursor: pointer;
    z-index: 5;
    transition: all .25s ease;
}

.gallery-nav-prev{ left: -22px; }
.gallery-nav-next{ right: -22px; }

.gallery-nav-prev:hover,
.gallery-nav-next:hover{
    background: var(--saffron);
    color: #fff;
}

/* ---------- pagination dots ---------- */
.gallery-pagination{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.gallery-pagination .swiper-pagination-bullet{
    background: var(--sand);
    opacity: 1;
    width: 9px;
    height: 9px;
}

.gallery-pagination .swiper-pagination-bullet-active{
    background: var(--saffron);
    width: 22px;
    border-radius: 5px;
}

/* ---------- LIGHTBOX ---------- */
.lightbox-modal{
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 8, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox-modal.active{
    display: flex;
}

.lightbox-image{
    max-width: 90vw;
    max-height: 86vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    animation: lightboxFade .25s ease;
}

@keyframes lightboxFade{
    from{ opacity: 0; transform: scale(.94); }
    to{ opacity: 1; transform: scale(1); }
}

.lightbox-close{
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .25s ease;
}

.lightbox-close:hover{
    background: var(--saffron);
}

.lightbox-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .25s ease;
}

.lightbox-prev{ left: 24px; }
.lightbox-next{ right: 24px; }

.lightbox-arrow:hover{
    background: var(--saffron);
}

/* ---------- Gallery TABLET / MOBILE ---------- */
@media (max-width: 991px){
    .gallery-nav-prev{ left: 4px; }
    .gallery-nav-next{ right: 4px; }
}

@media (max-width: 768px){

    .gallery-section{
        padding: 60px 6%;
    }

    .section-heading h2{
        font-size: 26px;
    }

    .gallery-item img{
        height: 200px;
    }

    .gallery-nav-prev,
    .gallery-nav-next{
        width: 38px;
        height: 38px;
        top: 38%;
    }

    .lightbox-arrow{
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .lightbox-close{
        top: 16px;
        right: 16px;
    }
}

/* =========================================================
   TESTIMONIALS
   (not used on the current homepage markup, kept in case
   another page renders .testimonial-card)
   ========================================================= */

.testimonial-section{
    padding:20px 6%;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.testimonial-card{
    border:1px solid #f5a623;
    padding:20px;
    background:#fff;
}

.review-top{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
}

.review-top img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

.review-top h4{
    margin-bottom:5px;
}

.stars{
    color:#f5a623;
    font-size:18px;
}

.testimonial-card p{
    line-height:1.7;
    color:#555;
}

@media(max-width:768px){
    .testimonial-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }
    .testimonial-card{
        padding:15px;
    }
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
    width:100%;
}

.service-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.service-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.service-content{
    padding:20px;
}

.service-content h3{
    font-size:22px;
    margin-bottom:10px;
}

.service-content p{
    font-size:15px;
    line-height:1.7;
    color:#666;
    margin-bottom:15px;
}

.read-more{
    display:inline-block;
    padding:10px 18px;
    background:#f5a623;
    color:#fff;
    text-decoration:none;
    border-radius:4px;
}

@media (max-width:768px){
    .services-grid{
        grid-template-columns:1fr;
        gap:20px;
    }
    .service-card img{
        height:220px;
    }
    .service-content{
        padding:15px;
    }
    .service-content h3{
        font-size:18px;
    }
}

/* =========================================================
   FOOTER — grid auto-fit, fluid sizing, no forced breakpoints
   ========================================================= */

.footer{
    position: relative;
    background: linear-gradient(180deg, var(--ink) 0%, #1f130c 100%);
    color: #f1e9dd;
    margin-top: clamp(60px, 10vw, 100px);
    overflow: hidden;
}

/* thin marigold thread across the top, echoes the header */
.footer::before{
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--saffron) 20%, var(--maroon) 50%, var(--saffron) 80%, transparent);
    opacity: .6;
}

.footer-container{
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 5vw, 50px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(28px, 5vw, 56px);
}

.footer-logo{
    width: 84px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    display: block;
}

.footer-box h3{
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    margin-bottom: 18px;
    color: #fff;
    position: relative;
}

.footer-box h3::after{
    content: "";
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: var(--saffron);
    display: block;
    margin-top: 10px;
}

.footer-box p{
    color: #d9cdbe;
    line-height: 1.85;
    font-size: 14.5px;
    margin-bottom: 20px;
    max-width: 32ch;
}

.footer-box ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-box ul li{
    color: #d9cdbe;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    font-size: 14.5px;
}

.footer-box ul li i{
    color: var(--saffron);
    width: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-box ul li a{
    color: #d9cdbe;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
    display: inline-block;
}

.footer-box ul li a:hover,
.footer-box ul li a:focus-visible{
    color: var(--saffron);
    transform: translateX(3px);
}

/* ---------- social icons ---------- */
.social-links{
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.social-links a{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.social-links a:hover,
.social-links a:focus-visible{
    background: var(--saffron);
    transform: translateY(-3px);
    outline: none;
}

/* ---------- bottom bar ---------- */
.footer-bottom{
    position: relative;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p{
    margin: 0;
    color: #c9bcac;
    font-size: 13.5px;
}

.footer-bottom strong{
    color: var(--saffron);
}

/* back-to-top */
.footer-top-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.footer-top-link:hover,
.footer-top-link:focus-visible{
    background: var(--saffron);
    transform: translateY(-3px);
    outline: none;
}

/* ---------- tablet ---------- */
@media (max-width: 991px){
    .footer-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- mobile ---------- */
@media (max-width: 640px){
    .footer-container{
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .footer-box ul li{
        justify-content: center;
    }

    .footer-box p{
        max-width: none;
    }

    .social-links{
        justify-content: center;
    }

    .footer-bottom{
        flex-direction: column;
        text-align: center;
        padding: 24px 0;
    }
}

/* =========================================================
   ADMIN LOGIN MODAL
   ========================================================= */

.admin-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.admin-modal.active{
    display:flex;
}

.login-box{
    width:95%;
    max-width:420px;
    background:#2b2b2b;
    padding:35px;
    border-radius:10px;
    position:relative;
}

.close-login{
    position:absolute;
    right:18px;
    top:12px;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}

.login-logo{
    width:80px;
    display:block;
    margin:0 auto 15px;
}

.login-box h2{
    text-align:center;
    color:#fff;
    margin-bottom:25px;
}

.login-box input{
    width:100%;
    height:48px;
    margin-bottom:18px;
    border:none;
    border-radius:6px;
    padding:0 15px;
}

.password-box{
    position:relative;
}

.password-box i{
    position:absolute;
    right:15px;
    top:16px;
    cursor:pointer;
}

.remember{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:20px 0;
}

.remember label{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:15px;
    color:#fff;
    cursor:pointer;
}

.remember input[type="checkbox"]{
    width:18px !important;
    height:18px !important;
    margin:0;
    accent-color:#f5a623;
    cursor:pointer;
    flex-shrink:0;
}

.login-btn{
    width:100%;
    height:48px;
    background:#f5a623;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-size:16px;
}

/* =========================================================
   DONORS
   ========================================================= */

.more-btn-donor{
    width:45px !important;
    border-radius:40px !important;
    font-size:20px !important;
    padding:0 20px;
    gap:8px;
}

.donor-slider-wrapper{
    gap:12px;
}

.section-title1 {
    font-size: 25px;
    font-weight: 700;
    color: #111827;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    margin-left: 70px;
}

@media (max-width:992px){
    .section-title{
        font-size:38px;
    }
    .section-title::after{
        width:70px;
    }
}

@media (max-width:768px){
    .section-title{
        font-size:30px;
        margin-bottom:25px;
    }
    .section-title::after{
        width:60px;
        height:3px;
    }
}

/* =========================================================
   SERVICES SECTION — homepage, 3-column icon showcase
   ========================================================= */

.our-services{
    padding: 80px 6%;
    background: var(--sand);
}

.services-grid-3col{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-tile{
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px 30px;
    box-shadow: 0 10px 30px rgba(43, 27, 18, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}

/* top accent bar, reveals on hover */
.service-tile::before{
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--maroon));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-tile:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 27, 18, .16);
}

.service-tile:hover::before{
    transform: scaleX(1);
}

.service-tile-icon{
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--saffron), var(--maroon));
    color: #fff;
    font-size: 26px;
    margin-bottom: 22px;
    transition: transform .3s ease;
}

.service-tile:hover .service-tile-icon{
    transform: rotate(-6deg) scale(1.05);
}

.service-tile h3{
    font-family: "Fraunces", Georgia, serif;
    font-size: 21px;
    color: var(--ink);
    margin-bottom: 12px;
}

.service-tile p{
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-tile-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--maroon);
    text-decoration: none;
    transition: gap .25s ease, color .25s ease;
}

.service-tile-link i{
    font-size: 12px;
    transition: transform .25s ease;
}

.service-tile-link:hover{
    color: var(--saffron);
    gap: 12px;
}

.service-tile-link:hover i{
    transform: translateX(3px);
}

/* ---------- TABLET ---------- */
@media (max-width: 991px){
    .services-grid-3col{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px){
    .our-services{
        padding: 56px 6%;
    }
    .services-grid-3col{
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .service-tile{
        padding: 30px 24px 26px;
    }
}

/* =========================================================
   HERO SLIDER — rebuilt block (2026-09-14)
   Replaces every earlier slider/overlay/CTA rule in this file.

   Why the section needs an explicit height + position:
   the hero markup relies on Tailwind utility classes
   (.relative, .h-[300px], sm:h-[450px], md:h-[650px],
   2xl:h-[970px], object-cover) that are NOT present in the
   pre-compiled slider/assets/css/style.min.css bundle this
   template ships with. Without a positioned, sized ancestor,
   the absolutely-positioned slide image has nothing to anchor
   to, the section collapses to the height of its in-flow text,
   and the image bleeds down into whatever section follows
   (this was the "About Us" section turning blue on mobile).
   Everything below is self-contained and does not depend on
   any Tailwind class actually being present.
   ========================================================= */

/* the hero <section class="relative 2xl:h-screen overflow-hidden"> */
section.relative.overflow-hidden {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* image + swiper itself */
#slider_5,
.swiper-slide,
.swiper-slide img{
    height: 450px;
}

.swiper-slide img{
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center 30%;
}

/* grey wash on slider images so overlay text stays legible */
.slide-overlay{
    background: linear-gradient(
        to right,
        rgba(60, 60, 60, 0.75) 30%,
        rgba(60, 60, 60, 0.55) 50%,
        rgba(60, 60, 60, 0.35) 100%
    );
}

/* text + CTA block, centered vertically over the slide */
.slider-overlay-content {
    position: static;   /* was absolute */
    width: 700px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    text-align: center;
}

.slider-heading{
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(20px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slider-subtext{
    font-size: clamp(13px, 1.6vw, 18px);
    color: #f5ede0;
    margin-bottom: 24px;
    max-width: 550px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.slider-cta-group{
    display: block;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 24px;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.cta-primary{
    background: var(--saffron);
    color: #fff;
}

.cta-primary:hover{
    background: var(--maroon);
    transform: translateY(-2px);
}

.cta-secondary{
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
}

.cta-secondary:hover{
    background: #fff;
    color: var(--maroon);
    transform: translateY(-2px);
}
.swiper-slide img{
    object-position: center 30%;   /* try 40–50% to show more of the lower half */
}

/* ---------- TABLET / larger slide heights ---------- */
@media (min-width: 768px){
    section.relative.overflow-hidden,
    #slider_5,
    .swiper-slide,
    .swiper-slide img{
        height: 650px;
    }
}

@media (min-width: 1536px){
    section.relative.overflow-hidden,
    #slider_5,
    .swiper-slide,
    .swiper-slide img{
        height: 970px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px){

    section.relative.overflow-hidden,
    #slider_5,
    .swiper-slide,
    .swiper-slide img{
        height: 480px !important;
    }

    .slider-overlay-content{
    margin: 0 auto;
    text-align: center;   /* was left */
}

.slider-cta-group{
    justify-content: center;   /* added */
}

    .slider-heading{
        font-size: 18px;
        margin-bottom: 8px;
    }

    .slider-subtext{
        display: none; /* not enough vertical room at mobile slide height */
    }

    .slider-cta-group{
        gap: 8px;
        padding-left: 46px;   /* clears the prev arrow */
        padding-right: 46px;  /* clears the next arrow */
    }

    .cta-btn{
        padding: 9px 16px;
        font-size: 12.5px;
        border-radius: 20px;
    }

    .cta-secondary{
        border-width: 1.5px;
    }

    /* pin the Swiper prev/next arrows to the bottom corners instead of
       Swiper's default vertical-center, so they never sit under the
       heading/CTA text */
    .swiper-button-next,
    .swiper-button-prev{
        top: auto !important;
        bottom: 14px !important;
        z-index: 20 !important;
        width: 34px !important;
        height: 34px !important;
        margin-top: 0 !important;
    }

    .swiper-button-prev{ left: 12px !important; }
    .swiper-button-next{ right: 12px !important; }
}

@media (max-width: 380px){
    section.relative.overflow-hidden,
    #slider_5,
    .swiper-slide,
    .swiper-slide img{
        height: 420px !important;
    }

    .slider-cta-group{
        gap: 6px;
    }

    .cta-btn{
        padding: 8px 12px;
        font-size: 11.5px;
    }
}