/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --primary-color: #B30052;
  --secondary-color: #FCEEF4;
  --text-dark: #232323;
  --text-light: #555555;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --border-color: #eaeaea;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-light);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 15px;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary-color);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* Header & Navbar */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 60px;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--secondary-color), transparent), url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.trust-badge {
  margin-top: 30px;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-color);
}
.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.4rem;
}

/* About Section */
.about-section {
  background-color: var(--bg-light);
}
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}
.about-image {
  flex: 1;
}
.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.about-text {
  flex: 1;
}
.about-text h2 {
  color: var(--primary-color);
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.feature-item {
  text-align: center;
  padding: 20px;
}
.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* ===== Modern Booking Section ===== */
.booking-section {
  background: linear-gradient(135deg, #fce4ec 0%, #f8d7e0 30%, #f3c9d5 60%, #edd5d9 100%);
  position: relative;
  overflow: hidden;
}
.booking-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(179,0,82,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.booking-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(179,0,82,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.booking-modern {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  align-items: start;
}

/* --- Doctor Profile Card --- */
.booking-doctor-card {
  position: sticky;
  top: 120px;
}
.doctor-card-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 36px 28px;
  box-shadow: 0 8px 32px rgba(179,0,82,0.08), 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
}
.doctor-photo-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 4px solid rgba(179,0,82,0.15);
  box-shadow: 0 6px 20px rgba(179,0,82,0.12);
}
.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-credentials {
  margin-bottom: 24px;
}
.doctor-degree {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.doctor-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.doctor-specialty {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Doctor Stats Row */
.doctor-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.stat-item {
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 14px 18px;
  min-width: 90px;
  border: 1px solid rgba(179,0,82,0.08);
  transition: var(--transition);
}
.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179,0,82,0.1);
}
.stat-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Doctor Info Blocks */
.doctor-info-blocks {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.5);
  padding: 14px 16px;
  border-radius: 14px;
}
.info-block i {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-top: 3px;
  flex-shrink: 0;
}
.info-block strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.info-block p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

/* --- Calendar / Booking Card (Right) --- */
.booking-calendar-card {
  /* takes remaining space */
}
.calendar-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(179,0,82,0.08), 0 2px 8px rgba(0,0,0,0.04);
}
.calendar-header-row h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.accent-text {
  color: var(--primary-color);
}

/* Calendar Widget */
.calendar-widget {
  background: rgba(255,255,255,0.6);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(179,0,82,0.06);
}
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cal-month-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}
.cal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(179,0,82,0.15);
  background: rgba(255,255,255,0.7);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.cal-nav-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}
.calendar-weekdays span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 6px 0;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.calendar-days .cal-day {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  font-family: 'Roboto', sans-serif;
}
.calendar-days .cal-day:hover:not(.disabled):not(.empty) {
  background: rgba(179,0,82,0.1);
}
.calendar-days .cal-day.selected {
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(179,0,82,0.3);
}
.calendar-days .cal-day.today {
  border: 2px solid var(--primary-color);
  font-weight: 700;
}
.calendar-days .cal-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}
.calendar-days .cal-day.empty {
  cursor: default;
}

/* Time Slots */
.time-section {
  margin-bottom: 24px;
}
.time-section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.time-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}
.time-slots-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.time-slot-pill {
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid rgba(179,0,82,0.2);
  background: rgba(255,255,255,0.6);
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
}
.time-slot-pill:hover {
  background: rgba(179,0,82,0.08);
  border-color: var(--primary-color);
}
.time-slot-pill.selected {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(179,0,82,0.25);
  font-weight: 600;
}

/* Modern Booking Form */
.booking-form-modern {
  /* form wrapper */
}
.form-row {
  margin-bottom: 16px;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group-modern {
  display: flex;
  flex-direction: column;
}
.form-group-modern label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}
.form-input-modern {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(179,0,82,0.12);
  border-radius: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.92rem;
  background: rgba(255,255,255,0.6);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}
.form-input-modern:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(179,0,82,0.08);
}
.form-input-modern::placeholder {
  color: #aaa;
}

/* Book Appointment Button */
.btn-book-appointment {
  width: 100%;
  padding: 16px 30px;
  margin-top: 8px;
  border: none;
  border-radius: 16px;
  background: var(--text-dark);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.btn-book-appointment:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179,0,82,0.25);
}
.btn-book-appointment i {
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #ccc;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Floating Elements */
.float-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.float-wa:hover {
  transform: scale(1.1);
  color: white;
}

/* AI Chatbot */
.chatbot-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  box-shadow: var(--shadow);
  z-index: 1000;
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-btn:hover {
  transform: scale(1.1);
}
.chatbot-window {
  position: fixed;
  bottom: 180px;
  right: 30px;
  width: 320px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-window.active {
  display: flex;
}
.chatbot-header {
  background: var(--primary-color);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.chatbot-close {
  cursor: pointer;
}
.chatbot-body {
  padding: 15px;
  height: 250px;
  overflow-y: auto;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  padding: 10px;
  border-radius: 10px;
  max-width: 80%;
  font-size: 0.9rem;
}
.chat-msg.bot {
  background: #eaeaea;
  align-self: flex-start;
  border-bottom-left-radius: 0;
}
.chat-msg.user {
  background: var(--primary-color);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}
.chatbot-options {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  background: white;
  border-top: 1px solid var(--border-color);
}
.chat-opt-btn {
  background: var(--secondary-color);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.chat-opt-btn:hover {
  background: var(--primary-color);
  color: white;
}

/* Page Headers */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
.page-header h1 {
  color: var(--white);
  margin: 0;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--bg-light);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.review-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.review-card .stars {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}
.reviewer-initial {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}
.reviewer h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}
.reviewer p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

@media(max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    padding: 80px 0;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .about-wrapper {
    flex-direction: column;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .booking-modern {
    grid-template-columns: 1fr;
  }
  .booking-doctor-card {
    position: static;
  }
  .calendar-glass {
    padding: 28px 20px;
  }
}

@media(max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .float-wa {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
  .chatbot-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 80px;
    right: 20px;
  }
  .chatbot-window {
    width: 90%;
    right: 5%;
    bottom: 140px;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .doctor-stats {
    flex-wrap: wrap;
  }
  .calendar-days .cal-day {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
  .service-card {
    padding: 30px 20px;
  }
}
