/* Sree Suraksha Multispeciality Hospital — site styles */

:root {
  --orange: #f5821f;
  --orange-dark: #d96e12;
  --teal: #0d9488;
  --teal-dark: #0b7a70;
  --ink: #101828;
  --body: #475467;
  --bg-alt: #f8f9fb;
  --border: #e6e8ec;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(245,130,31,.35); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--light { background: #fff; color: var(--orange); }
.btn--block { width: 100%; justify-content: center; }

/* Top strip */
.top-strip { background: var(--ink); color: #cfd4dc; font-size: .85rem; }
.top-strip__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 24px; }
.top-strip__contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.top-strip__link { display: inline-flex; align-items: center; gap: 6px; color: #cfd4dc; }
.top-strip__link:hover { color: var(--orange); }
.top-strip__social { display: flex; gap: 14px; }
.top-strip__social a { color: #cfd4dc; }
.top-strip__social a:hover { color: var(--orange); }

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.navbar__inner { display: flex; align-items: center; gap: 24px; padding: 12px 24px; }
.navbar__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar__logo-img { height: 52px; width: auto; }
.navbar__brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar__brand-text strong { color: var(--orange); font-size: 1.05rem; letter-spacing: .3px; }
.navbar__brand-text span { font-size: .68rem; color: var(--body); letter-spacing: .3px; }
.navbar__nav { display: flex; gap: 28px; margin-left: auto; }
.navbar__link { font-weight: 600; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.navbar__link:hover, .navbar__link.is-active { color: var(--orange); border-color: var(--orange); }
.navbar__link--cta { display: none; }
.navbar__call { display: flex; align-items: center; gap: 10px; }
.navbar__call-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.navbar__call-text { font-size: .78rem; color: var(--body); }
.navbar__call-text strong { display: block; color: var(--ink); font-size: .92rem; }
.navbar__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.navbar__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Breadcrumb / page header */
.page-header { background: linear-gradient(135deg, #101828 0%, #1c2b45 100%); color: #fff; padding: 64px 0 44px; text-align: center; }
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-header__crumbs { color: #b6bccb; font-size: .9rem; }
.page-header__crumbs a { color: #b6bccb; }
.page-header__crumbs a:hover { color: var(--orange); }
.page-header__crumbs span { color: var(--orange); }

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: #0b1626; }
.hero__media { position: relative; height: min(78vh, 640px); min-height: 420px; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,24,.82) 0%, rgba(6,12,24,.45) 55%, rgba(6,12,24,.15) 100%); }
.hero__content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero__eyebrow { color: var(--orange); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: .85rem; margin-bottom: 10px; }
.hero__title { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); max-width: 640px; }
.hero__subtitle { color: #e7eaf0; font-size: 1.15rem; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero__badge { position: absolute; bottom: 24px; left: 24px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 10px 20px; font-weight: 700; color: var(--ink); font-size: .95rem; box-shadow: var(--shadow); }
.hero__tagline-strip { background: var(--orange); color: #fff; padding: 14px 0; text-align: center; font-weight: 600; }

/* Section scaffolding */
section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow { color: var(--orange); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; font-size: .82rem; margin-bottom: 8px; }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.section-desc { color: var(--body); }

/* Services grid (home) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__img { height: 190px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { font-size: 1.15rem; }
.service-card__body p { color: var(--body); font-size: .93rem; flex: 1; }
.service-card__link { color: var(--orange); font-weight: 700; font-size: .9rem; margin-top: auto; }
.section-cta { text-align: center; margin-top: 40px; }

/* Facilities */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.facility-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(16,24,40,.05); }
.facility-card img { height: 150px; width: 100%; object-fit: cover; }
.facility-card__list { padding: 18px 20px; }
.facility-card__list li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: .9rem; color: var(--body); }
.facility-card__list li::before { content: "+"; color: var(--teal); font-weight: 800; }

/* Doctors */
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.doctor-card { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 18px; }
.doctor-card__photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 4px solid var(--bg-alt); }
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.doctor-card__quals { font-size: .8rem; color: var(--body); margin-bottom: 8px; }
.doctor-card__role { color: var(--teal); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .3px; }

/* 24/7 strip */
.strip247 { background: var(--ink); color: #fff; }
.strip247__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; text-align: center; }
.strip247__item { padding: 18px 10px; border-left: 1px solid rgba(255,255,255,.12); }
.strip247__item:first-child { border-left: none; }
.strip247__item strong { display: block; font-size: 1rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 4px 14px rgba(16,24,40,.05); }
.testimonial-card__quote { color: var(--body); font-style: italic; margin-bottom: 16px; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card__author strong { color: var(--ink); font-size: .92rem; }

/* Content page (department / blog) */
.content-page { padding: 64px 0; }
.content-page__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.content-page__banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 100px; }
.content-page__body h2:first-child { margin-top: 0; }
.content-page__body h3 { font-size: 1.1rem; margin-top: 1.6em; }
.condition-list { display: grid; gap: 18px; margin-top: 10px; }
.condition-list__item { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.condition-list__item h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--teal-dark); }
.condition-list__item p { margin: 0; font-size: .93rem; }
.sidebar-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.sidebar-card h4 { font-size: 1rem; margin-bottom: 14px; }
.sidebar-card ul li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .92rem; font-weight: 600; }
.sidebar-card ul li:last-child a { border-bottom: none; }
.sidebar-card ul li a:hover { color: var(--orange); }
.sidebar-card--cta { background: var(--orange); color: #fff; text-align: center; }
.sidebar-card--cta h4 { color: #fff; }
.sidebar-card--cta p { color: rgba(255,255,255,.9); font-size: .9rem; }

/* Services listing page */
.services-listing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* Blog listing */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.blog-card__img { height: 190px; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 20px 22px 24px; }
.blog-card__body h3 { font-size: 1.05rem; }
.blog-card__body p { font-size: .9rem; color: var(--body); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row--full { grid-template-columns: 1fr; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fbfbfc;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--orange); background: #fff; }
.form-note { font-size: .82rem; color: var(--body); margin-top: 10px; }
.form-success { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; font-size: .9rem; }
.form-success.is-visible { display: block; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-bottom: 24px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-alt); border-radius: 12px; padding: 18px 20px; }
.contact-card__icon { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .9rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 20px; }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Footer */
.footer { background: #0c1424; color: #b6bccb; padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__logo-img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__about p { font-size: .88rem; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer__social a:hover { background: var(--orange); }
.footer h3 { color: #fff; font-size: .98rem; margin-bottom: 18px; }
.footer__links a { display: block; padding: 6px 0; font-size: .9rem; }
.footer__links a:hover { color: var(--orange); }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: .88rem; }
.footer__contact li span.ico { color: var(--orange); flex-shrink: 0; }
.footer__bottom { text-align: center; padding: 22px 0; font-size: .85rem; }
.footer__bottom a { color: var(--orange); }

/* Back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(245,130,31,.4); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* Floating call button (mobile) */
.floating-call { position: fixed; left: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: none; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(13,148,136,.4); z-index: 90; }

@media (max-width: 960px) {
  .navbar__nav, .navbar__call { display: none; }
  .navbar__toggle { display: flex; }
  .navbar.is-open .navbar__nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 4px; }
  .content-page__grid, .contact-grid { grid-template-columns: 1fr; }
  .content-page__banner { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .floating-call { display: flex; }
}
@media (max-width: 640px) {
  .navbar__inner { gap: 10px; padding: 10px 16px; }
  .navbar__inner > .btn--primary { display: none; }
  .navbar__nav .navbar__link--cta { display: block; margin-top: 8px; padding: 12px; text-align: center; background: var(--orange); color: #fff; border-radius: 10px; font-weight: 700; border: none; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .top-strip__inner { justify-content: center; text-align: center; }
}
