@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --th-primary: #0c5c8f;
  --th-primary-dark: #094a73;
  --th-primary-light: #1a7ab8;
  --th-accent: #0fa3b1;
  --th-accent-light: #5dd9e3;
  --th-teal: #0d9488;
  --th-teal-light: #14b8a6;
  --th-navy: #0f2b44;
  --th-navy-light: #1a3d5c;
  --th-gold: #d4a844;
  --th-gold-light: #f0d080;
  --th-cream: #f0f7fa;
  --th-cream-alt: #e8f4f8;
  --th-warm-white: #fafcfd;
  --th-text-dark: #1a2a3a;
  --th-text-medium: #4a5e6e;
  --th-text-light: #7a8e9e;
  --th-white: #ffffff;
  --th-red: #c0392b;
  --th-red-light: #e74c3c;
  --th-shadow: 0 8px 32px rgba(12, 92, 143, 0.12);
  --th-shadow-soft: 0 4px 16px rgba(0,0,0,0.07);
  --th-shadow-lg: 0 12px 48px rgba(12, 92, 143, 0.18);
  --th-radius: 16px;
  --th-radius-sm: 10px;
  --th-radius-xs: 6px;
}

/* ===== WORDPRESS FULL-WIDTH OVERRIDES ===== */
.tantia-hospital-page,
.tantia-hospital-page * { margin: 0; padding: 0; box-sizing: border-box; }

.entry-content:has(.tantia-hospital-page),
.page-content:has(.tantia-hospital-page),
.site-content:has(.tantia-hospital-page),
.elementor-widget-container:has(.tantia-hospital-page) {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

.tantia-hospital-page {
  font-family: 'Inter', sans-serif;
  color: var(--th-text-dark);
  background: var(--th-cream);
  overflow-x: hidden;
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
}

/* ===== HERO ===== */
.th-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.th-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(15, 163, 177, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(12, 92, 143, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0f2b44 0%, #094a73 40%, #0c5c8f 70%, #0d9488 100%);
}
.th-hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}
.th-hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--th-cream), transparent);
}
.th-hero__content {
  position: relative; z-index: 2;
  max-width: 860px; padding: 20px;
  animation: thFadeUp 1.2s ease-out;
}
.th-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 28px;
  border-radius: 50px;
  color: var(--th-accent-light);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.th-hero__badge-dot {
  width: 8px; height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: thPulse 2s infinite;
}
.th-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--th-white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}

.th-hero__logo {
    position: absolute;
    top: 17%;
}

.th-hero__logo img {
  width: 100px;
  height: auto;
  border-radius: 60px;
}

.th-hero__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.th-hero__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.th-hero__stat {
  text-align: center;
}
.th-hero__stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--th-accent-light);
  display: block;
}
.th-hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.th-hero__scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 25px;
  cursor: pointer;
  z-index: 2;
}
.th-hero__scroll::after {
  content: '';
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 12px;
  background: var(--th-accent-light);
  border-radius: 4px;
  animation: thScrollDown 2s infinite;
}

/* ===== GENERAL SECTIONS ===== */
.th-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.th-section--full {
  max-width: 100%;
  padding-left: 0; padding-right: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.th-section__label {
  display: inline-block;
  color: var(--th-accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.th-section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--th-navy);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.th-section__text {
  font-size: 1.05rem;
  color: var(--th-text-medium);
  max-width: 720px;
  line-height: 1.85;
}

/* ===== ABOUT ===== */
.th-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.th-about__visual {
  position: relative;
  border-radius: var(--th-radius);
  overflow: hidden;
  min-height: 420px;
  background-image: url('https://mohittantia.com/wp-content/uploads/2026/04/DdfgdgdfJI_0014.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--th-shadow-lg);
}

.th-about__visual-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.th-about__visual-icon svg {
  width: 100%; height: 100%;
  opacity: 0.15;
  fill: white;
}
.th-about__visual-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 30px;
  background: linear-gradient(to top, rgba(15, 43, 68, 0.95), transparent);
  color: white;
}
.th-about__visual-tag {
  display: inline-block;
  background: rgba(15, 163, 177, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 163, 177, 0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--th-accent-light);
  margin-bottom: 12px;
}
.th-about__visual-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.th-about__visual-sub {
  font-size: 0.9rem;
  opacity: 0.75;
}
.th-about__image-decor {
  position: absolute;
  bottom: -14px; right: -14px;
  width: 130px; height: 130px;
  border: 3px solid var(--th-accent);
  border-radius: var(--th-radius);
  z-index: -1;
  opacity: 0.4;
}

/* ===== QUOTE BANNER ===== */
.th-quote {
  background: linear-gradient(135deg, var(--th-primary) 0%, var(--th-primary-light) 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
}
.th-quote__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--th-white);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.th-quote__icon {
  font-size: 3rem;
  color: var(--th-accent-light);
  opacity: 0.45;
  margin-bottom: 16px;
}

/* ===== KEY HIGHLIGHTS (Capacity) ===== */
.th-highlights {
  background: linear-gradient(135deg, var(--th-navy) 0%, var(--th-primary-dark) 100%);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}
.th-highlights::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M20 18v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.th-highlights__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.th-highlights__header .th-section__label { color: var(--th-accent-light); }
.th-highlights__header .th-section__title { color: var(--th-white); }
.th-highlights__header .th-section__text { color: rgba(255,255,255,0.65); margin: 0 auto; }
.th-highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.th-highlight-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--th-radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.th-highlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--th-accent), var(--th-teal-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.th-highlight-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.th-highlight-card:hover::before { transform: scaleX(1); }
.th-highlight-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.th-highlight-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--th-accent-light);
  font-weight: 700;
  margin-bottom: 4px;
}
.th-highlight-card__label {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* ===== SPECIALITIES ===== */
.th-specialities__header {
  text-align: center;
  margin-bottom: 60px;
}
.th-specialities__header .th-section__text { margin: 0 auto; }
.th-specialities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.th-speciality-card {
  background: var(--th-white);
  border-radius: var(--th-radius);
  padding: 36px 28px;
  box-shadow: var(--th-shadow-soft);
  border: 1px solid rgba(12, 92, 143, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.th-speciality-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--th-accent), var(--th-primary));
  transition: width 0.4s ease;
}
.th-speciality-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--th-shadow-lg);
}
.th-speciality-card:hover::after { width: 100%; }
.th-speciality-card__icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--th-cream-alt), var(--th-cream));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
  transition: all 0.35s ease;
}
.th-speciality-card:hover .th-speciality-card__icon {
  background: linear-gradient(135deg, var(--th-accent), var(--th-primary));
  transform: scale(1.1);
}
.th-speciality-card:hover .th-speciality-card__icon span {
  filter: grayscale(1) brightness(10);
}
.th-speciality-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--th-navy);
  font-weight: 600;
  margin-bottom: 6px;
}
.th-speciality-card__desc {
  font-size: 0.88rem;
  color: var(--th-text-light);
  line-height: 1.5;
}

/* ===== BANNER ===== */
.th-banner {
  background: linear-gradient(135deg, var(--th-teal) 0%, var(--th-teal-light) 100%);
  padding: 60px 40px;
  text-align: center;
}
.th-banner__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--th-white);
  font-style: italic;
  max-width: 750px;
  margin: 0 auto;
}

/* ===== STRENGTH (Doctors + Diagnostics) ===== */
.th-strength {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.th-strength__visual {
  position: relative;
  border-radius: var(--th-radius);
  overflow: hidden;
  min-height: 420px;
  background-image: url('https://mohittantia.com/wp-content/uploads/2026/04/WhatsApp-Image-2026-04-02-at-5.42.41-PM.jpeg');
  background-size: cover;        /* IMPORTANT */
  background-position: center;   /* IMPORTANT */
  background-repeat: no-repeat;

  box-shadow: var(--th-shadow-lg);
}

.th-strength__visual-content {
  position: absolute;   /* Change from relative */
  bottom: 0;
  left: 0;
  right: 0;

  padding: 40px 30px;
  color: #fff;

  background: linear-gradient(
      to top,
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.2),
      transparent
  );
}
.th-strength__visual-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.th-strength__visual-sub {
  font-size: 0.85rem;
  opacity: 0.7;
}
.th-strength__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.th-feature-item {
  background: var(--th-white);
  border-radius: var(--th-radius-sm);
  padding: 22px 24px;
  box-shadow: var(--th-shadow-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}
.th-feature-item:hover {
  border-left-color: var(--th-accent);
  transform: translateX(6px);
  box-shadow: var(--th-shadow);
}
.th-feature-item__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.th-feature-item__title {
  font-weight: 600;
  color: var(--th-navy);
  margin-bottom: 4px;
  font-size: 0.98rem;
}
.th-feature-item__desc {
  font-size: 0.88rem;
  color: var(--th-text-light);
  line-height: 1.55;
}

/* ===== CHARITABLE / CSR ===== */
.th-csr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.th-csr__visual {
  position: relative;
  border-radius: var(--th-radius);
  overflow: hidden;
  min-height: 380px;
  background: url('https://mohittantia.com/wp-content/uploads/2026/02/WhatsApp-Image-2026-02-17-at-2.00.12-PM.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: var(--th-shadow-lg);
}
.th-csr__visual-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 30px;
  background: linear-gradient(to top, rgba(15, 43, 30, 0.95), transparent);
  color: white;
}
.th-csr__visual-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.th-csr__visual-sub {
  font-size: 0.85rem;
  opacity: 0.7;
}
.th-csr__initiatives {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}
.th-initiative {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--th-white);
  border-radius: var(--th-radius-sm);
  box-shadow: var(--th-shadow-soft);
  transition: all 0.3s ease;
}
.th-initiative:hover {
  transform: translateX(6px);
  box-shadow: var(--th-shadow);
}
.th-initiative__icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--th-teal), var(--th-accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.th-initiative__title {
  font-weight: 600;
  color: var(--th-navy);
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.th-initiative__desc {
  font-size: 0.85rem;
  color: var(--th-text-light);
  line-height: 1.5;
}

/* ===== LEGACY / TRUST ===== */
.th-legacy {
  background: linear-gradient(135deg, var(--th-navy) 0%, var(--th-primary) 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.th-legacy::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 163, 177, 0.15) 0%, transparent 70%);
}
.th-legacy::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
}
.th-legacy__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.th-legacy .th-section__label { color: var(--th-accent-light); }
.th-legacy .th-section__title { color: var(--th-white); }
.th-legacy .th-section__text {
  color: rgba(255,255,255,0.75);
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
}
.th-legacy__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 28px;
  border-radius: 50px;
  color: var(--th-gold-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 32px;
  backdrop-filter: blur(8px);
}

/* ===== CTA ===== */
.th-cta {
  background: linear-gradient(135deg, var(--th-accent) 0%, var(--th-teal) 100%);
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.th-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.th-cta__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--th-white);
  margin-bottom: 16px;
  position: relative;
}
.th-cta__text {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}
.th-cta__btn {
  display: inline-block;
  background: var(--th-white);
  color: var(--th-teal);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
}
.th-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== ANIMATIONS ===== */
@keyframes thFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes thScrollDown {
  0%,100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}
@keyframes thPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@keyframes thFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.th-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.th-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .th-about, .th-strength, .th-csr {
    grid-template-columns: 1fr;
  }
  .th-about__visual { min-height: 320px; }
  .th-strength__visual { min-height: 300px; }
  .th-csr__visual { min-height: 280px; }
  .th-section { padding: 60px 20px; }
  .th-highlights { padding: 60px 20px; }
  .th-legacy { padding: 60px 20px; }
  .th-hero__stats { gap: 24px; }
  .th-about__image-decor { display: none; }
}
@media (max-width: 600px) {
  .th-specialities__grid { grid-template-columns: 1fr; }
  .th-highlights__grid { grid-template-columns: 1fr 1fr; }
  .th-hero { min-height: 500px; }
  .th-hero__stats { flex-direction: column; gap: 16px; }
  .th-hero__stat-num { font-size: 1.8rem; }
  .th-quote, .th-banner { padding: 50px 24px; }
}
