/* ============================================
   DENTO SHIELD HEALTHCARE - Main Stylesheet
   Design System + Components
   ============================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --primary: #0EAED4;
  --primary-dark: #0A8FB0;
  --primary-light: #E0F7FA;
  --primary-gradient: linear-gradient(135deg, #0EAED4 0%, #0A8FB0 100%);
  --secondary: #1A1A2E;
  --white: #FFFFFF;
  --gold: #FFB800;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --red-accent: #C62828;
  --black: #111111;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 50%;
  --transition: all 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--secondary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Section Title with Decorative Lines ---- */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  position: relative;
  padding: 0 30px;
}

.section-title.with-lines h2::before,
.section-title.with-lines h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 3px;
  background: var(--primary);
  transform: translateY(-50%);
}

.section-title.with-lines h2::before {
  left: -90px;
}

.section-title.with-lines h2::after {
  right: -90px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-logo img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  width: 100%;
  display: block;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.hero-full-banner {
  width: 100%;
  height: auto;
  display: block;
}

.hero-brochure-btn-overlay {
  position: absolute;
  top: 59%;
  left: 7.5%;
  z-index: 10;
  padding: 0.7vw 2.5vw;
  border: 0.15vw solid var(--white);
  color: var(--white);
  border-radius: 2vw;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1vw;
  text-decoration: none;
  background: transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-brochure-btn-overlay:hover {
  background: var(--white);
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero-brochure-btn-overlay {
    top: 59%;
    left: 7.5%;
    padding: 1vw 3.5vw;
    border-width: 0.2vw;
    font-size: 1.8vw;
    border-radius: 3vw;
  }
}

@media (max-width: 480px) {
  .hero-brochure-btn-overlay {
    top: 59%;
    left: 7.5%;
    padding: 1.5vw 4.5vw;
    border-width: 0.3vw;
    font-size: 2.5vw;
    border-radius: 4vw;
  }
}

/* ============================================
   WELCOME / PRODUCTS SECTION
   ============================================ */
.products-section {
  padding: 80px 0 60px;
  background: var(--white);
}

.products-section .section-title h2 {
  font-size: 1.8rem;
}

.products-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -10px;
}

.products-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px;
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  scroll-snap-align: start;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
}

.product-card-image img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}

.product-card .product-desc {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-card .product-weight {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.product-card .product-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-card .product-rating {
  display: flex;
  gap: 2px;
}

.product-card .product-rating .star {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Carousel Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.2rem;
  color: var(--secondary);
  border: 1px solid var(--gray-200);
}

.carousel-nav:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-light) 0%, #B2EBF2 100%);
  padding: 40px 0;
  text-align: center;
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stats-tagline {
  font-size: 0.9rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   CONSULT A DOCTOR
   ============================================ */
.doctors-section {
  padding: 70px 0 0 0;
  background: var(--white);
}

.doctors-carousel-wrapper {
  position: relative;
  overflow: visible; /* Allow buttons to stick out a bit */
}

.doctors-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 5px;
}

.doctors-carousel::-webkit-scrollbar {
  display: none;
}

.doctor-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 280px;
  text-align: left; /* Changed from center to left */
  scroll-snap-align: start;
  padding: 30px 25px;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.doctor-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #118CD7;
  margin-bottom: 8px;
}

.doctor-timing {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 25px;
}

.doctor-avatar-wrapper {
  width: 220px;
  height: 220px;
  margin: 0 auto 25px;
  border-radius: var(--radius-full);
  border: 3px solid #999;
  overflow: hidden;
  background: var(--gray-100);
  transition: var(--transition);
}

.doctor-card:hover .doctor-avatar-wrapper {
  border-color: #118CD7;
}

.doctor-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.doctor-contact-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #118CD7;
  color: var(--white);
  border-radius: 25px; /* Pill shape */
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.doctor-contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.doctor-city {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.reviews-section {
  padding: 0 0 60px 0; /* Top padding removed to merge seamlessly with doctors section */
  background: #E6F0FA; /* Same as doctors background */
}

.reviews-section.white-bg {
  background: var(--white);
}

.reviews-section .section-subtitle {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0d6b9e; /* Darker blue */
  margin-bottom: 50px;
  text-transform: uppercase;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* Slightly larger gap to match mockup */
}

.review-card {
  background: var(--white);
  border: none;
  border-radius: 0;
  padding: 40px 20px 20px 20px;
  position: relative;
  margin-top: 35px; /* Make space for overlapping avatar */
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-card-header {
  margin: 0; /* Remove header margin as it's overlapping now */
}

.review-avatar {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-300); /* Thin gray border */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.review-avatar svg {
  width: 35px;
  height: 35px;
}

.review-text {
  font-size: 0.8rem;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: left;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-300); /* Thin gray line below text */
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-user-id {
  font-size: 0.8rem;
  color: var(--black); /* Black text */
  font-weight: 500;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars .star {
  color: #F1C40F; /* Bright Gold */
  font-size: 0.9rem;
}

/* ============================
   DENTAL CARE SECTION
   ============================ */

.dental-care-section {
  padding: 80px 0;
  background: var(--white);
}

.dental-care-section .section-title.with-lines,
.doctors-section .section-title.with-lines,
.reviews-section-main .section-title.with-lines,
.homepage-contact-section .section-title.with-lines {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px; /* Space between title and grid */
}

.dental-care-section .section-title.with-lines h2,
.doctors-section .section-title.with-lines h2,
.reviews-section-main .section-title.with-lines h2,
.homepage-contact-section .section-title.with-lines h2 {
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: var(--black);
  margin: 0;
  padding: 0 40px;
  flex-shrink: 0;
}

.dental-care-section .section-title.with-lines::before,
.dental-care-section .section-title.with-lines::after,
.doctors-section .section-title.with-lines::before,
.doctors-section .section-title.with-lines::after,
.reviews-section-main .section-title.with-lines::before,
.reviews-section-main .section-title.with-lines::after,
.homepage-contact-section .section-title.with-lines::before,
.homepage-contact-section .section-title.with-lines::after {
  content: '';
  display: block;
  flex-grow: 1; /* Stretch bars to edges */
  height: 18px;
  background: #118CD7;
  position: static;
  transform: none;
}

.dental-care-section .section-title.with-lines h2::before,
.dental-care-section .section-title.with-lines h2::after,
.doctors-section .section-title.with-lines h2::before,
.doctors-section .section-title.with-lines h2::after,
.reviews-section-main .section-title.with-lines h2::before,
.reviews-section-main .section-title.with-lines h2::after,
.homepage-contact-section .section-title.with-lines h2::before,
.homepage-contact-section .section-title.with-lines h2::after {
  display: none; /* Override the default thin lines */
}

.dental-care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* Adjust gap to match mockup */
  align-items: start;
}

.dental-care-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dental-care-image {
  width: 100%;
}

.dental-care-image img {
  width: 100%;
  height: auto;
  display: block;
}

.dental-care-content {
  flex: 1;
}

.dental-care-content h3 {
  font-size: 1.15rem; /* Slightly smaller to match mockup */
  color: #118CD7;
  font-weight: 700;
  margin: 0 0 10px 0; /* Remove top margin for perfect top alignment */
}

.dental-care-content p {
  font-size: 0.85rem; /* Smaller text like mockup */
  color: var(--secondary);
  line-height: 1.6;
  text-align: justify; /* Justify text to create perfect block edges */
  margin: 0;
}

/* Desktop Alternate Layout */
/* 2nd & 4th => text top */
.dental-care-item.reverse {
  flex-direction: column-reverse;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1200px) {
  .dental-care-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset reverse on wrap */
  .dental-care-item.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .dental-care-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Always image top on mobile */
  .dental-care-item.reverse {
    flex-direction: column;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  padding: 0;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  padding-left: 0;
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-phone {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delay for grid children */
.fade-in-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.fade-in-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.fade-in-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.fade-in-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.fade-in-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.fade-in-stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   SHARED COMPONENTS - Buttons, Forms, Alerts
   ============================================ */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-full {
  width: 100%;
}

.form-alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-alert.success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.form-alert.error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
  background: var(--primary-gradient);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.page-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-page-section {
  padding: 70px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card-full {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.product-card-full:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card-full-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  padding: 20px;
}

.product-card-full-image img {
  max-height: 180px;
  object-fit: contain;
}

.product-card-full-info {
  padding: 20px;
}

.product-card-full-info h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-full-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.product-full-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-full-weight {
  font-size: 0.8rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 20px;
}

.product-full-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Features Grid */
.why-choose-section {
  padding: 70px 0;
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form-wrapper h2,
.existing-reviews h2,
.review-form-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--secondary);
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--secondary);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,174,212,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Contact Info Cards */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 25px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info-card a,
.contact-info-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.contact-info-card a:hover {
  color: var(--primary);
}

/* ============================================
   TESTIMONIALS PAGE
   ============================================ */
.testimonials-page-section {
  padding: 70px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: -10px;
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
}

.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
}

.testimonial-id {
  display: block;
  font-size: 0.75rem;
  color: var(--red-accent);
}

.testimonial-cta {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, var(--primary-light), #B2EBF2);
  border-radius: var(--radius-lg);
}

.testimonial-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.testimonial-cta p {
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* ============================================
   REVIEW FORM PAGE
   ============================================ */
.review-form-section {
  padding: 70px 0;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.star-input {
  display: flex;
  gap: 6px;
}

.star-btn {
  font-size: 2rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.star-btn.active {
  color: var(--gold);
}

.star-btn:hover {
  color: var(--gold);
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: auto;
  accent-color: var(--primary);
}

/* ============================================
   DOCTORS PAGE
   ============================================ */
.doctors-page-section {
  padding: 70px 0;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.doctor-card-full {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.doctor-card-full:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.doctor-avatar-large {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: var(--radius-full);
  border: 4px solid var(--primary);
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(14,174,212,0.15);
}

.doctor-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.doctor-location svg {
  color: var(--primary);
}

/* ============================================
   CONTACT FORM ON HOMEPAGE
   ============================================ */
.homepage-contact-section {
  padding: 70px 0;
  background: var(--white);
}

.homepage-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.homepage-contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.homepage-contact-info p {
  color: var(--gray-600);
  margin-bottom: 25px;
  line-height: 1.7;
}

.homepage-contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.homepage-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.homepage-contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.homepage-contact-item span {
  font-size: 0.9rem;
  color: var(--gray-600);
}

