/* Base Styles */
:root {
  --bs-primary: #1f2b6c !important;
  --bs-secondary: #159eec !important;
  --bs-info: #bfd2f8 !important;
}

* {
  font-family: "Nunito", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

textarea {
  resize: none !important;
}

.form-select {
  --bs-form-select-bg-img: none !important;
}

/* top strip  */

.top-strip {
  max-width: 1400px;
  margin: 0 auto;
}

.icon {
  height: 1.5rem;
  /* margin-right: 0.5rem; */
}

.label {
  color: var(--bs-secondary);
}

.value {
  font-weight: 600;
  margin-right: 0.25rem;
  color: var(--bs-primary);
}

@media (max-width: 480px) {
  .top-strip {
    display: none;
  }
}

/* header  */
.navbar {
  background-color: var(--bs-primary);
}

.navbar .container-fluid {
  max-width: 1400px;
}

.navbar-toggler {
  border: none !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url(../media/hamburger_menu.png) !important;
}

.subtitle {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bs-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.2rem;
  text-decoration: none;
}

.title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bs-primary);
  margin-bottom: 2rem;
}

.btn-submit {
  background-color: var(--bs-info) !important;
  color: var(--bs-primary) !important;
  font-weight: 500 !important;
  border-radius: 25px !important;
  padding: 9px 18px !important;
}

.btn-submit:hover {
  background-color: var(--bs-secondary) !important;
}

/* mobile-first layout */
.hero-section {
  background: #f8f9fa;
  padding: 2rem;
}

.hero-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.hero-text {
  text-align: center;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
}

.hero-buttons {
  margin-top: 1rem;
}

/* make your existing .btn-submit inline-block so they sit side by side */
.hero-buttons .btn-submit {
  display: inline-block;
  margin: 0.25rem;
}

/* the doctor image as a CSS background */
.hero-image {
  width: 100%;
  height: 200px; /* mobile height */
  background: url("./media/Homepage Banner Image.png") center/cover no-repeat;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* tablet ↑ */
@media (min-width: 600px) {
  .hero-image {
    height: 300px;
  }
}

/* desktop ↑ */
@media (min-width: 1024px) {
  .hero-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .hero-text {
    flex: 1;
    text-align: left !important;
    padding-right: 2rem;
  }
  .hero-text .subtitle {
    text-align: left;
  }
  .hero-text .title {
    text-align: left;
  }
  .hero-text .text-content {
    text-align: left;
  }
  .hero-image {
    flex: 1;
    height: 500px;
    margin-bottom: 0;
    border-radius: 0; /* flush to the edge */
    background-position: right center;
  }
}

.hero-section .custom-field {
  background-color: white !important;
  color: var(--bs-primary) !important;
}

.hero-section .custom-field::placeholder, .hero-section .custom-field option {
  color: var(--bs-primary) !important;
}

/*— Hero Wrapper —*/
.hero-about {
  position: relative;
  background: linear-gradient(
      to right,
      rgba(240, 248, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    );
  overflow: hidden;
}

/*— Decorative circles —*/
.circle {
  position: absolute;
  background: #bfd2f849;
  border-radius: 50%;
}
.hero-about .top-left {
  width: 200px;
  height: 200px;
  top: -80px;
  left: -80px;
}
.hero-about .bottom-right {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -120px;
}

/*— Inner Container —*/
.hero-about .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-about .title {
  margin-bottom: 0;
}

/*— CTA Buttons —*/
.hero-cta {
  display: flex;
  gap: 0.75rem;
}

/*— Tablet & Up (≥600px) —*/
@media (min-width: 600px) {
  .breadcrumb {
    font-size: 1rem;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-cta .btn {
    font-size: 1.125rem;
  }
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/*— Desktop & Up (≥1024px) —*/
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }
  .breadcrumb {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  .hero-cta {
    justify-content: flex-start;
    gap: 1rem;
  }
  .hero-cta .btn {
    font-size: 1.25rem;
  }
}

/* welcome section  */
.intro-section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.intro-section .intro-link {
  color: var(--bs-secondary);
  font-weight: 500;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  text-decoration: none;
  transition: color 0.3s ease;
}

.intro-section .intro-link:hover {
  text-decoration: underline;
  color: var(--bs-info);
}

/* surgeries  */
.surgeries-section {
  background-color: var(--bg);
  padding: 2rem 1rem;
  border-radius: 1rem;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

.surgeries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  background-color: #bfd2f882;
  padding: 3rem 3rem;
  border-radius: 0.75rem;
}

@media (max-width: 450px) {
  .top-strip {
    display: none;
  }
}

.surgery-card {
  width: calc(50% - 0.5rem); /* 2 columns on mobile */
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  background-color: white;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--bs-primary);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.surgery-card img {
  height: 2.5rem;
  width: auto;
  margin-bottom: 0.5rem;
}

.surgery-card:hover {
  background-color: var(--bs-primary);
  transform: translateY(-3px);
}

.surgery-card:hover span {
  color: var(--bs-info);
}

.surgery-card:hover i {
  color: var(--bs-info);
}

@media (min-width: 576px) {
  .surgery-card {
    width: calc(33.333% - 0.67rem); /* 3 cards per row */
  }
}

@media (min-width: 992px) {
  .surgery-card {
    width: calc(20.666% - 0.83rem); /* 6 cards per row */
  }
}

/* why choose us  */
.blue-dot {
  width: 10px;
  height: 10px;
  background-color: #2f80ed;
  border-radius: 50%;
  flex-shrink: 0;
}

.choose-container.row {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 992px) and (min-width: 768px) {
  .choose-container .row {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    justify-items: center;
  }

  .choose-container .row .col-md-3,
  .choose-container .row .col-md-5 {
    width: 100%;
  }

  .choose-container .third-column {
    display: flex;
    justify-content: center;
    gap: 1rem;
    grid-column: span 2;
  }
}

@media (max-width: 768px) and (min-width: 480px) {
  .choose-container .third-column {
    display: flex;
    justify-content: center;
    gap: 1rem;
    grid-column: span 2;
  }
}

/* book an appointment  */
.appointment-section {
  background-image: url("./media/Blackdoctors\ 1.png");
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 2rem;
}

.appointment-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.appointment-container {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.appointment-section .title {
  text-align: left;
}

.custom-field {
  background-color: var(--bs-primary) !important; /* dark blue */
  color: white !important;
  padding: 18px !important;
  font-size: 16px;
  border-radius: 8px;
}

.custom-field::placeholder,
.custom-field option {
  color: white !important;
}

.custom-field:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(27, 39, 112, 0.25);
}

@media (max-width: 480px) {
  .appointment-section {
    text-align: center;
  }
  .appointment-container .col-6 {
    width: 100%;
  }
}

/* get in touch  */
.contact-container {
  max-width: 1400px;
  padding: 1rem;
  margin: 0 auto;
}

.contact-section {
  padding: 3rem 1rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 2rem;
}

.contact-card {
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

.contact-card.light {
  background-color: var(--bs-info);
  color: var(--bs-primary);
}

.contact-card.dark {
  background-color: var(--bs-primary);
  color: var(--bs-info);
}

.contact-card h6 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  margin: 0.75rem 0 0.5rem;
}

.contact-card p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* footer  */
.footer {
  background-color: var(--bs-primary);
  color: white;
  padding: 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-block h6 {
  font-size: var(--font-md);
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.footer-block p,
.footer-block li {
  font-size: var(--font-sm);
  margin-bottom: 0.5rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block a {
  color: var(--text);
  text-decoration: none;
}

.logo-placeholder {
  width: 100px;
  height: 50px;
  background-color: var(--light);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  background-color: var(--light);
  border-radius: 0.5rem;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 0.5rem;
  font-size: var(--font-sm);
  background-color: transparent;
  color: var(--bs-primary);
}

.newsletter-form button {
  background: transparent;
  border: none;
  padding: 0 0.75rem;
  color: var(--bs-primary);
  font-size: 1.1rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--light);
  margin: 2rem 0 1rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: var(--font-sm);
}

.socials a {
  color: var(--light);
  margin: 0 0.5rem;
  font-size: 1.25rem;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 2fr repeat(2, 1fr);
  }
  .newsletter {
    display: none;
  }
}

@media (max-width: 576px) {
  .footer-top {
    display: flex;
    flex-direction: column;
  }
}



/* testimonials  */
*— Testimonials wrapper —*/
.testimonials {
  position: relative;
  max-width: 1400px;
  margin: 2rem auto;
  overflow: hidden;
}

/* hide the radios */
.testimonials input[type="radio"] {
  display: none;
}

/* slides container */
.slides {
  position: relative;
  width: 100%;
  height: 300px; /* mobile height */
}

/* each slide */
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: 
    linear-gradient(rgba(29,42,120,0.7), rgba(29,42,120,0.7)),
    url('./media/Homepage\ Banner\ Image.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* show slide when its radio is checked */
#slide1:checked ~ .slides .slide1,
#slide2:checked ~ .slides .slide2,
#slide3:checked ~ .slides .slide3 {
  opacity: 1;
}

/* content inside slide */
.content {
  position: relative;
  padding: 0 1rem;
  max-width: 100%;
  z-index: 1;
}
.quote-mark {
  font-size: 3rem;
  color: #aecbff;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-align: center;
}
.quote {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: white;
  text-align: center;
}
.divider {
  width: 50px;
  height: 2px;
  background: #aecbff;
  margin: 0.5rem auto 1rem;
}
.author {
  font-size: 1rem;
  font-weight: bold;
  color: var(--bs-info);
  text-align: center;
}

/* pagination dots */
.dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.dots label {
  width: 12px; height: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
#slide1:checked ~ .dots label[for="slide1"],
#slide2:checked ~ .dots label[for="slide2"],
#slide3:checked ~ .dots label[for="slide3"] {
  background: #fff;
}

/*— Tablet & up (≥600px) —*/
@media (min-width: 600px) {
  .slides { height: 400px; }
  .quote-mark { font-size: 4rem; }
  .quote      { font-size: 1.125rem; }
  .author     { font-size: 1.125rem; }
  .divider    { width: 70px; }
}

/*— Desktop & up (≥1024px) —*/
@media (min-width: 1024px) {
  .slides { height: 500px; }
  .quote-mark { font-size: 5rem; }
  .quote      { font-size: 1.25rem; max-width: 60%; margin: 0 auto 1rem; }
  .author     { font-size: 1.25rem; }
  .divider    { width: 100px; }
}


/* why choose us  */
/*— Grid Container —*/
.choose-us .container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "card"
    "content"
    "images";
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  align-items: start;
}

/* assign areas */
.card-container { grid-area: card; }
.content        { grid-area: content; }
.images         { grid-area: images; }

/*—— Card Column ——*/
.card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}
.feature-card {
  display: flex;
  flex-direction: column;
}
.feature-card i {
  font-size: 2rem;
  color: #3094e2;
}
.feature-card p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/*—— Text Column ——*/
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  text-align: left;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 0.8rem; height: 0.8rem;
  background: #3094e2;
  border-radius: 50%;
}

/*—— Images Column ——*/
.images img {
  width: 100%;
  display: block;
  border-radius: 0.5rem;
}
.images img + img {
  margin-top: 1rem;
}

/*— Tablet (≥768px) —*/
@media (min-width: 768px) {
  .choose-us .container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "content content"
      "card images";
  }
  /* keep text centered on tablet */
  .choose-us .subtitle, .choose-us .title, .choose-us .text-content { text-align: center; }
}

/*— Desktop (≥1024px) —*/
@media (min-width: 1024px) {
  .choose-us .container {
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas: "card content images";
  }
  /* left-align text on desktop */
  .choose-us .subtitle, .choose-us .title, .choose-us .text-content { text-align: left; }
  .features li { font-size: 1.125rem; margin-bottom: 1rem; }

  /* bump typography */
  .subtitle { font-size: 1rem; margin-bottom: 1rem; }
  .title    { font-size: 2.5rem; margin-bottom: 1.5rem; }
  .text-content { font-size: 1.125rem; margin-bottom: 1.5rem; }
  .feature-card p { font-size: 1.125rem; }
  .btn-submit   { font-size: 1.125rem; padding: 0.75rem 2.5rem; }

  .images img + img { margin-top: 2rem; }
}

/*—— Grid Container ——*/
.choose-appointment .container {
  display: grid;
  grid-template-areas:
    "content"
    "form"
    "features";
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  justify-items: center;
}

/* assign areas */
.features         { grid-area: features; }
.content          { grid-area: content; }
.appointment-form { grid-area: form; }

/*—— Features Column ——*/
.choose-appointment .features {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: fit-content;
}
.choose-appointment .feature-card p {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.feature-card i {
  font-size: 1.5rem;
  color: #3094e2;
  margin-top: 0.2rem;
}

.surgery-buttons {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/*—— Form Column ——*/
.appointment-form {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 90%;
}
.appointment-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.appointment-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  color: #1d2a78;
}
.appointment-form input,
.appointment-form textarea {
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 0.25rem;
  font-size: 1rem;
}

/*—— Tablet (≥768px) ——*/
@media (min-width: 768px) {
  .choose-appointment .container {
    grid-template-areas:
      "content  form"
"content features";
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  /* left-align text at tablet */
  .choose-appointment .subtitle, .choose-appointment .title, .choose-appointment .text-content {
    text-align: left;
  }
  .buttons {
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }
}

/*—— Desktop (≥1024px) ——*/
@media (min-width: 1024px) {
  .choose-appointment .container {
    grid-template-areas: "features content form";
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    padding: 3rem 0;
    align-items: start;
  }

  /* typography bump */
  .choose-appointment .subtitle { font-size: 1rem; margin-bottom: 1rem; }
  .choose-appointment .title    { font-size: 2.5rem; margin-bottom: 1.5rem; }
  .text-content { font-size: 1.125rem; }
  .feature-card p { font-size: 1.125rem; }
  .appointment-form label { font-size: 1rem; }
  .btn-submit,
  .btn-outline { font-size: 1.125rem; padding: 1rem 2rem; }
}



































/* modal  */
.modal-title {
  text-align: center !important;
  width: 100%;
}


.whatsapp_icon {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  padding: 0.5rem;
  background-color: var(--bs-info);
  border-radius: 15px;
}

.whatsapp_icon img {
  width: 100%;
}

.hero-section .col-lg-6 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35rem;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-color: var(--bs-info);
}

.hero-section img {
  width: 3rem;
}

@media (max-width:600px) {
  .hero-section .col-lg-6 {
    width: 100%;
  }
}