/* Custom Modern Styling for Shyam Speech & Hearing Center */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #1a5f7a; /* Deep Clinical Blue */
  --primary-light: #226f8a;
  --secondary-color: #25D366; /* Accent */
  --text-dark: #1e293b; /* Slate Dark */
  --text-light: #64748b; /* Slate Light */
  --bg-light: #f8fafc; /* Professional Soft White */
  --bg-card: #ffffff;
  --white: #ffffff;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Crop out the excess white padding baked into the JPEG */
  margin: -18px -30px -18px -10px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: -14px -20px -14px -8px;
  background-color: white;
  padding: 5px;
  border-radius: 8px;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(26, 95, 122, 0.08);
}

.nav-link.active {
  color: var(--white);
  background-color: var(--primary-color);
}

.btn-nav {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(26, 95, 122, 0.2);
}

.btn-nav:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26, 95, 122, 0.3);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* Page Wrapper / Transition Animations */
main {
  margin-top: 80px;
}

section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

section.active-section {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Hero Section Layout */
#home-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 550px;
  padding: 0;
  overflow: hidden;
  max-width: 100%;
  display: block;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active-hslide {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transition: transform 8s ease-out;
}

.hero-slide.active-hslide .hero-slide-bg {
  transform: scale(1.08);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  transform: translateY(30px);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active-hslide .hero-slide-content {
  transform: translateY(0);
}

.hero-slide-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-slide-content h1 span {
  color: var(--secondary-color);
}

.hero-slide-content p {
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
}

.hero-arrow:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
  left: 30px;
}

.hero-arrow-next {
  right: 30px;
}

/* Home About Block */
.home-about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.home-about-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  height: 380px;
  object-fit: cover;
  object-position: center top;
}

/* Home Services Card Slider Layout */
.home-services-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.home-services-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-service-slide-card {
  min-width: calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.home-service-slide-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.card-content-box {
  padding: 25px;
}

.card-content-box h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.card-content-box p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.slider-nav-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
}

.slider-nav-btn {
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}

.slider-nav-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Home Section Layout Fixes & Ordering */
.home-sub-section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =============================================
   Full-bleed Blue Band Sections
   ============================================= */
.blue-band-wrapper {
  width: 100%;
  background: linear-gradient(135deg, #1a5f7a 0%, #0f4059 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle wave/circle decorative bg */
.blue-band-wrapper::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(242, 169, 0, 0.08);
  pointer-events: none;
}

.blue-band-wrapper::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* Blue-band inner section: override max-width constraint */
.blue-band {
  max-width: 1280px;
  position: relative;
  z-index: 1;
}

/* ---- Text color overrides inside blue bands ---- */
.blue-band .section-header h2 {
  color: #ffffff;
}

.blue-band .section-header h2::after {
  background-color: var(--secondary-color);
}

.blue-band .section-header p {
  color: rgba(255, 255, 255, 0.78);
}

/* Service cards on blue bg — keep white bg cards with stronger shadow */
.blue-band .home-service-slide-card {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.blue-band .home-service-slide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* Slider nav buttons on blue bg */
.blue-band .slider-nav-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.blue-band .slider-nav-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #ffffff;
}

/* Why cards on blue bg */
.blue-band .why-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.blue-band .why-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.blue-band .why-card h3 {
  color: #ffffff;
}

.blue-band .why-card p {
  color: rgba(255, 255, 255, 0.75);
}

.blue-band .why-icon-box {
  background: rgba(242, 169, 0, 0.18);
  color: var(--secondary-color);
}

/* Testimonials on blue bg */
.blue-band .testimonial-text {
  color: #ffffff;
}

.blue-band .testimonial-author {
  color: rgba(255, 255, 255, 0.7);
}

.blue-band .testimonial-rating {
  color: #ffd166;
}

.blue-band .dot {
  background: rgba(255, 255, 255, 0.3);
}

.blue-band .dot.active-dot {
  background: var(--secondary-color);
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.02);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-icon-box {
  width: 65px;
  height: 65px;
  background: rgba(242, 169, 0, 0.12);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  font-size: 1.8rem;
}

.why-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Services Page - 3 Cards in a Row layout */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.service-card-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #e2e8f0;
}

.service-card-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Redirection Buttons */
.read-more-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  align-self: center;
  margin-top: 30px;
}

.read-more-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Testimonials Slider */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(26, 95, 122, 0.03) 100%);
  padding: 60px 0;
  margin-top: 60px;
  border-radius: var(--border-radius-lg);
}

.testimonials-slider {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 280px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: scale(0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.slide.active-slide {
  opacity: 1;
  transform: scale(1);
}

.testimonial-rating {
  color: #ffb703;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 95, 122, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active-dot {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Call to Action Container */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: var(--bg-light);
}

/* About Layout */
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary-color);
}

.about-feat i {
  color: var(--secondary-color);
}

/* Meet the Doctor */
.doctor-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.doctor-image-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.doctor-image-card::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgba(242, 169, 0, 0.3);
  border-radius: calc(var(--border-radius-lg) - 8px);
  pointer-events: none;
}

.doctor-img {
  width: 100%;
  border-radius: calc(var(--border-radius-lg) - 8px);
  display: block;
}

.doctor-info-badge {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 1rem;
}

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  border-radius: var(--border-radius-md);
  background: rgba(26, 95, 122, 0.04);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* FAQ Layout */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  padding: 22px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.4rem;
  transition: var(--transition-smooth);
  color: var(--secondary-color);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 22px 22px 22px;
  color: var(--text-light);
  font-size: 1rem;
}

/* Forms (Appointment & Contact) */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.full-width {
  grid-column: span 2;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.form-control {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-form {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  outline: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-form:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 95, 122, 0.2);
}

/* Contact Details Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-detail-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-detail-card i {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.contact-detail-card h4 {
  font-weight: 700;
  color: var(--primary-color);
}

.contact-detail-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.clinic-hours {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.clinic-hours h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
}

.hours-time {
  color: var(--text-light);
}

.map-placeholder {
  height: 250px;
  background: #e2e8f0;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 2px dashed var(--primary-light);
}

.map-placeholder:hover {
  background: #cbd5e1;
  color: var(--primary-color);
}

.contact-fullscreen {
  width: 100%;
  max-width: none;
  padding: 80px 0 0 0;
}

.contact-body {
  padding: 20px 24px 80px 24px;
  background: transparent;
}

.contact-body-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-socials {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.contact-socials h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.social-links-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-btn.fb {
  background: #1877F2;
}

.social-btn.fb:hover {
  background: #0d65d9;
}

.social-btn.insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.insta:hover {
  filter: brightness(1.1);
}

.contact-map-full {
  width: 100%;
  height: 400px;
  margin-top: 20px;
}

/* Footer Social Links */
.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* Responsive adjustments for contact */
@media (max-width: 900px) {
  .contact-body-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer Section */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 24px 30px 24px;
  border-top: 4px solid var(--secondary-color);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr 0.9fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.footer-logo-title {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Footer Logo */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  width: fit-content;
  transition: var(--transition-smooth);
}

.footer-logo-wrap:hover {
  background: rgba(242, 169, 0, 0.1);
  border-color: rgba(242, 169, 0, 0.25);
}

.footer-logo-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.footer-logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--secondary-color);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.9rem;
}

/* Floating Actions */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-smooth);
  color: var(--white);
  font-size: 1.8rem;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .home-about-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-about-img {
    height: 300px;
  }
  .home-service-slide-card {
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
  .services-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .about-layout, .doctor-layout, .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 50px 0;
    gap: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 998;
  }
  .nav-menu.nav-active {
    left: 0;
  }
  .home-service-slide-card {
    min-width: 100%;
    max-width: 100%;
  }
  .services-card-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
  .contact-info-cards {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .hero-slide-content h1 {
    font-size: 2.5rem;
  }
  .hero-slide-content p {
    font-size: 1.1rem;
  }
}

/* Gallery Page Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background-color: #cbd5e1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 95, 122, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 20px;
  text-align: center;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Animations */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Lightbox Modal CSS */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #e2e8f0;
  padding: 15px 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #f1f5f9;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--secondary-color);
  text-decoration: none;
  cursor: pointer;
}

/* Gallery Responsiveness */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Banner/Hero Buttons */
.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(242, 169, 0, 0.3);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background-color: #d99700;
  border-color: #d99700;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 169, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-smooth);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

/* Brands Tie-up Section */
.brands-section {
  padding: 60px 24px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.brand-card {
  background: var(--white);
  padding: 16px 14px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 110px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.brand-card img, .brand-card svg {
  max-width: 110px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: none;
  opacity: 1;
  transition: var(--transition-smooth);
}

.brand-logo-img {
  max-width: 110px;
  max-height: 60px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.brand-card:hover img, .brand-card:hover svg, .brand-card:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-card span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}

.brand-card:hover span {
  color: var(--primary-color);
}

/* =============================================
   Google Review Feedback Section
   ============================================= */
.google-review-section {
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.03) 0%, rgba(242, 169, 0, 0.05) 100%);
  border-radius: var(--border-radius-lg);
  margin: 0 auto;
  padding: 80px 24px;
}

.google-review-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Left: Illustration */
.google-review-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gr-illustration-bg {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: radial-gradient(ellipse at center, rgba(242, 169, 0, 0.12) 0%, rgba(26, 95, 122, 0.07) 70%, transparent 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gr-float 5s ease-in-out infinite;
}

@keyframes gr-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.gr-vector-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
  drop-shadow: 0 20px 40px rgba(26, 95, 122, 0.15);
}

/* Right: Content */
.google-review-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gr-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  background: rgba(242, 169, 0, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  width: fit-content;
}

.gr-heading {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

.gr-heading span {
  color: var(--primary-color);
}

.gr-subtext {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 500px;
}

/* Google Badge */
.google-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid rgba(26, 95, 122, 0.1);
  border-radius: var(--border-radius-md);
  padding: 20px 25px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  transition: var(--transition-smooth);
}

.google-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.google-badge-icon {
  flex-shrink: 0;
}

.google-g-icon {
  width: 52px;
  height: 52px;
}

.google-badge-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.google-word {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
  line-height: 1;
}

.google-reviews-count {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.google-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffb703;
  font-size: 1.1rem;
}

.google-rating {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-left: 6px;
}

/* CTA Button */
.btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(26, 95, 122, 0.3);
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.btn-google-review::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}

.btn-google-review:hover::before {
  left: 100%;
}

.btn-google-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 95, 122, 0.4);
}

.btn-google-review ion-icon {
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .google-review-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .gr-label,
  .google-badge,
  .btn-google-review {
    margin: 0 auto;
  }

  .gr-subtext {
    max-width: 100%;
    margin: 0 auto;
  }

  .gr-illustration-bg {
    max-width: 320px;
    margin: 0 auto;
  }

  .gr-heading {
    font-size: 2rem;
  }
}
