:root {
  --brand-blue: #5a8dee; /* Main website soft medical blue */
}

/* BODY */
body {
  padding-top: 60px;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar-nav .nav-link {
  transition: color 0.3s, transform 0.2s;
}
.navbar-nav .nav-link:hover {
  color: #ffc0cb; /* soft pink hover */
  transform: scale(1.05);
}
.navbar {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: linear-gradient(90deg, var(--brand-blue), #a0c4ff);
}

/* Navbar Buttons */
.navbar .btn-success {
  background-color: #25D366;
  border-color: #25D366;
}
.navbar .btn-outline-light {
  border-color: #fff;
  color: #fff;
}
.navbar .btn-outline-light:hover {
  background-color: #fff;
  color: var(--brand-blue);
}

/* HERO SECTION */
.hero-section {
  margin-top: 0px; /* fixes navbar overlap */
}
.hero-img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  background-color: #f8f9fa;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.65)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.hero-content {
  max-width: 800px;
  padding: 20px;
  position: relative;
  z-index: 11;
}
.hero-title {
  color: #f8f9fa;
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}
.hero-subtitle {
  color: #e9ecef;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}
.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(6px);
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.hero-buttons .btn {
  border-radius: 50px;
  padding: 12px 28px;
}
.hero-buttons .btn-light {
  background-color: #ffffff;
  color: var(--brand-blue);
  font-weight: 600;
}
.hero-buttons .btn-light:hover {
  background-color: #f1f1f1;
}
.carousel-control-prev,
.carousel-control-next {
  z-index: 12;
}

/* ABOUT SECTION */
.about-img {
  max-height: 420px;
  object-fit: cover;
}

/* SERVICES SECTION */
.services-section {
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
}
.highlight-card {
  background: linear-gradient(135deg, var(--brand-blue), #a0c4ff);
  color: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(13,110,253,0.25);
}
.highlight-card i {
  margin-right: 8px;
}
.service-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.service-box:hover {
  transform: translateY(-8px);
  background: #fff;
}
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
}
/* Icon colors */
.bg-ear { background: var(--brand-blue); }
.bg-nose { background: #20c997; }      /* green for nose */
.bg-throat { background: #6f42c1; }    /* purple for throat */
.service-box ul {
  padding-left: 0;
  list-style: none;
}
.service-box li {
  margin-bottom: 6px;
  color: #555;
}

/* PROBLEMS WE TREAT */
.problem-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  text-align: center;
}
.problem-box h6 {
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.problem-box i {
  color: var(--brand-blue);
}
.problem-box ul {
  padding-left: 16px;
  margin-bottom: 0;
}

/* CONTACT SECTION */
.contact-section {
  background: linear-gradient(135deg, #f4f9ff, #eef5ff);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
.contact-card i {
  color: var(--brand-blue);
  margin-right: 8px;
  font-size: 1.1rem;
}
.contact-card a {
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}
.map-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}
.contact-card .bi-instagram {
  color: #E1306C; /* Instagram pink */
}
.contact-card .bi-whatsapp {
  color: #25D366; /* WhatsApp green */
}
.btn-success {
  background-color: #25D366;
  border-color: #25D366;
}
.btn-outline-primary {
  color: #E1306C;
  border-color: #E1306C;
}
.btn-outline-primary:hover {
  background-color: #E1306C;
  color: #fff;
}

/* RHINOPLASTY IMAGE GALLERY */
.rhino-img {
  height: 420px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}
#rhinoplasty {
  background: linear-gradient(180deg, #f8f9ff 0%, #eef2ff 100%);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
@media (max-width: 768px) {
  .rhino-img {
    height: 260px;
  }
}


/* --------------------------
   Override Bootstrap primary
----------------------------*/

/* Global primary color */
.text-primary {
  color: #01DBFF !important;
}

.bg-primary {
  background-color: #01DBFF !important;
}

/* Service box icons */
.service-box i.text-primary {
  color: #01DBFF !important;
}

/* Problems section headings and icons */
.problem-box h6,
.problem-box i {
  color: #01DBFF !important;
}

/* Hero buttons text */
.hero-buttons .btn-light {
  color: #01DBFF !important;
}

/* Navbar hover (optional tweak) */
.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffc0cb; /* you can keep pink hover */
}

/* Optional: border accents */
.btn-outline-primary {
  color: #01DBFF !important;
  border-color: #01DBFF !important;
}

.btn-outline-primary:hover {
  background-color: #01DBFF !important;
  color: #fff !important;
}


/* Medical Services Section Background */
.services-section {
  background: #f0f2f5;  /* soft light grey page background */
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Each service box */
.service-box {
  background: #e6e6e6;  /* subtle grey inside boxes */
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Hover effect for service box */
.service-box:hover {
  transform: translateY(-6px);
  background: #d4f0ff;  /* light blue on hover */
}

/* Problems We Treat Section Background */
.problem-box {
  background: #e6e6e6;  /* subtle grey inside boxes */
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Hover effect for problem box */
.problem-box:hover {
  transform: translateY(-4px);
  background: #d4d4d4;  /* slightly darker grey on hover */
}

/* Heading color for sections */
.services-section h2,
#rhinoplasty h2,
.problem-box h6 {
  color: #01DBFF;  /* match main website color */
}

/* Center text inside problem boxes */
.problem-box {
  text-align: center;
}

/* List inside problem boxes */
.problem-box ul {
  padding-left: 16px;
  margin-bottom: 0;
  color: #333;  /* dark grey text */
}



/* Modal background for medical services */
.modal-content {
  background-color: #e6e6e6;  /* light grey */
  color: #333;                /* dark text for readability */
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

/* Optional: header color */
.modal-header {
  background-color: #01DBFF;  /* main website blue */
  color: #fff;
}

/* Modal body padding */
.modal-body {
  padding: 25px;
}

/* Modal lists */
.modal-body ul {
  padding-left: 20px;
  margin-bottom: 0;
  color: #333;
}
