@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #0c4a6e;
  /* Deep blue for text */
  --accent-blue: #0ea5e9;
  /* Light blue */
  --accent-blue-light: #e0f2fe;
  --accent-green: #10b981;
  /* Soft green */
  --accent-green-light: #d1fae5;

  --text-dark: #1e293b;
  --text-muted: #64748b;

  --bg-white: #ffffff;
  --bg-light: #f8fafc;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
}

body {
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-accent-blue {
  color: var(--accent-blue);
}

.text-accent-green {
  color: var(--accent-green);
}

.text-muted {
  color: var(--text-muted);
}

.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.heading-sm {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 1rem auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--accent-blue-light);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 5px 0;
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo img {
  height: 95px;
  margin-top: 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  /* Give navbar more width for layout */
}

.logo {
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.logo img {
  height: 105px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  margin-left: auto;
}

.nav-links a:not(.btn-nav-primary) {
  font-weight: 600;
  font-size: 1.05rem;
  color: #334155;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn-nav-primary):hover,
.nav-links a.active:not(.btn-nav-primary) {
  color: #00a4ee;
}

/* Gateway page: white nav links on dark hero */
#gateway-nav .nav-links a:not(.btn-nav-primary) {
  color: rgba(255, 255, 255, 0.85);
}

#gateway-nav .nav-links a:not(.btn-nav-primary):hover,
#gateway-nav .nav-links a.active:not(.btn-nav-primary) {
  color: #dbb360;
}

#gateway-nav .logo img {
  filter: brightness(0) invert(1);
}

#gateway-nav.scrolled .nav-links a:not(.btn-nav-primary) {
  color: #334155;
}

#gateway-nav.scrolled .nav-links a:not(.btn-nav-primary):hover,
#gateway-nav.scrolled .nav-links a.active:not(.btn-nav-primary) {
  color: #00a4ee;
}

#gateway-nav.scrolled .logo img {
  filter: none;
}

.btn-nav-primary {
  background-color: #064364;
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s;
  font-family: var(--font-heading);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-left: 15px;
}

.btn-nav-primary:hover {
  background-color: #042f47;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* --- Hero Section Gateway --- */
.hero-gateway {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
  padding: 120px 0 60px;
}

.hero-gateway::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, var(--accent-blue-light) 0%, transparent 70%);
  z-index: 0;
}

.hero-gateway::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, var(--accent-green-light) 0%, transparent 70%);
  z-index: 0;
}

.hero-gateway .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  animation: fadeInDown 0.8s ease-out;
}

/* Department Cards Gateway */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.dept-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.dept-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.dept-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.dept-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 15px;
  align-self: flex-start;
}

.badge.gyno {
  background-color: #fee2e2;
  color: #ef4444;
}

.badge.ent {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
}

.dept-card h3 {
  font-size: 1.75rem;
  margin-bottom: 5px;
}

.doctor-name {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dept-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  flex: 1;
}

/* Trust Indicators */
.trust-indicators {
  padding: 60px 0;
  background-color: var(--bg-white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-light);
  padding: 15px 25px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--accent-blue-light);
  transform: translateY(-5px);
}

.trust-item i {
  font-size: 1.5rem;
  color: var(--accent-blue);
}

.trust-item span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
}

/* --- Inner Pages Hero (Gyno/ENT) --- */
.inner-hero {
  padding: 160px 0 80px;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.inner-hero.gyno::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, #fdf2f8 100%);
  border-bottom-left-radius: 100%;
  z-index: 0;
}

.inner-hero.ent::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--accent-blue-light) 100%);
  border-bottom-left-radius: 100%;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--accent-green);
  border-radius: var(--radius-lg);
  z-index: 1;
}

/* --- About Doctor Section --- */
.section {
  padding: 100px 0;
  position: relative;
}

.about-doctor {
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 50px;
}

.doc-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.about-text .doc-title {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Services Section --- */
.services-section {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue-light);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.gyno-theme .service-icon {
  background-color: #fdf2f8;
  color: #db2777;
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: white;
}

.gyno-theme .service-card:hover .service-icon {
  background-color: #db2777;
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonials-section {
  background-color: var(--bg-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.reviewer {
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer::before {
  content: '';
  width: 40px;
  height: 40px;
  background-color: var(--accent-blue-light);
  border-radius: 50%;
  display: inline-block;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230ea5e9"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Gallery Section --- */
.gallery-section {
  background-color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 250px;
  background-color: #e2e8f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* --- Contact & Appointment --- */
.contact-app-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  padding: 50px;
  background-color: var(--primary-color);
  color: white;
}

.contact-info h2 {
  color: white;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--accent-green);
  margin-top: 5px;
}

.info-item h4 {
  color: white;
  margin-bottom: 5px;
}

.info-item p {
  margin-bottom: 0;
}

.form-wrapper {
  padding: 50px;
  background: white;
}

.form-wrapper h3 {
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.footer-col.brand h3 {
  font-size: 2rem;
  color: var(--accent-blue);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent-green);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.fl-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.fl-btn:hover {
  transform: scale(1.1);
}

.fl-whatsapp {
  background-color: #25D366;
}

.fl-call {
  background-color: var(--accent-blue);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* --- Responsive --- */
@media (max-width: 992px) {

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doc-img {
    margin: 0 auto;
  }

  .hero-text {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 60px;
    /* Mobile friendly logo size */
  }

  .navbar {
    padding: 15px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-gateway {
    padding-top: 150px;
  }
}

/* Custom ENT Hero Section */
/* Custom ENT Hero Section */
.ent-hero-custom {
  position: relative;
  background-color: #f6f9fc;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.ent-hero-doctor {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: url('../images/dr_ashutosh.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, black 25%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
  z-index: 1;
}

.ent-hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.ent-custom-badge {
  background: #eef5fa;
  color: #4b9cd3;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 30px;
  margin-bottom: 30px;
  display: inline-block;
}

.ent-custom-heading {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 25px;
  color: #274156;
  letter-spacing: -1.5px;
}

.ent-light-blue {
  color: #4b9cd3;
}

.ent-custom-subtitle {
  color: #5b7282;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 550px;
}

.ent-hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-ent-primary {
  background: #274156;
  color: white;
  border-radius: 30px;
  padding: 15px 35px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-ent-primary:hover {
  background: #1a2d3c;
  transform: translateY(-2px);
  color: white;
}

.btn-ent-outline {
  background: transparent;
  color: #274156;
  border: 2px solid #274156;
  border-radius: 30px;
  padding: 15px 35px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-ent-outline:hover {
  background: #274156;
  color: white;
}

.ent-wave-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 35vw;
  height: auto;
  max-width: 500px;
  z-index: 5;
  pointer-events: none;
}

.ent-wave-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25vw;
  height: auto;
  max-width: 400px;
  z-index: 5;
  pointer-events: none;
}

.ent-sparkle {
  position: absolute;
  bottom: 60px;
  right: 80px;
  width: 50px;
  height: 50px;
  z-index: 5;
  background-color: #d1d9e0;
  clip-path: polygon(50% 0%, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0% 50%, 45% 45%);
}

@media (max-width: 1200px) {
  .ent-custom-heading {
    font-size: 4rem;
  }

  .ent-hero-doctor {
    width: 50%;
  }
}

@media (max-width: 992px) {
  .ent-hero-doctor {
    width: 100%;
    opacity: 0.2;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .ent-custom-heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .ent-hero-custom {
    padding: 100px 0 60px;
  }

  .ent-custom-heading {
    font-size: 2.8rem;
  }

  .ent-hero-buttons {
    flex-direction: column;
  }

  .ent-wave-tr {
    width: 60vw;
  }

  .ent-wave-bl {
    width: 40vw;
  }

  .ent-sparkle {
    display: none;
  }
}

/* Custom Gynecology Hero Section (Matching ENT structural design) */
.gyno-hero-custom {
  position: relative;
  background-color: #fff5f8;
  /* Very light pink/white background */
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.gyno-hero-doctor {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: url('../images/dr_akanksha_real.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, black 25%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
  z-index: 1;
}

.gyno-hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.gyno-custom-badge {
  background: #fce8ee;
  color: #e81c5d;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 30px;
  margin-bottom: 30px;
  display: inline-block;
}

.gyno-custom-heading {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 25px;
  color: #4a0b1e;
  letter-spacing: -1.5px;
}

.gyno-pink {
  color: #e81c5d;
}

.gyno-custom-subtitle {
  color: #6b3e4e;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 550px;
}

.gyno-hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-gyno-primary {
  background: #e81c5d;
  color: white;
  border-radius: 30px;
  padding: 15px 35px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-gyno-primary:hover {
  background: #c2154c;
  transform: translateY(-2px);
  color: white;
}

.btn-gyno-outline {
  background: transparent;
  color: #4a0b1e;
  border: 2px solid #4a0b1e;
  border-radius: 30px;
  padding: 15px 35px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-gyno-outline:hover {
  background: #4a0b1e;
  color: white;
}

.gyno-wave-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 35vw;
  height: auto;
  max-width: 500px;
  z-index: 5;
  pointer-events: none;
}

.gyno-wave-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25vw;
  height: auto;
  max-width: 400px;
  z-index: 5;
  pointer-events: none;
}

.gyno-sparkle {
  position: absolute;
  bottom: 60px;
  right: 80px;
  width: 50px;
  height: 50px;
  z-index: 5;
  background-color: #f7d4df;
  clip-path: polygon(50% 0%, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0% 50%, 45% 45%);
}

@media (max-width: 1200px) {
  .gyno-custom-heading {
    font-size: 4rem;
  }

  .gyno-hero-doctor {
    width: 50%;
  }
}

@media (max-width: 992px) {
  .gyno-hero-doctor {
    width: 100%;
    opacity: 0.2;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .gyno-custom-heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .gyno-hero-custom {
    padding: 100px 0 60px;
  }

  .gyno-custom-heading {
    font-size: 2.8rem;
  }

  .gyno-hero-buttons {
    flex-direction: column;
  }

  .gyno-wave-tr {
    width: 60vw;
  }

  .gyno-wave-bl {
    width: 40vw;
  }

  .gyno-sparkle {
    display: none;
  }
}

/* Custom Gateway Redesign */
/* =============================================
   NEW GATEWAY HERO — Reference-Matching Design
   ============================================= */
.gw-hero {
  background: #111827;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 0;
}

.gw-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

/* --- Gateway Top Bar (inside hero) --- */
.gw-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gw-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gw-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #dbb360;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.gw-top-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
}

.gw-top-title {
  font-family: var(--font-heading);
  color: #dbb360;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.gw-top-title em {
  font-style: italic;
  font-weight: 300;
}

.gw-top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gw-top-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
  transition: color 0.3s;
}

.gw-top-link:hover {
  color: white;
}

.gw-top-btn {
  background: #dbb360;
  color: #111827;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.gw-top-btn:hover {
  background: #e5c378;
  transform: translateY(-1px);
}

/* --- Gateway Cards Grid --- */
.gw-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 0;
}

.gw-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 70vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.gw-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  transition: transform 0.6s ease;
}

.gw-card:hover .gw-card-img {
  transform: scale(1.03);
}

.gw-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.gw-card-gyno .gw-card-overlay {
  background: linear-gradient(180deg, rgba(180, 120, 60, 0.25) 0%, rgba(100, 60, 20, 0.75) 70%, rgba(60, 30, 10, 0.92) 100%);
}

.gw-card-ent .gw-card-overlay {
  background: linear-gradient(180deg, rgba(30, 120, 130, 0.25) 0%, rgba(15, 80, 90, 0.70) 70%, rgba(10, 50, 60, 0.92) 100%);
}

.gw-card-body {
  position: relative;
  z-index: 5;
  padding: 50px 40px;
  width: 100%;
}

.gw-doc-name {
  display: block;
  color: #dbb360;
  font-size: 1rem;
  font-style: italic;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  font-weight: 400;
}

.gw-card-title {
  font-family: var(--font-heading);
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.gw-card-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
  font-family: var(--font-body);
}

.gw-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #111827;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.gw-card-btn:hover {
  background: #dbb360;
  color: #111827;
  transform: translateX(4px);
}

.gw-card-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s;
}

.gw-card-btn:hover i {
  transform: translateX(4px);
}

/* --- Gateway Trust Bar --- */
.gw-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 0;
  gap: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gw-trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gw-trust-item i {
  color: #dbb360;
  font-size: 1.5rem;
  opacity: 0.9;
}

.gw-trust-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.gw-trust-item span {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  letter-spacing: 1px;
  margin-top: 2px;
}

.gw-trust-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
}

/* --- Gateway Responsive --- */
@media (max-width: 992px) {
  .gw-cards-grid {
    grid-template-columns: 1fr;
  }

  .gw-card {
    height: 60vh;
    min-height: 450px;
  }

  .gw-top-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .gw-top-right {
    justify-content: center;
  }

  .gw-trust-bar {
    flex-wrap: wrap;
    gap: 25px;
  }

  .gw-trust-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .gw-hero {
    padding: 90px 0 0;
  }

  .gw-card-title {
    font-size: 2rem;
  }

  .gw-card-body {
    padding: 30px 25px;
  }

  .gw-card {
    height: 55vh;
    min-height: 400px;
  }

  .gw-top-title {
    font-size: 1.2rem;
  }
}

/* Custom Gynecology Page Redesign Matching Reference */
.gyno-page-wrapper {
  background-color: #ffffff;
}

/* Base Styles specific to new Gyno design */
.g-section {
  padding: 80px 0;
}

.g-heading-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.g-heading-center h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: #1f2937;
  margin-bottom: 15px;
  font-weight: 700;
}

.g-heading-center p {
  color: #6b7280;
  font-size: 1.05rem;
}

/* Advanced Hero Redesign */
.g-advanced-hero {
  background: linear-gradient(to bottom right, #fdf6f8, #ffffff);
  padding: 160px 0 100px;
}

.g-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.g-hero-badge {
  display: inline-block;
  background-color: #fce7f3;
  color: #db2777;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.g-hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.1;
  color: #1f2937;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.g-hero-title span {
  color: #e81c5d;
  display: block;
}

.g-hero-desc {
  color: #4b5563;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 90%;
}

.g-hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-g-solid {
  background-color: #e81c5d;
  color: white !important;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #e81c5d;
}

.btn-g-solid:hover {
  background-color: #be1248;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(232, 28, 93, 0.3);
}

.btn-g-outline {
  background-color: white;
  color: #1f2937;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-g-outline:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.g-hero-img-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background-color: #1b4b52;
  /* Reference image green color fallback */
}

/* Meet Our Expert */
.g-expert-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.g-expert-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 60px;
  align-items: center;
}

.g-expert-img-wrapper {
  background-color: #f3f4f6;
  border-radius: 20px;
  overflow: hidden;
  padding-top: 20px;
}

.g-expert-header {
  margin-bottom: 25px;
}

.g-expert-label {
  color: #e81c5d;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  font-size: 0.9rem;
}

.g-expert-name {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  color: #1f2937;
  margin-bottom: 5px;
}

.g-expert-creds {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.g-expert-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.g-expert-stars span {
  color: #6b7280;
  font-size: 0.85rem;
}

.g-expert-bio {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 30px;
}

.g-expert-stats-grid {
  display: flex;
  gap: 20px;
}

.g-expert-stat-box {
  background-color: #fdf2f8;
  padding: 20px 25px;
  border-radius: 12px;
  flex: 1;
}

.g-expert-stat-box h4 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 5px;
}

.g-expert-stat-box p {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0;
}

/* Specialized Services Grid */
.g-services-section {
  padding: 100px 0;
  background-color: #fafafa;
}

.g-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.g-svc-card {
  background: white;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 15px -3px rgba(0, 0, 0, 0.01);
  transition: transform 0.3s;
}

.g-svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.g-svc-icon {
  width: 50px;
  height: 50px;
  background-color: #fdf2f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #db2777;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.g-svc-title {
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 12px;
  font-weight: 600;
}

.g-svc-desc {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Testimonials */
.g-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.g-test-card {
  background: #fafafa;
  padding: 35px;
  border-radius: 16px;
}

.g-test-stars {
  color: #fbbf24;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.g-test-quote {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.g-test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-test-avatar {
  width: 40px;
  height: 40px;
  background-color: #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}

.g-test-author-info {
  display: flex;
  flex-direction: column;
}

.g-test-author-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9rem;
}

.g-test-author-sub {
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Booking Form Section */
.g-book-section {
  background-color: #1d4ed8;
  padding: 100px 0;
}

.g-book-container {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.g-book-left {
  background-color: #e81c5d;
  flex: 1;
  padding: 60px;
  color: white;
}

.g-book-title {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin-bottom: 15px;
}

.g-book-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.g-book-bullets {
  list-style: none;
  padding: 0;
}

.g-book-bullets li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.g-bullet-icon {
  background-color: rgba(255, 255, 255, 0.2);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.g-book-right {
  background-color: white;
  flex: 1.2;
  padding: 60px;
}

.g-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.g-form-group {
  margin-bottom: 20px;
}

.g-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.g-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1f2937;
  transition: border-color 0.3s;
}

.g-input:focus {
  outline: none;
  border-color: #e81c5d;
}

textarea.g-input {
  resize: vertical;
  min-height: 120px;
}

.btn-g-submit {
  width: 100%;
  background-color: #e81c5d;
  color: white;
  padding: 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-g-submit:hover {
  background-color: #be1248;
}

/* Health Insights Section */
.g-insights-section {
  padding: 100px 0;
  background-color: white;
}

.g-insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.g-insights-title h2 {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  color: #1f2937;
  margin-bottom: 10px;
}

.g-insights-title p {
  color: #6b7280;
}

.g-view-all {
  color: #e81c5d;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.g-insight-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
}

.g-insight-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.g-insight-category {
  color: #db2777;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.g-insight-card h3 {
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 15px;
  line-height: 1.4;
}

.g-insight-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Base Footer Resets slightly */
.footer {
  background-color: #1e293b;
}

@media (max-width: 992px) {

  .g-hero-grid,
  .g-expert-grid,
  .g-book-container {
    grid-template-columns: 1fr;
  }

  .g-book-container {
    flex-direction: column;
  }

  .g-services-grid,
  .g-test-grid,
  .g-insights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .g-hero-title {
    font-size: 2.5rem;
  }

  .g-services-grid,
  .g-test-grid,
  .g-insights-grid,
  .g-form-grid {
    grid-template-columns: 1fr;
  }

  .g-insights-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .g-expert-stats-grid {
    flex-direction: column;
  }
}