* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: poppins, sans-serif;

  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/*MAIN HEADING*/

:root {
  --primary-color: #2a9d8f;
  --accent-color: #ffb703;
  --dark-text: #212529;
  --light-text: #f8f9fa;
  --mild-dark-text: #264653;
  --primary-blue: #003366;
  --accent-teal: #00796b;
  --bg-light: #f4f7f9;
  --text-dark: #333;
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3560;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #f5ecd2;
  --teal: #2a9d8f;
  --teal-light: #3fbfb0;
  --cream: #faf8f3;
  --white: #ffffff;
  --text-dark: #0a1628;
  --text-mid: #3a4a6a;
  --text-light: #7a8ba8;
  --border: rgba(201, 168, 76, 0.2);
}

header {
  background: #134942;
  max-width: 100%;
  z-index: 1000;
}
header ul li a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9f9f9;
}
.contact-banner {
  display: flex;
  justify-content: space-around;
  padding: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9f9f9;
  list-style-type: none;
}

/*NEW NAVBAR GOES HERE*/
.nav-bar {
  position: sticky;
  top: -1px;
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  color: var(--light-text-color);
  padding: 15px 20px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: bold;
}
.logo a {
  text-decoration: none;
  color: #212529;
  cursor: pointer;
}
.brand {
  color: #ffb703;
  border-radius: 6px;
}
.city {
  font-size: 1.3rem;
  letter-spacing: 0.3rem;
}
.owner {
  font-size: 0.6rem;
  font-style: italic;
  color: #7a8fa6;
  text-align: left;
  padding-left: 2px;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: #212529;
  font-weight: 600;
  text-decoration: none;
  padding: 10px;
  display: block;
}

.nav-links li a.active,
.nav-links li a[href*="#"]:not([href="#"]):visited {
  border-bottom: 2px solid #9e2a2b;
}

.nav-links li a.active,
.nav-links ul li a.active,
.nav-links li.has-submenu > a.active,
.nav-links li.has-submenu-r > a.active,
.nav-links li a:hover,
.nav-links ul li a:hover {
  border-bottom: 1px solid #9e2a2b;
}

.nav-links li:hover > ul {
  display: block;
  transition: all 0.8s ease-in;
}

.nav-links ul {
  display: none;
  position: absolute;
  background-color: #f8f9fa;
  top: 100%;
  left: 0;
  list-style: none;
  min-width: 180px;
  z-index: 999;
  transition: all 0.8s ease-in;
}

.nav-links ul li a {
  padding: 10px;
}
/*to extend submenu*/
.has-submenu-r ul {
  position: absolute;
  right: 0; /* Aligns the right edge of the menu with the right edge of the parent */
  left: auto; /* Overrides any default left alignment */
  min-width: 290px;
  white-space: normal; /* Allow wrapping if the title is very long */
}

.has-submenu-r ul li a {
  white-space: normal; /* Allows text to wrap to a second line instead of pushing the width */
  line-height: 1.4;
  padding: 12px 15px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: #212529;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/*******************************CONTACT FLOATING BUTTON**********************************/
.contact-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 999;
}
.fa-whatsapp {
  color: #25d366;
  font-size: 2rem;
}
.fa-calendar-check {
  font-size: 1.8rem;
}

.contact-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(170, 170, 170, 0.3);
  color: #3b3b3b;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-btn:hover {
  background-color: #1d6d64;
  color: #f7fff7;
}

.phone-btn,
.whatsapp-btn,
.appointment-btn {
  text-decoration: none;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.contact-wrapper.active .phone-btn,
.contact-wrapper.active .whatsapp-btn,
.contact-wrapper.active .appointment-btn {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
/*FLOATING BUTTON ENDS*/



/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 70% 60% at 75% 50%,
      rgba(42, 157, 143, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 80% at 20% 80%,
      rgba(201, 168, 76, 0.07) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a1628 0%, #0d1e3a 50%, #0a2540 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(201, 168, 76, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
/* Eye graphic */
.hero-eye-graphic {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  opacity: 0.08;
  animation: slowRotate 40s linear infinite;
}
@keyframes slowRotate {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 120px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 7px 14px;
  border-radius: 40px;
  margin-bottom: 28px;
  max-width: 100%;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}
.hero-badge span {
     
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: normal;
  word-break: break-word;
}
.hero-title {
     
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
     
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.btn-primary:hover::after {
  transform: translateX(0);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}
.btn-secondary {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  white-space: nowrap;
}
.btn-secondary:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* Hero right: stats card */
.hero-right {
  opacity: 0;
  animation: fadeLeft 0.9s 0.6s forwards;
}
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.card-title {
     
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}
.card-subtitle {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 30px;
     
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.1);
  margin-bottom: 28px;
}
.stat-item {
  background: rgba(10, 22, 40, 0.6);
  padding: 20px;
  text-align: center;
}
.stat-number {
     
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
  display: block;
}
.hero-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 14px 18px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s;
}
.hero-contact:hover {
  background: rgba(201, 168, 76, 0.15);
}
.hero-contact-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.hero-contact-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}
.hero-contact-number {
  color: var(--gold-light);
  font-weight: 500;
}

/* ─── SECTION COMMONS ─── */
section {
  padding: 100px 60px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
     
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-title {
     
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--teal);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}

/* ─── WHY CHOOSE ─── */
#about {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(42, 157, 143, 0.05),
    transparent 70%
  );
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}
.about-left {
  position: relative;
}
.doctor-card {
  background: var(--navy);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.doctor-card-header {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  padding: 50px 40px;
  text-align: center;
  position: relative;
}
.doctor-card-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.doctor-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
     
  font-size: 2rem;
  color: var(--gold);
}
.doctor-name {
     
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 4px;
}
.doctor-credentials {
     
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.doctor-card-body {
  padding: 30px 40px;
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.credential-item:last-child {
  border-bottom: none;
}
.credential-icon {
  width: 32px;
  height: 32px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.85rem;
}
.credential-text {
  flex: 1;
}
.credential-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}
.credential-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}


.about-title {
     
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-title em {
  font-style: italic;
  color: var(--teal);
}
.about-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 18px;
  font-weight: 300;
}
.about-highlight {
  background: linear-gradient(
    135deg,
    rgba(42, 157, 143, 0.06),
    rgba(201, 168, 76, 0.06)
  );
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 30px 0;
  border-radius: 0 4px 4px 0;
}
.about-highlight p {
     
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.7;
  font-style: italic;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pill {
  background: rgba(42, 157, 143, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.2);
  color: var(--teal);
  padding: 7px 16px;
  border-radius: 40px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ─── SURGERY SECTION ─── */
#surgery {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#surgery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 60% 50% at 80% 20%,
      rgba(42, 157, 143, 0.1),
      transparent
    ),
    radial-gradient(
      ellipse 40% 60% at 10% 80%,
      rgba(201, 168, 76, 0.06),
      transparent
    );
  pointer-events: none;
}
#surgery .section-title {
  color: var(--white);
}
#surgery .section-desc {
  color: rgba(255, 255, 255, 0.5);
}
.surgery-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
  margin-top: 60px;
}
.surgery-intro-label {
  margin-bottom: 24px;
}
.surgery-intro-title {
     
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
}
.surgery-intro-title em {
  font-style: italic;
  color: var(--teal-light);
}
.surgery-intro-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.85;
  margin-bottom: 30px;
  font-weight: 300;
}
.surgery-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(42, 157, 143, 0.12);
  border: 1px solid rgba(42, 157, 143, 0.25);
  padding: 12px 22px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.surgery-spec-badge span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}
.surgery-spec-badge strong {
  color: var(--teal-light);
}
.benefit-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 3px;
  padding: 24px 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
}
.benefit-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(255, 255, 255, 0.07);
}
.benefit-card:hover::before {
  transform: scaleY(1);
}
.benefit-num {
     
  font-size: 2rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.25);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}
.benefit-content {
  flex: 1;
}
.benefit-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.benefit-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── IOL OPTIONS ─── */
#iols {
  background: var(--cream);
  position: relative;
}
.iol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}
.iol-card {
  background: var(--white);
  padding: 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.iol-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.iol-card:hover {
  background: rgba(42, 157, 143, 0.02);
}
.iol-card:hover::after {
  transform: scaleX(1);
}
.iol-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(42, 157, 143, 0.1),
    rgba(201, 168, 76, 0.1)
  );
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}
.iol-name {
     
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}
.iol-tag {
  display: inline-block;
     
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.iol-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

/* ─── CONDITIONS ─── */
#conditions {
  background: var(--white);
  position: relative;
}
.conditions-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}
.condition-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.condition-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: default;
  transition: padding-left 0.3s;
}
.condition-item:hover {
  padding-left: 8px;
}
.condition-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.3s;
}
.condition-item:hover .condition-dot {
  transform: scale(1.5);
}
.condition-name {
     
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
}
.condition-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-left: auto;
}

.journey-title {
     
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 40px;
}
.journey-title em {
  font-style: italic;
  color: var(--teal);
}
.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.journey-step {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.step-num-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.06);
}
.step-num {
     
  font-size: 1.1rem;
  color: var(--gold);
}
.step-content {
  flex: 1;
}
.step-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

/* ─── ADVANTAGE ─── */
#advantage {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e3a 100%);
  position: relative;
  overflow: hidden;
}
#advantage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 50% 50%,
    rgba(42, 157, 143, 0.08),
    transparent
  );
}
#advantage .section-title {
  color: var(--white);
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.adv-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 3px;
  padding: 36px;
  transition: all 0.3s;
  position: relative;
}
.adv-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}
.adv-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 2px;
}
.adv-title {
     
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.adv-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  font-weight: 300;
}
.northeast-banner {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 3px;
  padding: 40px 50px;
  margin-top: 50px;
  display: flex;
  gap: 40px;
  align-items: center;
}
.nb-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.nb-title {
     
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 10px;
}
.nb-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  font-weight: 300;
}

/* ─── SYMPTOMS ─── */
#symptoms {
  background: var(--cream);
}
.symptoms-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 60px;
}
.symptom-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.symptom-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.symptom-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.1);
}
.symptom-icon {
  color: var(--teal);
  flex-shrink: 0;
}
.symptom-text {
  font-size: 0.9rem;
  color: var(--text-mid);
}
.cta-card {
  background: var(--navy);
  border-radius: 4px;
  padding: 50px 44px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}
.cta-card-title {
     
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}
.cta-card-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 30px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-detail-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.contact-detail-text strong {
  color: var(--white);
  display: block;
  font-size: 0.88rem;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 15px 28px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 28px;
  transition: all 0.3s;
}
.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── TABLET / LARGE MOBILE (≤ 900px) ─── */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  section {
    padding: 70px 24px;
  }
  footer {
    padding: 50px 24px 30px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero-eye-graphic {
    display: none;
  }
  .about-grid,
  .surgery-grid,
  .conditions-layout,
  .symptoms-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .iol-grid {
    grid-template-columns: 1fr;
  }
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-address {
    text-align: center;
  }
  .northeast-banner {
    flex-direction: column;
    padding: 28px;
  }
}

/* ─── SMALL MOBILE (≤ 425px) ─── */
@media (max-width: 425px) {
  /* Hero section container */
  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 90px 18px 50px;
    gap: 32px;
    width: 100%;
    overflow: hidden;
  }

  /* Eye graphic: show as subtle background watermark, not positioned offscreen */
  .hero-eye-graphic {
    display: block;
    position: absolute;
    right: -120px;
    top: 30px;
    transform: none;
    width: 280px;
    height: 280px;
    opacity: 0.05;
    animation: none;
  }

  /* Badge: allow text to wrap, prevent overflow */
  .hero-badge {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 20px;
    max-width: 100%;
    width: fit-content;
  }
  .hero-badge-dot {
    margin-top: 3px; /* align dot with first line of text */
    flex-shrink: 0;
  }
  .hero-badge span {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    white-space: normal;
    word-break: break-word;
    line-height: 1.6;
  }

  /* Title */
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-bottom: 16px;
  }

  /* Subtitle */
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.65;
  }

  /* Actions: stack vertically, full width */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.78rem;
    white-space: normal;
    text-align: center;
  }
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 0;
    border-bottom: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    border-radius: 2px;
  }

  /* Hero card */
  .hero-right {
    width: 100%;
  }
  .hero-card {
    padding: 22px 18px;
    width: 100%;
  }
  .card-title {
    font-size: 1.25rem;
    word-break: break-word;
  }
  .card-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    word-break: break-word;
  }

  /* Stat grid: tighter padding */
  .stat-grid {
    margin-bottom: 20px;
  }
  .stat-item {
    padding: 14px 10px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    margin-top: 4px;
  }

  /* Contact strip */
  .hero-contact {
    padding: 12px 14px;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .hero-contact-icon svg {
    width: 16px;
    height: 16px;
  }
  .hero-contact-text {
    font-size: 0.75rem;
  }
  .hero-contact-number {
    font-size: 0.82rem;
  }
}

/*FOOTER SECTION*/
.footer {
  background-color: #333533;
  color: var(--light-text);
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box {
  flex: 1;
  min-width: 250px;
  margin: 20px;
}
/*   Social media    */
.footer-box h4 {
  font-size: 1.2rem; /*First change*/
  margin-top: 15px;
}
.social-media .fa-brands {
  font-size: 1.2rem;
}
.social-media {
  max-width: 80px;
  display: flex;
  justify-content: space-between;
  margin: 7px; /*Second change*/
}
.footer-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-box p,
.footer-box ul,
.footer-box li,
.footer-box a {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light-text);
  text-decoration: none;
}
.footer-box p {
  padding-right: 30px; /*Third change*/
}

.footer-box ul {
  list-style: none;
  padding-left: 32px;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  text-align: center;
  color: var(--text-color-secondary);
  font-size: 0.9rem;
}
.copyright a {
  color: var(--text-color-secondary);
  font-size: 0.9rem;
}

/*    MEDIA QUERIES            */
:root {
  --primary-color: #2a9d8f;
  --accent-color: #ffb703;
  --dark-text: #212529;
  --light-text: #f8f9fa;
}
@media (min-width: 320px) and (max-width: 480px) {
  /*BANNER SECTION*/
  header ul li a,
  .contact-banner {
    font-size: 0.7rem;
  }
  .contact-banner {
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 600px;
  }
  .hero h1 {
    font-size: 32px;
  }

  /* FOOTER */
  .footer-box {
    max-width: 300px;
  }
}
/* 481px - 600px: Larger mobile devices (landscape). */
@media (min-width: 481px) and (max-width: 600px) {
  header ul li a,
  .contact-banner {
    font-size: 0.8rem;
  }
  .contact-banner {
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 600px;
  }

  /* FOOTER */
  .footer-box {
    max-width: 300px;
  }
}

/* 600px - 768px: Tablets (portrait). */
@media (min-width: 601px) and (max-width: 768px) {
  header ul li a,
  .contact-banner {
    font-size: 0.7rem;
  }
  .contact-banner {
    max-width: 100%;
    margin: auto;
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    max-width: 600px;
  }
}
/* 768px - 992px: Tablets (landscape) and small laptops. */

@media (min-width: 768px) and (max-width: 992px) {
  header ul li a,
  .contact-banner {
    font-size: 0.9rem;
  }
  .contact-banner {
    max-width: 100%;
    margin: auto;
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 600px;
  }
}

/* ACTIVATE HAMBURGER BUTTON */
@media (max-width: 768px) {
  .nav-bar {
    position: sticky;
    top: 0;
  }
  .nav-links {
    height: 100vh;
    position: absolute;
    top: 80px;
    right: 0;
    flex-direction: column;
    background: #f8f9fa;
    width: 320px;
    display: none;
    transition: transform 0.4s ease;
    padding: 20px;
    z-index: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links ul {
    position: relative;
    top: 0;
  }

  .hamburger {
    display: flex;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  } /* Stack sidebar below content */
  .sidebar {
    position: static;
  }
}

/*Rotate Animation*/
/* Only animate when fa-xmark appears */
.rotate-in {
  animation: rotatePop 0.5s ease-in-out;
}

/* Rotate + scale animation */
@keyframes rotatePop {
  0% {
    transform: rotate(0deg) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: rotate(180deg) scale(1);
    opacity: 1;
    transition: 0.5s ease;
  }
}
