:root {
  --primary: #1a365d;
  --primary-light: #2b6cb0;
  --accent: #e53e3e; 
  --text-main: #2d3748;
  --text-muted: #4a5568;
  --bg-color: #f7fafc;
  --white: #ffffff;
  --transition-fast: all 0.2s ease;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  overflow-x: hidden;
  padding-top: 100px; /* Space for fixed header */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Premium Full-Width Header
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid transparent;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 40px;
  transition: var(--transition-smooth);
}

.main-header.scrolled .nav-container {
  height: 75px;
}

/* Logo Area */
.logo-area {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-img {
  height: 70px;
  width: auto;
  transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
  height: 55px;
}

/* Navigation Links */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  transition: var(--transition-fast);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-link i {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-top: 2px;
}

/* Elegant Hover Effect: Bottom Line Indicator */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links > li.dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  padding: 12px 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  transform: translateY(15px);
  border-top: 2px solid var(--accent);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 28px;
}

/* Header Right - Contact Button */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  background: transparent;
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid var(--primary);
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.contact-button i {
  font-size: 14px;
}

.contact-button:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(26, 54, 93, 0.2);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.mobile-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.mobile-toggle .bar:nth-child(1) { top: 0; }
.mobile-toggle .bar:nth-child(2) { top: 11px; }
.mobile-toggle .bar:nth-child(3) { top: 22px; }

.mobile-toggle.active .bar:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .nav-container { padding: 0 20px; }
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    justify-content: flex-start;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 18px;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    width: 100%;
    padding: 10px 0 0 15px;
    display: none;
  }
  
  .dropdown-menu.active {
    display: block;
  }
  
  .header-right .contact-button {
    display: none; /* Hide button on mobile to save space, or keep just icon */
  }
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: -100px; /* Pull up underneath transparent header */
}

.heroSwiper {
  width: 100%;
  height: 100%;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
}

.slide-bg-flip {
  transform: scaleX(-1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Beautiful dark to transparent gradient for left-aligned text */
  background: linear-gradient(90deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.6) 50%, rgba(26, 54, 93, 0) 100%);
  z-index: 2;
}

.slide-overlay-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Black gradient on the right, transparent on the left */
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.slide-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.slide-content {
  max-width: 650px;
  padding-top: 50px; 
}

.slide-content-right {
  margin-left: auto;
  text-align: right;
}

.slide-content-right .slide-contact {
  flex-direction: row-reverse;
  border-left: none;
  border-right: 4px solid var(--accent);
}

.slide-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-subtitle {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 1.5;
}

.slide-contact {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  padding: 12px 24px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  backdrop-filter: blur(4px);
}

.slide-contact i {
  color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(229, 62, 62, 0.3);
}

/* Custom Swiper Controls */
.custom-nav-btn {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1);
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: var(--transition-fast);
}

.custom-nav-btn:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.custom-nav-btn::after {
  font-size: 24px !important;
}

.custom-pagination .swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.5;
  width: 12px;
  height: 12px;
  transition: var(--transition-fast);
}

.custom-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent);
  width: 30px;
  border-radius: 10px;
}

/* Responsive Slider */
@media (max-width: 991px) {
  .hero-section {
    height: 70vh;
    min-height: 500px;
  }
  .slide-title {
    font-size: 48px;
  }
  .slide-subtitle {
    font-size: 18px;
  }
  .slide-overlay {
    background: linear-gradient(90deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.6) 100%);
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 450px;
  }
  .slide-content-container {
    padding: 0 20px;
  }
  .slide-title {
    font-size: 36px;
  }
  .slide-subtitle {
    font-size: 16px;
  }
  .slide-contact {
    font-size: 16px;
    padding: 10px 16px;
  }
  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
  .custom-nav-btn {
    display: none !important; /* Hide arrows on mobile */
  }
}

/* ==========================================================================
   Locations Section
   ========================================================================== */
.locations-section {
  padding: 30px 0;
  background-color: var(--bg-color);
}

.locations-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
      margin-bottom: 13px;

}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.location-card-pro {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 35px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: left;
}

.location-card-pro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.location-card-pro:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.location-card-pro:hover::before {
  transform: scaleX(1);
}

.pro-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(229, 62, 62, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: transform 0.5s ease;
}

.pro-icon-wrapper i {
  font-size: 26px;
  color: var(--accent);
}

.location-card-pro:hover .pro-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--accent);
}

.location-card-pro:hover .pro-icon-wrapper i {
  color: var(--white);
}

.pro-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
}

.pro-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.pro-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
}

.pro-item i {
  color: var(--primary-light);
  font-size: 18px;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}

.pro-item p {
  margin: 0;
}

.pro-hours p {
  margin-bottom: 4px;
}
.pro-hours p span {
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  min-width: 85px;
}

.btn-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-pro:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(229, 62, 62, 0.2);
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-item i {
  color: var(--primary-light);
  font-size: 18px;
  margin-top: 4px;
}

.detail-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hours-list p {
  margin-bottom: 4px;
}
.hours-list p span {
  font-weight: 500;
  color: var(--text-main);
  display: inline-block;
  min-width: 80px;
}
.hours-list p strong {
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--white);
}

@media (max-width: 991px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .locations-section {
    padding: 30px 0;
  }
  .locations-container {
    padding: 0 20px;
  }
  .location-card {
    padding: 30px 20px;
  }
  .section-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
     padding: 26px 5%;
  background-color: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 5px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-header::before,
.services-header::after {
  content: "";
  height: 1px;
  background-color: #e2e8f0;
  flex: 1;
  max-width: 300px;
  margin: 0 20px;
}

.services-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card.span-1 {
  grid-column: span 1;
}

.service-card.span-2 {
  grid-column: span 2;
}

.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.service-card:hover .service-bg {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.05) 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(229, 62, 62, 0.9) 0%, rgba(229, 62, 62, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  z-index: 2;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-title {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}

.service-card:hover .service-title {
  transform: translateY(-5px);
}

.service-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #fff;
  margin-top: 15px;
  border-radius: 2px;
  transition: width 0.4s ease, background 0.4s ease;
}

.service-card:hover .service-title::after {
  width: 80px;
  background: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card.span-2 {
    grid-column: span 1;
  }
  .service-card.span-2:nth-child(3),
  .service-card.span-2:nth-child(4) {
    grid-column: span 2; 
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card.span-1,
  .service-card.span-2 {
    grid-column: span 1;
  }
  .service-card {
    height: 250px;
  }
  .services-header::before,
  .services-header::after {
    display: none;
  }
  .services-header h2 {
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
  }
  .services-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
  }

  .section-title-wow {
    font-size: 39px!important;
}
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: #0d1b2a; 
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px; 
  color: #e2e8f0;
  padding: 40px 5% 0;
  border-top: 4px solid var(--accent);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr 1.1fr;
  gap: 30px;
  padding-bottom: 15px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
  background: var(--white);
  padding: 10px;
  border-radius: var(--radius-md);
}

.footer-about {
  font-size: 15px;
  line-height: 1.6;
  color: #a0aec0;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 12px;
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.05);
  color: var(--accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.footer-contact-text p {
  margin: 0 0 5px;
  font-size: 14px;
  color: #a0aec0;
  line-height: 1.5;
}

.footer-email {
  color: #a0aec0;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--white);
}

.btn-appointment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 15px;
  transition: var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-appointment:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 5% 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #718096;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 850px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    font-size:13px;
  }

  .main-footer {
    padding: 21px 5% 0;
}
}

/* ==========================================================================
   ABOUT PAGE - WOW PREMIUM
   ========================================================================== */

/* Typography & Core Styling */
.about-page-wrapper {
  background-color: #f4f7fb;
  color: #1a202c;
  overflow-x: hidden;
}

/* 1. Immersive Hero Banner */
.about-hero-wow {
  position: relative;
  background-image: url('../img/about-bannerimg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 5% 47px;
  text-align: center;
  color: var(--white);
  z-index: 1;
}
.about-hero-wow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(43, 108, 176, 0.7) 100%);
  z-index: -1;
}
.about-hero-wow h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.about-breadcrumbs-wow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.about-breadcrumbs-wow a {
  color: #a0aec0;
  transition: var(--transition-fast);
}
.about-breadcrumbs-wow a:hover {
  color: var(--white);
}

/* 2. Floating Intro Section */
.about-intro-wow {
  max-width: 1200px;
  margin: -80px auto 20px;
  padding: 0 5%;
  position: relative;
  z-index: 10;
}
.intro-glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 1);
}
.intro-img-col {
  position: relative;
}
.intro-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(26, 54, 93, 0.3);
  text-align: center;
}
.exp-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.exp-text {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}
.intro-text-col {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-text-col p {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}
.intro-text-col p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--primary);
}

/* 3. Elite Timeline */
.about-timeline-wow {
  padding: 20px 5% 30px;
}
.section-title-wow {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 13px;
}
.section-title-wow span {
  color: var(--accent);
}
.journey-grid-wow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}
.journey-card-wow {
  background: white;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.journey-card-wow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--primary-light);
  transition: all 0.3s ease;
}
.journey-card-wow:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: var(--primary-light);
}
.journey-card-wow:hover::before {
  background: var(--accent);
}
.journey-icon-wow {
  font-size: 24px;
  color: var(--accent);
  background: rgba(229, 62, 62, 0.1);
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.journey-card-wow h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.4;
}

/* 4. Deep Philosophy Section */
.about-philosophy-wow {
  padding: 40px 5%;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a365d 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.about-philosophy-wow::after {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(229, 62, 62, 0.2) 0%, transparent 70%);
}
.philosophy-wow-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.03);
  padding: 30px 40px;
  border-radius: 16px;
  border-left: 4px solid var(--accent);
}
.quote-icon-wow {
  font-size: 50px;
  color: var(--accent);
  margin-bottom: 0;
  flex-shrink: 0;
}
.philosophy-wow-text {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  text-align: left;
}

/* 5. Premium Testimonials */
.about-testimonials-wow {
  padding: 20px 5% 1px;
  background-color: #f4f7fb;
}
.testimonial-card-wow {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
  position: relative;
  border-top: 4px solid var(--primary-light);
  transition: all 0.4s ease;
  height: 100%;
}
.testimonial-card-wow:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(26, 54, 93, 0.1);
}
.stars-wow {
  color: #ecc94b;
  font-size: 18px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 4px rgba(236, 201, 75, 0.4));
}
.testimonial-card-wow p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 30px;
}
.author-wow {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

/* Swiper Pagination Fixes */
.testimonials-slider {
  padding-bottom: 40px;
}
.testimonials-slider .swiper-slide {
  height: auto;
}
.testimonials-slider .swiper-pagination-bullet {
  background: var(--primary);
  opacity: 0.2;
}
.testimonials-slider .swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
}

@media (max-width: 992px) {
  .intro-glass-card {
    grid-template-columns: 1fr;
  }
  .experience-badge {
    right: 20px; bottom: -20px;
  }
  .timeline-container::before {
    left: 30px;
  }
  .timeline-item-wow, .timeline-item-wow:nth-child(even) {
    justify-content: flex-end;
    padding-left: 80px;
    padding-right: 0;
  }
  .timeline-dot {
    left: 30px;
  }
  .timeline-content {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .about-hero-wow h1 { font-size: 40px; }
  .philosophy-wow-text {font-size: 11px;; }
  .intro-text-col { padding: 40px 20px; }
}

/* ==========================================================================
   SERVICES PAGE - WOW PREMIUM
   ========================================================================== */
.service-page-wrapper {
  padding: 17px 5%;
  background-color: var(--bg-color);
}
.premium-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 420px;
}

.service-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 16px;
}

.service-flip-card:hover .service-flip-inner {
  transform: rotateY(180deg);
}

.service-flip-front, .service-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

/* Front Side */
.service-flip-front {
  z-index: 2;
}

.service-flip-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.service-flip-front-content {
  padding: 30px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.service-flip-front-title {
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
  margin: 0;
}

.service-flip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background-color: var(--accent);
  padding: 10px 24px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
  transition: all 0.3s ease;
}
.service-flip-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.service-flip-card:hover .service-flip-btn {
  background-color: var(--primary);
  box-shadow: 0 6px 20px rgba(15, 117, 121, 0.3);
}
.service-flip-card:hover .service-flip-btn i {
  transform: translateX(5px);
}

/* Back Side */
.service-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 40px 30px;
  justify-content: center;
  align-items: center;
}

.service-flip-back-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.service-flip-back-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.service-flip-back-btn {
  padding: 10px 25px;
  background: #fff;
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-flip-back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- GALLERY & LIGHTBOX --- */
.gallery-section {
     padding: 15px 5%;
  background-color: var(--bg-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-size: 30px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 54, 93, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none; 
  position: fixed;
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--accent);
}

/* --- CONTACT PAGE --- */
.contact-page-section {
  padding: 18px 5% 40px;
  background-color: var(--bg-color);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-box, .contact-form-box {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-info-box {
  background: var(--primary);
  color: #fff;
}

.contact-info-box h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 15px;
}

.contact-info-box p {
  color: #e2e8f0;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 5px;
}

.info-text p {
  margin: 0;
  font-size: 15px;
  color: #cbd5e0;
}

.contact-form-box h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(52, 180, 199, 0.1);
}

.contact-map {
  line-height: 0;
}

/* --- PREMIUM CONTACT PAGE --- */
.premium-address-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-light);
  text-align: left;
}
.premium-address-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.pac-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 15px;
}
.pac-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.pac-icon {
  color: var(--primary-light);
  font-size: 20px;
  margin-top: 2px;
}
.pac-text {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
}

.premium-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 30px 50px 50px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}
.p-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.p-form-group {
  flex: 1;
  min-width: 250px;
  margin-bottom: 25px;
}
.p-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.p-form-group input, .p-form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8fafc;
  box-sizing: border-box;
}
.p-form-group input:focus, .p-form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52, 180, 199, 0.1);
}
.premium-btn {
  padding: 16px 45px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(15, 117, 121, 0.2);
  letter-spacing: 1px;
}
.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(15, 117, 121, 0.3);
}

/* ==========================================================================
   Gynae Laparoscopy Page Styles
   ========================================================================== */
.gynae-hero {
  background: linear-gradient(to right, rgba(15, 117, 121, 0.9), rgba(15, 117, 121, 0.6)), url('../img/banner-img2.png') center/cover no-repeat;
  padding: 34px 0 102px;
  position: relative;
}

.gynae-hero-container {
  text-align: center;
  color: #fff;
}

.gynae-hero-title {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gynae-hero-subtitle {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.gynae-intro-section {
  padding: 0px 5% 13px;
  background-color: #f4f8fb;
  position: relative;
}

.gynae-overlapping-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.gynae-img-col {
  flex: 1;
  min-width: 300px;
  position: relative;
  display: flex;
  padding: 25px;
}

.gynae-img-col img {
  position: absolute;
  top: 25px;
  left: 25px;
  width: calc(100% - 50px);
  height: calc(100% - 50px);
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

.gynae-img-caption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  background: linear-gradient(to top, rgba(15,117,121,0.9), transparent);
  padding: 30px;
  z-index: 2;
  border-radius: 0 0 12px 12px;
}

.gynae-img-caption h3 {
  color: #fff;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.gynae-img-caption p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-size: 14px;
}

.gynae-text-col {
  flex: 1.2;
  min-width: 320px;
  padding: 40px 30px 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.gynae-badge {
  display: inline-block;
  padding: 6px 15px;
  background: rgba(220, 53, 69, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.gynae-heading {
  font-size: 26px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.gynae-paragraph {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.gynae-paragraph.last {
  margin-bottom: 30px;
}

.gynae-btn-wrapper {
  margin-top: auto;
}

.gynae-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.2);
  transition: transform 0.3s ease;
  font-size: 15px;
}

.gynae-btn:hover {
  transform: translateY(-3px);
}

.gynae-features-section {
  padding: 40px 5%;
  background-color: #f7fafc;
  position: relative;
}

.gynae-features-header {
  text-align: center;
  margin-bottom: 6px;
}

.gynae-features-header h2 {
  font-size: 36px;
  color: var(--primary);
  font-weight: 800;
}

.gynae-features-header span {
  color: var(--accent);
}

.gynae-features-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 20px auto 0;
  border-radius: 2px;
}

.gynae-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.premium-feature-card {
  background: #f8fafc;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border-bottom: 5px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.premium-feature-card.accent {
  border-bottom-color: var(--accent);
}

.premium-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.premium-feature-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 20px rgba(15, 117, 121, 0.1);
}

.premium-feature-card.accent .premium-feature-icon {
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.1);
}

.premium-feature-icon i {
  font-size: 32px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.premium-feature-card.accent .premium-feature-icon i {
  color: var(--accent);
}

.premium-feature-card:hover .premium-feature-icon i {
  transform: scale(1.1);
}

.premium-feature-title {
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 15px;
}

.premium-feature-text {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.gynae-conclusion-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0a4f52 100%);
  padding: 50px 5%;
  text-align: center;
  color: #fff;
}

.gynae-conclusion-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.gynae-quote-icon {
  font-size: 60px;
  color: rgba(255,255,255,0.1);
  position: absolute;
  top: -30px;
  left: -30px;
}

.gynae-conclusion-text {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.gynae-tags {
  background: rgba(255,255,255,0.1);
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.gynae-tags p {
  font-size: 14px;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.gynae-tags i {
  margin-right: 8px;
  color: var(--accent);
}

/* ==========================================================================
   Gallery Page Filtering & Lightbox Nav
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 28px;
  background: #f4f8fb;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10001;
  background: rgba(255,255,255,0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; width: 45px; height: 45px; font-size: 20px; }
  .lightbox-next { right: 10px; width: 45px; height: 45px; font-size: 20px; }
  /* Hero Section */
  .gynae-hero { padding: 80px 0 100px; }
  .gynae-hero-title { font-size: 32px; margin-bottom: 15px; }
  .gynae-hero-subtitle { font-size: 16px; padding: 0 15px; }

  /* Overlapping Intro Section */
  /* .gynae-intro-section { padding: 0 5% 50px; } */
  .gynae-overlapping-card { margin-top: -30px; border-radius: 15px; }
  .gynae-img-col { min-height: 350px; padding: 15px; }
  .gynae-img-col img { top: 15px; left: 15px; width: calc(100% - 30px); height: calc(100% - 30px); border-radius: 10px; }
  .gynae-img-caption { bottom: 15px; left: 15px; right: 15px; padding: 20px; border-radius: 0 0 10px 10px; }
  .gynae-img-caption h3 { font-size: 20px; }
  .gynae-img-caption p { font-size: 13px; }
  
  /* Text Column */
  .gynae-text-col { padding: 30px 20px; }
  .gynae-heading { font-size: 26px; margin-bottom: 15px; }
  .gynae-paragraph { font-size: 15px; margin-bottom: 15px; }
  .gynae-paragraph.last { margin-bottom: 25px; }

  /* Features Section */
  /* .gynae-features-section { padding: 50px 5%; } */
  .gynae-features-header { margin-bottom:-1px; }
  .gynae-features-header h2 { font-size: 28px; }
  .gynae-features-grid { gap: 25px; }
  .premium-feature-card { padding: 30px 20px; border-radius: 12px; }
  .premium-feature-icon { width: 60px; height: 60px; margin-bottom: 20px; }
  .premium-feature-icon i { font-size: 26px; }
  .premium-feature-title { font-size: 20px; margin-bottom: 12px; }
  .premium-feature-text { font-size: 15px; }

  /* Conclusion Section */
  .gynae-conclusion-section { padding: 50px 5%; }
  .gynae-quote-icon { font-size: 40px; top: -20px; left: -10px; }
  .gynae-conclusion-text { font-size: 12px; margin-bottom: 25px; }
  .gynae-tags { padding: 10px 15px; }
  .gynae-tags p { font-size: 12px; line-height: 1.5; }
}

/* ==========================================================================
   Contact Form Section Styles
   ========================================================================== */
.gynae-contact-section {
  background: #fff;
  padding: 40px 5%;
}

.gynae-contact-header {
  text-align: center;
 margin-bottom: 18px;
}

.gynae-contact-header h2 {
  font-size: 36px;
  color: var(--primary);
  font-weight: 800;
}

.gynae-contact-header h2 span {
  color: var(--accent);
}

.gynae-contact-header p {
  color: #666;
  margin-top: 15px;
  font-size: 17px;
}

.gynae-form-wrapper {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.gynae-form-img-side {
  flex: 1;
  min-width: 320px;
  display: flex;
  position: relative;
  padding: 20px;
}

.gynae-form-img-side img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  border: 5px solid #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.gynae-form-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2));
  pointer-events: none;
}

.gynae-form-content-side {
  flex: 1.2;
  min-width: 320px;
  padding: 60px 50px;
}

.gynae-form-btn-wrapper {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .gynae-contact-section
   { 
   padding: 13px 5%;
   }
  .gynae-contact-header 
  { margin-bottom: 40px;

   }
  .gynae-contact-header h2 { 
    font-size: 28px;
   }
  .gynae-form-content-side {
     padding: 40px 20px;
     }

  .gynae-form-img-side img { 
    min-height: 250px; 
  }
  .contact-form-section{
    padding: 0px 5% 24px;
  }


}
  
/* ==========================================================================
   Glassmorphism Blog Cards (As per screenshot)
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
     padding: 10px 5% 80px;
}
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.glass-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gb-img-wrapper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  height: 320px;
}

.gb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.glass-blog-card:hover .gb-img {
  transform: scale(1.05);
}

.gb-content {
  width: 92%;
  margin-top: -120px; /* Overlaps the image */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.gb-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.gb-category {
  background: #e8e6fb;
  color: #333;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.gb-meta {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gb-meta .gb-dot {
  width: 5px;
  height: 5px;
  background: #888;
  border-radius: 50%;
}

.gb-main-row {
  display: flex;
  gap: 20px;
  position: relative;
}

.gb-text-col {
  flex: 1;
}

.gb-title {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin-bottom: 15px;
  line-height: 1.3;
}

.gb-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.gb-arrow-btn {
  position: absolute;
  bottom: -25px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}
.gb-arrow-btn:hover {
  transform: scale(1.1);
  background: var(--accent);
}


.blog-hero {
  position: relative;
  padding: 38px 0 73px;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  overflow: hidden;
  text-align: center;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate { 100% { transform: rotate(360deg); } }

.blog-hero-content {
  position: relative;
  z-index: 2;
}

.blog-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

.blog-hero-meta {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.blog-content-wrapper {
  max-width: 900px;
  margin: -60px auto 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  padding: 30px 50px 50px;
  position: relative;
  z-index: 3;
}

.blog-content-wrapper h1, .blog-content-wrapper h2 {
  color: var(--post-primary);
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.blog-content-wrapper h1::after, .blog-content-wrapper h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: var(--post-accent);
  border-radius: 2px;
}

.blog-content-wrapper p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--post-text);
  margin-bottom: 20px;
}

.blog-content-wrapper ul {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 30px;
}

.blog-content-wrapper ul li {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--post-text);
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.blog-content-wrapper ul li::before {
  content: '\2713'; /* Checkmark Unicode */
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--post-accent);
  font-size: 1.2rem;
  font-weight: bold;
}

.blog-content-wrapper .highlight-box {
  background: rgba(68, 96, 132, 0.08);
  border-left: 4px solid var(--post-primary);
  padding: 20px;
  border-radius: 0 10px 10px 0;
  margin: 10px 0 30px;
}

.blog-img {
  width: 100%;
  border-radius: 15px;
  margin: 10px 0 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .blog-hero-title { font-size: 2.5rem; }
  .blog-content-wrapper { margin: -30px 15px 50px; padding: 30px; }
}
/* --- Single Blog Post Styles --- */
.single-blog-post-page {
  background-color: #f4f7fb;
  padding-bottom: 20px;
}
.blog-hero {
  position: relative;
  padding: 42px 0 80px;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  overflow: hidden;
  text-align: center;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
.blog-hero-content {
  position: relative;
  z-index: 2;
}
.blog-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}
.blog-hero-meta {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.blog-content-wrapper {
  max-width: 900px;
  margin: -60px auto 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  padding: 30px 50px 50px;
  position: relative;
  z-index: 3;
}
.blog-content-wrapper h1, .blog-content-wrapper h2 {
  color: #446084;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.blog-content-wrapper h1::after, .blog-content-wrapper h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: #ff6b6b;
  border-radius: 2px;
}
.blog-content-wrapper p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}
.blog-content-wrapper ul {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 30px;
}
.blog-content-wrapper ul li {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.blog-content-wrapper ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 2px;
  color: #ff6b6b;
  font-size: 1.2rem;
  font-weight: bold;
}
.blog-content-wrapper .highlight-box {
  background: rgba(68, 96, 132, 0.08);
  border-left: 4px solid #446084;
  padding: 20px;
  border-radius: 0 10px 10px 0;
  margin: 10px 0 30px;
}
@media (max-width: 768px) {
  .blog-hero-title { font-size: 2.5rem; }
  .blog-content-wrapper { margin: -30px 15px 50px; padding: 30px; }
}
.blog-back-btn {
  display: inline-block;
  background-color: #446084;
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.blog-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: #fff;
}

/* --- Magazine 3-Column Layout --- */
.magazine-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 992px) {
  .magazine-container {
    flex-direction: row;
    align-items: flex-start;
  }
}

.mag-sidebar-left {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .mag-sidebar-left {
    width: 250px;
    position: sticky;
    top: 120px;
  }
}

.mag-toc {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-bottom: 30px;
}

.mag-toc h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #718096;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f4f8;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mag-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mag-toc ul li {
  margin-bottom: 15px;
}

.mag-toc ul li a {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
}

.mag-toc ul li a.active,
.mag-toc ul li a:hover {
  color: #ff4d6d;
}

.mag-main-content {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.03);
}

.mag-section-title {
  color: #ff4d6d;
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ffe5ec;
}

.mag-main-content p,
.mag-main-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}

.mag-main-content ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.mag-main-content li {
  margin-bottom: 10px;
}

.mag-sidebar-right {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .mag-sidebar-right {
    width: 320px;
    position: sticky;
    top: 120px;
  }
}

.mag-widget {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-bottom: 30px;
}

.mag-widget-doctor {
  text-align: center;
}

.mag-widget-doctor img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #ffe5ec;
}

.mag-widget-doctor h3 {
  color: #1a365d;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.mag-widget-doctor p {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.mag-widget-btn {
  display: inline-block;
  background: #ff4d6d;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  transition: background 0.3s ease;
}

.mag-widget-btn:hover {
  background: #e63946;
  color: #fff;
}

.mag-widget-warning {
  background: #fff5f5;
  border: 1px solid #fed7d7;
}

.mag-widget-warning h4 {
  color: #e53e3e;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 0;
}

.mag-widget-warning ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mag-widget-warning li {
  font-size: 0.95rem;
  color: #c53030;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mag-bottom-cta {
  background: linear-gradient(135deg, #ff4d6d 0%, #ff99a8 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 20px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .mag-bottom-cta {
    flex-direction: row;
    text-align: left;
    padding: 40px 60px;
  }
}

.mag-bottom-cta h3 {
  color: #fff;
  margin: 0;
  font-size: 1.8rem;
}

.mag-bottom-cta p {
  color: rgba(255,255,255,0.9);
  margin: 10px 0 0 0;
}

.mag-bottom-cta .cta-btn {
  background: #fff;
  color: #ff4d6d;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

/* --- VERTICAL TIMELINE --- */
.winding-timeline {
  position: relative;
  padding: 40px 0;
  margin: 40px 0;
}

.winding-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 0;
  width: 4px;
  background: #1a365d;
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 50px;
  width: 100%;
  text-align: left;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: 5px;
  top: 0;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 4px solid #1a365d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a365d;
  font-weight: bold;
  font-size: 1rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .winding-timeline::before { left: 50px; }
  .timeline-item { padding-left: 90px; }
  .timeline-icon { left: 32px; width: 40px; height: 40px; font-size: 1.2rem; }
}

.timeline-content {
  background: #fafafa;
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 12px;
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent #fafafa transparent transparent;
}

.timeline-content h3 {
  color: #1a365d;
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* ==========================================================================
   Unique Ovarian Layout (Used for all internal layout pages)
   ========================================================================== */
.ovarian-layout {
  padding: 30px 0 0px 0;
  background: #fafafa;
}

/* Top Section: Img (Left) + Text (Right) */
.ovarian-top-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}
@media (min-width: 992px) {
  .ovarian-top-row {
    flex-direction: row;
    align-items: stretch; /* Makes img and text same height */
  }
}

/* Left Image Wrapper */
.ovarian-img-wrapper {
  position: relative;
  border-radius: 20px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 300px; /* Fixed height for mobile */
}
@media (min-width: 992px) {
  .ovarian-img-wrapper {
    flex: 0 0 45%; /* 45% width on desktop */
    height: auto; /* Stretches to match text height */
  }
}

.ovarian-img-wrapper img {
  position: absolute;
  top: 15px; left: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  object-fit: cover; /* Prevents distortion */
  object-position: center top; /* Ensures faces at the top aren't cut off */
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}
.ovarian-img-wrapper:hover img {
  transform: scale(1.02);
}

/* Right Text Wrapper */
.ovarian-text-wrapper {
  flex: 1; /* Takes remaining space (55%) */
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.ovarian-text-wrapper h2 {
  color: #1a365d;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffe5ec;
  padding-bottom: 10px;
  display: inline-block;
}

.ovarian-text-wrapper h3 {
  color: #ff4d6d;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 10px;
}

.ovarian-text-wrapper p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.ovarian-text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
}

.ovarian-text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #555;
  line-height: 1.6;
}

.ovarian-text-wrapper ul li::before {
  content: '\f00c'; /* FontAwesome check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ff4d6d;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Bottom Section: Unique Cards Grid */
.ovarian-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .ovarian-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  .ovarian-cards-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 0 40px;
  }
}

/* Very Unique Card Design */
.ov-unique-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 5px solid transparent;
}

.ov-unique-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(26,54,93,0.12);
}

/* Card Gradients & Colors */
.ov-card-1 { border-top-color: #ff4d6d; }
.ov-card-2 { border-top-color: #4a90e2; }
.ov-card-3 { border-top-color: #50e3c2; }
.ov-card-4 { border-top-color: #f5a623; }
.ov-card-5 { border-top-color: #9b59b6; }
.ov-card-6 { border-top-color: #34495e; }

/* Background Glow inside cards */
.ov-unique-card::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,77,109,0.1) 0%, rgba(255,255,255,0) 70%);
  top: -50px;
  right: -50px;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}
.ov-card-2::before { background: radial-gradient(circle, rgba(74,144,226,0.1) 0%, rgba(255,255,255,0) 70%); }
.ov-card-3::before { background: radial-gradient(circle, rgba(80,227,194,0.15) 0%, rgba(255,255,255,0) 70%); }
.ov-card-4::before { background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, rgba(255,255,255,0) 70%); }
.ov-card-5::before { background: radial-gradient(circle, rgba(155,89,182,0.15) 0%, rgba(255,255,255,0) 70%); }
.ov-card-6::before { background: radial-gradient(circle, rgba(52,73,94,0.15) 0%, rgba(255,255,255,0) 70%); }

.ov-unique-card:hover::before {
  transform: scale(1.5);
}

.ov-unique-card h4 {
  color: #1a365d;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ov-unique-card h4 i {
  font-size: 1.5rem;
}

.ov-card-1 h4 i { color: #ff4d6d; }
.ov-card-2 h4 i { color: #4a90e2; }
.ov-card-3 h4 i { color: #50e3c2; }
.ov-card-4 h4 i { color: #f5a623; }
.ov-card-5 h4 i { color: #9b59b6; }
.ov-card-6 h4 i { color: #34495e; }

.ov-unique-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Big background icon */
.ov-card-bg-icon {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 6rem;
  color: rgba(26,54,93,0.03);
  z-index: -1;
  transition: all 0.5s ease;
}
.ov-unique-card:hover .ov-card-bg-icon {
  transform: scale(1.2) rotate(-10deg);
  color: rgba(26,54,93,0.06);
}

/* Cards for "How to Improve" (Now full width grid) */
.improve-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 80px;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .improve-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .improve-cards-grid {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 40px;
  }
}
.ov-inner-card {
  background: #f8fafd;
  border-left: 4px solid #ff4d6d;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.ov-inner-card:hover {
  transform: translateX(10px);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(26,54,93,0.08);
}
.ov-inner-card h3 {
  margin-top: 0 !important;
  color: #1a365d !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
}
.ov-inner-card p {
  margin-bottom: 0 !important;
}

/* Section Title for Cards */
.cards-section-title {
  text-align: center;
  margin-bottom: 40px;
}
.cards-section-title h2 {
  color: #1a365d;
  font-size: 2rem;
  font-weight: 800;
}
.cards-section-title p {
  color: #ff4d6d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==========================================================================
   Responsive Refinements for Ovarian Layout (Padding & Margins)
   ========================================================================== */
@media (max-width: 1200px) {
  .ovarian-text-wrapper {
    padding: 30px;
  }
  .ovarian-top-row {
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .ovarian-layout {
    padding: 20px 0 0px 0;
  }
  .ovarian-top-row {
    gap: 20px;
    margin-bottom: 30px;
  }
  .ovarian-text-wrapper {
    padding: 25px;
  }
  .ovarian-img-wrapper {
    height: 250px;
    padding: 10px;
  }
  .ovarian-img-wrapper img {
    top: 10px; left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
  .cards-section-title {
    margin-bottom: 25px;
  }
  .improve-cards-grid {
    gap: 15px;
    margin-bottom: 30px !important;
  }
  .ov-unique-card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .ovarian-text-wrapper {
    padding: 18px;
  }
  .ov-unique-card {
    padding: 18px;
  }
  .cards-section-title h2 {
    font-size: 1.6rem;
  }
  .ovarian-text-wrapper h2 {
    font-size: 1.5rem;
  }
  .blog-hero {
    padding: 30px 15px !important;
  }
  .ovarian-top-row {
    margin-bottom: 25px;
  }
  .improve-cards-grid {
    margin-bottom: 20px !important;
  }
}
