/* ==========================================================================
   Vishwa Bandhu Seva Sansthan — Redesign Stylesheet
   Design tokens: warm ivory ground, deep maroon + saffron accents,
   Rozha One (display) + Hind (body) type pairing.
   ========================================================================== */

:root {
  /* Color tokens */
  --ivory: #FBF8F2;
  --ivory-deep: #F3ECDF;
  --maroon: #7A1F2B;
  --maroon-dark: #591620;
  --saffron: #D98C3D;
  --saffron-dark: #B96F26;
  --gold: #B98A2E;
  --charcoal: #2B2420;
  --charcoal-soft: #5C544C;
  --white: #FFFFFF;

  /* Typography */
  --font-display: "Roboto", sans-serif;
  --font-body: "Roboto", sans-serif;
  /* Spacing / shape */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow-soft: 0 10px 30px rgba(43, 36, 32, .08);
  --shadow-card: 0 14px 34px rgba(89, 22, 32, .10);
  --section-pad: clamp(3.5rem, 6vw, 6rem);
}

html,
body{
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .founder__name {
  font-family: var(--font-display);
  color: var(--maroon-dark);
  line-height: 1.25;
  margin-bottom: 0;
}

p { color: var(--charcoal-soft); }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--saffron-dark); }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; stroke: none; vertical-align: -0.15em; }
.icon--lg { width: 2rem; height: 2rem; }

.skip-link {
  position: fixed; top: 0; left: 0; z-index: 2000;
  background: var(--maroon); color: var(--white); padding: .75rem 1.25rem;
}

/* Section rhythm */
.section { padding-block: var(--section-pad); }
.bg-soft { background: var(--ivory-deep); }

.section-heading { max-width: 640px; margin-bottom: 2.5rem; }
.section-heading.light .eyebrow,
.section-heading.light h2 { color: var(--white); }
.section-icon { display: inline-flex; color: var(--saffron); margin-bottom: .75rem; filter: drop-shadow(0 0 10px rgba(217,140,61,.35)); }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; letter-spacing: .04em;
  color: var(--saffron-dark); margin-bottom: .35rem; font-size: .95rem;
}
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.text-center.mx-auto { text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-cta {
  background: var(--saffron); color: var(--white); border: 1px solid var(--saffron);
  border-radius: var(--radius-md); padding: .6rem 1.5rem; font-weight: 600;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  display: inline-block;
}
.btn-cta:hover { background: var(--saffron-dark); border-color: var(--saffron-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-cta--lg { padding: .85rem 2.1rem; font-size: 1.05rem; border-radius: var(--radius-lg); }

.btn-cta-outline {
  background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon);
  border-radius: var(--radius-md); padding: .6rem 1.5rem; font-weight: 600;
  transition: all .2s ease; display: inline-block;
}

.navbar-brand img{
  max-height: 58px;
}
.btn-cta-outline:hover { background: var(--maroon); color: var(--white); transform: translateY(-2px); }


.about-banner{
    background: linear-gradient(135deg,#6b1d1d 0%, #8b2f2f 60%, #b8860b 100%);
    padding:90px 0;
    position:relative;
    overflow:hidden;
}

.about-banner::before{
    content:"ॐ";
    position:absolute;
    top:-20px;
    right:5%;
    font-size:180px;
    color:rgba(255,255,255,.08);
    font-weight:700;
    line-height:1;
}

.about-banner h1{
    color:#fff;
    font-size:3rem;
    font-weight:700;
    margin-bottom:15px;
}

.about-banner p{
    color:#f7f3e8;
    font-size:1.1rem;
    margin:0;
}

.about-banner__sub{
    display:inline-block;
    background:#d4af37;
    color:#5b1717;
    padding:8px 20px;
    border-radius:30px;
    font-weight:600;
    margin-bottom:18px;
}

@media(max-width:768px){
    .about-banner{
        padding:60px 0;
    }

    .about-banner h1{
        font-size:2rem;
    }

    .about-banner p{
        font-size:1rem;
    }
}

.terms-section{
    padding:80px 0;
    background:#f8f8f8;
}

.terms-card{
    background:#fff;
    padding:40px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.terms-date{
    display:inline-block;
    background:#f3e6bf;
    color:#7b1f1f;
    padding:10px 18px;
    border-radius:30px;
    font-weight:600;
    margin-bottom:25px;
}

.terms-item{
    margin-top:35px;
}

.terms-item h3{
    color:#7b1f1f;
    font-size:1.35rem;
    margin-bottom:15px;
    font-weight:700;
}

.terms-item p,
.terms-item li{
    color:#555;
    line-height:1.9;
    font-size:16px;
}

.terms-item ul{
    padding-left:20px;
}

@media(max-width:768px){
    .terms-card{
        padding:25px;
    }

    .terms-item h3{
        font-size:1.2rem;
    }
}


.donation-section{
    padding:80px 0;
    background:#fff;
}

.donation-card{
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    padding:28px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.donation-card p{
    font-size:18px;
    line-height:1.7;
    margin-bottom:8px;
}

.donation-card .form-label{
    font-size:22px;
    font-weight:500;
    margin-bottom:10px;
    display:block;
}

.donation-card .form-control{
    height:48px;
    border-radius:6px;
    border:1px solid #ddd;
    box-shadow:none;
}

.donation-card .form-control:focus{
    border-color:#7b1f1b;
    box-shadow:none;
}

.form-check-label{
    font-size:17px;
}

.donate-btn{
    background:#741b16;
    color:#fff;
    border:none;
    height:52px;
    border-radius:4px;
    font-size:20px;
    font-weight:600;
}

.donate-btn:hover{
    background:#5d1410;
    color:#fff;
}

@media(max-width:768px){

    .donation-card{
        padding:20px;
    }

    .donation-card p{
        font-size:16px;
    }

    .donation-card .form-label{
        font-size:18px;
    }

    .form-check-label{
        font-size:15px;
    }

}

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar { background: var(--maroon-dark); color: var(--ivory); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-block: .5rem; gap: 1rem; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar__contact a, .topbar__social a { color: var(--ivory); opacity: .9; }
.topbar__contact a:hover, .topbar__social a:hover { opacity: 1; color: var(--saffron); }
.topbar__contact .icon { margin-right: .35rem; }
.topbar__social { display: flex; gap: .9rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header { background: rgba(251, 248, 242, .96); backdrop-filter: blur(6px); box-shadow: 0 2px 14px rgba(43,36,32,.06); z-index: 1030; }
.navbar { padding-block: .6rem; }
.nav-link { color: var(--charcoal); font-weight: 500; margin-inline: .35rem; position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px;
  background: var(--saffron); transition: width .25s ease;
}
.nav-link:hover::after, .nav-link:focus::after { width: 100%; }
.nav-link:hover { color: var(--maroon); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; }
.hero__carousel img { height: min(100vh, 640px); object-fit: cover; }
.hero__carousel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,20,20,.15) 0%, rgba(43,20,20,.55) 100%);
  pointer-events: none;
}
.hero__overlay { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.hero__card { max-width: 640px; color: var(--white); }
.hero__card .eyebrow { color: var(--saffron); }
.hero__card h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--white); margin-bottom: .75rem; }
.hero__lead { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero__arrow { font-size: 2.5rem; color: var(--white); line-height: 1; }
.carousel-control-prev, .carousel-control-next { width: 6%; opacity: .8; }
.carousel-inner{
    overflow: hidden;
}

.carousel-item{
    transition: transform .6s ease-in-out;
}

.carousel-item img{
    display:block;
    width:100%;
}


.donation-form-box{
    max-width:700px;
    margin:10px auto;
    background:#fff;
    padding:28px;
    border:1px solid #d9d9d9;
    border-radius:8px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.donation-form-box label{
    display:block;
    font-size:22px;
    font-weight:500;
    color:#222;
    margin-bottom:10px;
}

.donation-form-box .form-control{
    width:100%;
    height:48px;
    border:1px solid #d9d9d9;
    border-radius:5px;
    padding:0 15px;
    font-size:18px;
    background:#fff;
    transition:.3s;
}

.donation-form-box .form-control::placeholder{
    color:#777;
}

.donation-form-box .form-control:focus{
    border-color:#7b1e19;
    box-shadow:0 0 0 3px rgba(123,30,25,.15);
    outline:none;
}

.btn-donate{
    height:50px;
    border:none;
    border-radius:4px;
    background:#741b17;
    color:#fff;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

.btn-donate:hover{
    background:#5d1411;
    color:#fff;
}

@media(max-width:768px){

.donation-form-box{
    margin:40px 15px;
    padding:20px;
}

.donation-form-box label{
    font-size:18px;
}

.donation-form-box .form-control{
    height:46px;
    font-size:16px;
}

.btn-donate{
    height:48px;
    font-size:16px;
}

}
/* River divider (signature motif) */
.river-divider { line-height: 0; color: var(--ivory-deep); margin-top: -1px; }
.river-divider svg { width: 100%; height: 46px; display: block; }
.river-divider path { fill: var(--ivory); }

/* ==========================================================================
   About
   ========================================================================== */
.about__media img {
 border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
   object-fit: cover; max-width: 100% !important;
}

/* ==========================================================================
   Initiative cards
   ========================================================================== */
.card-init {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); height: 100%; transition: transform .25s ease, box-shadow .25s ease;
}
.card-init:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card-init__media img { width: 100%; height: 210px; object-fit: cover; }
.card-init__body { padding: 1.5rem; }
.card-init__body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card-init__body p { font-size: .95rem; margin-bottom: 0; }

/* Founder feature */
.founder {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.founder__media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); object-fit: cover; }
.founder__name { font-size: 1.2rem; margin-top: 1rem; }

/* ==========================================================================
   Testimonials / stats
   ========================================================================== */
.stats { text-align: center; }
.stat { padding: 1.25rem .5rem; }
.stat__num, .stat__suffix { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--maroon); }
.stat__label { color: var(--charcoal-soft); font-size: .95rem; margin-top: .35rem; margin-bottom: 0; }

.testimonial-carousel img {  display:block !important;  width: 100%; height: min(58vh, 460px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

.testimonial-gallery img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:12px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery__item { display: block; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.gallery__item img { width: 100%; height: auto; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery-modal__content { background: transparent; border: none; }
.gallery-modal__close { position: absolute; top: -2.5rem; right: 0; z-index: 5; }

/* ==========================================================================
   Get Involved
   ========================================================================== */
.get-involved { background: linear-gradient(160deg, var(--maroon-dark), var(--maroon)); color: var(--white); }
.get-involved__text { max-width: 720px; color: rgba(255,255,255,.9); }
.get-involved__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.get-involved .btn-cta-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.get-involved .btn-cta-outline:hover { background: var(--white); color: var(--maroon-dark); }

.pay-card { background: var(--white); padding: 1rem; border-radius: var(--radius-lg); display: inline-block; box-shadow: var(--shadow-card); }
.pay-card img { width: 100%; max-width: 220px; height: auto; border-radius: var(--radius-sm); }

.app-cta { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); }
.app-cta h3 { color: var(--white); font-size: 1.35rem; }
.app-cta p { color: rgba(255,255,255,.85); margin-bottom: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); height: 100%; min-height: 340px; }
.contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--white);
  border-radius: var(--radius-md); padding: 1.25rem; box-shadow: var(--shadow-soft);
}
.contact-card .icon { color: var(--saffron); flex-shrink: 0; margin-top: .2rem; width: 1.5rem; height: 1.5rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.contact-card p { margin-bottom: 0; font-size: .95rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal); color: rgba(251,248,242,.75); padding-block: 3.5rem 1.5rem; }
.site-footer h3 { color: var(--ivory); font-size: 1.05rem; margin-bottom: 1rem; }
.footer__hours { font-size: .9rem; color: rgba(251,248,242,.65); }
.footer__social { display: flex; gap: .9rem; margin-top: 1rem; }
.footer__social a { color: rgba(251,248,242,.8); }
.footer__social a:hover { color: var(--saffron); }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .55rem; }
.footer__links a { color: rgba(251,248,242,.75); }
.footer__links a:hover { color: var(--saffron); }
.site-footer p { color: rgba(251,248,242,.75); font-size: .92rem; margin-bottom: .4rem; }
.footer__org { color: var(--ivory); font-weight: 600; }
.footer__top { border-bottom: 1px solid rgba(251,248,242,.12); padding-bottom: 2rem; margin-bottom: 1.5rem; }
.footer__bottom { text-align: center; font-size: .85rem; color: rgba(251,248,242,.55); }
.footer__bottom a { color: var(--saffron); }

.anchor-a a{
    color: var(--ivory) !important;
    font-weight: 600;
    text-decoration: none;
}

.anchor-a a:hover{
    color: var(--gold);
}
/* ==========================================================================
   Floating buttons
   ========================================================================== */
.float-btn {
  position: fixed; right: 1.25rem; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card);
  z-index: 1040; border: none; transition: transform .2s ease;
}
.logo-heading{
  font-size: 24px !important;
}
#pay{
    scroll-margin-top: 100px;
}

.float-btn:hover { transform: translateY(-3px); }
.float-btn--whatsapp { bottom: 1.25rem; background: #25D366; color: var(--white); }
.float-btn--whatsapp .icon { width: 1.6rem; height: 1.6rem; }
.float-btn--top {
  bottom: 5.5rem; background: var(--maroon); color: var(--white);
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-btn--top .icon { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Focus visibility (accessibility)
   ========================================================================== */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--saffron); outline-offset: 2px;
}

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */
@media (max-width: 991.98px) {
  .navbar-nav { padding-block: 1rem; gap: .25rem; }
  .nav-item.ms-lg-3 { margin-top: .5rem; }
}

@media (max-width: 575.98px) {
  .hero__carousel img { height: 62vh; }
  .float-btn { width: 46px; height: 46px; right: 1rem; }
  .float-btn--top { bottom: 4.75rem; }
}

@media (max-width: 767.98px) {
    .topbar {
        display: none !important;
    }
}

@media (min-width: 992px){
    .hero__carousel img{
        height: 640px;
        object-fit: cover;
    }
}

@media (max-width: 991.98px){
    .hero__carousel img{
        height: auto;
        object-fit: contain;
    }

    .carousel-control-prev,
    .carousel-control-next{
        width: 12%;
    }
}