/* Sairam Hospitals - modern responsive layer */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=Figtree:wght@400;600;700&display=swap');

:root{
  --sh-primary:#0b5cab;
  --sh-primary-dark:#083f78;
  --sh-accent:#e63b62;
  --sh-ink:#10233f;
  --sh-muted:#667892;
  --sh-bg:#f6f9fc;
  --sh-card:#ffffff;
  --sh-line:#e7edf4;
  --sh-shadow:0 18px 50px rgba(16,35,63,.10);
  --sh-radius:20px;
}

html{scroll-behavior:smooth;}
body{font-family:'Figtree',sans-serif;color:var(--sh-muted);background:#fff;overflow-x:hidden;}
h1,h2,h3,h4,h5,h6,.navbar-nav,.btn{font-family:'Bricolage Grotesque','Figtree',sans-serif;}
p{line-height:1.8;}
img{max-width:100%;height:auto;}
.container{width:min(1180px,calc(100% - 32px));max-width:1180px;}

/* Header */
.header-top-bar{background:linear-gradient(90deg,var(--sh-primary-dark),var(--sh-primary));padding:9px 0;border:0;}
.header-top-bar .container{max-width:1180px;}
.header-top-bar,.header-top-bar a,.header-top-bar li{color:#fff!important;}
.top-bar-info{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.top-right-bar a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;}
.top-right-bar .h4{font-size:18px!important;}
.navigation{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(16,35,63,.07);padding:12px 0!important;transition:.25s ease;}
.navigation.scrolled{box-shadow:0 10px 30px rgba(16,35,63,.09);}
.navigation .navbar-brand img{width:190px;height:auto;max-height:58px;object-fit:contain;}
.navbar-nav .nav-link{color:var(--sh-ink)!important;font-size:14px;font-weight:700;letter-spacing:.15px;padding:12px 15px!important;border-radius:10px;transition:.2s ease;}
.navbar-nav .nav-link:hover,.navbar-nav .active>.nav-link{color:var(--sh-primary)!important;background:#eef6ff;}
.navbar-toggler{border:1px solid var(--sh-line)!important;border-radius:12px;padding:9px 11px!important;color:var(--sh-primary)!important;background:#fff;}

/* Homepage hero */
.banner{min-height:650px;background-position:center!important;background-size:cover!important;display:flex;align-items:center;}
.banner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 42%,rgba(255,255,255,.18) 78%,rgba(255,255,255,0) 100%);}
.banner .container{position:relative;z-index:1;}
.banner .block{padding:80px 0 100px;max-width:680px;}
.banner .block .divider{width:58px;height:5px;border-radius:99px;margin-bottom:22px!important;}
.banner .block>span{font-size:12px;font-weight:800;color:var(--sh-primary);letter-spacing:2.2px;}
.banner .block h1{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(42px,5vw,72px);line-height:1.04;letter-spacing:-2.2px;color:var(--sh-ink);margin-bottom:22px!important;}
.banner .block p{font-size:18px;color:#52647c;max-width:590px;}
.banner .btn-container{display:flex;gap:12px;flex-wrap:wrap;}

/* Modern buttons */
.btn{border-radius:12px!important;padding:13px 21px!important;font-size:13px!important;letter-spacing:.2px!important;box-shadow:none;}
.btn-round-full{border-radius:12px!important;}
.btn-main,.btn-main-2{box-shadow:0 10px 24px rgba(11,92,171,.16);}
.btn-main{background:var(--sh-primary);border-color:var(--sh-primary);}
.btn-main:hover{background:var(--sh-primary-dark);border-color:var(--sh-primary-dark);transform:translateY(-2px);}
.btn-main-2{background:var(--sh-accent);border-color:var(--sh-accent);}
.btn-main-2:hover{background:#c92b50;border-color:#c92b50;transform:translateY(-2px);}

/* Floating feature cards */
.features{margin-top:-65px;position:relative;z-index:3;}
.feature-block{gap:16px;}
.feature-item{margin:0!important;padding:30px 28px!important;border:1px solid rgba(16,35,63,.06);border-radius:20px!important;box-shadow:var(--sh-shadow)!important;transition:.25s ease;min-height:265px;}
.feature-item:hover{transform:translateY(-6px);box-shadow:0 25px 60px rgba(16,35,63,.13)!important;}
.feature-item .feature-icon{width:56px;height:56px;display:grid;place-items:center;background:#eef6ff;border-radius:16px;margin-bottom:18px!important;}
.feature-item .feature-icon i{font-size:28px!important;color:var(--sh-primary)!important;}
.feature-item span{font-size:12px;font-weight:800;letter-spacing:1px;color:var(--sh-accent);text-transform:uppercase;}
.feature-item h4{font-size:21px!important;color:var(--sh-ink)!important;margin-top:7px;}
.feature-item p,.w-hours{font-size:14px;line-height:1.7;}
.w-hours li{padding:7px 0!important;}

/* Sections */
.section{padding:90px 0;}
.section-title h2{font-size:clamp(30px,4vw,44px);color:var(--sh-ink);letter-spacing:-1px;}
.section-title p{max-width:700px;margin-left:auto;margin-right:auto;}
.divider{border-radius:99px;}
.gray-bg{background:var(--sh-bg)!important;}
.about{background:#fff;}
.about-img img{border-radius:18px!important;box-shadow:0 18px 45px rgba(16,35,63,.12)!important;}
.about-content h2{font-size:42px!important;line-height:1.12;color:var(--sh-ink)!important;letter-spacing:-1px;}
.about-content p{color:#607189;}

/* Cards across departments/services/doctors */
.service .service-item,.service-item,.team-block,.doctor-info-block,.contact-block,.contact-info-block{border-radius:18px!important;border:1px solid var(--sh-line)!important;background:#fff;box-shadow:0 12px 35px rgba(16,35,63,.06);transition:.25s ease;}
.service .service-item:hover,.service-item:hover,.team-block:hover{transform:translateY(-5px);box-shadow:0 22px 45px rgba(16,35,63,.11);}
.service .service-item{padding:28px!important;}
.service .icon i,.service-item i{color:var(--sh-primary);}
.team .team-block img,.team img{border-radius:16px;}

/* Stats */
.cta-section{margin-bottom:-55px;position:relative;z-index:2;}
.cta{border-radius:24px;overflow:hidden;box-shadow:var(--sh-shadow);}
.counter-stat{padding:45px 10px 35px;}
.counter-stat span{font-family:'Bricolage Grotesque';font-size:52px!important;position:relative;z-index:2;}
.counter-stat p{position:relative;z-index:2;font-size:13px;}

/* Inner page hero */
.page-title{padding:110px 0 95px!important;background-position:center!important;position:relative;}
.page-title:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,63,120,.9),rgba(11,92,171,.65));}
.page-title .container{position:relative;z-index:1;}
.page-title h1{font-size:clamp(34px,5vw,56px)!important;color:#fff!important;letter-spacing:-1.5px;}
.page-title .breadcrumb{background:transparent;padding:0;margin:15px 0 0;}
.page-title .breadcrumb-item,.page-title .breadcrumb-item a{color:rgba(255,255,255,.85)!important;}

/* Forms */
.form-control{border:1px solid #dfe7f0!important;border-radius:12px!important;background:#fbfdff!important;min-height:52px!important;padding:12px 15px!important;}
.form-control:focus{border-color:#8dbce8!important;box-shadow:0 0 0 4px rgba(11,92,171,.08)!important;}
textarea.form-control{min-height:130px!important;}
.contact-block{border-width:1px!important;padding:34px 24px!important;}
.contact-block i{font-size:36px!important;}

/* Footer */
.footer{background:#f7f9fc;padding-top:75px!important;}
.footer .widget h4{color:var(--sh-ink)!important;}
.footer .footer-menu a,.footer p{color:#667892!important;}
.footer-btm{border-top:1px solid var(--sh-line)!important;}
.backtop{border-radius:12px!important;}

/* Fixed mobile actions */
.sh-mobile-actions{display:none;}
.sh-wa{position:fixed;right:20px;bottom:20px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff!important;z-index:9999;box-shadow:0 12px 28px rgba(37,211,102,.35);font-size:25px;}
.sh-wa:hover{color:#fff;transform:translateY(-2px);}

/* Tables, lists and galleries */
.table{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(16,35,63,.06);}
.gallery-item img,.portfolio-item img{border-radius:16px;transition:.25s ease;}
.gallery-item img:hover,.portfolio-item img:hover{transform:scale(1.02);}

/* Better responsive behavior */
@media (max-width:991.98px){
  .container{width:min(100% - 28px,760px);}
  .navigation .navbar-collapse{padding:12px 0 4px;}
  .navbar-nav .nav-link{padding:11px 13px!important;}
  .top-bar-info{white-space:normal;font-size:12px;line-height:1.5;}
  .top-right-bar{text-align:left!important;margin-top:5px!important;}
  .banner{min-height:590px;}
  .banner:before{background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.86));}
  .banner .block{padding:70px 0 100px;}
  .features{margin-top:-45px;}
  .feature-block{display:grid!important;grid-template-columns:1fr 1fr;}
  .feature-item{min-height:250px;}
  .section{padding:72px 0;}
}

@media (max-width:767.98px){
  body{font-size:15px;padding-bottom:66px;}
  .container{width:calc(100% - 28px);}
  .header-top-bar{padding:8px 0;}
  .header-top-bar .col-lg-8,.header-top-bar .col-lg-4{width:100%;}
  .top-bar-info{margin-bottom:0!important;}
  .top-right-bar{text-align:left!important;}
  .top-right-bar .h4{font-size:16px!important;}
  .navigation{padding:9px 0!important;}
  .navigation .navbar-brand img{width:155px;max-height:50px;}
  .banner{min-height:540px;background-position:62% center!important;}
  .banner .block{padding:55px 0 85px;}
  .banner .block h1{font-size:clamp(36px,10vw,52px)!important;line-height:1.08!important;letter-spacing:-1.4px;}
  .banner .block p{font-size:15px;line-height:1.7;}
  .banner .btn-container .btn{width:100%;text-align:center;}
  .features{margin-top:-35px;}
  .feature-block{grid-template-columns:1fr;gap:14px;}
  .feature-item{min-height:auto;padding:25px!important;}
  .section{padding:58px 0;}
  .about-content{padding-left:0!important;}
  .about-content h2{font-size:34px!important;}
  .cta-section{margin-bottom:-35px;}
  .cta{border-radius:18px;}
  .counter-stat{padding:30px 8px;}
  .counter-stat span{font-size:42px!important;}
  .counter-stat p{font-size:12px;}
  .page-title{padding:75px 0 65px!important;}
  .page-title h1{font-size:34px!important;}
  .footer{padding-top:55px!important;}
  .sh-wa{right:15px;bottom:80px;width:50px;height:50px;font-size:22px;}
  .sh-mobile-actions{position:fixed;left:0;right:0;bottom:0;height:66px;background:#fff;border-top:1px solid var(--sh-line);display:grid;grid-template-columns:1fr 1fr;z-index:9998;box-shadow:0 -8px 25px rgba(16,35,63,.10);}
  .sh-mobile-actions a{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800;text-decoration:none;}
  .sh-mobile-actions a:first-child{background:var(--sh-primary);color:#fff;}
  .sh-mobile-actions a:last-child{background:#fff;color:var(--sh-accent);}
}

@media (max-width:380px){
  .navigation .navbar-brand img{width:140px;}
  .banner .block h1{font-size:34px!important;}
}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important;}}

/* ===== 2026 visual refresh ===== */
:root{
  --sh-navy:#082b49;
  --sh-blue:#0b74c9;
  --sh-cyan:#16a6d9;
  --sh-green:#16a085;
  --sh-soft:#f3f8fc;
  --sh-white:#fff;
}

body{letter-spacing:-.01em;}
::selection{background:rgba(11,116,201,.18);color:var(--sh-navy);}

/* premium top bar */
.header-top-bar{background:#082b49!important;}
.header-top-bar .top-bar-info li:before{content:'●';font-size:7px;margin-right:8px;color:#55c5e9;vertical-align:middle;}
.top-right-bar a{font-weight:700;}
.top-right-bar a:before{content:'24/7';font-size:10px;line-height:1;padding:6px 7px;border:1px solid rgba(255,255,255,.28);border-radius:999px;margin-right:5px;letter-spacing:.5px;}

/* header */
.navigation{position:sticky!important;top:0;z-index:1000;}
.navigation .container{min-height:60px;}
.navbar-brand{display:flex;align-items:center;}
.navbar-nav{gap:3px;}
.navbar-nav .nav-link{position:relative;}
.navbar-nav .nav-link:after{display:none!important;}
.navbar-nav .active>.nav-link,.navbar-nav .nav-link:hover{background:#eaf5fd!important;}

/* hero */
.banner{position:relative;isolation:isolate;min-height:690px!important;}
.banner:after{content:"";position:absolute;right:7%;bottom:8%;width:240px;height:240px;border-radius:50%;border:1px solid rgba(11,116,201,.18);box-shadow:0 0 0 28px rgba(11,116,201,.035),0 0 0 58px rgba(11,116,201,.02);z-index:-1;}
.banner .block{max-width:720px;}
.banner .block>span{display:inline-flex;align-items:center;gap:9px;background:#eaf6ff;border:1px solid #d8ebf8;padding:8px 13px;border-radius:999px;letter-spacing:1.3px;}
.banner .block>span:before{content:'+';width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:var(--sh-blue);color:#fff;font-size:14px;font-weight:800;}
.banner .block h1{max-width:720px;font-weight:800;}
.banner .block h1 strong{color:var(--sh-blue);}
.banner .btn-container .btn{min-width:180px;}

/* section heading */
.section-title .divider{width:48px!important;height:4px!important;background:linear-gradient(90deg,var(--sh-blue),var(--sh-cyan))!important;}
.section-title h2{font-weight:800;}
.section-title p{color:#708198;}

/* feature strip */
.features{margin-top:-75px;}
.feature-block{display:grid!important;grid-template-columns:repeat(3,1fr);gap:18px;}
.feature-item{position:relative;overflow:hidden;background:rgba(255,255,255,.98)!important;}
.feature-item:after{content:"";position:absolute;right:-45px;top:-45px;width:120px;height:120px;border-radius:50%;background:rgba(11,116,201,.045);}
.feature-item:nth-child(2) .feature-icon{background:#ecfbf8;}
.feature-item:nth-child(2) .feature-icon i{color:var(--sh-green)!important;}
.feature-item:nth-child(3) .feature-icon{background:#fff0f4;}
.feature-item:nth-child(3) .feature-icon i{color:var(--sh-accent)!important;}

/* modern service cards */
.service-item{height:100%;position:relative;overflow:hidden;}
.service-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(var(--sh-blue),var(--sh-cyan));transform:scaleY(0);transform-origin:bottom;transition:.25s ease;}
.service-item:hover:before{transform:scaleY(1);}
.service-item .icon{gap:15px;}
.service-item .icon i{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:#eef7ff;flex:0 0 50px;}
.service-item h4{color:var(--sh-navy)!important;font-weight:800!important;}

/* about */
.about{position:relative;}
.about-img{position:relative;}
.about-img:after{content:"";position:absolute;right:-12px;bottom:-12px;width:85px;height:85px;border-radius:18px;background:linear-gradient(135deg,#dff4ff,#effaff);z-index:-1;}
.about-content .title-color{font-weight:800;}

/* appointment panel */
.appoinment{background:linear-gradient(180deg,#fff 0%,#f5faff 100%);}
.appoinment-content{position:relative;}
.appoinment-content img{width:100%;object-fit:cover;border-radius:24px!important;box-shadow:0 24px 55px rgba(8,43,73,.16)!important;}
.appoinment-content .emergency{position:absolute;left:18px;right:18px;bottom:18px;border-radius:16px;background:rgba(8,43,73,.92)!important;backdrop-filter:blur(10px);padding:18px 20px!important;}
.appoinment-content .emergency h2{margin:0;color:#fff!important;font-size:22px!important;}
.appoinment-wrap{background:#fff;padding:34px;border:1px solid #e1ebf3;border-radius:24px;box-shadow:0 20px 50px rgba(8,43,73,.08);}
.appoinment-wrap h2{font-weight:800;color:var(--sh-navy)!important;}

/* stats */
.cta{background:linear-gradient(120deg,#082b49,#0b74c9)!important;}
.counter-stat{position:relative;}
.counter-stat:after{content:"";position:absolute;right:0;top:20%;height:60%;border-right:1px solid rgba(255,255,255,.18);}
.counter-stat:last-child:after{display:none;}

/* testimonials */
.testimonial-block{background:#fff!important;border:1px solid #e5edf4;border-radius:20px!important;box-shadow:0 12px 35px rgba(16,35,63,.06);padding:32px!important;}
.testimonial-block .client-info h4{color:var(--sh-navy);font-weight:800;}
.testimonial-block .client-info span{color:var(--sh-blue);font-weight:700;}
.testimonial-block .icofont-quote-right{color:#d8edf9!important;}

/* inner pages */
.page-title{overflow:hidden;}
.page-title:after{content:"";position:absolute;right:8%;bottom:-110px;width:300px;height:300px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.035);}
.page-title h1{font-weight:800;}

/* doctor/gallery images */
.team-block,.doctor-info-block{overflow:hidden;}
.team-block img,.doctor-info-block img{transition:.35s ease;}
.team-block:hover img,.doctor-info-block:hover img{transform:scale(1.025);}

/* footer */
.footer{position:relative;overflow:hidden;}
.footer:before{content:"";position:absolute;right:-100px;top:-120px;width:320px;height:320px;border:1px solid rgba(11,116,201,.08);border-radius:50%;}
.footer-socials a{width:40px;height:40px;display:inline-grid!important;place-items:center;border-radius:12px;background:#fff;border:1px solid #e2ebf3;transition:.2s ease;}
.footer-socials a:hover{background:var(--sh-blue);color:#fff!important;transform:translateY(-2px);}

/* accessible focus */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(22,166,217,.38)!important;outline-offset:3px;}

/* reveal animation */
.sh-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease;}
.sh-reveal.sh-visible{opacity:1;transform:none;}

@media(max-width:991.98px){
  .navigation{box-shadow:0 8px 24px rgba(8,43,73,.07);}
  .navigation .navbar-collapse{background:#fff;border-top:1px solid #edf2f6;margin-top:9px;padding:10px;border-radius:0 0 16px 16px;}
  .feature-block{grid-template-columns:1fr 1fr!important;}
  .banner{min-height:620px!important;}
  .banner:after{right:-80px;bottom:8%;}
}
@media(max-width:767.98px){
  .top-bar-info{font-size:11px!important;}
  .top-right-bar .h4{font-size:15px!important;}
  .navbar-nav{gap:0;}
  .navbar-nav .nav-link{padding:12px 11px!important;}
  .banner{min-height:600px!important;background-position:65% center!important;}
  .banner:before{background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.90));}
  .banner .block{padding:50px 0 80px;}
  .banner .block>span{font-size:10px;letter-spacing:1px;}
  .banner .block h1{font-size:40px!important;}
  .features{margin-top:-48px;}
  .feature-block{grid-template-columns:1fr!important;}
  .feature-item{padding:23px!important;}
  .about-img:after{right:0;}
  .appoinment-wrap{padding:24px 18px;border-radius:18px;}
  .counter-stat:after{display:none;}
  .testimonial-block{padding:24px!important;}
  .page-title:after{right:-130px;}
}

/* ===== Sairam Hospitals 2026 refinement pass ===== */
.navigation .navbar-brand img{width:225px!important;max-height:68px!important;object-fit:contain;transition:transform .2s ease}
.navigation .navbar-brand img:hover{transform:scale(1.02)}

/* Specialty / medical visual mood on inner pages */
.page-title{background-color:#083f78!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important;overflow:hidden;isolation:isolate}
.page-title:before{z-index:-1!important;background:linear-gradient(90deg,rgba(5,48,91,.93) 0%,rgba(8,63,120,.82) 48%,rgba(8,63,120,.42) 100%)!important}
.page-title:after{content:"";position:absolute;right:-90px;bottom:-130px;width:360px;height:360px;border:1px solid rgba(255,255,255,.20);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 75px rgba(255,255,255,.025);z-index:-1}
body.doctor-page .page-title{background-image:url('../images/service/service-8.jpg')!important}
body.department-page .page-title{background-image:url('../images/service/service-1.jpg')!important}
body.contact-page .page-title{background-image:url('../images/bg/bg-4.jpg')!important}
body.gallery-page .page-title{background-image:url('../images/bg/bg-2.jpg')!important}
body.service-page .page-title{background-image:url('../images/service/service-6.jpg')!important}
body.about-page .page-title{background-image:url('../images/about/about-1.jpg')!important}
body.appointment-page .page-title{background-image:url('../images/service/bg-1.jpg')!important}

/* Add a subtle specialist-care visual treatment behind major content blocks */
body.doctor-page .team:before,body.department-page .section:before{content:"";position:absolute;right:-100px;top:10%;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(11,92,171,.08),transparent 68%);pointer-events:none}
body.doctor-page .team,body.department-page .section{position:relative;overflow:hidden}

/* Social media buttons */
.footer-socials{display:flex!important;gap:10px;margin-top:22px!important;padding:0;}
.footer-socials .list-inline-item{margin:0!important}
.footer-socials a{width:46px;height:46px;border-radius:14px!important;display:grid!important;place-items:center;background:#fff!important;border:1px solid #dfe8f2!important;color:var(--sh-primary)!important;font-size:21px!important;box-shadow:0 8px 20px rgba(16,35,63,.07);transition:.22s ease;text-decoration:none!important}
.footer-socials a:hover{color:#fff!important;background:var(--sh-primary)!important;border-color:var(--sh-primary)!important;transform:translateY(-4px);box-shadow:0 12px 25px rgba(11,92,171,.22)}
.footer-socials .social-whatsapp:hover{background:#25D366!important;border-color:#25D366!important}
.footer-socials .social-instagram:hover{background:#d62976!important;border-color:#d62976!important}
.footer-socials .social-youtube:hover{background:#ff0000!important;border-color:#ff0000!important}

/* Modern footer */
.footer{position:relative;overflow:hidden;background:linear-gradient(180deg,#f7fbff 0%,#eef5fb 100%)!important;padding:80px 0 0!important}
.footer:before{content:"";position:absolute;right:-120px;top:-160px;width:420px;height:420px;border-radius:50%;background:rgba(11,92,171,.055);pointer-events:none}
.footer .container{position:relative;z-index:1}
.footer .widget{height:100%}
.footer .widget h4{font-size:18px!important;font-weight:800!important;letter-spacing:-.2px;margin-bottom:14px!important}
.footer .widget h4:after{content:"";display:block;width:34px;height:3px;border-radius:9px;background:var(--sh-accent);margin-top:10px}
.footer .logo img{width:230px!important;max-height:70px;object-fit:contain;object-position:left center}
.footer p{font-size:14px;line-height:1.8}
.footer .footer-menu li{margin-bottom:8px}
.footer .footer-menu a{display:inline-flex;align-items:center;gap:8px;font-size:14px;text-decoration:none!important;transition:.2s ease}
.footer .footer-menu a:before{content:"›";color:var(--sh-accent);font-size:18px;line-height:1}
.footer .footer-menu a:hover{color:var(--sh-primary)!important;transform:translateX(3px)}
.footer-contact-block{padding:16px 0;border-bottom:1px solid rgba(16,35,63,.08)}
.footer-contact-block:last-child{border-bottom:0}
.footer-contact-block p{margin:0 0 2px!important}
.footer-contact-block .icon i{width:42px;height:42px;border-radius:12px;background:#e7f2ff;display:grid;place-items:center;color:var(--sh-primary);font-size:21px!important}
.footer-contact-block h4 a{color:var(--sh-ink)!important;text-decoration:none}
.footer-btm{border-top:1px solid rgba(16,35,63,.09)!important;padding:20px 0!important;margin-top:45px!important}
.footer-btm .copyright{font-size:12px;line-height:1.7}
.footer-btm .subscribe-form{display:none!important}
.footer-btm .backtop{position:fixed;right:20px;bottom:20px;width:44px;height:44px;border-radius:14px!important;display:grid;place-items:center;background:var(--sh-primary);color:#fff!important;z-index:9998;box-shadow:0 10px 24px rgba(11,92,171,.22)}

/* Reliable WhatsApp icon: use Icofont instead of Font Awesome dependency */
.sh-wa{right:22px;bottom:82px;width:58px;height:58px;background:#25D366!important;border:4px solid rgba(255,255,255,.95);font-size:0!important}
.sh-wa i{font-size:29px!important;line-height:1}
.sh-wa:hover{background:#1fb95a!important}

/* Gallery images behave correctly on small screens */
.gallery-item img,.portfolio-item img{width:100%;height:auto!important;min-height:0!important;object-fit:cover}
.modal-body img{width:100%!important;height:auto!important;max-height:75vh;object-fit:contain}

@media (max-width:991.98px){
  .navigation .navbar-brand img{width:205px!important;max-height:62px!important}
  .footer{padding-top:65px!important}
}
@media (max-width:767.98px){
  .navigation .navbar-brand img{width:180px!important;max-height:56px!important}
  .page-title{padding:82px 0 70px!important;background-position:center!important}
  .page-title:before{background:linear-gradient(90deg,rgba(5,48,91,.94),rgba(8,63,120,.72))!important}
  .footer{padding:58px 0 0!important}
  .footer .logo img{width:205px!important;max-height:62px}
  .footer .widget{margin-bottom:34px!important}
  .footer-btm{margin-top:18px!important;padding:18px 0 72px!important}
  .footer-btm .backtop{right:14px;bottom:78px}
  .sh-wa{right:15px;bottom:78px;width:54px;height:54px}
  .sh-wa i{font-size:26px!important}
  .sh-mobile-actions{height:62px!important}
  .sh-mobile-actions a{font-size:12px!important;letter-spacing:.2px}
  .sh-mobile-actions i{font-size:19px!important}
}

/* ===== Global Back to Top control ===== */
.backtop{
  position:fixed!important;
  right:22px;
  bottom:22px;
  width:48px!important;
  height:48px!important;
  border-radius:15px!important;
  display:grid!important;
  place-items:center!important;
  background:var(--sh-primary,#0b5cab)!important;
  color:#fff!important;
  z-index:10000!important;
  box-shadow:0 12px 28px rgba(11,92,171,.25)!important;
  text-decoration:none!important;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s ease,visibility .25s ease,transform .25s ease,background .2s ease;
}
.backtop i{font-size:22px!important;line-height:1!important}
.backtop.reveal{opacity:1;visibility:visible;transform:translateY(0)}
.backtop:hover{background:var(--sh-accent,#16a6d9)!important;color:#fff!important;transform:translateY(-3px)!important}
.backtop:focus-visible{outline:3px solid rgba(22,166,217,.45)!important;outline-offset:4px}
@media(max-width:767.98px){
  .backtop{right:14px;bottom:142px;width:46px!important;height:46px!important;border-radius:14px!important}
}
@media(prefers-reduced-motion:reduce){.backtop{transition:none}}

/* ===== Modern individual doctor profiles ===== */
.doctor-profile-page .doctor-profile-hero{background-image:linear-gradient(90deg,rgba(14,45,79,.94),rgba(14,45,79,.70)),url('../images/bg/22.jpg');background-position:center;background-size:cover;padding:120px 0 95px;}
.doctor-profile-page .doctor-profile-hero .lead{max-width:850px;font-size:1.08rem;}
.doctor-profile-modern{padding:90px 0;}
.doctor-profile-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 18px 55px rgba(20,45,75,.12);border:1px solid rgba(20,45,75,.08);position:sticky;top:100px;}
.doctor-profile-image-wrap{background:linear-gradient(135deg,#eaf7fb,#f7fbfc);padding:22px 22px 0;display:flex;justify-content:center;}
.doctor-profile-image{width:100%;max-height:510px;object-fit:cover;object-position:center top;border-radius:18px 18px 0 0;display:block;}
.doctor-profile-card-body{padding:28px;}
.doctor-specialty-pill{display:inline-flex;align-items:center;padding:8px 13px;border-radius:999px;background:#e9f7fa;color:#0b7890;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.doctor-qualifications{display:flex;flex-wrap:wrap;gap:8px;}
.doctor-qualifications span{background:#f4f7f9;border:1px solid #e4ebef;padding:6px 10px;border-radius:8px;font-size:.78rem;font-weight:700;color:#395064;}
.doctor-profile-content{padding-left:10px;}
.section-kicker{font-size:.76rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#e12454;}
.doctor-profile-content h2{font-weight:750;color:#17324d;line-height:1.2;}
.doctor-profile-content p{color:#617080;line-height:1.85;}
.doctor-profile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.doctor-info-panel{display:flex;align-items:center;gap:14px;padding:18px;border-radius:16px;background:#f7fafb;border:1px solid #e7eef2;}
.doctor-info-icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;display:grid;place-items:center;background:#e8f7fa;color:#0a8098;font-size:22px;}
.doctor-info-panel small{display:block;color:#8a98a5;font-weight:700;text-transform:uppercase;font-size:.68rem;letter-spacing:.06em;margin-bottom:4px;}
.doctor-info-panel strong{display:block;color:#17324d;font-size:.92rem;line-height:1.45;}
.doctor-expertise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.expertise-item{display:flex;align-items:flex-start;gap:10px;padding:14px 15px;border-radius:12px;background:#fff;border:1px solid #e8eef1;color:#4d6171;box-shadow:0 5px 20px rgba(20,45,75,.04);}
.expertise-item i{color:#16a085;font-size:18px;margin-top:1px;}
.doctor-profile-cta{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px 26px;border-radius:20px;background:linear-gradient(135deg,#f0fafb,#f8fbfc);border:1px solid #dceff2;}
.doctor-profile-cta h3{color:#17324d;}
.doctor-profile-cta p{font-size:.92rem;}
.doctor-care-banner{padding:70px 0;}
.doctor-care-banner h2{color:#17324d;max-width:780px;}
.doctor-care-banner p{color:#617080;line-height:1.8;max-width:800px;}
.btn-outline-main{border:1px solid #e12454;color:#e12454;background:transparent;}
.btn-outline-main:hover,.btn-outline-main:focus{background:#e12454;color:#fff;}
.team-block .btn-sm{font-size:.78rem;padding:9px 15px;}

/* ===== Doctor listing: equal-height, balanced cards ===== */
.team .row > [class*="col-"]{display:flex;}
.team .team-block{width:100%;height:100%;display:flex;flex-direction:column;}
.team .team-block > img{width:100%!important;max-width:100%!important;height:380px;object-fit:contain;object-position:center center;display:block;background:#f6fafc;padding:10px 14px 0;}
.team .team-block .content{display:flex;flex:1;flex-direction:column;padding:26px 28px 28px;}
.team .team-block .content h4{min-height:48px;display:flex;align-items:center;margin:0 0 10px!important;line-height:1.25;}
.team .team-block .content h4 a{display:block;width:100%;color:#172b3f;text-decoration:none;}
.team .team-block .content p{min-height:72px;line-height:1.7;margin:0 0 22px!important;color:#647b91;padding-right:8px;}
.team .team-block .content .btn{align-self:flex-start;margin-top:auto!important;}
.team .team-block{overflow:hidden;}

/* Doctor profile breadcrumb */
.doctor-profile-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none;font-size:.88rem;}
.doctor-profile-breadcrumb li{color:rgba(255,255,255,.72);display:flex;align-items:center;gap:8px;}
.doctor-profile-breadcrumb a{color:#fff!important;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35);transition:.2s ease;}
.doctor-profile-breadcrumb a:hover,.doctor-profile-breadcrumb a:focus{color:#dff7ff!important;border-bottom-color:#dff7ff;}
.doctor-profile-breadcrumb .current{color:rgba(255,255,255,.78);font-weight:600;}
.doctor-profile-breadcrumb .separator{opacity:.55;}
@media(max-width:767px){
 .team .row > [class*="col-"]{display:block;}
 .team .team-block{height:auto;}
 .team .team-block > img{height:330px;padding:8px 12px 0;}
 .team .team-block .content{padding:22px 20px 24px;}
 .team .team-block .content h4{min-height:0;margin-bottom:9px!important;}
 .team .team-block .content p{min-height:0;margin-bottom:20px!important;}
 .doctor-profile-breadcrumb{font-size:.78rem;margin-bottom:14px;gap:5px;}
}
@media (max-width:991px){
 .doctor-profile-card{position:relative;top:auto;}
 .doctor-profile-content{padding-left:0;}
 .doctor-profile-modern{padding:65px 0;}
}
@media (max-width:767px){
 .doctor-profile-page .doctor-profile-hero{padding:90px 0 65px;}
 .doctor-profile-page .doctor-profile-hero h1{font-size:2rem;}
 .doctor-profile-page .doctor-profile-hero .lead{font-size:.96rem;}
 .doctor-profile-modern{padding:48px 0;}
 .doctor-profile-image-wrap{padding:14px 14px 0;}
 .doctor-profile-card-body{padding:22px 18px;}
 .doctor-profile-content h2{font-size:1.65rem;}
 .doctor-profile-info-grid,.doctor-expertise-grid{grid-template-columns:1fr;}
 .doctor-profile-cta{display:block;padding:22px 20px;}
 .doctor-profile-cta .btn{margin-top:18px;width:100%;}
 .doctor-care-banner{padding:50px 0;}
}


/* Typography inspired by the supplied reference: bold modern editorial healthcare display type */
:root{
  --sh-display:#0b2535;
  --sh-display-accent:#168f98;
}
body{
  font-family:'Figtree',sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6,.navbar-nav,.btn{
  font-family:'Bricolage Grotesque','Figtree',sans-serif;
}
h1,h2,h3{
  font-weight:800;
  letter-spacing:-1.8px;
}
.banner .block h1{
  font-family:'Bricolage Grotesque',sans-serif;
  font-weight:800;
  font-size:clamp(46px,6.2vw,82px);
  line-height:.98;
  letter-spacing:-3.6px;
  color:var(--sh-display);
  max-width:780px;
}
.banner .block h1 strong{
  color:var(--sh-display-accent);
  font-weight:800;
}
.section-title h2,.about-content h2{
  font-family:'Bricolage Grotesque',sans-serif;
  font-weight:800;
  letter-spacing:-2.2px;
  color:var(--sh-display)!important;
}
.page-title h1{
  font-family:'Bricolage Grotesque',sans-serif;
  font-weight:800;
  letter-spacing:-2.5px;
}
.team-block h4,.doctor-info-block h4,.team-block h3,.doctor-info-block h3{
  font-family:'Bricolage Grotesque',sans-serif;
  font-weight:800;
  letter-spacing:-.8px;
}
@media (max-width:767.98px){
  .banner .block h1{
    font-size:clamp(40px,11vw,58px);
    line-height:1.01;
    letter-spacing:-2.4px;
  }
  .section-title h2,.about-content h2{
    letter-spacing:-1.4px;
  }
}

/* Urology department enhancement */
.department-highlight{
  color:#58718f;
  font-size:15px;
  line-height:1.7;
}
.department-highlight strong{color:#0b2f49;font-weight:700;}
.service-item .icon > i.text-lg{margin-right:14px;flex:0 0 auto;}
@media (max-width:767px){
  .department-highlight{font-size:14px;}
}
