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

:root {
  --primary: #0EA5E9;
  --primary-hover: #0284C7;
  --secondary: #14B8A6;
  --secondary-hover: #0D9488;
  --accent: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.05);
  --shadow-md: 0 8px 30px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 20px 40px rgba(30, 41, 59, 0.12);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

[data-theme="dark"] {
  --text-dark: #F8FAFC;
  --text-muted: #94A3B8;
  --bg-light: #0F172A;
  --bg-white: #1E293B;
  --glass-bg: rgba(30, 41, 59, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .bg-white {
  background-color: var(--bg-white) !important;
}

[data-theme="dark"] .bg-light {
  background-color: var(--bg-light) !important;
}

[data-theme="dark"] .text-muted {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .accordion-button-custom {
  background-color: var(--bg-white) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] .accordion-button-custom:not(.collapsed) {
  background-color: rgba(14, 165, 233, 0.1) !important;
  color: var(--primary) !important;
}

[data-theme="dark"] .form-control-custom {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-dark) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .form-control {
  color: #F8FAFC !important;
}

[data-theme="dark"] option {
  background-color: #1E293B !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] ::placeholder,
[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
}


/* Dark Mode Card & Border Enhancements */
[data-theme="dark"] .doctor-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .package-card,
[data-theme="dark"] .stats-card,
[data-theme="dark"] .facility-card,
[data-theme="dark"] .timeline-item::before,
[data-theme="dark"] .timeline::before,
[data-theme="dark"] .border,
[data-theme="dark"] .accordion-item-custom {
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--shadow-md) !important;
}

[data-theme="dark"] .navbar-custom.navbar-scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .doctor-socials {
  background: rgba(30, 41, 59, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .accordion-button::after,
[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2) !important;
}



.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: var(--accent);
  transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle-btn {
  border-color: rgba(255, 255, 255, 0.1);
}


/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Global Reset & Base Styles */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

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


/* Sticky Navbar with Glassmorphism */
.navbar-custom {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  padding: 15px 0;
}

.navbar-custom.navbar-scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.9);
}

.navbar-brand-custom {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand-custom span {
  color: var(--secondary);
}

.nav-link-custom {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 8px 16px !important;
  border-radius: var(--border-radius-sm);
  position: relative;
}

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

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link-custom:hover::after, .nav-link-custom.active::after {
  width: 60%;
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), #0284C7);
  color: var(--accent) !important;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-secondary-custom {
  background: linear-gradient(135deg, var(--secondary), #0D9488);
  color: var(--accent) !important;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
  transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
  padding: 10px 26px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.04), rgba(20, 184, 166, 0.04)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  padding: 100px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.4) 0%, rgba(248,250,252,0.95) 80%);
  z-index: 1;
}

[data-theme="dark"] .hero-overlay {
  background: radial-gradient(circle at 70% 30%, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.95) 80%);
}

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

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

.hero-image-wrapper img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  animation: floatImage 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Statistics Cards */
.stats-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.2);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

/* Service Card */
.service-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.25);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--accent);
  transform: rotateY(180deg);
}

/* Doctor Card */
.doctor-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
  height: 100%;
}

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

.doctor-img-wrapper {
  overflow: hidden;
  position: relative;
  height: 320px;
}

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

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

.doctor-socials {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  gap: 15px;
  transition: var(--transition-smooth);
  opacity: 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}

.doctor-card:hover .doctor-socials {
  bottom: 20px;
  opacity: 1;
}

.doctor-socials a {
  color: var(--primary);
}

.doctor-socials a:hover {
  color: var(--secondary);
}

/* Section Header */
.section-title {
  position: relative;
  margin-bottom: 20px;
  font-weight: 800;
}

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

.section-title-center {
  text-align: center;
}

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

/* Testimonial Card */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: rgba(14, 165, 233, 0.1);
  position: absolute;
  top: 20px;
  right: 30px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
  z-index: 2;
}

/* Emergency Banner */
.emergency-banner {
  background: linear-gradient(135deg, #0EA5E9, #14B8A6);
  color: var(--accent);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.emergency-banner h2, .emergency-banner p {
  color: var(--accent);
}

/* Image Showcase Slider (Modern Facilities) */
.facility-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 41, 59, 0.9));
  padding: 30px 20px 20px;
  color: var(--accent);
}

/* CSS AOS mock styles */
[data-fade-in] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-fade-in].appeared {
  opacity: 1;
  transform: translateY(0);
}

/* Health Packages Page Cards */
.package-card {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.package-card.popular {
  border-color: var(--primary);
  position: relative;
}

.package-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
}

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

/* FAQ Accordion overrides */
.accordion-item-custom {
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: var(--border-radius-sm) !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button-custom {
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-white);
  padding: 20px;
}

.accordion-button-custom:not(.collapsed) {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.03);
}

/* Footer Section */
.footer-section {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 80px 0 30px;
}

[data-theme="dark"] .footer-section {
  background-color: #020617 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}


.footer-section h4 {
  color: var(--accent);
  margin-bottom: 25px;
}

.footer-section a {
  color: #94A3B8;
}

.footer-section a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  background: var(--primary);
  color: var(--accent) !important;
  transform: translateY(-3px);
}

/* Blog Cards */
.blog-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

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

.blog-img-wrapper {
  height: 220px;
  overflow: hidden;
}

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

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

.blog-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

/* Form Styling */
.form-control-custom {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-sm);
  padding: 12px 18px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
  outline: none;
}

/* Insurance Partners Section Styles */
.partners-wrapper {
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  padding: 45px 35px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.partner-logo-item {
  background: var(--bg-light);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--border-radius-sm);
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.partner-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background: var(--bg-white);
}

[data-theme="dark"] .partners-wrapper {
  background: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .partner-logo-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .partner-logo-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
}

.text-dark-theme-adaptive,
[data-theme="dark"] .text-dark,
[data-theme="dark"] a.text-dark {
  color: var(--text-dark) !important;
}


/* Premium Page Banner with Medical Overlay */
.page-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(20, 184, 166, 0.92)), url('https://images.unsplash.com/photo-1584515901107-64906518a041?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

/* Professional Service Card Headers */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.service-card-header .service-icon {
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

/* Premium Contact Cards */
.contact-info-card {
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateX(5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

/* Form Input Group Icons */
.input-group-text-custom {
  background: transparent !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-right: none !important;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm) !important;
  color: var(--text-muted) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
}

.input-group-text-custom + .form-control-custom {
  border-left: none !important;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0 !important;
}

.input-group-text-custom + textarea.form-control-custom {
  border-left: none !important;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0 !important;
}

[data-theme="dark"] .input-group-text-custom {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
}

/* Mobile Navbar Overlay */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    z-index: 1000;
  }
  
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }
  
  [data-theme="dark"] .navbar-collapse {
    background: var(--bg-white);
  }
  
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrapper {
  height: 220px;
  overflow: hidden;
}

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

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

.blog-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

/* Form Styling */
.form-control-custom {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-sm);
  padding: 12px 18px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
  outline: none;
}

/* Insurance Partners Section Styles */
.partners-wrapper {
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  padding: 45px 35px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.partner-logo-item {
  background: var(--bg-light);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--border-radius-sm);
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.partner-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background: var(--bg-white);
}

[data-theme="dark"] .partners-wrapper {
  background: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .partner-logo-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .partner-logo-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
}

.text-dark-theme-adaptive,
[data-theme="dark"] .text-dark,
[data-theme="dark"] a.text-dark {
  color: var(--text-dark) !important;
}


/* Premium Page Banner with Medical Overlay */
.page-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(20, 184, 166, 0.92)), url('https://images.unsplash.com/photo-1584515901107-64906518a041?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

/* Professional Service Card Headers */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.service-card-header .service-icon {
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

/* Premium Contact Cards */
.contact-info-card {
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateX(5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

/* Form Input Group Icons */
.input-group-text-custom {
  background: transparent !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-right: none !important;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm) !important;
  color: var(--text-muted) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
}

.input-group-text-custom + .form-control-custom {
  border-left: none !important;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0 !important;
}

.input-group-text-custom + textarea.form-control-custom {
  border-left: none !important;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0 !important;
}

[data-theme="dark"] .input-group-text-custom {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
}

/* Mobile Navbar Overlay */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    z-index: 1000;
  }
  
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }
  
  [data-theme="dark"] .navbar-collapse {
    background: var(--bg-white);
  }
  
  [data-theme="dark"] .navbar-collapse.show,
  [data-theme="dark"] .navbar-collapse.collapsing {
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  .navbar-nav {
    padding: 1.5rem 1rem;
    align-items: flex-start !important;
  }
  
  .nav-link-custom::after {
    left: 16px;
    transform: none;
  }

  .nav-link-custom::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    width: 24px;
    text-align: center;
    margin-right: 12px;
    color: var(--primary);
  }

  .nav-link-custom[href="index.html"]::before { content: "\f015"; }
  .nav-link-custom[href="about.html"]::before { content: "\f05a"; }
  .nav-link-custom[href="services.html"]::before { content: "\f469"; }
  .nav-link-custom[href="doctors.html"]::before { content: "\f0f0"; }
  .nav-link-custom[href="testimonials.html"]::before { content: "\f005"; }
  .nav-link-custom[href="blog.html"]::before { content: "\f1ea"; }
  .nav-link-custom[href="contact.html"]::before { content: "\f0e0"; }
}
