/* ===== Shirodkar Hospital Trust – styles. All custom classes use the sht- prefix. ===== */
:root{
  --sht-primary:#1171b7; --sht-secondary:#2A7F9E; --sht-accent:#5DB7B0;
  --sht-light:#F4FAFC; --sht-soft:#EAF5F7; --sht-text:#243746; --sht-muted:#667781; --sht-white:#FFFFFF;
  --sht-warm:#E9B872; --sht-shadow:0 10px 30px rgba(18,59,93,.10);
  --sht-font-head:'Mulish',Georgia,serif; --sht-font-body:'Mulish',system-ui,sans-serif;
}
html{scroll-behavior:smooth}
.sht-body{font-family:var(--sht-font-body);color:var(--sht-text);background:var(--sht-white);line-height:1.7}
.sht-body h1,.sht-body h2,.sht-body h3{font-family:var(--sht-font-head);color:#107f7a;line-height:1.2;font-weight:700;}
.sht-body :focus-visible{outline:3px solid var(--sht-accent);outline-offset:2px}
section[id]{scroll-margin-top:80px}

/* Buttons */
.sht-btn{padding:.8rem 1.7rem;border-radius:50px;font-weight:700;transition:transform .25s,box-shadow .25s,background .25s}
.sht-btn:hover{transform:translateY(-3px);box-shadow:var(--sht-shadow)}
.sht-btn-primary{background:var(--sht-primary);color:var(--sht-white);border:2px solid var(--sht-primary)}
.sht-btn-primary:hover{background:var(--sht-secondary);border-color:var(--sht-secondary);color:var(--sht-white)}
.sht-btn-outline{background:transparent;color:var(--sht-primary);border:2px solid var(--sht-primary)}
.sht-btn-outline:hover{background:var(--sht-primary);color:var(--sht-white)}

/* Navbar */
.sht-navbar{background:var(--sht-white);padding:.7rem 0;transition:box-shadow .3s}
.sht-navbar.sht-scrolled{box-shadow:0 4px 20px rgba(18,59,93,.12)}
.sht-brand{display:flex;align-items:center;gap:.6rem;font-family:var(--sht-font-head);font-weight:700;color:var(--sht-primary);font-size:1.05rem;letter-spacing:.02em}
.sht-brand:hover{color:var(--sht-primary)}
.sht-brand-logo{border-radius:10px}
.sht-toggler{border:0;color:var(--sht-primary);font-size:1.4rem}
.sht-toggler:focus{box-shadow:none}
.sht-nav-link{color:var(--sht-text);font-weight:600;font-size:.95rem;position:relative}
.sht-nav-link::after{content:"";position:absolute;left:1rem;right:1rem;bottom:2px;height:2px;background:var(--sht-accent);transform:scaleX(0);transition:transform .25s}
.sht-nav-link:hover,.sht-nav-link.active{color:var(--sht-secondary)}
.sht-nav-link:hover::after,.sht-nav-link.active::after{transform:scaleX(1)}

/* Shared section pieces */
.sht-section{padding:6rem 0}
.sht-soft{background:var(--sht-soft)}
.sht-eyebrow{color:#f53237;font-weight:700;letter-spacing:.14em;font-size:.8rem;margin-bottom:.8rem}
.sht-heading{font-size:clamp(1.8rem,3.4vw,2.7rem);margin-bottom:1.2rem}
.sht-head-center{text-align:center;max-width:680px;margin:0 auto 3rem}
.sht-sub{color:var(--sht-muted);font-size:1.1rem}
.sht-img-rounded{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:28px;box-shadow:var(--sht-shadow)}
.sht-placeholder{color:var(--sht-muted);font-style:italic}

/* Hero */
.sht-hero{padding:5rem 0 6rem;background:linear-gradient(135deg,var(--sht-light) 0%,var(--sht-soft) 100%);position:relative;overflow:hidden}
.sht-hero-title{font-size:clamp(2.2rem,5vw,3.8rem);margin-bottom:1.2rem}
.sht-lead{font-size:1.15rem;color:var(--sht-muted);max-width:540px;margin-bottom:2rem}
.sht-hero-visual{position:relative;padding:1.5rem}
.sht-hero-img{position:relative;z-index:1;width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:36px 36px 120px 36px;box-shadow:var(--sht-shadow)}
.sht-shape{position:absolute;border-radius:50%;z-index:0}
.sht-shape-1{width:180px;height:180px;background:var(--sht-accent);opacity:.35;top:0;right:0}
.sht-shape-2{width:110px;height:110px;border:14px solid var(--sht-warm);opacity:.5;bottom:0;left:0}
.sht-float-card{position:absolute;z-index:2;left:20rem;bottom:2.5rem;background:var(--sht-white);border-radius:18px;padding:1rem 1.3rem;display:flex;gap:.9rem;align-items:center;box-shadow:var(--sht-shadow)}
.sht-float-card i{font-size:1.6rem;color:var(--sht-secondary)}
.sht-float-card strong{display:block;color:var(--sht-primary)}
.sht-float-card small{color:var(--sht-muted)}

/* About mini cards */
.sht-mini-card{background:var(--sht-light);border-radius:18px;padding:1.2rem;text-align:center;height:100%;transition:transform .3s}
.sht-mini-card:hover{transform:translateY(-5px)}
.sht-mini-card i{font-size:1.6rem;color:var(--sht-secondary);margin-bottom:.5rem}
.sht-mini-card h3{font-size:1rem;margin:0;font-family:var(--sht-font-body);font-weight:700}

/* Generic cards (commitment + healthcare) */
.sht-card{background:var(--sht-white);border-radius:22px;padding:2rem 1.6rem;height:100%;box-shadow:var(--sht-shadow);transition:transform .3s,box-shadow .3s}
.sht-card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(18,59,93,.16)}
.sht-card i{font-size:1.5rem;color:var(--sht-white);background:var(--sht-secondary);width:56px;height:56px;border-radius:16px;display:grid;place-items:center;margin-bottom:1.1rem}
.sht-card h3{font-size:1.2rem}
.sht-card p{color:var(--sht-muted);margin:0}

/* Trustees */
.sht-trustee-card{position:relative;background:var(--sht-white);border-radius:26px;padding:2.2rem 1.5rem 2rem;text-align:center;box-shadow:var(--sht-shadow);border-top:5px solid #1171b7;transition:transform .3s}
.sht-trustee-card:hover{transform:translateY(-8px)}
.sht-trustee-photo{width:150px;height:150px;margin:0 auto 1.3rem;border-radius:50%;overflow:hidden;border:5px solid var(--sht-soft)}
.sht-trustee-photo img{width:100%;height:100%;object-fit:cover}
.sht-trustee-icon{position:absolute;top:1.1rem;right:1.2rem;color:var(--sht-accent);font-size:1.3rem}
.sht-trustee-card h3{font-size:1.3rem;margin-bottom:.2rem}
.sht-trustee-card p{margin:0;color:#f5325d;font-weight:700}

/* Why */
.sht-checklist li{font-size:1.1rem;padding:.55rem 0;display:flex;gap:.8rem;align-items:center}
.sht-checklist i{color:var(--sht-accent);font-size:1.3rem}

/* Certification */
.sht-cert-details{background:var(--sht-white);border-radius:24px;padding:2.2rem;box-shadow:var(--sht-shadow);height:100%}
.sht-cert-list{margin-bottom:1.8rem}
.sht-cert-list div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.3rem 1rem;padding:.85rem 0;border-bottom:1px solid var(--sht-soft)}
.sht-cert-list dt{color:var(--sht-muted);font-weight:600}
.sht-cert-list dd{margin:0;font-weight:700;color:var(--sht-primary)}
.sht-cert-list dd.sht-placeholder{font-weight:400}
.sht-cert-visual{height:100%;min-height:280px;background:linear-gradient(160deg,var(--sht-primary),var(--sht-secondary));color:var(--sht-white);border-radius:24px;padding:2.5rem;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;border:8px solid var(--sht-white);outline:2px solid var(--sht-accent)}
.sht-cert-visual i{font-size:4rem;color:var(--sht-warm);margin-bottom:1rem}
.sht-cert-visual h3{color:var(--sht-white)}
.sht-cert-visual p{opacity:.85;margin:0}

/* Activities image cards */
.sht-image-card{position:relative;margin:0;border-radius:22px;overflow:hidden;aspect-ratio:4/5;box-shadow:var(--sht-shadow)}
.sht-image-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.sht-image-card:hover img{transform:scale(1.08)}
.sht-image-card figcaption{position:absolute;inset:auto 0 0 0;padding:2.5rem 1.3rem 1.2rem;background:linear-gradient(transparent,rgba(18,59,93,.9))}
.sht-image-card h3{color:var(--sht-white);font-size:1.25rem;margin:0}

/* Gallery */
.sht-gallery-item{position:relative;display:block;border-radius:20px;overflow:hidden;aspect-ratio:1/1}
.sht-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.sht-gallery-item span{position:absolute;inset:0;display:grid;place-items:center;background:rgba(18,59,93,.55);color:var(--sht-white);font-size:1.6rem;opacity:0;transition:opacity .3s}
.sht-gallery-item:hover img{transform:scale(1.1)}
.sht-gallery-item:hover span,.sht-gallery-item:focus-visible span{opacity:1}

/* Values */
.sht-value i{font-size:2.2rem;color:var(--sht-secondary);margin-bottom:.8rem}
.sht-value h3{font-size:1.15rem;margin:0}

/* Contact */
.sht-contact-card{display:flex;gap:1.1rem;align-items:center;background:var(--sht-white);border-radius:20px;padding:1.3rem 1.5rem;margin-bottom:1rem;box-shadow:var(--sht-shadow)}
.sht-contact-card>i{font-size:1.3rem;color:var(--sht-white);background:var(--sht-secondary);width:50px;height:50px;border-radius:14px;display:grid;place-items:center;flex-shrink:0}
.sht-contact-card h3{font-size:1.05rem;margin:0}
.sht-contact-card p{margin:0}
.sht-form{background:var(--sht-white);border-radius:24px;padding:2rem;box-shadow:var(--sht-shadow)}
.sht-form .form-control{border-radius:12px;padding:.75rem 1rem;border-color:#d4e3e8}
.sht-form .form-control:focus{border-color:var(--sht-secondary);box-shadow:0 0 0 .2rem rgba(42,127,158,.18)}
.sht-form-note{color:var(--sht-secondary);font-weight:600}

/* Footer */
.sht-footer{background:var(--sht-primary);color:rgba(255,255,255,.8);padding:4rem 0 1.5rem}
.sht-footer-brand{color:var(--sht-white);font-size:1.4rem}
.sht-footer-title{color:var(--sht-white);font-size:1.1rem}
.sht-footer-links li{margin-bottom:.4rem}
.sht-footer-links a,.sht-social a{color:rgba(255,255,255,.8);text-decoration:none;transition:color .25s}
.sht-footer-links a:hover{color:var(--sht-accent)}
.sht-social{display:flex;gap:.7rem}
.sht-social a{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.3);display:grid;place-items:center}
.sht-social a:hover{background:var(--sht-accent);color:var(--sht-primary);border-color:var(--sht-accent)}
.sht-footer-bottom{margin-top:2.5rem;padding-top:1.3rem;border-top:1px solid rgba(255,255,255,.15);display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;font-size:.9rem}

/* Back to top */
.sht-top{position:fixed;right:1.2rem;bottom:1.2rem;width:48px;height:48px;border:0;border-radius:50%;background:var(--sht-secondary);color:var(--sht-white);box-shadow:var(--sht-shadow);opacity:0;visibility:hidden;transition:opacity .3s,transform .3s;z-index:1030}
.sht-top.sht-show{opacity:1;visibility:visible}
.sht-top:hover{transform:translateY(-4px)}

/* Scroll reveal (only active when JS adds .sht-js to <html>) */
.sht-js .sht-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s}
.sht-js .sht-reveal.sht-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sht-js .sht-reveal{opacity:1;transform:none;transition:none}*{transition-duration:.01ms!important}}

/* Tablet */
@media (max-width:1199.98px){
  .sht-section{padding:4.5rem 0}
  .sht-navbar .navbar-collapse{padding:1rem 0}
  .sht-nav-link::after{display:none}
}
/* Mobile */
@media (max-width:767.98px){
  .sht-section{padding:3.5rem 0}
  .sht-hero{padding:3rem 0 4rem}
  .sht-brand{font-size:.85rem}
  .sht-hero-visual{padding:0}
  .sht-shape{display:none}
  .sht-float-card{left:.8rem;bottom:.8rem;padding:.7rem 1rem}
  .sht-hero-img{border-radius:28px 28px 70px 28px}
  .sht-cert-details,.sht-form{padding:1.4rem}
  .sht-footer-bottom{flex-direction:column}
}
