:root {
  --primary-gold: #caa32b;
  --primary-gold-dark: #b38f26;
  --navy-blue: #00122e;
  --dark-bg: #111111;
  --darker-bg: #0a0a0a;
  --light-bg: #f9f6f0;
  --text-main: #333333;
  --text-muted: #666666;
  --text-white: #ffffff;
  --white: #ffffff;
  --font-heading: "Playfair Display", serif;
  --font-body: "Outfit", sans-serif;
  --container-width: 1200px;
  --section-padding: 100px 0;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

ul {
  list-style: none;
}

.section-padding {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--light-bg);
}
.bg-dark {
  background-color: var(--navy-blue);
}
.text-white {
  color: var(--text-white);
}
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 2rem;
}

h1,
h2,
h3,
h4,
.heading-font {
  font-family: var(--font-heading);
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-gold {
  background-color: var(--primary-gold);
  color: #1a1a1a;
}

.btn-gold:hover {
  background-color: var(--primary-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header (KEPT DARK) */
.header {
  padding: 15px 0;
  background: var(--navy-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-link {
  font-weight: 600;
  color: var(--text-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  overflow: hidden;
}

.hero-container-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-bottom: 50px;
}

.hero-text {
  flex: 1.2;
  color: var(--text-main);
}

.hero-image-side {
  flex: 1;
  position: relative;
}

.hero-image-side img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 0px rgba(201, 169, 110, 0.1);
}

.hero-text h1 {
  font-size: 45px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--navy-blue);
}

.hero-text h1 span {
  color: var(--primary-gold);
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.badge {
  background-color: var(--primary-gold);
  color: #000;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-features {
  display: flex;
  gap: 40px;
  margin: 20px 0;
}

.hero-feature {
  background: var(--light-bg);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.hero-cta {
  margin-top: 30px;
}

/* Appointment Bar (The requested form design) */

.appointment-bar {
  /* background: var(--darker-bg); */
  background-color: var(--navy-blue);
  padding: 30px 0;
  position: relative;
  z-index: 2;
}
.appointment-bar p {
  text-align: center;
  color: #d0cfcf;
  font-size: 12px;
}
.appointment-form {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.form-title {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 15px;
}

.form-group {
  flex: 1;
  min-width: 150px;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid #333;
  background: #fff;
  color: #333;
  font-size: 0.9rem;
  outline: none;
}

.appointment-form select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E")
    no-repeat right 15px center;
}

.btn-submit {
  background-color: var(--primary-gold);
  color: #000;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary-gold-dark);
}

.form-status {
  width: 100%;
  margin-top: 10px;
  font-size: 0.9rem;
}

.form-status.success {
  color: #4caf50;
}
.form-status.error {
  color: #f44336;
}

/* Doctor Section */
.about-doctor {
  background: url("procedures-bg.png") no-repeat center center/cover;
  position: relative;
}

.about-doctor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
}

.about-doctor .container {
  position: relative;
  z-index: 1;
}

.doctor-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.doctor-image {
  position: relative;
  z-index: 1;
}

.doctor-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: var(--primary-gold);
  z-index: -1;
  border-radius: 10px;
  opacity: 0.15;
}

.doctor-image img {
  border-radius: 10px;
  display: block;
  box-shadow: 15px 15px 0px var(--primary-gold);
}

.doctor-experience-tag {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-gold);
  color: #000;
  padding: 20px;
  font-weight: 700;
  border-radius: 5px;
}

.doctor-info .sub-head {
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-size: 22px;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.credential-item {
  background: var(--light-bg);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.doctor-highlights {
  margin: 30px 0;
}

.doctor-highlights li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.doctor-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-weight: 700;
}

/* Procedures Grid */
.procedures {
  position: relative;
  background: url("procedures-bg.png") no-repeat center center/cover;
  background-attachment: fixed;
}

.procedures::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(249, 246, 240, 0.9); /* light-bg with transparency */
}

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

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

.procedure-card {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
}
.procedure-card p {
  flex-grow: 1;
}
.procedure-card .btn {
  padding: 8px 16px;
}
.procedure-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-gold);
}

.procedure-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 169, 110, 0.1);
  margin-bottom: -20px;
}

.procedure-card h3 {
  margin-bottom: 15px;
}

/* Why Choose */
.why-choose {
  position: relative;
  /* background: url("why-choose-bg.png") no-repeat center center/cover; */
  /* background: linear-gradient(233.24deg, #3f3a2a 19.76%, #3f3a2a 140.47%); */
  background-color: #3f3a2a;
  color: #fff;
}

/* .why-choose::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
} */

.why-choose .container {
  position: relative;
  z-index: 1;
}

.why-choose .section-title {
  color: #fff;
  line-height: 1.2;
}
.why-choose p {
  color: rgba(255, 255, 255, 0.8);
}

.row {
  display: flex;
  gap: 50px;
}

.col-left {
  flex: 1;
}
.col-right {
  flex: 2;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.benefit-item h4 {
  color: var(--primary-gold);
  margin-bottom: 10px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.testimonial-card p {
  flex-grow: 1;
}
.stars {
  color: var(--primary-gold);
  margin-bottom: 15px;
}

.patient-info {
  margin-top: 20px;
  font-weight: 600;
  font-style: italic;
  opacity: 0.8;
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.faq-question {
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--primary-gold);
}

.faq-answer {
  padding-top: 15px;
  color: var(--text-muted);
}

/* Final CTA */
.cta-final {
  /* background: var(--navy-blue); */
  /* background: linear-gradient(233.24deg, #3f3a2a 19.76%, #cbbd93 140.47%); */
  background-color: #3f3a2a;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-final .badge-text {
  color: #4285f4;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.cta-final .section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.cta-final .section-title span {
  font-style: italic;
  color: var(--primary-gold);
}

.cta-final .cta-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-call ,.btn-outline{
  background: var(--primary-gold-dark);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 700;
}

.btn-outline {
  background: #4caf50;
}

.cta-address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Footer (REVERTED TO DARK NAVY) */
.footer {
  padding: 80px 0 30px;
  background: var(--navy-blue);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo-text {
  color: #fff;
}
.footer p {
  color: rgba(255, 255, 255, 0.7);
}
.footer h4 {
  color: var(--primary-gold);
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 1.2rem;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.stats-section {
  width: 100%;
  background: var(--primary-gold);
  padding: 18px 0;
}

.stats-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 10px 20px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  width: 1px;
  height: 45px;

  background: rgba(0, 18, 46, 0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-blue);

  margin-bottom: 8px;
}

.stat-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy-blue);

  max-width: 140px;
  margin: 0 auto;
}
.header-info {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cta-section {
  display: none;
}
.btn-call span,
.btn-outline span {
  display: flex;
}
/* Responsive */
@media (max-width: 992px) {
  .stats-section {
    padding: 25px 0;
  }
  .stat-card {
    flex: 0 0 50%;
    padding: 15px 10px;
  }
  .stat-number {
    font-size: 24px;
  }
  .stat-text {
    font-size: 12px;
  }

  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding-top: 40px;
  }
  .hero-container-flex {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text p {
    margin: 0 auto 20px;
  }
  .hero-features {
    justify-content: center;
    gap: 20px;
  }
  .hero-image-side {
    order: -1;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-image-side img {
    box-shadow: 10px 10px 0px rgba(201, 169, 110, 0.1);
  }

  .appointment-form {
    flex-direction: column;
    align-items: stretch;
  }
  .form-title {
    text-align: center;
    margin-bottom: 10px;
  }
  .doctor-wrapper {
    grid-template-columns: 1fr;
  }
  .procedures-grid {
    grid-template-columns: 1fr 1fr;
  }
  .row {
    flex-direction: column;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 20px;
  }

  .badge,
  .hero-text h1,
  .hero-text p {
    margin-bottom: 10px;
  }
  .hero-features {
    margin: 10px 0;
  }
  .hero-container-flex {
    gap: 15px;
    padding-bottom: 20px;
  }
  .cta-final .section-title,
  .section-title {
    font-size: 24px;
    line-height: 1.3;
  }
  .doctor-info .sub-head {
    font-size: 18px;
    margin-bottom: 0;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-card {
    width: 50%;
    flex: 0 0 50%;
    min-width: unset;
    padding: 10px;
    text-align: center;
  }

  .stat-card::after {
    display: none;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-text {
    font-size: 13px;
    max-width: 100%;
  }

  /* Last single card center */
  .stat-card:last-child {
    margin: 0 auto;
  }
  .hero-text h1 {
    font-size: 24px;
    line-height: 1.3;
  }
  .hero-text p {
    font-size: 16px;
  }
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .procedures-grid {
    grid-template-columns: 1fr;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .cta-section {
    background-color: var(--primary-gold-dark);
    padding: 0px;
    position: sticky;
    bottom: 0;
    display: block;
    z-index: 999;
  }
  .cta-section .container {
    padding: 0;
  }
  .cta-columns .icon-bx-cta:nth-of-type(1) {
    background-color: var(--navy-blue);
  }

  .cta-columns .icon-bx-cta:nth-of-type(2) {
    background-color: #4caf50;
  }
  .cta-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
  .icon-bx-cta {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    align-items: center;
    padding: 10px;
    gap: 5px;
    font-size: 12px;
  }
  .icon-bx-cta:not(:last-child) {
    border-right: 1px solid #fff;
  }
  .procedures-grid {
    gap: 15px;
  }
}

/* Popup Modal Form Styles */
.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 18, 46, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.popup-modal.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  background-color: var(--navy-blue);
  color: var(--text-white);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(202, 163, 43, 0.2);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(202, 163, 43, 0.3);
}

.popup-modal.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.2rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--primary-gold);
}

.popup-header {
  margin-bottom: 25px;
  text-align: center;
}

.popup-header h3 {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.popup-header p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.popup-form-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-form-content .form-group {
  width: 100%;
}

.popup-form-content input,
.popup-form-content select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.popup-form-content input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.popup-form-content input:focus,
.popup-form-content select:focus {
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(202, 163, 43, 0.2);
}

.popup-form-content select {
  appearance: none;
  background: rgba(255, 255, 255, 0.05)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23caa32b' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E")
    no-repeat right 20px center;
}

.popup-form-content select option {
  background-color: var(--navy-blue);
  color: #fff;
}

.btn-submit-popup {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.popup-footer-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-top: 20px;
}
