@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Open+Sans:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================
   DESIGN SYSTEM VARIABLES & CORE
   ========================================== */
:root {
  --primary-color: #E0383F;                  /* Theme red matching brand color precisely */
  --primary-dark: #c92f35;                   /* Darker red for hover */
  --text-color: #334155;                     /* Muted slate text color from screenshot */
  --text-light: hsl(210, 10%, 45%);          /* Muted gray-blue for secondary text */
  --border-color: hsl(210, 10%, 90%);        /* Soft borders */
  --bg-white: hsl(0, 0%, 100%);
  --footer-bg: hsl(210, 20%, 98%);           /* Elegant off-white */
  --whatsapp-green: #25d366;
  --whatsapp-dark: #20ba56;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--text-color);
  background-color: var(--bg-white);
  line-height: 1.5; /* Slightly decreased for a cleaner look */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 46px; /* Offset for the 46px sticky contact bar */
}

body:not(.logged-in) {
  position: relative;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1228px; /* Content width 1180px + 24px padding on each side */
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   TOP BAR SECTION
   ========================================== */
.top-bar {
  background-color: #F5545B; /* Updated to match the brand red precisely */
  color: var(--bg-white);
  padding: 8px 0; /* Exact height alignment */
  z-index: 1001;
  position: relative;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end; /* Align all items to the right side of the screen */
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%; /* Override 1200px grid boundary to span full screen width */
  padding: 0 30px; /* Matching the elementor top bar left/right padding */
  margin: 0;
}

.top-bar-item {
  display: flex;
  align-items: center;
  padding: 0 17.5px; /* Spacing margin of items matching Elementor's -17.5px margin specs */
}

.top-bar-item svg {
  height: 25px; /* Exact height from reference screenshots */
  width: auto; /* Allow natural aspect-ratio scaling */
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.top-bar-item span,
.top-bar-item a {
  font-family: 'Poppins', sans-serif;
  font-size: 15px; /* Exact font size from reference specs */
  font-weight: 400; /* Regular font weight */
  color: #FFFFFF;
  padding: 0px 0px 0px 5px; /* Precise 5px text-icon spacing */
  line-height: 1.2;
}

.top-bar-item a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {

  .top-bar {
    display: none;
  }

  
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid var(--border-color);
  padding: 0; /* Align with 65px height */
}

header.sticky {
  box-shadow: var(--shadow-md);
  padding: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px; /* Slightly taller, clean height */
  transition: var(--transition-smooth);
}

.logo-link {
  display: flex;
  align-items: center;
  height: 75px; /* Matching the container height */
  margin-left: 80px; /* Shift the logo further to the right on desktop */
  transition: var(--transition-smooth);
}

.logo-image {
  max-height: 66px; /* Optimized logo height to fit nicely within 75px navbar */
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header.sticky .header-container,
header.sticky .logo-link,
header.sticky .nav-link {
  height: 60px; /* Shrinks heights slightly when sticky */
}

header.sticky .logo-image {
  max-height: 52px; /* Shrinks logo slightly when sticky */
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0; /* Horizontal gap is controlled by item padding from screenshot */
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 75px; /* Matching the 75px header-container height */
  padding: 0 15px; /* Padding: 0px 15px from screenshot */
  font-family: 'Poppins', sans-serif;
  font-size: 15px; /* Font size: 15px from screenshot */
  font-weight: 600;
  color: #000000; /* Link text color is solid black #000000 */
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown Menu Style */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  border-top: 3px solid var(--primary-color);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  z-index: 1002;
}

.dropdown-item a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-color);
  transition: var(--transition-smooth);
}

.dropdown-item a:hover {
  background-color: hsl(358, 75%, 98%);
  color: var(--primary-color);
  padding-left: 25px; /* Subtle indent on hover */
}

/* Show Dropdown on Hover (Desktop) */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1005;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* ==========================================
   INDEX BANNER SECTION
   ========================================== */
.hero-banner {
  width: 100%;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.banner-wrapper {
  width: 100%;
  position: relative;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}


/* Optional spacer for demo */
.demo-content-spacer {
  padding: 100px 0;
  text-align: center;
  background-color: #fff;
  flex-grow: 1;
}

.demo-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.demo-subtitle {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.main-footer {
  background-color: #f5f5f5;
  background-image: linear-gradient(rgba(245, 245, 245, 0.95), rgba(245, 245, 245, 0.95)), url('../img/footerbg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--border-color);
  padding: 30px 0 0 0;
  color: #000000;
  font-size: 0.95rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 20px;
}

.footer-col .footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: #000000;
  margin-bottom: 24px;
  font-weight: 500;
}

/* Footer Col 1: Clinic Profile */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo {
  max-height: 82px;
  width: auto;
}

.footer-desc {
  font-family: 'Poppins', sans-serif;
  color: #000000;
  font-size: 15px;
  line-height: 1.6;
}

/* Footer Col 2: Contact Info */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6.5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.footer-contact-item svg {
  width: 22px;
  height: 22px;
  fill: #FA5058;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  font-family: 'Poppins', sans-serif;
  color: #000000;
  font-size: 15px;
  line-height: 1.5;
}

.footer-contact-item a:hover {
  color: var(--primary-color);
}

/* Footer Col 3: Map Section */
.footer-map-container {
  overflow: hidden;
  height: 160px;
  padding: 10px;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #F5545B;
  padding: 13px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

/* Scroll To Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 70px; /* Lifted up to make space for the 46px sticky contact bar */
  right: 30px;
  width: 46px;
  height: 46px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(224, 34, 41, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(224, 34, 41, 0.4);
}

.scroll-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Sticky Bottom Contact Bar */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 46px; /* Exact height from inspector: 45.59px */
  z-index: 998;
  box-shadow: 0 -3px 15px rgba(0,0,0,0.1);
  gap: 2px; /* Thin gap/divider between the two buttons */
  background-color: #1E9E30; /* Gap color shows the WhatsApp green as background */
  padding-left: 3px; /* Slight gap on the left edge */
}


.mobile-sticky-btn {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #FFFFFF; /* Exact color from inspector */
  font-family: 'Lato', sans-serif; /* Exact font from inspector */
  font-size: 14px; /* Exact font-size from inspector */
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Slide-in hover effect using ::after pseudo element (from live site) */
.mobile-sticky-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-sticky-btn:hover::after {
  opacity: 1;
}

.mobile-sticky-btn.btn-call {
  background-color: #000000; /* Exact background from inspector */
}

.mobile-sticky-btn.btn-whatsapp {
  background-color: #1E9E30; /* Exact background from inspector */
}

.mobile-sticky-btn.btn-call::after {
  background-color: #000000; /* ::after background from inspector */
}

.mobile-sticky-btn.btn-whatsapp::after {
  background-color: #1E9E30; /* ::after background from inspector */
}

.mobile-sticky-btn.btn-call:hover {
  background-color: #222222;
}

.mobile-sticky-btn.btn-whatsapp:hover {
  background-color: #178a29;
}

.mobile-sticky-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  padding: 80px 0;
  background-color: #fafafa;
}

.about-container {
  display: grid;
  grid-template-columns: 421.42px 1fr;
  gap: 30px;
  align-items: center;
}

.about-image-wrapper {
  max-width: 421.42px;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  box-shadow: 0 -10px 15px -8px rgba(0, 0, 0, 0.45); /* Casts a very narrow shadow upwards */
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 -15px 25px -8px rgba(0, 0, 0, 0.6); /* Very narrow deeper shadow on hover */
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.about-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 27px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.about-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: #000000;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  text-align: justify;
  text-transform: capitalize;
  margin-bottom: 15px;
  line-height: 1.45; /* Decreased line-height slightly as requested */
}

.blue-link {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #3a7df0;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.blue-link:hover {
  text-decoration: underline;
  color: #2563eb;
}

.consultant-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.consultant-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.consultant-col ul {
  list-style: none;
  padding-left: 0;
}

.consultant-col li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #000000;
  line-height: 1.5;
}

.consultant-col li::before {
  content: "•";
  color: #000000;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #FFFFFF !important;
  padding: 12px 30px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(224, 56, 63, 0.2);
  width: fit-content;
}

.about-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(224, 56, 63, 0.3);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ==========================================
   SERVICES SECTION (SLIDER)
   ========================================== */
.services-section {
  position: relative;
  background-color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
  z-index: 1;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background-color: #E6E3E2;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  z-index: -1;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  color: #E0383F;
  margin-bottom: 10px;
  font-weight: 600;
  display: block;
}

.section-header .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: #000000;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
}

.services-slider-container {
  position: relative;
  max-width: 1260px; /* Content width 1180px + 40px padding on each side */
  margin: 0 auto;
  padding: 0 40px;
}

.services-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.services-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.service-slide {
  flex: 0 0 33.333%;
  padding: 0 15px;
  box-sizing: border-box;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  scroll-margin-top: 120px; /* Offset for anchor tags */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-img-wrapper {
  height: 230px;
  overflow: hidden;
  background-color: #eee;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}

.service-card-content p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #334155;
  line-height: 1.5; /* Decreased slightly for alignment */
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more-link {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: underline;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.read-more-link:hover {
  color: var(--primary-dark);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.prev-arrow {
  left: 0;
}

.next-arrow {
  right: 0;
}

.slider-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--border-color);
  color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .service-slide {
    flex: 0 0 50%;
  }
  .services-slider-container {
    padding: 0 45px;
  }
}

@media (max-width: 767px) {
  .service-slide {
    flex: 0 0 100%;
  }
  .services-slider-container {
    padding: 0 40px;
  }
  .service-img-wrapper {
    height: 200px;
  }
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--footer-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 8rem;
  color: rgba(224, 34, 41, 0.05);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  line-height: 1.45; /* Decreased line-height slightly to match the about-text */
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
  padding: 80px 0;
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-color);
}

.contact-container {
  max-width: 600px;
  margin: 40px auto 0 auto;
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
  background-color: var(--footer-bg);
  color: var(--text-color);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(224, 34, 41, 0.1);
}

.contact-btn {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: none;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(224, 34, 41, 0.2);
}

.contact-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(224, 34, 41, 0.3);
}

.contact-btn:active {
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Tablet & Mobile Viewports */
@media (max-width: 991px) {
  .header-container {
    height: 72px; /* Clean mobile navbar height */
  }

  .logo-link {
    height: 72px;
    margin-left: 0; /* Reset margin on mobile to maintain clean layout */
  }

  .logo-image {
    max-height: 62px; /* Clean logo height on mobile to match the 72px navbar */
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Nav Menu as Full Width Overlay Drawer */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    max-height: 600px;
    overflow-y: auto;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-link::after {
    display: none; /* Disable underline hover */
  }

  .nav-link:hover {
    background-color: hsl(210, 20%, 98%);
  }

  /* Mobile Dropdown Interaction */
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid var(--border-color);
    background-color: hsl(210, 20%, 98%);
    padding: 5px 0;
    transform: none;
    transition: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-item a {
    padding: 12px 40px;
  }

  .dropdown-item a:hover {
    padding-left: 45px;
  }

  /* Footer Layout */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* About Us Mobile */
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-content {
    align-items: center;
  }

  .about-image-wrapper {
    height: 400px;
    margin: 0 auto;
  }

  .consultant-info {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
    max-width: 350px;
    margin: 20px auto 30px auto;
  }

  /* Testimonials Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Specific Tweaks */
@media (max-width: 768px) {
  body {
    padding-bottom: 55px; /* Offset for sticky mobile bottom bar */
  }

  .top-bar-item {
    font-size: 0.8rem;
  }
  
  .top-bar .container {
    justify-content: center;
  }

  .main-footer {
    padding: 40px 0 15px 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Sticky contact bar is already displayed globally */
  
  .scroll-to-top {
    bottom: 75px; /* Lifted up to make space for the bottom sticky bar */
    right: 20px;
    width: 40px;
    height: 40px;
  }

  /* Index Sections Mobile Padding */
  .about-section,
  .services-section,
  .testimonials-section,
  .contact-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

/* ==========================================
   ELEMENTOR COMPATIBILITY STYLES
   ========================================== */
.elementor-widget-wrap > .elementor-element {
  width: 100%;
}

.elementor-widget:not(:last-child) {
  margin-block-end: 20px;
}

.elementor-element {
  --widgets-spacing: 20px 20px;
}

.elementor-element,
.elementor-lightbox {
  --swiper-theme-color: #000;
  --swiper-navigation-size: 44px;
  --swiper-pagination-bullet-size: 6px;
  --swiper-pagination-bullet-horizontal-gap: 6px;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  padding: 50px 0;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.stats-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  background-color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 90px 20px;
}

.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background-color: var(--primary-color);
  opacity: 0.6;
}

@media (max-width: 991px) {
  .stats-wrapper {
    flex-wrap: wrap;
    padding: 60px 20px;
    gap: 40px;
  }
  .stat-item {
    flex: 0 0 40%;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 576px) {
  .stat-item {
    flex: 0 0 100%;
  }
  .stats-wrapper {
    padding: 40px 20px;
  }
}

/* ==========================================
   REVIEWS & BLOGS SECTION
   ========================================== */
.reviews-blogs-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.reviews-half, .blogs-half {
  width: 50%;
  padding: 30px 40px;
}

.reviews-half {
  width: 50%;
  background-color: #F5545B;
  padding: 30px 40px 30px 80px;
  display: flex;
  justify-content: flex-end;
}

.blogs-half {
  background-color: #FFFFFF;
  display: flex;
  justify-content: flex-start;
}

.reviews-content, .blogs-content {
  max-width: 600px; /* Half of 1200px container */
  width: 100%;
}

.reviews-content {
  padding-right: 40px;
}

.blogs-content {
  padding-left: 40px;
}

/* Reviews Side */
.reviews-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  color: #F5545B;
  font-weight: 700;
  margin-bottom: 20px;
}

.reviews-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 40px;
}

.trustindex-placeholder {
  color: #8c2020; /* Darker red for placeholder */
  font-family: monospace;
  font-size: 14px;
}

/* Blogs Side */
.blogs-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  color: #F5545B;
  font-weight: 600;
  margin-bottom: 15px;
}

.blogs-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: #000000;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 40px;
}

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
  padding: 0 0 40px 0;
}

.blog-item:hover {
  transform: translateX(5px);
}

.blog-thumb {
  width: 83px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.blog-item-title {
  font-family: 'Lato', sans-serif;
  font-size: 21px;
  color: #050505;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.blog-item:hover .blog-item-title {
  color: #FA5058;
}

/* Responsive */
@media (max-width: 991px) {
  .reviews-half, .blogs-half {
    width: 100%;
    padding: 60px 20px;
    justify-content: center;
  }
  .reviews-content, .blogs-content {
    padding: 0;
    max-width: 100%;
  }
  .reviews-title {
    font-size: 28px;
  }
  .blogs-title {
    font-size: 24px;
  }
}

/* Custom Reviews Slider */
.custom-reviews-slider {
  margin-top: 30px;
  max-width: 100%;
}

.reviews-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  min-height: 50px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.reviewer-avatar svg {
  width: 32px;
  height: 32px;
  margin-top: 6px;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 2px 0;
  line-height: 20px;
}

.review-date {
  font-family: 'Open Sans', sans-serif;
  font-size: 11.2px;
  color: #000000;
  line-height: 16px;
}

.review-controls {
  display: flex;
  gap: 10px;
}

.review-controls button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-controls svg {
  width: 20px;
  height: 40px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill 0.3s ease;
}

.review-controls button:hover svg {
  fill: #FFFFFF;
}

.review-card-wrapper {
  position: relative;
}

/* The pointer/triangle */
.review-card-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 20px;
  width: 0; 
  height: 0; 
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #FFFFFF;
  z-index: 2;
}

.review-card {
  background-color: #FFFFFF;
  border-radius: 4px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  min-height: 160px;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars svg {
  width: 17px;
  height: 17px;
  fill: #FBBC05;
}

.google-icon-svg {
  width: 24px;
  height: 24px;
}

.review-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #000000;
  line-height: 20px;
  margin: 0;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease-in forwards;
}

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

/* ==========================================
   APPOINTMENT CTA SECTION
   ========================================== */
.appointment-cta-section {
  padding: 72px 20px 101px 20px;
  background-color: #FCFDFD;
}

.cta-box {
  background-color: #FFFFFF;
  border: 1px solid #FA5058;
  border-radius: 8px;
  padding: 68px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.5);
  max-width: 1200px;
  margin: 0 auto;
}

/* Background watermark logo */
.cta-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background-image: url('../img/logo.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: #000000;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #F5545B;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;
}

.cta-btn:hover {
  background-color: #d13c42;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 22px;
  }
  .cta-bg-logo {
    width: 250px;
    height: 250px;
  }
  .cta-box {
    padding: 40px 20px;
  }
}

/* ==========================================
   ABOUT US PAGE STYLES
   ========================================== */

/* Hero Section */
.about-us-hero {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(220, 110, 130, 0.4);
}

.about-hero-title {
  color: #FFFFFF;
  font-size: 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin: 0 0 10px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-breadcrumb {
  text-align: center;
  color: #FFFFFF;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 2;
}

.about-breadcrumb a {
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.about-breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.about-breadcrumb span {
  color: #f1f1f1;
}

/* Doctor Profile Section */
.about-doctor-profile {
  padding: 60px 0 30px 0;
  background-color: #FCFDFD;
}

.doctor-profile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.doctor-profile-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.doctor-profile-content .section-subtitle {
  color: #FA5058;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.doctor-name-title {
  font-size: 28px;
  font-family: 'Poppins', sans-serif;
  color: #000000;
  margin-bottom: 20px;
}

.doctor-bio-text {
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 15px;
}

.doctor-highlight-link {
  color: #4A89DF;
  text-decoration: none;
}

.doctor-highlight-link:hover {
  text-decoration: underline;
}

.consultant-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.consultant-col {
  flex: 1;
  min-width: 250px;
}

.consultant-col-title {
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

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

.consultant-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #333333;
}

.consultant-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #000000;
  font-size: 20px;
  line-height: 1;
  top: -2px;
}

.doctor-profile-image {
  width: 428px;
  display: flex;
  justify-content: center;
}

.doctor-img-wrapper {
  position: relative;
  border: 1px solid #FA5058;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  display: inline-block; /* Ensure wrapper hugs the image tightly */
}

.doc-portrait {
  width: 100%;
  height: auto;
  display: block;
  /* animation: float-animation 3s ease-in-out infinite; */
}

@keyframes float-animation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Tabs Section */
.about-tabs-section {
  padding: 50px 0;
  background-color: #E6E3E2;
}

.custom-tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
}

.tab-btn {
  flex: 1;
  padding: 20px;
  background-color: #FFFFFF;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn.active {
  background-color: #F5545B;
  color: #FFFFFF;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #F5545B transparent transparent transparent;
}

.tabs-content-wrapper {
  background-color: #FFFFFF;
  padding: 22px;
  margin-top: 13px;
  border: 1px solid #E0383F5C;
  box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.5);
}

.tab-pane.active {
  animation: fadeIn linear 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.pane-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 13px;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  line-height: 26px;
}

.pane-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 24px;
  color: #000000;
}

.pane-list li strong {
  font-size: 16px;
  color: #000000;
  margin-bottom: 0px;
}

.pane-list li span {
  font-size: 16px;
  color: #000000;
  margin-bottom: 0px;
}

.pane-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pane-bullet-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  line-height: 26px;
}

.pane-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 20px;
}

.pane-bullet-single-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pane-bullet-single-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  line-height: 26px;
}

.pane-bullet-single-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .tabs-header {
    flex-direction: column;
  }
  .doctor-profile-image {
    width: 100%;
  }
}

/* ==========================================
   GALLERY PAGE — PREMIUM MASONRY + LIGHTBOX
   ========================================== */
.gallery-section {
  padding: 70px 0 90px;
  background-color: #f7f8fc;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Section Heading ---------- */
.gallery-heading-block {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.gallery-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #666;
  margin-bottom: 18px;
}

.gallery-title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #F5545B, #ff8c8f);
  border-radius: 2px;
  margin: 0 auto;
}

/* ---------- Masonry Grid ---------- */
.gallery-masonry {
  columns: 3;
  column-gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  margin-bottom: 18px;
  break-inside: avoid;
  page-break-inside: avoid;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  cursor: pointer;
  background: #e8e8e8;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
  border-radius: 10px;
}

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

/* ---------- Lightbox ---------- */
.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.88);
  z-index: 9998;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-backdrop.active {
  display: block;
}

.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 16px;
  padding: 40px;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: calc(100vh - 80px);
  max-width: calc(100vw - 160px);
}

.lightbox-img {
  max-height: calc(100vh - 100px);
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

.lightbox-counter {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
  letter-spacing: 1px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(245,84,91,0.5);
  transform: scale(1.1);
}

.lightbox-nav {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: rgba(245,84,91,0.45);
  transform: scale(1.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gallery-masonry {
    columns: 3;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    columns: 2;
    column-gap: 14px;
  }
  .gallery-main-title {
    font-size: 26px;
  }
  .gallery-lightbox {
    padding: 20px;
    gap: 10px;
  }
  .lightbox-content {
    max-width: calc(100vw - 110px);
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    columns: 1;
  }
  .gallery-item {
    margin-bottom: 14px;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-content {
    max-width: calc(100vw - 100px);
  }
}




/* ==========================================
   BLOGS PAGE STYLES
   ========================================== */
.blogs-page-section {
    padding: 50px 0 80px 0;
    background: #f8f9fc;
}

.blogs-page-container {
    max-width: 1228px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

/* LEFT SIDE: BLOGS GRID */
.blogs-main-content {
    flex: 2;
}

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

.blog-card {
    background: #ffffff;
    border: 1px solid #FA5058;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(250, 80, 88, 0.08);
}

.blog-card-img-wrapper {
    width: 100%;
    height: 235px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: #000000;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-card-content h3 a:hover {
    color: #F5545B;
}

.blog-card-content p {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.read-more-btn {
    background: #F5545B;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(245, 84, 91, 0.15);
}

.read-more-btn:hover {
    background: #e0444b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 84, 91, 0.25);
}

/* RIGHT SIDE: SIDEBAR */
.blogs-sidebar {
    flex: 0.9;
    min-width: 290px;
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 20px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0 0 25px 0;
    border-left: 4px solid #F5545B;
    padding-left: 10px;
}

.blog-list2 {
    display: flex;
    flex-direction: column;
}

.blog-item2 {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-item2:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-item2:first-child {
    padding-top: 0;
}

.blog-item2:hover {
    transform: translateX(5px);
}

.caret-icon {
    color: #F5545B;
    width: 14px;
    height: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.blog-item-title2 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #000000;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0 0 0 9px;
    transition: var(--transition-smooth);
}

.blog-item2:hover .blog-item-title2 {
    color: #F5545B;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
    .blogs-page-section {
        padding: 50px 0;
    }

    .blogs-page-container {
        flex-direction: column;
        gap: 40px;
    }

    .blogs-main-content, 
    .blogs-sidebar {
        width: 100%;
        flex: none;
    }

    .blogs-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-card-img-wrapper {
        height: 200px;
    }
}

.i {
    color: #000000;
    font-size: 14px;
    width: 1.25em;
}

  

/* CONTACT SECTION */
/* CONTACT SECTION */
.contact-section {
    padding: 50px 0;
    background: #f8f9fc;
}

.contact-container {
    max-width: 1228px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
}

/* LEFT SIDE: FORM */
.contact-form-box {
    flex: 1.1;
    background: #fff;
    padding: 40px 20px 41px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid #F5545B;
    transition: var(--transition-smooth);
}

.contact-form-box:hover {
    box-shadow: 0 15px 45px rgba(245, 84, 91, 0.05);
}

.contact-subtitle {
    color: #F5545B;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

.contact-form-box h2 {
    font-size: 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

/* Form inputs & labels */
.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.required-star {
    color: #F5545B;
    font-weight: bold;
    margin-left: 2px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0 15px;
    height: 45px;
    border: 1px solid rgba(245, 84, 91, 0.2);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: #000000;
    transition: var(--transition-smooth);
    background: #F9DADB54;
}

.input-group textarea {
    height: auto;
    padding: 12px 15px;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #a0aec0;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #F5545B;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 84, 91, 0.15);
}

/* Submit Button */
.submit-btn {
    background: #F5545B;
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(245, 84, 91, 0.15);
    display: inline-block;
    margin: 13px 0 10px;
}

.submit-btn:hover {
    background: #e0444b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 84, 91, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
}

/* PHP Alerts */
.alert-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-success svg {
    color: #16a34a;
    flex-shrink: 0;
}

.alert-error {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-error svg {
    color: #dc2626;
    flex-shrink: 0;
}

/* RIGHT SIDE: MAP & INFO */
.map-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: 10px 30px 0px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 650px;
    border: none;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.contact-info {
    position: absolute;
    bottom: 20px;
    left: 50px;
    right: 50px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 10;
}

.info-card {
    flex: 1;
    min-width: 190px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.info-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-card h4 {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
}

.info-card p {
    color: #475569;
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
}

.info-card p a {
    color: inherit;
    text-decoration: none;
}

.info-card p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-box {
        padding: 40px 30px;
    }

    .contact-form-box h2 {
        font-size: 32px;
    }

    .map-box iframe {
        min-height: 450px;
    }

    .contact-info {
        position: static;
        margin-top: 25px;
        padding: 0;
    }
    
    .info-card {
        min-width: 250px;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04);
        border: 1px solid #e2e8f0;
    }
}

@media (max-width: 480px) {
    .contact-form-box {
        padding: 30px 20px;
    }

    .contact-form-box h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .submit-btn {
        padding: 14px 28px;
    }
}

/* ==========================================
   SERVICE DETAIL PAGE STYLES
   ========================================== */
.service-detail-section {
  padding: 50px 0 60px 0;
  background-color: #FCFDFD;
}

.service-header-box {
  margin-bottom: 35px;
}

.service-main-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 56px;
  color: #F5545B; /* Precise rgb(245, 84, 91) */
  margin-bottom: 6px;
}

.service-sub-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 31px;
  color: #000000;
  margin-bottom: 25px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.service-content-col {
  flex: 1.2;
  min-width: 300px;
}

.service-image-col {
  flex: 0.8;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.service-img-card {
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  max-width: 324px;
  width: 100%;
}

.service-img-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.service-img-card:hover img {
  transform: scale(1.03);
}

.service-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 35px;
  color: #000000;
  margin-bottom: 20px;
}

.service-section-title.primary-color {
  color: #F5545B; /* For "Infectious Diseases" section heading */
  line-height: 39px;
}

.service-info-block {
  margin-top: 45px;
}

.service-text,
.service-detail-section p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  color: #000000;
  margin-bottom: 24px;
  text-align: justify;
}

.service-info-block strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 4px;
}

.prevention-block strong {
  display: inline;
  margin-bottom: 0;
}

.prevention-block p {
  margin-bottom: 12px;
}

.symptoms-block strong {
  display: block;
  margin-top: 15px;
  margin-bottom: 8px;
}

.symptoms-block p.symptom-item {
  margin-bottom: 6px;
}

.compact-list strong {
  display: inline;
  margin-bottom: 0;
}

.compact-list p {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .service-grid {
    gap: 25px;
  }
  .service-image-col {
    width: 100%;
  }
  .service-main-heading {
    font-size: 32px;
    line-height: 44px;
  }
  .service-sub-heading {
    font-size: 22px;
    line-height: 27px;
  }
  .service-section-title {
    font-size: 24px;
    line-height: 30px;
  }
}


/* ==========================================
   BLOG POST DETAIL STYLES
   ========================================== */
.blog-detail-section {
  padding: 50px 0 60px 0;
  background-color: #FCFDFD;
}

.blog-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.blog-detail-title {
  font-family: 'Lato', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  color: #1E293B;
  margin-bottom: 10px;
}

.blog-detail-sub-heading {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #F5545B;
  margin-bottom: 25px;
}

.blog-detail-content {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #334155;
}

.blog-detail-content p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #334155;
  margin-bottom: 25.6px;
  text-align: justify;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  color: #1E293B;
  margin-top: 35px;
  margin-bottom: 15px;
}

.blog-detail-content strong {
  font-weight: 700;
  color: #1E293B;
}

.blog-detail-content .compact-list p {
  margin-bottom: 12px;
}

.blog-detail-content ul {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #334155;
  margin-top: 0;
  margin-bottom: 25.6px;
  padding-left: 24px;
  list-style-type: disc;
}

.blog-detail-content li {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #334155;
  margin-bottom: 8px;
}

.blog-detail-content li:last-child {
  margin-bottom: 0;
}

/* ==========================================
   ACTIVE NAVIGATION MENU STYLES
   ========================================== */
.nav-link.active {
  color: #F5545B !important;
}

.nav-link.active::after {
  background-color: #F5545B !important;
  transform: scaleX(1) !important;
  transform-origin: left !important;
}

.dropdown-item a.active-dropdown {
  color: #F5545B !important;
  text-decoration: underline !important;
  text-decoration-color: #F5545B !important;
  font-weight: 600 !important;
}

