/* 
   Dr. Aakash Soni - Pediatrician Website 
   Premium Custom Stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #112656;         /* Navy Blue (matching new logo) */
  --primary-hover: #183578;
  --primary-light: #f0f4fc;
  --primary-rgb: 17, 38, 86;
  
  --secondary-color: #e03e72;       /* Rose Pink (matching new logo) */
  --secondary-hover: #c52b5d;
  --secondary-light: #fff1f5;
  --secondary-rgb: 224, 62, 114;
  
  --accent-color: #f472b6;          /* Accent Pink */
  --accent-light: #fdf2f8;
  
  --text-dark: #1e293b;             /* Slate 800 */
  --text-muted: #64748b;            /* Slate 500 */
  --bg-light: #f8fafc;              /* Slate 50 */
  --bg-card: #ffffff;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --box-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --box-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Color Helpers */
.text-teal {
  color: var(--primary-color) !important;
}
.text-coral {
  color: var(--secondary-color) !important;
}

/* Global Reset & Typography */
html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  scroll-behavior: smooth;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Sticky Header & Navbar */
.navbar {
  transition: var(--transition-smooth);
  padding: 8px 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.navbar-scrolled {
  padding: 4px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Header Text Board (Mockup from prompt) */
.header-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Outfit', 'Noto Sans Devanagari', 'Arial', sans-serif;
  line-height: 1.15;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid rgba(var(--secondary-rgb), 0.25);
  border-radius: 8px;
  max-width: 280px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
}

.header-board:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--box-shadow-md);
}

.header-board-cross {
  color: var(--secondary-color);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2px;
}

.header-board-title {
  color: var(--secondary-color);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.header-board-subtitle {
  color: var(--primary-color);
  font-size: 0.58rem;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
}

.header-board-badge {
  background: var(--primary-color);
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2.5px 10px;
  border-radius: 3px;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.footer-board-scale {
  transform: none;
  margin-bottom: 0px;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
  background-color: var(--primary-light);
}

/* Dropdown Menu Customizations */
.dropdown-menu {
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-lg);
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Buttons Styling */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.6);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.4);
}

.btn-secondary-custom:hover {
  background-color: var(--secondary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-outline-custom {
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-link {
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.btn-link:hover {
  text-decoration: none !important;
  opacity: 0.85;
}

.btn-link i {
  transition: transform 0.2s ease-in-out;
}

.btn-link:hover i {
  transform: translateX(4px);
}

/* Floating Action Buttons */
.floating-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 1.6rem;
  box-shadow: var(--box-shadow-lg);
  transition: var(--transition-smooth);
}

.floating-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.floating-whatsapp {
  background-color: #25d366;
  animation: pulse-whatsapp 2s infinite;
}

.floating-call {
  background-color: #ffffff;
  color: var(--primary-color) !important;
  animation: pulse-ring-white 2s infinite;
}

@keyframes pulse-ring-white {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  position: relative;
  background: url('../images/hero_bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.80) 0%, rgba(219, 234, 254, 0.80) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-color);
  background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-stats-badge {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-md);
  padding: 15px;
  box-shadow: var(--box-shadow-md);
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Sections Global Styling */
.section-padding {
  padding: 80px 0;
}

.section-bg-light {
  background-color: var(--bg-light);
}

.section-bg-white {
  background-color: var(--bg-card);
}

.section-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
}

.section-bg-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.80) 0%, rgba(219, 234, 254, 0.80) 100%);
  z-index: 1;
}

.section-bg-image-content {
  position: relative;
  z-index: 2;
}

.section-title-container {
  margin-bottom: 50px;
}

.section-pretitle {
  color: var(--secondary-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 60px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Card Premium Design */
.premium-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.premium-card:hover::before {
  transform: scaleX(1);
}

.premium-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.premium-card:hover .premium-card-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Premium Card Image Layout */
.premium-card-image-layout {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 175px;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.premium-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.premium-card:hover .premium-card-image {
  transform: scale(1.08);
}

.premium-card-icon-floating {
  position: absolute;
  bottom: -20px;
  left: 24px;
  z-index: 2;
  margin-bottom: 0 !important;
  box-shadow: var(--box-shadow-md);
}

.premium-card-image-layout .premium-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.premium-card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.premium-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* About Section & Doctor Profile Page */
.about-image-wrapper {
  position: relative;
  padding-bottom: 20px;
  padding-right: 20px;
}

.about-image {
  border: 6px solid var(--secondary-color) !important;
  border-radius: var(--border-radius-lg) !important;
  box-shadow: var(--box-shadow-lg) !important;
  z-index: 2;
  position: relative;
  width: 100%;
  object-fit: cover;
}

.col-lg-6 img.img-fluid {
  border: 6px solid #ffffff !important;
  border-radius: var(--border-radius-lg) !important;
  box-shadow: var(--box-shadow-lg) !important;
  z-index: 2;
  position: relative;
  width: 100%;
  object-fit: cover;
}

/* Hero Doctor Profile Image Frame Styling */
.hero-section .about-image-wrapper {
  margin-top: -200px;
  position: relative;
  z-index: 5;
}

.hero-section .about-image {
  border: 8px solid #ffffff !important;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

.hero-section .about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 35px;
  right: -15px;
  bottom: 15px;
  border: 3px solid var(--secondary-color);
  border-radius: var(--border-radius-lg);
  z-index: 1;
  pointer-events: none;
}

.hero-section .about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 65px;
  right: -35px;
  bottom: -15px;
  background-color: rgba(var(--secondary-rgb), 0.05);
  border-radius: var(--border-radius-lg);
  z-index: 0;
  pointer-events: none;
}

.about-image-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: white;
  border-radius: var(--border-radius-md);
  padding: 20px;
  box-shadow: var(--box-shadow-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-image-badge i {
  font-size: 2.2rem;
  color: var(--secondary-color);
}

.about-image-badge h3 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--primary-color);
}

.about-image-badge p {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.credential-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.credential-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.credential-content h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.credential-content p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Patient Journey Timeline */
.journey-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.journey-timeline::after {
  content: '';
  position: absolute;
  width: 4px;
    background: var(--primary-color) !important;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.journey-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.journey-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
 background: #fff !important;
    border: 4px solid var(--primary-color) !important;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.journey-left {
  left: 0;
}

.journey-right {
  left: 50%;
}

.journey-right::after {
  left: -10px;
}

.journey-card {
  padding: 25px;
  background-color: white;
  position: relative;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-md);
}

.journey-card h4,
.journey-card p {
  position: relative;
  z-index: 2;
}

.journey-step {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color) !important;
    opacity: 0.8 !important; /* Restored high opacity */
    font-weight: 800;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1;
}
@media (max-width: 767.98px) {
  .journey-timeline::after {
    left: 31px;
  }
  .journey-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .journey-item::after {
    left: 21px;
    top: 15px;
  }
  .journey-right {
    left: 0%;
  }
}

/* Statistics Counter Section */
.counter-box {
  text-align: center;
}

.counter-icon {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: block;
}

.counter-value {
  font-size: 3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.counter-label {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonial slider stylings */
.testimonial-carousel {
  position: relative;
}

.testimonial-card {
  padding: 40px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
  margin: 15px;
}

.testimonial-rating {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-author-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-author-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

/* FAQ Accordion Styling */
.accordion-item {
  border: none;
  border-radius: var(--border-radius-md) !important;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow-sm);
  overflow: hidden;
  background: white;
}

.accordion-button {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  padding: 20px 25px;
  background-color: white;
  border: none;
  box-shadow: none !important;
  transition: var(--transition-smooth);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.accordion-button::after {
  background-size: 1rem;
}

.accordion-body {
  padding: 20px 25px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Gallery Hover & Lightbox */
.gallery-filter-btn {
  padding: 8px 24px;
  border-radius: 30px;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin: 5px;
  transition: var(--transition-smooth);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.gallery-item-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
  aspect-ratio: 4/3;
  margin-bottom: 30px;
  border: 6px solid #ffffff !important;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 148, 136, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: white;
  padding: 20px;
}

.gallery-item-wrapper:hover .gallery-item-img {
  transform: scale(1.1);
}

.gallery-item-wrapper:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery-item-overlay h4 {
  font-size: 1.25rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 5px;
}

.gallery-item-overlay p {
  font-size: 0.85rem;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Info & Timings Table */
.contact-info-card {
  padding: 40px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-info-content p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.timing-table {
  width: 100%;
}

.timing-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.timing-table tr:last-child {
  border-bottom: none;
}

.timing-table td {
  padding: 12px 0;
  font-size: 0.95rem;
}

.timing-table td.day {
  font-weight: 600;
  color: var(--text-dark);
}

.timing-table td.time {
  text-align: right;
  color: var(--primary-color);
  font-weight: 600;
}

/* Form Styles */
.form-card {
  padding: 45px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-md);
}

.form-control, .form-select {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 0.95rem;
  background-color: var(--bg-light);
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  background-color: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
}

/* Map Wrapper */
.map-wrapper {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  border: 4px solid white;
}

.map-wrapper iframe {
  width: 100%;
  display: block;
}

/* Footer styling */
.footer {
  background: #0f172a; /* Dark Slate */
  color: #94a3b8; /* Muted text */
  padding: 80px 0 30px;
}

.footer h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 40px;
  background-color: #ffffff;
  border-radius: 2px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  color: white;
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact-icon {
  color: #ffffff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Success Pop-up Styles (Form Confirmation Modal/Alert) */
.success-card {
  text-align: center;
  padding: 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 25px;
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scale-up {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hindi Board Card Styling */
.hindi-board-card {
  background: white;
  border: 3px double #ef4444;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: var(--box-shadow-md);
  margin-top: 25px;
  font-family: 'Outfit', 'Noto Sans Devanagari', 'Arial', sans-serif;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  transition: var(--transition-smooth);
}

.hindi-board-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-lg);
}

.hindi-board-cross {
  color: #ef4444;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 5px;
}

.hindi-board-title {
  color: #ef4444;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hindi-board-subtitle {
  color: #1e3a8a;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.hindi-board-badge {
  background: #1e3a8a;
  color: white;
  padding: 8px 15px;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-block;
  width: 100%;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 40px 0 60px;
    text-align: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats-badge {
    margin: 0 auto;
  }
  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-lg);
    margin-top: 15px;
  }

  /* Center and add framed borders to all clinical service/about section images */
  .col-lg-6 img.img-fluid {
    max-width: 100%;
    height: auto;
    border: 6px solid #ffffff !important;
    border-radius: var(--border-radius-md) !important;
    box-shadow: var(--box-shadow-lg) !important;
    display: block;
    margin: 25px auto 0 !important; /* Centered in column on mobile */
  }

  .about-image {
    max-width: 100%;
    height: auto;
    border: 6px solid var(--secondary-color) !important;
    border-radius: var(--border-radius-md) !important;
    box-shadow: var(--box-shadow-lg) !important;
    display: block;
    margin: 25px auto 0 !important; /* Centered in column on mobile */
  }

  /* Reset offset decorative boxes on mobile to prevent overflow and keep it clean */
  .about-image-wrapper::before,
  .about-image-wrapper::after,
  .hero-section .about-image-wrapper::before,
  .hero-section .about-image-wrapper::after,
  .about-image-wrapper div[style*="position: absolute"],
  .about-image-wrapper div[style*="position:absolute"] {
    display: none !important;
  }

  .about-image-wrapper {
    max-width: 380px;
    margin: 30px auto 0;
    padding: 0 !important;
  }
  
  /* Text alignment cleanups for stacked columns on mobile */
  .col-lg-6 {
    text-align: center;
  }
  
  .col-lg-6 ul {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }
  .hero-section {
    padding: 25px 0 45px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  .header-board {
    padding: 4px 8px;
    max-width: 210px;
  }
  .header-board-cross {
    font-size: 1rem;
    margin-bottom: 0px;
  }
  .header-board-title {
    font-size: 1rem;
    margin-bottom: 0px;
  }
  .header-board-subtitle {
    font-size: 0.48rem;
    margin-bottom: 2px;
  }
  .header-board-badge {
    font-size: 0.48rem;
    padding: 2px 6px;
  }
  .footer-board-scale {
    transform: scale(1);
    margin-bottom: 10px;
  }
  .navbar-brand-logo {
    height: 60px;
    width: 60px;
  }
  .hindi-board-card {
    padding: 15px 10px;
    margin-top: 15px;
    border-width: 2px;
  }
  .hindi-board-cross {
    font-size: 1.6rem;
  }
  .hindi-board-title {
    font-size: 1.5rem;
  }
  .hindi-board-subtitle {
    font-size: 0.8rem;
  }
  .hindi-board-badge {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .floating-container {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }
  .form-card {
    padding: 25px 20px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .counter-value {
    font-size: 2.2rem;
  }
  .counter-label {
    font-size: 0.85rem;
  }
  .journey-item {
    padding-left: 55px;
    padding-right: 15px;
  }
  .journey-item::after {
    left: 21px;
    top: 18px;
  }
  .journey-card {
    padding: 20px 15px;
  }
  .journey-step {
    position: relative;
    top: auto;
    right: auto;
    float: right;
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 10px;
    opacity: 0.8 !important;
  }
  .testimonial-card {
    padding: 25px 15px;
    margin: 5px;
  }
  .accordion-button {
    padding: 15px;
    font-size: 1rem;
  }
}

/* Custom Logo Styling */
.navbar-brand-logo {
  height: 85px;
  width: 85px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: var(--box-shadow-sm);
  background: white;
  padding: 2px;
  border: 2px solid var(--secondary-color);
  transition: var(--transition-smooth);
}

.navbar-brand-logo:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

/* Footer Premium Brand Block */
.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  text-decoration: none !important;
}

.footer-brand-logo {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: white;
  padding: 2px;
  transition: var(--transition-smooth);
}

.footer-brand-block:hover .footer-brand-logo {
  transform: scale(1.05) rotate(3deg);
  border-color: var(--primary-light);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.footer-brand-name span {
  color: var(--secondary-color);
}

.footer-brand-doctor {
  color: var(--secondary-light);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 2px;
}

.footer-brand-specialty {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
}

.partner-logo-section {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-logo-title {
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.partner-logo-card {
  display: inline-block;
  background: white;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-smooth);
}

.partner-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

.partner-logo-img {
  height: 25px;
  width: auto;
  display: block;
}
