no* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f8fc;
  color: #18212f;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.header {
  background: white;
  padding: 18px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e5eaf0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clinic-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.logo-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1261d6, #19a974);
  color: white;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 18px;
}

.logo h1 {
  margin: 0;
  font-size: 18px;
  color: #123c75;
}

.logo p {
  margin: 2px 0 0;
  color: #687386;
  font-size: 12px;
}

.whatsapp {
  background: #16a05d;
  color: white;
  padding: 11px 17px;
  border-radius: 9px;
  font-weight: bold;
}

.hero {
  background:
    linear-gradient(120deg, #eaf4ff, #f4fbf8);
  padding: 75px 7%;
}

.hero-content {
  max-width: 850px;
}

.welcome,
.section-label {
  color: #1261d6;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 13px;
}

.hero h2 {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  margin: 10px 0 25px;
  color: #123c75;
}

.hero p {
  max-width: 720px;
  font-size: 18px;
  color: #4f5d70;
}

.hero .doctor {
  font-size: 17px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.button {
  display: inline-block;
  background: #1261d6;
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: bold;
}

.whatsapp-button {
  background: #16a05d;
}

.clinic-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 30px 7%;
  background: white;
}

.info-card {
  padding: 20px;
  border-radius: 14px;
  background: #f7f9fc;
}

.info-card h3 {
  color: #123c75;
  margin-top: 0;
}

.section {
  padding: 70px 7%;
}

.section h2,
.appointment h2,
.diabetes-section h2 {
  font-size: 38px;
  color: #123c75;
  margin-top: 5px;
}

.section-intro {
  color: #687386;
  max-width: 700px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.service {
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #e5eaf0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

.service span {
  font-size: 30px;
}

.service h3 {
  color: #123c75;
  margin-bottom: 8px;
}

.service p {
  color: #687386;
}

.diabetes-section {
  padding: 70px 7%;
  background: #123c75;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.diabetes-section h2 {
  color: white;
}

.diabetes-section .section-label {
  color: #8bd8b4;
}

.diabetes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: center;
}

.diabetes-list div {
  background: rgba(255,255,255,0.09);
  padding: 13px;
  border-radius: 9px;
}

.appointment {
  text-align: center;
  padding: 75px 7%;
  background: white;
}

.appointment p {
  color: #687386;
}

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

footer {
  background: #0d274d;
  color: white;
  text-align: center;
  padding: 40px 7%;
}

footer h3 {
  margin-top: 0;
}

footer p {
  color: #cbd5e1;
}

footer .copyright {
  margin-top: 25px;
  font-size: 12px;
}

@media (max-width: 850px) {

  .clinic-info {
    grid-template-columns: 1fr;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }

  .diabetes-section {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .header {
    padding: 14px;
  }

  .logo h1 {
    font-size: 14px;
  }

  .logo p {
    font-size: 10px;
  }

  .header .whatsapp {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero h2 {
    font-size: 43px;
  }

  .hero p {
    font-size: 16px;
  }

  .clinic-info,
  .section,
  .diabetes-section,
  .appointment {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .diabetes-list {
    grid-template-columns: 1fr;
  }

}
/* Patient Reviews */

.reviews-section {
  padding: 70px 7%;
  background: #f5f8fc;
  text-align: center;
}

.reviews-section h2 {
  font-size: 38px;
  color: #123c75;
  margin: 5px 0 10px;
}

.reviews-intro {
  color: #687386;
  margin: 0 auto 30px;
}

.reviews-slider {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-track {
  flex: 1;
}

.review-card {
  display: none;
  background: white;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid #e5eaf0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  min-height: 230px;
}

.review-card.active {
  display: block;
}

.stars {
  color: #f5b301;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.review-card p {
  color: #4f5d70;
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
}

.review-card h3 {
  color: #123c75;
  margin: 18px 0 2px;
}

.review-card small {
  color: #687386;
}

.review-arrow {
  border: none;
  background: #1261d6;
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 30px;
  cursor: pointer;
}

.review-arrow:active {
  transform: scale(0.95);
}

.review-dots {
  margin-top: 20px;
}

.dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: #c8d1dc;
  margin: 5px;
  padding: 0;
  cursor: pointer;
}

.dot.active {
  background: #1261d6;
}

.google-review-button {
  display: inline-block;
  margin-top: 25px;
  background: #16a05d;
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: bold;
}

.google-review-button:hover {
  opacity: 0.9;
}


/* Mobile */

@media (max-width: 600px) {

  .reviews-section {
    padding: 55px 20px;
  }

  .reviews-section h2 {
    font-size: 30px;
  }

  .review-card {
    padding: 22px;
    min-height: 260px;
  }

  .review-card p {
    font-size: 15px;
  }

  .review-arrow {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }

}
/* Google Reviews Rating Summary */

.google-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 auto 25px;
  padding: 12px 20px;
  background: white;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.google-rating-stars {
  color: #f5b301;
  font-size: 24px;
  letter-spacing: 2px;
}

.google-rating-score {
  font-size: 24px;
  font-weight: 700;
  color: #123c75;
}

.google-rating-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.3;
}

.google-rating-text strong {
  color: #123c75;
  font-size: 15px;
}

.google-rating-text span {
  color: #687386;
  font-size: 13px;
}


/* Mobile */

@media (max-width: 600px) {

  .google-rating {
    gap: 10px;
    padding: 10px 14px;
  }

  .google-rating-stars {
    font-size: 19px;
    letter-spacing: 1px;
  }

  .google-rating-score {
    font-size: 20px;
  }

  .google-rating-text strong {
    font-size: 14px;
  }

  .google-rating-text span {
    font-size: 12px;
  }

}
/* See All Google Reviews Button */

.see-reviews-button {
  display: inline-block;
  margin: 0 auto 28px;
  padding: 11px 20px;
  border: 1px solid #1261d6;
  border-radius: 10px;
  background: white;
  color: #1261d6;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s ease;
}

.see-reviews-button:hover {
  background: #1261d6;
  color: white;
}

.see-reviews-button:active {
  transform: scale(0.97);
}


/* Mobile */

@media (max-width: 600px) {

  .see-reviews-button {
    font-size: 13px;
    padding: 10px 16px;
  }

}
/* Interactive Google Maps */

.map-section {
  padding: 70px 7%;
  background: white;
  text-align: center;
}

.map-section h2 {
  font-size: 38px;
  color: #123c75;
  margin: 5px 0 10px;
}

.map-intro {
  color: #687386;
  margin-bottom: 30px;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5eaf0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.map-directions-button {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 22px;
  border-radius: 10px;
  background: #1261d6;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.map-directions-button:hover {
  opacity: 0.9;
}

.map-directions-button:active {
  transform: scale(0.97);
}


/* Mobile */

@media (max-width: 600px) {

  .map-section {
    padding: 55px 20px;
  }

  .map-section h2 {
    font-size: 30px;
  }

  .map-container {
    border-radius: 14px;
  }

  .map-container iframe {
    height: 330px;
  }

  .map-directions-button {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }

}
/* ================================
   COLLAPSIBLE ABOUT THE DOCTOR
================================ */

.doctor-profile {
  padding: 55px 7%;
  background: #f5f8fc;
}

.doctor-details {
  max-width: 1050px;
  margin: 0 auto;
  background: white;
  border: 1px solid #e5eaf0;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.doctor-details summary {
  list-style: none;
  cursor: pointer;
  padding: 30px 35px;
}

.doctor-details summary::-webkit-details-marker {
  display: none;
}

.doctor-summary {
  display: flex;
  align-items: center;
  gap: 25px;
}

.doctor-profile-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.doctor-summary .section-label {
  margin-bottom: 5px;
}

.doctor-summary h2 {
  color: #123c75;
  font-size: 30px;
  margin: 0 0 5px;
}

.doctor-credentials {
  color: #1261d6 !important;
  font-weight: 700;
  margin: 0 0 4px !important;
}

.doctor-title {
  color: #4f5d70 !important;
  margin: 0 !important;
}

.doctor-toggle {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 9px;
  background: #1261d6;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.doctor-details[open] .doctor-toggle {
  font-size: 0;
}

.doctor-details[open] .doctor-toggle::after {
  content: "Hide Doctor Profile ▲";
  font-size: 14px;
}

.doctor-profile-content {
  padding: 0 35px 35px;
  border-top: 1px solid #edf0f4;
}

.doctor-profile-content > p {
  color: #4f5d70;
  line-height: 1.7;
  font-size: 16px;
}

.doctor-subheading {
  margin-top: 30px !important;
  margin-bottom: 18px !important;
  color: #123c75 !important;
  font-size: 22px !important;
}

.qualification {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: #f8fafc;
  border-left: 4px solid #1261d6;
  border-radius: 8px;
}

.qualification strong {
  color: #123c75;
  font-size: 17px;
}

.qualification span {
  color: #4f5d70;
  line-height: 1.5;
}

.qualification small {
  color: #687386;
  font-size: 13px;
}

.doctor-interests {
  margin: 10px 0 0;
  padding-left: 22px;
}

.doctor-interests li {
  color: #4f5d70;
  margin-bottom: 10px;
  line-height: 1.5;
}


/* Mobile */

@media (max-width: 700px) {

  .doctor-profile {
    padding: 45px 15px;
  }

  .doctor-details summary {
    padding: 25px 20px;
  }

  .doctor-summary {
    gap: 15px;
  }

  .doctor-profile-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    font-size: 32px;
  }

  .doctor-summary h2 {
    font-size: 23px;
  }

  .doctor-profile-content {
    padding: 0 20px 25px;
  }

  .doctor-toggle {
    font-size: 13px;
  }

}
/* ================================
   APPOINTMENT BOOKING
================================ */

.appointment-section {
  padding: 60px 7%;
  background: #f5f8fc;
}

.appointment-card {
  max-width: 850px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e5eaf0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.appointment-card h2 {
  color: #123c75;
  font-size: 34px;
  margin: 5px 0 10px;
}

.appointment-intro {
  color: #687386;
  line-height: 1.6;
  margin-bottom: 28px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #123c75;
  font-weight: 700;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1261d6;
  box-shadow: 0 0 0 3px rgba(18, 97, 214, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.appointment-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: #1261d6;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.appointment-button:hover {
  opacity: 0.9;
}

.appointment-button:active {
  transform: scale(0.99);
}

.appointment-note {
  text-align: center;
  margin-top: 18px;
  color: #687386;
  font-size: 14px;
}


/* Mobile */

@media (max-width: 700px) {

  .appointment-section {
    padding: 45px 15px;
  }

  .appointment-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .appointment-card h2 {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

}
/* ================================
   DOCTOR PORTAL LOGIN
================================ */

.doctor-login-section {
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8fc;
}

.doctor-login-card {
  width: 100%;
  max-width: 430px;
  box-sizing: border-box;
  padding: 40px 35px;
  background: white;
  border-radius: 20px;
  border: 1px solid #e5eaf0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.doctor-login-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.doctor-login-card h1 {
  margin: 5px 0 8px;
  color: #123c75;
  font-size: 32px;
}

.login-subtitle {
  color: #687386;
  margin-bottom: 30px;
}

.doctor-login-card .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.doctor-login-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  font-size: 16px;
}

.doctor-login-card input:focus {
  outline: none;
  border-color: #1261d6;
  box-shadow: 0 0 0 3px rgba(18, 97, 214, 0.1);
}

.doctor-login-button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #1261d6;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.login-message {
  min-height: 20px;
  margin-top: 15px;
  font-size: 14px;
}

.back-home {
  display: inline-block;
  margin-top: 25px;
  color: #1261d6;
  text-decoration: none;
  font-weight: 600;
}


/* Mobile */

@media (max-width: 700px) {

  .doctor-login-section {
    padding: 25px 15px;
  }

  .doctor-login-card {
    padding: 32px 22px;
  }

  .doctor-login-card h1 {
    font-size: 28px;
  }

}
/* ================================
   DOCTOR DASHBOARD
================================ */

.doctor-dashboard {
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
  background: #f5f8fc;
}

.dashboard-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 1px solid #e5eaf0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.dashboard-card h1 {
  color: #123c75;
  font-size: 34px;
  margin: 5px 0 10px;
}

.dashboard-welcome {
  color: #687386;
  margin-bottom: 30px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.dashboard-item {
  padding: 25px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 28px;
}

.dashboard-item strong {
  color: #123c75;
  font-size: 17px;
}

.dashboard-item span {
  color: #687386;
  font-size: 14px;
}


/* Mobile */

@media (max-width: 700px) {

  .doctor-dashboard {
    padding: 25px 15px;
  }

  .dashboard-card {
    padding: 30px 20px;
  }

  .dashboard-card h1 {
    font-size: 28px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

}
/* ================================
   APPOINTMENTS
================================ */

.appointment-form {
  margin-top: 30px;
  padding: 25px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  text-align: left;
}

.appointment-form h2,
.appointments-list h2 {
  color: #123c75;
  margin-top: 0;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 13px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}

.appointment-form textarea {
  min-height: 90px;
  resize: vertical;
}

.appointments-list {
  margin-top: 30px;
  text-align: left;
}

.appointment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 15px;
  padding: 18px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.appointment-card strong {
  color: #123c75;
  font-size: 18px;
}

.appointment-card span {
  color: #687386;
  font-size: 14px;
}
/* ==============================
   PATIENT PROFILE MODAL
   ============================== */

.patient-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.patient-modal-content {
  position: relative;
  background: white;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 25px;
  box-sizing: border-box;
}

.patient-modal-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.patient-profile-section {
  margin-bottom: 20px;
}

.patient-profile-section h3 {
  margin-bottom: 15px;
}

.patient-profile-section p {
  margin: 10px 0;
  line-height: 1.5;
}

.patient-profile-section strong {
  font-weight: 600;
}

.patient-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
