
/* =========================================================
   GLOBAL PRELOADER BRAND GRADIENT
   ========================================================= */
.preloader {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
}
/* Custom fixes for Aid Section */
/* Enhanced Icon Styling with Animation */
.feature-item .lab-thumb {
  width: 140px;
  height: 140px;
  margin: 0 auto 30px;
  /* Centered with bottom space */
  background: linear-gradient(135deg, #f5f3ff 0%, #f7fbff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.05);
}

/* Decorative pulsing circle behind */
.feature-item .lab-thumb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Rotating dashed ring for technical feel */
.feature-item .lab-thumb::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 2px dashed rgba(124, 58, 237, 0.2);
  animation: spin-dashed 15s linear infinite;
}

.feature-item .lab-thumb img {
  width: 65px;
  /* Slightly larger within the circle */
  height: auto;
  display: block;
  margin: 0;
  /* Centered by flexbox */
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.05));
}

/* Hover Effects */
.feature-item:hover .lab-thumb {
  background: #fff;
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.2);
  transform: translateY(-5px);
}

.feature-item:hover .lab-thumb::after {
  border-color: rgba(124, 58, 237, 0.4);
  animation-duration: 5s;
  /* Speed up on hover */
}

.feature-item:hover .lab-thumb img {
  transform: scale(1.15) rotate(5deg);
}

/* Keyframes */
@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

@keyframes spin-dashed {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 992px) {
  .aid-section .section-wrapper .aid-slider.medical-top .lab-item-inner {
    display: flex;
    flex-direction: row-reverse;
    min-height: 400px;
    /* Ensure minimum height */
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-content {
    width: 60%;
    padding: 30px;
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-thumb {
    width: 40%;
    position: relative;
    /* Container for absolute image */
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Medical Thumbs Responsive Tabs */
.aid-section .section-wrapper .aid-slider.medical-thumbs {
  background-color: transparent !important;
  padding: 10px 0 !important;
  overflow: visible !important;
}

@media (max-width: 767px) {
  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-wrapper {
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
    opacity: 0.9 !important;
    transform: none !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1 !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item {
    background: #ffffff !important;
    border: 2px solid #e9d5ff !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 4px 12px rgba(101, 49, 190, 0.07) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item {
    background: linear-gradient(135deg, rgba(101, 49, 190, 0.08), rgba(55, 15, 117, 0.04)) !important;
    border-color: #6531be !important;
    box-shadow: 0 4px 16px rgba(101, 49, 190, 0.18) !important;
    transform: scale(1.01) !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item h6 {
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: normal !important;
    color: #4b5563 !important;
    margin: 0 !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6 {
    color: #6531be !important;
  }
}

@media (min-width: 768px) {
  .aid-section .section-wrapper .aid-slider.medical-thumbs {
    background-color: #f8fafc !important;
    border-radius: 14px !important;
    padding: 10px !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide {
    opacity: 0.75;
    transition: all 0.3s ease;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active {
    opacity: 1;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.3s ease;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item {
    border-color: #6531be !important;
    background: #f5f3ff !important;
    box-shadow: 0 4px 14px rgba(101, 49, 190, 0.12);
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item h6 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #4b5563;
    white-space: normal !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6 {
    color: #6531be !important;
  }
}

/* Feature Section Enhancements */
.feature-section .feature-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  overflow: hidden;
  height: 100%;
}

.feature-section .feature-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
  /* Blue-tinted shadow on hover */
  border-color: rgba(124, 58, 237, 0.1);
}

.feature-section .feature-item .lab-inner {
  padding: 25px 8px 15px;
  /* Minimized side padding for max content width, reduced bottom padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-section .feature-item h4 {
  margin: 15px 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #222;
}

.feature-section .feature-list {
  text-align: right;
  display: block;
  padding: 0 5px;
  margin: 0;
  list-style: none;
  /* Remove default bullets */
}

.feature-section .feature-list li {
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
  position: relative;
  padding-right: 25px;
  /* Space for the checkmark */
  text-align: justify;
  /* Justify alignment */
  line-height: 1.6;
}

/* Custom Checkmark Icon */
.feature-section .feature-list li::before {
  content: '\eed8';
  /* Icofont check mark code */
  font-family: 'IcoFont';
  position: absolute;
  right: 0;
  top: 2px;
  color: #7c3aed;
  /* Primary blue */
  font-weight: bold;
  font-size: 16px;
}

/* Read More Button Styling */
.read-more-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 20px;
  color: #7c3aed;
  border: 2px solid #7c3aed;
  border-radius: 50px;
  /* Pill shape */
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: center;
}

.read-more-btn:hover {
  background-color: #7c3aed;
  color: #fff;
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
  text-decoration: none;
}

.read-more-btn i {
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover i {
  transform: translateX(-3px);
  /* Move arrow slightly left on hover (RTL) */
}

/* =========================================
   MOBILE & TABLET RESPONSIVENESS FIXES
   ========================================= */

/* 1. Prevent Horizontal Scrolling globally */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* 2. Mobile/Tablet specific adjustments (Max width 991px) */
@media (max-width: 991px) {

  /* Adjust container padding to prevent edge sticking */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fix Feature Items on Tablets/Mobile */
  .feature-section .section-content .row>div {
    margin-bottom: 30px !important;
  }

  .feature-section .feature-item {
    margin-bottom: 0;
  }

  .feature-section .feature-item .lab-inner {
    padding: 20px 15px;
    /* More padding for mobile touch */
  }

  /* Typography Checks */
  h1,
  .banner-content h1 {
    font-size: 28px !important;
    /* Smaller H1 for mobile */
    line-height: 1.3 !important;
  }

  h2,
  .section-header h2 {
    font-size: 24px !important;
  }

  /* Banner Padding */
  .banner-section {
    padding: 60px 0;
    /* Reduce massive top/bottom padding */
  }

  .banner-content {
    text-align: center;
  }

  /* Aid Section / Medical Slider Mobile Fixes */
  .aid-section .section-wrapper .aid-slider.medical-top .lab-item-inner {
    flex-direction: column;
    /* Stack vertically on mobile */
    display: block;
    /* Fallback */
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-thumb {
    width: 100%;
    height: 250px;
    /* Fixed height for image area */
    position: relative;
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-content {
    width: 100%;
    padding: 20px 15px;
    /* Adjust padding */
  }

  /* Ensure images in sliders don't overflow */
  .swiper-slide img {
    max-width: 100%;
    height: auto;
  }
}

/* 3. Small Mobile Specifics (Max width 575px) */
@media (max-width: 575px) {

  /* Mobile Menu Logo sizing (Enlarged & bold) */
  .mobile-menu .logo img {
    max-width: 78vw !important;
    width: 280px !important;
    max-height: 68px !important;
  }

  /* Department/Services Grid Fixes if using flex */
  /* Department/Services Grid Fixes if using flex */
  .department-section.style-2 .section-wrapper .lab-item {
    width: 33.33% !important;
    margin-bottom: 10px;
    padding: 0 2px;
  }

  .department-section.style-2 .section-wrapper .lab-item .lab-item-inner {
    padding: 10px 0 !important;
    margin: 2px !important;
    height: 100%;
    /* Ensure equal height */
  }

  .department-section.style-2 .section-wrapper .lab-item .lab-item-inner img {
    margin: 5px 0 0 0 !important;
    width: 40px;
    /* Smaller icon for 3-column grid */
  }

  .department-section.style-2 .section-wrapper .lab-item .lab-item-inner h4 {
    margin-bottom: 5px !important;
    font-size: 13px !important;
    /* Smaller font for 3-column grid */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
  }

  .department-section.style-2 .section-wrapper .lab-item .lab-item-inner h4 {
    margin-bottom: 5px !important;
    /* Small space between title and icon */
    font-size: 16px;
  }

  /* Footer Input Fixes for very small screens */
  .footer-section.style-1 .footer-top .footer-about .bottom .news-input {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-section.style-1 .footer-top .footer-about .bottom .news-input input {
    margin-bottom: 10px;
  }

  .whatsapp-btn {
    width: 100%;
  }
}

/* 4. RTL Specific Mobile Adjustments */
@media (max-width: 991px) {

  /* Reverse margins where necessary if bootstrap doesn't handle it */
  .mr-0,
  .mr-1,
  .mr-2,
  .mr-3,
  .mr-4,
  .mr-5 {
    margin-right: 0 !important;
  }

  /* Ensure text alignment is natural on mobile unless centered */
  .text-right-mobile {
    text-align: right !important;
  }

  .text-center-mobile {
    text-align: center !important;
  }
}

/* =========================================
   MOBILE MENU & SIDEBAR REDESIGN
   ========================================= */

.mobile-menu {
  padding: 5px 0 !important;
}

.mobile-menu-wrapper {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 4px 14px !important;
  min-height: 70px !important;
  background-color: #ffffff !important;
  border-bottom: 0px none transparent !important;
  border-bottom-width: 0px !important;
  box-shadow: none !important;
  width: 100% !important;
  position: relative !important;
  direction: rtl !important;
}

.mobile-menu-wrapper .logo {
  display: flex !important;
  align-items: center !important;
  order: 1 !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  position: relative !important;
  float: none !important;
}

.mobile-menu-wrapper .open-menu,
.open-menu.hc-nav-trigger,
.open-menu {
  order: 2 !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: 0 !important;
  transform: none !important;
  float: none !important;
  margin: 0 !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 10 !important;
}

.mobile-menu-wrapper .open-menu:hover,
.open-menu.hc-nav-trigger:hover,
.open-menu:hover {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(101, 49, 190, 0.14) !important;
  transform: translateY(-1px) !important;
}

.mobile-menu-wrapper .open-menu i,
.open-menu.hc-nav-trigger i,
.open-menu i {
  font-size: 26px !important;
  color: rgb(101, 49, 190) !important;
  line-height: 1 !important;
  transition: color 0.25s ease !important;
}

.mobile-menu-wrapper .open-menu:hover i,
.open-menu.hc-nav-trigger:hover i,
.open-menu:hover i {
  color: rgb(55, 15, 117) !important;
}

.open-menu.hc-nav-trigger span,
.open-menu.hc-nav-trigger span::before,
.open-menu.hc-nav-trigger span::after {
  background: rgb(101, 49, 190) !important;
}

/* 2. Sidebar Styling (Modern & Premium) */
.hc-offcanvas-nav .nav-container {
  background-color: rgba(255, 255, 255, 0.95) !important;
  /* Glassy opaque white */
  backdrop-filter: blur(10px) !important;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1) !important;
}

.hc-offcanvas-nav .nav-wrapper,
.hc-offcanvas-nav nav,
.hc-offcanvas-nav ul,
.hc-offcanvas-nav li,
.hc-offcanvas-nav .nav-content {
  background-color: transparent !important;
}

.hc-offcanvas-nav .nav-header {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  padding: 30px 20px !important;
  border-bottom: none !important;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
  min-height: 100px !important;
  display: flex;
  align-items: center;
}

.hc-offcanvas-nav .nav-header .nav-title {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
}

/* Menu Items Styling - Modern Cards */
.hc-offcanvas-nav li.nav-item {
  margin: 5px 10px;
}

.hc-offcanvas-nav li.nav-item a {
  background-color: #ffffff !important;
  color: #333333 !important;
  border-radius: 10px;
  border: 1px solid #f5f5f5 !important;
  padding: 14px 20px !important;
  font-weight: 600;
  font-size: 16px;
  display: flex !important;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  direction: rtl;
  /* Arabic text alignment */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.hc-offcanvas-nav li.nav-item a:hover {
  background-color: #f0f7ff !important;
  color: #7c3aed !important;
  border-color: #dbeafe !important;
  transform: translateX(-5px);
  /* Slide left slightly on hover */
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.15);
}

/* Sidebar Icons Styling */
.hc-offcanvas-nav li.nav-item a i {
  margin-left: 15px !important;
  font-size: 22px;
  color: rgb(101, 49, 190) !important;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.hc-offcanvas-nav li.nav-item a:hover i {
  transform: scale(1.1);
  color: rgb(55, 15, 117) !important;
}

/* Hide Close Button */
.hc-offcanvas-nav .nav-close-button {
  display: none !important;
}

/* 3. Logo Enhancement (Enlarged & Prominent for crisp visibility) */
.mobile-menu .logo img {
  max-height: 68px !important;
  width: 280px !important;
  height: auto !important;
  max-width: 78vw !important;
  display: block !important;
  object-fit: contain !important;
}

/* Active Page Style (Matching Website Royal Purple Gradient) */
.hc-offcanvas-nav li.nav-item.active-page a,
#mobile-nav li.active-page a,
#mobile-nav li.active a,
.hc-offcanvas-nav li.nav-item.home.active-page a {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(101, 49, 190, 0.4) !important;
}

.hc-offcanvas-nav li.nav-item.active-page a i,
#mobile-nav li.active-page a i,
#mobile-nav li.active a i,
.hc-offcanvas-nav li.nav-item.home.active-page a i {
  color: #ffffff !important;
}

/* 4. Menu Custom Header & Footer */
.hc-offcanvas-nav .menu-header-text {
  padding: 15px 5px 8px !important;
  text-align: right;
  border-bottom: 1px solid rgba(101, 49, 190, 0.15) !important;
  margin-bottom: 8px;
}

.hc-offcanvas-nav .clinic-name,
#mobile-nav .clinic-name,
.clinic-name {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(12.5px, 4vw, 15.5px) !important;
  display: inline-block !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hc-offcanvas-nav .copyright-nav {
  margin-top: 5px !important;
  border-top: 1px solid #f0f0f0 !important;
  /* Matches header line */
  padding: 8px 5px !important;
  background-color: #f9f9f9 !important;
}

.hc-offcanvas-nav .copyright-item {
  text-align: center !important;
  width: 100%;
  padding: 8px 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  /* For the line if needed, but nav border is better */
}

.hc-offcanvas-nav .copyright-item p {
  display: none !important;
}

.hc-offcanvas-nav .copyright-item a {
  color: #555 !important;
  text-decoration: none !important;
  font-weight: bold;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  padding: 4px 10px !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  border-radius: 4px;
  margin: 0 !important;
  font-size: 9px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  width: auto !important;
  max-width: 95%;
  /* Removed direction: rtl to let HTML handle bidi or forced lrm */
}

.mobile-menu .logo a {
  display: block !important;
}

.page-title h1,
.page-title h2,
.page-title h3,
.page-title h4 {
  color: #7c3aed !important;
}

.footer-section .dashboard-entry-link {
  color: #7c3aed !important;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-section .dashboard-entry-link:hover {
  color: #5b21b6 !important;
  border-color: rgba(124, 58, 237, 0.35);
}

/* =========================================================
   NEW ENHANCEMENTS: Dr. Hiba AL-Adhab Mental Health Theme
   ========================================================= */

/* 1. Theme Purple Gradient Overrides */
.header-bottom,
.header-bottom.menu-fixed,
.counter-section.style-1,
.scrollToTop i {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
}

.newsletter-section.style-1 {
  background: url('../images/shape/newsletter_vector.png?v=20260414-9') center center / cover no-repeat, linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  position: relative !important;
}

.lab-btn {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  border-color: transparent !important;
  transition: all 0.3s ease !important;
}

.lab-btn:hover {
  background: linear-gradient(135deg, rgb(85 30 160), rgb(40 10 90)) !important;
  box-shadow: 0 6px 20px rgba(55, 15, 117, 0.4) !important;
}

/* 2. Header Navbar & Nav-Search Single Row Alignment */
.header-section .header-bottom .menu-area .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.header-section .header-bottom .menu-area .main-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.header-section .header-bottom .menu-area .main-menu li {
  display: inline-block !important;
  white-space: nowrap !important;
}

.header-section .header-bottom .menu-area .main-menu li a {
  padding: 18px 8px !important;
  margin: 0 4px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

@media (min-width: 1300px) {
  .header-section .header-bottom .menu-area .main-menu li a {
    padding: 20px 10px !important;
    margin: 0 6px !important;
    font-size: 15px !important;
  }
}

.header-section .header-bottom .menu-area .nav-widget {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.header-section .header-bottom .menu-area .nav-widget .nav-search {
  position: relative !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.header-section .header-bottom .menu-area .nav-widget .nav-search input {
  width: 170px !important;
  height: 38px !important;
  padding: 8px 36px 8px 14px !important;
  border-radius: 50px !important;
  font-size: 13.5px !important;
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  transition: width 0.3s ease, background-color 0.3s ease !important;
}

.header-section .header-bottom .menu-area .nav-widget .nav-search input:focus {
  width: 220px !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  border-color: #fff !important;
}

@media (min-width: 1350px) {
  .header-section .header-bottom .menu-area .nav-widget .nav-search input {
    width: 200px !important;
  }
}

.header-section .header-bottom .menu-area .nav-widget .nav-search .search {
  position: absolute !important;
  left: 8px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  text-align: center !important;
  color: #fff !important;
  cursor: pointer !important;
}

/* 3. Appointment Section Background (Matches counter-section) & Bold Button */
.appointment-section,
.appointment-section.style-1,
#appointment-placeholder .appointment-section {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  position: relative !important;
  padding: 70px 0 !important;
  overflow: hidden !important;
}

.appointment-section.style-1::before,
.appointment-section.style-1::after {
  display: none !important;
}

.appointment-section.style-1 .ar-title h2 {
  color: #fff !important;
  font-weight: 700 !important;
}

.appointment-section.style-1 .appointment-right form .lab-btn,
.appointment-form button[type="submit"] {
  font-weight: 700 !important;
  font-size: 16.5px !important;
  letter-spacing: 0.5px !important;
  background: #fff !important;
  color: rgb(101, 49, 190) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.appointment-section.style-1 .appointment-right form .lab-btn span,
.appointment-form button[type="submit"] span {
  font-weight: 700 !important;
  color: rgb(101, 49, 190) !important;
}

.appointment-section.style-1 .appointment-right form .lab-btn:hover,
.appointment-form button[type="submit"]:hover {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  border-color: #fff !important;
  transform: translateY(-2px) !important;
}

.appointment-section.style-1 .appointment-right form .lab-btn:hover span,
.appointment-form button[type="submit"]:hover span {
  color: #fff !important;
}

/* 4. WhatsApp Button (Authentic WhatsApp Green & Bold) */
.whatsapp-btn {
  background-color: #25D366 !important;
  background: #25D366 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.whatsapp-btn:hover {
  background-color: #128C7E !important;
  background: #128C7E !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45) !important;
}

.whatsapp-btn i {
  font-size: 20px !important;
  font-weight: normal !important;
}

/* 5. Footer Logo Size (Doubled 2x) & Centered */
.footer-section .footer-about .top .footer-logo,
.footer-section .footer-about .footer-logo {
  max-width: 320px !important;
  width: 290px !important;
  display: block !important;
  margin: 0 auto 22px auto !important;
  text-align: center !important;
}

.footer-section .footer-about .top .footer-logo img,
.footer-section .footer-about .footer-logo img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

.footer-section .footer-about .top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.footer-section .footer-about .top p {
  width: 100% !important;
  text-align: right !important;
}

/* 6. Sponsor Section Icons Hover Enhancement */
.sponsor-section .sponsor-area .swiper-slide .sponsor-thumb img {
  filter: drop-shadow(0 2px 5px rgba(101, 49, 190, 0.15)) !important;
  transition: all 0.3s ease !important;
}

.sponsor-section .sponsor-area .swiper-slide .sponsor-thumb:hover img {
  filter: brightness(1.2) drop-shadow(0 4px 10px rgba(101, 49, 190, 0.45)) !important;
  transform: translateY(-3px) scale(1.05) !important;
}

/* 7. Banner Typography & Single-Line Guarantee */
.banner-section .banner-wrapper .banner-content {
  max-width: 850px !important;
  width: 100% !important;
  text-align: right !important;
}

.banner-section {
  position: relative !important;
}

.banner-section::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.22) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.banner-section .banner-wrapper {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 767px) {
  .banner-section::before {
    background: rgba(0, 0, 0, 0.52) !important;
  }
}

.banner-section .banner-wrapper .banner-content h1,
.banner-section .banner-wrapper .banner-content h1 b {
  white-space: nowrap !important;
  display: inline-block !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  font-size: clamp(1.85rem, 3.8vw, 3.5rem) !important;
  line-height: 1.25 !important;
  text-shadow: 0 2px 14px rgba(25, 5, 45, 0.55) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Subtle, Elegant Warm Golden Sheen (Not overly bright, velvety smooth) */
.banner-section:hover .banner-wrapper .banner-content h1 b,
.banner-section .banner-wrapper:hover .banner-content h1 b,
.banner-section .banner-content:hover h1 b,
.banner-section .banner-content h1 b:hover {
  color: #fffef2 !important;
  text-shadow: 0 0 10px rgba(253, 224, 71, 0.55), 0 0 22px rgba(245, 158, 11, 0.4), 0 0 36px rgba(217, 119, 6, 0.22) !important;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.28)) !important;
  transform: translateY(-2px) scale(1.015) !important;
}

.banner-section .banner-wrapper .banner-content h2 {
  white-space: nowrap !important;
  font-size: clamp(1.2rem, 2.2vw, 2rem) !important;
  text-shadow: 0 2px 10px rgba(25, 5, 45, 0.45) !important;
  margin-bottom: 12px !important;
}

.banner-section .banner-wrapper .banner-content p {
  max-width: 760px !important;
  line-height: 1.8 !important;
  text-shadow: 0 2px 8px rgba(25, 5, 45, 0.45) !important;
}

.banner-section .banner-wrapper .banner-content p .doctor-spec-line {
  white-space: nowrap !important;
  display: inline-block !important;
}

@media (max-width: 576px) {
  .banner-section .banner-wrapper .banner-content h1,
  .banner-section .banner-wrapper .banner-content h1 b {
    font-size: 22px !important;
    white-space: nowrap !important;
  }
  .banner-section .banner-wrapper .banner-content h2 {
    font-size: 17px !important;
    white-space: nowrap !important;
  }
  .banner-section .banner-wrapper .banner-content p {
    font-size: 0.92rem !important;
  }
}

/* =========================================================
   6. DARK MODE / LIGHT MODE SYSTEM
   ========================================================= */

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  padding: 5px 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.3s ease;
  height: 38px;
  color: #ffffff;
  outline: none;
  font-family: 'Cairo', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  user-select: none;
  vertical-align: middle;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.theme-toggle-btn .theme-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.theme-toggle-btn .theme-icon-sun {
  display: none;
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.theme-toggle-btn .theme-icon-moon {
  display: inline-block;
  color: #fef08a;
  text-shadow: 0 0 8px rgba(254, 240, 138, 0.5);
}

.theme-toggle-btn .theme-text {
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

/* Mobile Theme Toggle Button */
.mobile-theme-toggle {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  margin-left: 12px;
}

.mobile-theme-btn {
  height: 38px;
  width: 38px;
  padding: 0;
  border-radius: 50%;
  background: rgba(101, 49, 190, 0.12);
  border: 1.5px solid rgba(101, 49, 190, 0.35);
  color: rgb(101, 49, 190);
}

.mobile-theme-btn .theme-icon-moon {
  color: rgb(101, 49, 190);
}

/* Active Dark Theme Icon State */
[data-theme="dark"] .theme-toggle-btn .theme-icon-moon,
body.dark-theme .theme-toggle-btn .theme-icon-moon {
  display: none !important;
}

[data-theme="dark"] .theme-toggle-btn .theme-icon-sun,
body.dark-theme .theme-toggle-btn .theme-icon-sun {
  display: inline-block !important;
  animation: themeSpin 16s linear infinite;
}

@keyframes themeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

[data-theme="dark"] .mobile-theme-btn,
body.dark-theme .mobile-theme-btn {
  background: rgba(168, 85, 247, 0.2) !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35) !important;
}

[data-theme="dark"] .theme-toggle-btn,
body.dark-theme .theme-toggle-btn {
  background: rgba(168, 85, 247, 0.22) !important;
  border-color: rgba(168, 85, 247, 0.55) !important;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.25) !important;
}

/* Transitions for Smooth Switch */
body,
.header-top,
.header-bottom,
.mobile-menu,
#mobile-nav,
section,
.feature-item .lab-inner,
.department-item .department-inner,
.service-item .service-inner,
.doctor-item .doctor-inner,
.post-item .post-item-inner,
.medical-thumb,
.contact-item,
.contact-form,
.footer-section,
.footer-top,
.footer-bottom {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
/* -------------------------------------------------------------
   COMPREHENSIVE LUXURY DARK MODE OVERRIDES (Black & Dark Purple)
   ------------------------------------------------------------- */
[data-theme="dark"],
body.dark-theme {
  background: linear-gradient(145deg, #090312 0%, #17072b 45%, #0c0416 100%) fixed !important;
  color: #ede8f7 !important;
}

/* Preloader in Dark Mode */
body.dark-theme .preloader,
[data-theme="dark"] .preloader {
  background: linear-gradient(135deg, #120626, #06020c) !important;
}

/* Header Top in Dark Mode */
body.dark-theme .header-top {
  background: linear-gradient(90deg, #07020d 0%, #15062a 50%, #07020d 100%) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.22) !important;
}

body.dark-theme .header-top .item-content span {
  color: #c4b5fd !important;
}

body.dark-theme .header-top .item-content p a {
  color: #ffffff !important;
}

body.dark-theme .header-top .item-content p a:hover {
  color: #d8b4fe !important;
}

/* Header Bottom Navbar in Dark Mode */
body.dark-theme .header-bottom {
  background: linear-gradient(135deg, rgb(78, 30, 150), rgb(38, 9, 85)) !important;
  border-top: 1px solid rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.65) !important;
}

body.dark-theme .header-bottom.menu-fixed {
  background: linear-gradient(135deg, rgb(68, 24, 134), rgb(30, 7, 68)) !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.8) !important;
}

body.dark-theme .main-menu > li > a {
  color: #ffffff !important;
}

body.dark-theme .main-menu > li.active > a,
body.dark-theme .main-menu > li:hover > a {
  color: #f3e8ff !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

/* Desktop Theme Toggle Button */
.nav-theme-toggle {
  margin-left: 18px !important;
  display: flex !important;
  align-items: center !important;
}

.theme-toggle-btn.icon-only-toggle {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.theme-toggle-btn.icon-only-toggle:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  transform: scale(1.08) !important;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35) !important;
}

.theme-icon-moon,
.theme-icon-sun {
  font-size: 19px !important;
  display: inline-block !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
}

.theme-icon-moon {
  color: #fef08a !important;
  display: inline-block !important;
}

.theme-icon-sun {
  color: #f59e0b !important;
  display: none !important;
}

body.dark-theme .theme-toggle-btn .theme-icon-moon {
  display: none !important;
}

body.dark-theme .theme-toggle-btn .theme-icon-sun {
  display: inline-block !important;
}

body.dark-theme .theme-toggle-btn.icon-only-toggle {
  background: rgba(168, 85, 247, 0.22) !important;
  border-color: rgba(192, 132, 252, 0.45) !important;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.3) !important;
}

/* Mobile Topbar & Offcanvas Navigation */
.mobile-menu-wrapper {
  border-bottom: 0 none transparent !important;
  border-bottom-width: 0 !important;
  box-shadow: none !important;
}

body.dark-theme .mobile-menu,
body.dark-theme .mobile-menu-wrapper,
[data-theme="dark"] .mobile-menu,
[data-theme="dark"] .mobile-menu-wrapper {
  background: linear-gradient(90deg, #090312 0%, #15062a 100%) !important;
  background-color: #090312 !important;
  border-bottom: 0 none transparent !important;
  box-shadow: none !important;
}

body.dark-theme .mobile-menu-wrapper .open-menu,
body.dark-theme .open-menu.hc-nav-trigger,
body.dark-theme .open-menu,
[data-theme="dark"] .mobile-menu-wrapper .open-menu,
[data-theme="dark"] .open-menu.hc-nav-trigger,
[data-theme="dark"] .open-menu,
body.dark-mode .mobile-menu-wrapper .open-menu,
body.dark-mode .open-menu.hc-nav-trigger,
body.dark-mode .open-menu {
  background: linear-gradient(145deg, #220b43 0%, #140528 100%) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.4) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .mobile-menu-wrapper .open-menu:hover,
body.dark-theme .open-menu.hc-nav-trigger:hover,
body.dark-theme .open-menu:hover,
[data-theme="dark"] .mobile-menu-wrapper .open-menu:hover,
[data-theme="dark"] .open-menu.hc-nav-trigger:hover,
[data-theme="dark"] .open-menu:hover,
body.dark-mode .mobile-menu-wrapper .open-menu:hover,
body.dark-mode .open-menu.hc-nav-trigger:hover,
body.dark-mode .open-menu:hover {
  background: linear-gradient(145deg, #2c0f56 0%, #1a0734 100%) !important;
  border-color: rgba(192, 132, 252, 0.7) !important;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35) !important;
  transform: translateY(-1px) !important;
}

body.dark-theme .mobile-menu-wrapper .open-menu i,
body.dark-theme .mobile-menu .open-menu i,
body.dark-theme .open-menu.hc-nav-trigger i,
body.dark-theme .open-menu .icofont-navigation-menu,
[data-theme="dark"] .mobile-menu-wrapper .open-menu i,
[data-theme="dark"] .mobile-menu .open-menu i,
[data-theme="dark"] .open-menu.hc-nav-trigger i,
[data-theme="dark"] .open-menu .icofont-navigation-menu,
body.dark-mode .mobile-menu-wrapper .open-menu i,
body.dark-mode .mobile-menu .open-menu i,
body.dark-mode .open-menu.hc-nav-trigger i,
body.dark-mode .open-menu .icofont-navigation-menu {
  color: #c084fc !important;
}

body.dark-theme .open-menu.hc-nav-trigger span,
body.dark-theme .open-menu.hc-nav-trigger span::before,
body.dark-theme .open-menu.hc-nav-trigger span::after,
[data-theme="dark"] .open-menu.hc-nav-trigger span,
[data-theme="dark"] .open-menu.hc-nav-trigger span::before,
[data-theme="dark"] .open-menu.hc-nav-trigger span::after,
body.dark-mode .open-menu.hc-nav-trigger span,
body.dark-mode .open-menu.hc-nav-trigger span::before,
body.dark-mode .open-menu.hc-nav-trigger span::after {
  background: #c084fc !important;
}

body.dark-theme .header-bottom .logo img,
body.dark-theme .mobile-menu .logo img,
body.dark-theme .mobile-menu-wrapper .logo img,
body.dark-theme .footer-logo img,
[data-theme="dark"] .header-bottom .logo img,
[data-theme="dark"] .mobile-menu .logo img,
[data-theme="dark"] .mobile-menu-wrapper .logo img,
[data-theme="dark"] .footer-logo img,
body.dark-mode .footer-logo img {
  content: url("../images/logo/logo_white_full.png") !important;
}

html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .footer-logo img,
[data-theme="light"] .footer-logo img {
  content: url("../images/logo/logo.png") !important;
}

body.dark-theme #mobile-nav,
[data-theme="dark"] #mobile-nav,
body.dark-mode #mobile-nav,
body.dark-theme .hc-offcanvas-nav .nav-container,
[data-theme="dark"] .hc-offcanvas-nav .nav-container,
body.dark-mode .hc-offcanvas-nav .nav-container,
body.dark-theme .hc-offcanvas-nav .nav-wrapper,
[data-theme="dark"] .hc-offcanvas-nav .nav-wrapper,
body.dark-mode .hc-offcanvas-nav .nav-wrapper,
body.dark-theme .hc-offcanvas-nav .nav-content,
[data-theme="dark"] .hc-offcanvas-nav .nav-content,
body.dark-mode .hc-offcanvas-nav .nav-content {
  background: linear-gradient(180deg, #140526 0%, #070110 100%) !important;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8) !important;
}

body.dark-theme .hc-offcanvas-nav .nav-header,
[data-theme="dark"] .hc-offcanvas-nav .nav-header,
body.dark-mode .hc-offcanvas-nav .nav-header {
  background: linear-gradient(135deg, #240947 0%, #150529 100%) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .hc-offcanvas-nav .nav-header .nav-title,
[data-theme="dark"] .hc-offcanvas-nav .nav-header .nav-title,
body.dark-mode .hc-offcanvas-nav .nav-header .nav-title {
  color: #f5f3ff !important;
}

body.dark-theme .hc-offcanvas-nav .clinic-name,
body.dark-theme #mobile-nav .clinic-name,
body.dark-theme .clinic-name,
[data-theme="dark"] .hc-offcanvas-nav .clinic-name,
[data-theme="dark"] #mobile-nav .clinic-name,
[data-theme="dark"] .clinic-name,
body.dark-mode .hc-offcanvas-nav .clinic-name,
body.dark-mode #mobile-nav .clinic-name,
body.dark-mode .clinic-name {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #e2e8f0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25) !important;
}

body.dark-theme #mobile-nav li a,
[data-theme="dark"] #mobile-nav li a,
body.dark-mode #mobile-nav li a,
body.dark-theme .hc-offcanvas-nav li.nav-item a,
[data-theme="dark"] .hc-offcanvas-nav li.nav-item a,
body.dark-mode .hc-offcanvas-nav li.nav-item a {
  background: rgba(28, 12, 50, 0.88) !important;
  color: #f5f3ff !important;
  border: 1px solid rgba(168, 85, 247, 0.22) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme #mobile-nav li a i,
[data-theme="dark"] #mobile-nav li a i,
body.dark-mode #mobile-nav li a i,
body.dark-theme .hc-offcanvas-nav li.nav-item a i,
[data-theme="dark"] .hc-offcanvas-nav li.nav-item a i,
body.dark-mode .hc-offcanvas-nav li.nav-item a i {
  color: #c084fc !important;
}

body.dark-theme #mobile-nav li a:hover,
[data-theme="dark"] #mobile-nav li a:hover,
body.dark-mode #mobile-nav li a:hover,
body.dark-theme .hc-offcanvas-nav li.nav-item a:hover,
[data-theme="dark"] .hc-offcanvas-nav li.nav-item a:hover,
body.dark-mode .hc-offcanvas-nav li.nav-item a:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(76, 29, 149, 0.65)) !important;
  color: #ffffff !important;
  border-color: rgba(192, 132, 252, 0.6) !important;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25) !important;
}

body.dark-theme .hc-offcanvas-nav li.nav-item.active-page a,
[data-theme="dark"] .hc-offcanvas-nav li.nav-item.active-page a,
body.dark-mode .hc-offcanvas-nav li.nav-item.active-page a,
body.dark-theme #mobile-nav li.active-page a,
[data-theme="dark"] #mobile-nav li.active-page a,
body.dark-mode #mobile-nav li.active-page a,
body.dark-theme #mobile-nav li.home.active-page a,
[data-theme="dark"] #mobile-nav li.home.active-page a {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  border-color: #a855f7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4) !important;
}

body.dark-theme .hc-offcanvas-nav .nav-wrapper,
body.dark-theme .hc-offcanvas-nav nav,
body.dark-theme .hc-offcanvas-nav ul,
body.dark-theme .hc-offcanvas-nav li,
[data-theme="dark"] .hc-offcanvas-nav .nav-wrapper,
[data-theme="dark"] .hc-offcanvas-nav nav,
[data-theme="dark"] .hc-offcanvas-nav ul,
[data-theme="dark"] .hc-offcanvas-nav li,
body.dark-mode .hc-offcanvas-nav .nav-wrapper,
body.dark-mode .hc-offcanvas-nav nav,
body.dark-mode .hc-offcanvas-nav ul,
body.dark-mode .hc-offcanvas-nav li {
  background-color: transparent !important;
}

/* Mobile Drawer Theme Toggle & Login Separator Lines */
.mobile-theme-nav {
  margin: 6px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

.mobile-theme-item {
  margin: 5px 10px !important;
  padding: 0 !important;
  list-style: none !important;
}

.mobile-drawer-theme-btn {
  width: 100% !important;
  min-height: 52px !important;
  padding: 10px 16px !important;
  background: linear-gradient(135deg, rgba(101, 49, 190, 0.08), rgba(55, 15, 117, 0.04)) !important;
  border: 1.5px solid rgba(101, 49, 190, 0.22) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 15px rgba(101, 49, 190, 0.06) !important;
  text-decoration: none !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.mobile-drawer-theme-btn * {
  pointer-events: auto !important;
}

.mobile-drawer-theme-btn:hover {
  background: linear-gradient(135deg, rgba(101, 49, 190, 0.12), rgba(55, 15, 117, 0.08)) !important;
  border-color: rgba(101, 49, 190, 0.4) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(101, 49, 190, 0.12) !important;
}

.mobile-drawer-theme-btn .drawer-theme-icon-box {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(101, 49, 190, 0.28) !important;
  margin-left: 12px !important;
  margin-right: 0 !important;
}

.mobile-drawer-theme-btn .theme-icon-moon {
  color: #fef08a !important;
  font-size: 18px !important;
}

.mobile-drawer-theme-btn .theme-icon-sun {
  color: #fbbf24 !important;
  font-size: 18px !important;
}

.mobile-drawer-theme-btn .drawer-theme-info {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: right !important;
  flex-grow: 1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  padding: 4px 0 !important;
  line-height: normal !important;
}

.mobile-drawer-theme-btn .theme-drawer-title {
  display: none !important;
}

.mobile-drawer-theme-btn .theme-drawer-text {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e1b4b !important;
  white-space: nowrap !important;
  display: inline-block !important;
  line-height: 1.5 !important;
  padding: 2px 0 4px 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.mobile-drawer-theme-btn .drawer-theme-switch {
  width: 48px !important;
  height: 26px !important;
  background: #e2e8f0 !important;
  border-radius: 20px !important;
  position: relative !important;
  flex-shrink: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin-right: 4px !important;
  cursor: pointer !important;
}

.mobile-drawer-theme-btn .drawer-theme-switch .switch-handle {
  width: 20px !important;
  height: 20px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

/* Dark Mode Drawer Theme Button State */
body.dark-theme .mobile-drawer-theme-btn,
[data-theme="dark"] .mobile-drawer-theme-btn {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(124, 58, 237, 0.08)) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.2) !important;
}

body.dark-theme .mobile-drawer-theme-btn:hover,
[data-theme="dark"] .mobile-drawer-theme-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(124, 58, 237, 0.14)) !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.3) !important;
}

body.dark-theme .mobile-drawer-theme-btn .drawer-theme-icon-box,
[data-theme="dark"] .mobile-drawer-theme-btn .drawer-theme-icon-box {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.45) !important;
}

body.dark-theme .mobile-drawer-theme-btn .theme-drawer-text,
[data-theme="dark"] .mobile-drawer-theme-btn .theme-drawer-text {
  color: #f5f3ff !important;
}

body.dark-theme .mobile-drawer-theme-btn .drawer-theme-switch,
[data-theme="dark"] .mobile-drawer-theme-btn .drawer-theme-switch {
  background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .mobile-drawer-theme-btn .drawer-theme-switch .switch-handle,
[data-theme="dark"] .mobile-drawer-theme-btn .drawer-theme-switch .switch-handle {
  right: 25px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.mobile-menu #mobile-nav .login-nav,
.hc-offcanvas-nav .login-nav {
  border-top: 1px solid rgba(124, 58, 237, 0.25) !important;
  border-bottom: 1px solid rgba(124, 58, 237, 0.25) !important;
  margin: 12px 0 !important;
  padding: 6px 0 !important;
}

body.dark-theme .mobile-menu #mobile-nav .login-nav,
body.dark-theme .hc-offcanvas-nav .login-nav {
  border-top-color: rgba(168, 85, 247, 0.3) !important;
  border-bottom-color: rgba(168, 85, 247, 0.3) !important;
}

.copyright-nav .copyright-item a.open-developer-modal-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 18px !important;
  background: rgba(101, 49, 190, 0.08) !important;
  border: 1px solid rgba(101, 49, 190, 0.22) !important;
  border-radius: 8px !important;
  color: #6d28d9 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.copyright-nav .copyright-item a.open-developer-modal-btn:hover {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  color: #ffffff !important;
}

body.dark-theme .copyright-nav .copyright-item a.open-developer-modal-btn {
  background: rgba(168, 85, 247, 0.16) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
  color: #d8b4fe !important;
}

/* Sections Backgrounds in Dark Mode (Dynamic Layered Gradients) */
body.dark-theme section:not(.banner-section):not(.appointment-section):not(.newsletter-section):not(.counter-section):not(.page-header-section) {
  background: transparent !important;
}

/* Page Header Sections in Dark Mode (Keep Full Background Images with Subtle Dark Tint) */
body.dark-theme .page-header-section,
body.dark-theme section.page-header-section,
[data-theme="dark"] .page-header-section,
[data-theme="dark"] section.page-header-section {
  display: block !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
}

body.dark-theme .page-header-section::before,
body.dark-theme section.page-header-section::before,
[data-theme="dark"] .page-header-section::before,
[data-theme="dark"] section.page-header-section::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.38) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

body.dark-theme .page-header-section .container,
body.dark-theme .page-header-section .page-header-content,
[data-theme="dark"] .page-header-section .container,
[data-theme="dark"] .page-header-section .page-header-content {
  position: relative !important;
  z-index: 2 !important;
}

body.dark-theme .page-header-section .page-title h2,
[data-theme="dark"] .page-header-section .page-title h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
}

body.dark-theme .page-header-section .breadcrumb li,
body.dark-theme .page-header-section .breadcrumb li a,
[data-theme="dark"] .page-header-section .breadcrumb li,
[data-theme="dark"] .page-header-section .breadcrumb li a {
  color: #e5def5 !important;
}

body.dark-theme .page-header-section .breadcrumb li.active,
[data-theme="dark"] .page-header-section .breadcrumb li.active {
  color: #c084fc !important;
}

/* Feature, Counter, Appointment & Newsletter Sections with Rich Prominent Purple in Dark Mode */
body.dark-theme .feature-section,
[data-theme="dark"] .feature-section,
body.dark-mode .feature-section,
body.dark-theme .counter-section,
body.dark-theme .counter-section.style-1,
[data-theme="dark"] .counter-section,
[data-theme="dark"] .counter-section.style-1,
body.dark-mode .counter-section,
body.dark-mode .counter-section.style-1,
body.dark-theme .appointment-section,
body.dark-theme .appointment-section.style-1,
body.dark-theme #appointment-placeholder .appointment-section,
[data-theme="dark"] .appointment-section,
[data-theme="dark"] .appointment-section.style-1,
[data-theme="dark"] #appointment-placeholder .appointment-section,
body.dark-mode .appointment-section,
body.dark-mode .appointment-section.style-1,
body.dark-mode #appointment-placeholder .appointment-section,
body.dark-theme .newsletter-section,
body.dark-theme .newsletter-section.style-1,
[data-theme="dark"] .newsletter-section,
[data-theme="dark"] .newsletter-section.style-1,
body.dark-mode .newsletter-section,
body.dark-mode .newsletter-section.style-1 {
  background: linear-gradient(145deg, #240a45 0%, #350f63 50%, #17052e 100%) !important;
  border-top: 1px solid rgba(168, 85, 247, 0.28) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

body.dark-theme .newsletter-section.style-1,
[data-theme="dark"] .newsletter-section.style-1,
body.dark-mode .newsletter-section.style-1 {
  background: url('../images/shape/newsletter_vector.png?v=20260414-9') center center / cover no-repeat, linear-gradient(145deg, #240a45 0%, #350f63 50%, #17052e 100%) !important;
}

body.dark-theme .counter-section .counter-item .number,
[data-theme="dark"] .counter-section .counter-item .number,
body.dark-mode .counter-section .counter-item .number {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(192, 132, 252, 0.6) !important;
}

body.dark-theme .counter-section .counter-item p,
[data-theme="dark"] .counter-section .counter-item p,
body.dark-mode .counter-section .counter-item p {
  color: #f3e8ff !important;
}

body.dark-theme .counter-section .counter-thumb img,
[data-theme="dark"] .counter-section .counter-thumb img,
body.dark-mode .counter-section .counter-thumb img {
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.45)) !important;
}

body.dark-theme .department-section,
[data-theme="dark"] .department-section,
body.dark-theme .doctor-section,
[data-theme="dark"] .doctor-section,
body.dark-theme .sponsor-section,
[data-theme="dark"] .sponsor-section,
body.dark-theme .shop-page,
[data-theme="dark"] .shop-page,
body.dark-theme .shop-cart,
[data-theme="dark"] .shop-cart,
body.dark-theme .bg-ash,
[data-theme="dark"] .bg-ash,
body.dark-theme .bg-white,
[data-theme="dark"] .bg-white {
  background: linear-gradient(180deg, rgba(20, 8, 38, 0.65) 0%, rgba(10, 3, 20, 0.8) 100%) !important;
}

/* White Sponsor Icons in Dark Mode */
body.dark-theme .sponsor-section .sponsor-area .swiper-slide .sponsor-thumb img,
body.dark-theme .sponsor-section .sponsor-thumb img,
[data-theme="dark"] .sponsor-section .sponsor-area .swiper-slide .sponsor-thumb img,
[data-theme="dark"] .sponsor-section .sponsor-thumb img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.88 !important;
  transition: all 0.3s ease !important;
}

body.dark-theme .sponsor-section .sponsor-area .swiper-slide .sponsor-thumb:hover img,
body.dark-theme .sponsor-section .sponsor-thumb:hover img,
[data-theme="dark"] .sponsor-section .sponsor-area .swiper-slide .sponsor-thumb:hover img,
[data-theme="dark"] .sponsor-section .sponsor-thumb:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.75)) !important;
  opacity: 1 !important;
  transform: translateY(-3px) scale(1.06) !important;
}

body.dark-theme .about-section,
body.dark-theme .service-section,
body.dark-theme .testimonial-section,
body.dark-theme .blog-section,
body.dark-theme .contact-us,
body.dark-theme .main-content {
  background: linear-gradient(180deg, rgba(14, 5, 26, 0.75) 0%, rgba(24, 9, 46, 0.6) 100%) !important;
}

/* Feature Section Wrapper in Dark Mode (No White Border / Outline) */
body.dark-theme .feature-section-wrapper,
body.dark-theme .feature-section .feature-section-wrapper,
[data-theme="dark"] .feature-section-wrapper,
[data-theme="dark"] .feature-section .feature-section-wrapper {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

body.dark-theme .feature-section .feature-item,
body.dark-theme .feature-item,
[data-theme="dark"] .feature-section .feature-item,
[data-theme="dark"] .feature-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Read More Button in Dark Mode (Light Purple Text & Border) */
body.dark-theme .read-more-btn,
[data-theme="dark"] .read-more-btn {
  color: #c084fc !important;
  border-color: #c084fc !important;
  background: rgba(168, 85, 247, 0.1) !important;
}

body.dark-theme .read-more-btn i,
[data-theme="dark"] .read-more-btn i {
  color: #c084fc !important;
}

body.dark-theme .read-more-btn:hover,
[data-theme="dark"] .read-more-btn:hover {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  border-color: #c084fc !important;
  color: #ffffff !important;
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4) !important;
}

body.dark-theme .read-more-btn:hover i,
[data-theme="dark"] .read-more-btn:hover i {
  color: #ffffff !important;
}

/* Department Section Style 2 in Dark Mode */
body.dark-theme .department-section.style-2,
[data-theme="dark"] .department-section.style-2 {
  background: linear-gradient(180deg, rgba(14, 5, 26, 0.75) 0%, rgba(24, 9, 46, 0.6) 100%) !important;
}

body.dark-theme .department-section.style-2 .section-wrapper .lab-item .lab-item-inner,
[data-theme="dark"] .department-section.style-2 .section-wrapper .lab-item .lab-item-inner {
  background: linear-gradient(145deg, rgba(28, 12, 52, 0.92) 0%, rgba(13, 5, 25, 0.96) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.24) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 16px rgba(124, 58, 237, 0.08) !important;
  border-radius: 16px !important;
}

body.dark-theme .department-section.style-2 .section-wrapper .lab-item .lab-item-inner:hover,
[data-theme="dark"] .department-section.style-2 .section-wrapper .lab-item .lab-item-inner:hover {
  background: linear-gradient(145deg, rgba(42, 18, 76, 0.96) 0%, rgba(19, 7, 36, 0.98) 100%) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(168, 85, 247, 0.25) !important;
}

body.dark-theme .department-section.style-2 .section-wrapper .lab-item .lab-item-inner h4,
body.dark-theme .department-section.style-2 .section-wrapper .lab-item .lab-item-inner a,
[data-theme="dark"] .department-section.style-2 .section-wrapper .lab-item .lab-item-inner h4,
[data-theme="dark"] .department-section.style-2 .section-wrapper .lab-item .lab-item-inner a {
  color: #ffffff !important;
}

body.dark-theme .department-section.style-2 .section-wrapper .lab-item .lab-item-inner img,
[data-theme="dark"] .department-section.style-2 .section-wrapper .lab-item .lab-item-inner img {
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 4px 10px rgba(168, 85, 247, 0.35)) !important;
}

/* Newsletter Section Reduced Harmonious Rounded Corners & Mode Styles */
.newsletter-section.style-1 .section-wrapper .right .news-input {
  border-radius: 14px !important;
  overflow: hidden !important;
  padding: 6px 8px !important;
  align-items: center !important;
  transition: all 0.3s ease !important;
}

/* Newsletter Section Light Mode: Crisp White Background, Light Border & Clean Dark Text */
html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .newsletter-section.style-1 .section-wrapper .right .news-input,
[data-theme="light"] .newsletter-section.style-1 .section-wrapper .right .news-input,
.newsletter-section.style-1 .section-wrapper .right .news-input {
  background: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
}

html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .newsletter-section.style-1 .section-wrapper .right .news-input input,
[data-theme="light"] .newsletter-section.style-1 .section-wrapper .right .news-input input,
.newsletter-section.style-1 .section-wrapper .right .news-input input {
  background: transparent !important;
  color: #1e293b !important;
}

html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .newsletter-section.style-1 .section-wrapper .right .news-input input::placeholder,
[data-theme="light"] .newsletter-section.style-1 .section-wrapper .right .news-input input::placeholder,
.newsletter-section.style-1 .section-wrapper .right .news-input input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .newsletter-section.style-1 .section-wrapper .right .news-input label,
[data-theme="light"] .newsletter-section.style-1 .section-wrapper .right .news-input label,
.newsletter-section.style-1 .section-wrapper .right .news-input label {
  color: #7c3aed !important;
}

/* Newsletter Section Dark Mode */
body.dark-theme .newsletter-section.style-1 .section-wrapper .right .news-input,
[data-theme="dark"] .newsletter-section.style-1 .section-wrapper .right .news-input,
body.dark-mode .newsletter-section.style-1 .section-wrapper .right .news-input {
  background: rgba(20, 8, 38, 0.9) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45) !important;
}

body.dark-theme .newsletter-section.style-1 .section-wrapper .right .news-input input,
[data-theme="dark"] .newsletter-section.style-1 .section-wrapper .right .news-input input,
body.dark-mode .newsletter-section.style-1 .section-wrapper .right .news-input input {
  background: transparent !important;
  color: #ffffff !important;
}

body.dark-theme .newsletter-section.style-1 .section-wrapper .right .news-input input::placeholder,
[data-theme="dark"] .newsletter-section.style-1 .section-wrapper .right .news-input input::placeholder,
body.dark-mode .newsletter-section.style-1 .section-wrapper .right .news-input input::placeholder {
  color: #c4b5fd !important;
  opacity: 0.8 !important;
}

.newsletter-section.style-1 .section-wrapper .right .news-input button[type="submit"],
.newsletter-section.style-1 .section-wrapper .right .news-input button,
body.dark-theme .newsletter-section.style-1 .section-wrapper .right .news-input button[type="submit"],
[data-theme="dark"] .newsletter-section.style-1 .section-wrapper .right .news-input button[type="submit"],
body.dark-mode .newsletter-section.style-1 .section-wrapper .right .news-input button[type="submit"] {
  border-radius: 10px !important;
  padding: 12px 24px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(101, 49, 190, 0.35) !important;
}

.newsletter-section.style-1 .section-wrapper .right .news-input button[type="submit"]:hover,
.newsletter-section.style-1 .section-wrapper .right .news-input button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5) !important;
}

/* Footer news-input in Desktop Light Mode */
@media (min-width: 768px) {
  html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .footer-section .news-input,
  [data-theme="light"] .footer-section .news-input,
  .footer-section .news-input {
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(124, 58, 237, 0.22) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    padding: 6px 8px !important;
  }

  html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .footer-section .news-input input,
  [data-theme="light"] .footer-section .news-input input,
  .footer-section .news-input input {
    background: transparent !important;
    color: #1e293b !important;
  }

  html:not([data-theme="dark"]) body:not(.dark-theme):not(.dark-mode) .footer-section .news-input input::placeholder,
  [data-theme="light"] .footer-section .news-input input::placeholder,
  .footer-section .news-input input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
  }
}

/* Footer news-input in Desktop Dark Mode */
@media (min-width: 768px) {
  body.dark-theme .footer-section .news-input,
  [data-theme="dark"] .footer-section .news-input,
  body.dark-mode .footer-section .news-input {
    border-radius: 14px !important;
    background: rgba(20, 8, 38, 0.85) !important;
    border: 1.5px solid rgba(168, 85, 247, 0.35) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    padding: 6px 8px !important;
  }

  body.dark-theme .footer-section .news-input input,
  [data-theme="dark"] .footer-section .news-input input,
  body.dark-mode .footer-section .news-input input {
    background: transparent !important;
    color: #ffffff !important;
  }

  body.dark-theme .footer-section .news-input input::placeholder,
  [data-theme="dark"] .footer-section .news-input input::placeholder,
  body.dark-mode .footer-section .news-input input::placeholder {
    color: #c4b5fd !important;
    opacity: 0.8 !important;
  }
}

/* General Dark Mode Input Overrides */
body.dark-theme .news-input input,
body.dark-theme .news-input input[type="text"],
[data-theme="dark"] .news-input input,
[data-theme="dark"] .news-input input[type="text"],
body.dark-mode .news-input input,
body.dark-mode .news-input input[type="text"] {
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
}

body.dark-theme .news-input input::placeholder,
[data-theme="dark"] .news-input input::placeholder,
body.dark-mode .news-input input::placeholder {
  color: #c4b5fd !important;
  opacity: 0.8 !important;
}

/* Contact Info (lab-ul) & Times in Dark Mode */
body.dark-theme .contact-info .lab-ul li,
body.dark-theme .contact-info .lab-ul li a,
body.dark-theme .footer-section .lab-ul li,
body.dark-theme .footer-section .lab-ul li a,
[data-theme="dark"] .contact-info .lab-ul li,
[data-theme="dark"] .contact-info .lab-ul li a,
[data-theme="dark"] .footer-section .lab-ul li,
[data-theme="dark"] .footer-section .lab-ul li a {
  color: #ffffff !important;
}

body.dark-theme .contact-info .lab-ul li a:hover,
body.dark-theme .footer-section .lab-ul li a:hover,
[data-theme="dark"] .contact-info .lab-ul li a:hover,
[data-theme="dark"] .footer-section .lab-ul li a:hover {
  color: #d8b4fe !important;
}

body.dark-theme .contact-info .lab-ul li i,
body.dark-theme .footer-section .lab-ul li i,
[data-theme="dark"] .contact-info .lab-ul li i,
[data-theme="dark"] .footer-section .lab-ul li i {
  color: #c084fc !important;
}

/* Time Info in Dark Mode (No Frames Around Days) */
body.dark-theme .time-info .dep-item .dep-item-inner,
body.dark-theme .time-info .dep-item,
[data-theme="dark"] .time-info .dep-item .dep-item-inner,
[data-theme="dark"] .time-info .dep-item {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 5px 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.dark-theme .time-info .day-name,
[data-theme="dark"] .time-info .day-name {
  color: #ffffff !important;
  font-weight: 600 !important;
}

body.dark-theme .time-info .day-time,
[data-theme="dark"] .time-info .day-time {
  color: #e5def5 !important;
}

/* Single Sidebar in Dark Mode (about.html, medical-clinic.html, service.html) - No White Background */
body.dark-theme .single-sidebar,
body.dark-theme .single-sidebar > div,
body.dark-theme .single-sidebar .department-widget,
body.dark-theme .single-sidebar .timetable-widget,
body.dark-theme .single-sidebar .widget,
body.dark-theme .department-widget,
body.dark-theme .timetable-widget,
body.dark-theme .custom-timetable,
[data-theme="dark"] .single-sidebar,
[data-theme="dark"] .single-sidebar > div,
[data-theme="dark"] .single-sidebar .department-widget,
[data-theme="dark"] .single-sidebar .timetable-widget,
[data-theme="dark"] .department-widget,
[data-theme="dark"] .timetable-widget,
[data-theme="dark"] .custom-timetable {
  background: linear-gradient(145deg, rgba(28, 12, 52, 0.95) 0%, rgba(13, 5, 25, 0.98) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.24) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 16px rgba(124, 58, 237, 0.08) !important;
}

body.dark-theme .single-sidebar .department-widget ul li a,
[data-theme="dark"] .single-sidebar .department-widget ul li a {
  color: #e5def5 !important;
  background: rgba(42, 18, 76, 0.5) !important;
  border: 1px solid rgba(168, 85, 247, 0.18) !important;
  border-radius: 8px !important;
}

body.dark-theme .single-sidebar .department-widget ul li a:hover,
[data-theme="dark"] .single-sidebar .department-widget ul li a:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
}

body.dark-theme .single-sidebar .timetable-item,
[data-theme="dark"] .single-sidebar .timetable-item {
  border-bottom: 1px solid rgba(168, 85, 247, 0.18) !important;
}

body.dark-theme .single-sidebar .timetable-item .day,
[data-theme="dark"] .single-sidebar .timetable-item .day {
  color: #ffffff !important;
}

body.dark-theme .single-sidebar .timetable-item .time,
[data-theme="dark"] .single-sidebar .timetable-item .time {
  color: #c4b5fd !important;
}

body.dark-theme .single-sidebar .widget-title h3,
[data-theme="dark"] .single-sidebar .widget-title h3 {
  color: #ffffff !important;
  border-bottom: 2px solid rgba(168, 85, 247, 0.3) !important;
}

/* Complete Dark Mode Styling for aid-section (eliminating white container-fluid and dark text) */
body.dark-theme .aid-section,
body.dark-theme .aid-section .container-fluid,
body.dark-theme .aid-section .section-wrapper,
[data-theme="dark"] .aid-section,
[data-theme="dark"] .aid-section .container-fluid,
[data-theme="dark"] .aid-section .section-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.dark-theme .aid-section .medical-thumbs,
[data-theme="dark"] .aid-section .medical-thumbs {
  background: transparent !important;
  border: none !important;
}

body.dark-theme .aid-section .medical-thumbs .lab-item,
[data-theme="dark"] .aid-section .medical-thumbs .lab-item {
  background: rgba(28, 12, 52, 0.85) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme .aid-section .medical-thumbs .lab-item h6,
[data-theme="dark"] .aid-section .medical-thumbs .lab-item h6 {
  color: #e5def5 !important;
}

body.dark-theme .aid-section .medical-thumbs .swiper-slide-thumb-active .lab-item,
[data-theme="dark"] .aid-section .medical-thumbs .swiper-slide-thumb-active .lab-item {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  border-color: #c084fc !important;
  box-shadow: 0 4px 20px rgba(101, 49, 190, 0.55) !important;
}

body.dark-theme .aid-section .medical-thumbs .swiper-slide-thumb-active .lab-item h6,
[data-theme="dark"] .aid-section .medical-thumbs .swiper-slide-thumb-active .lab-item h6 {
  color: #ffffff !important;
}

body.dark-theme .aid-section .medical-top,
body.dark-theme .aid-section .medical-top .swiper-wrapper,
body.dark-theme .aid-section .medical-top .swiper-slide,
body.dark-theme .aid-section .medical-top .lab-item,
[data-theme="dark"] .aid-section .medical-top,
[data-theme="dark"] .aid-section .medical-top .swiper-wrapper,
[data-theme="dark"] .aid-section .medical-top .swiper-slide,
[data-theme="dark"] .aid-section .medical-top .lab-item {
  background: transparent !important;
}

body.dark-theme .aid-section .medical-top .lab-item .lab-item-inner,
[data-theme="dark"] .aid-section .medical-top .lab-item .lab-item-inner {
  background: linear-gradient(145deg, #180a30 0%, #0c0419 100%) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65) !important;
  overflow: hidden !important;
}

body.dark-theme .aid-section .lab-item .lab-item-inner .lab-content,
[data-theme="dark"] .aid-section .lab-item .lab-item-inner .lab-content {
  background: transparent !important;
  color: #e5def5 !important;
}

body.dark-theme .aid-section .lab-content h3,
body.dark-theme .aid-section .lab-content h4,
[data-theme="dark"] .aid-section .lab-content h3,
[data-theme="dark"] .aid-section .lab-content h4 {
  color: #ffffff !important;
}

body.dark-theme .aid-section .lab-content h5,
body.dark-theme .aid-section .lab-content h5[style*="color"],
[data-theme="dark"] .aid-section .lab-content h5,
[data-theme="dark"] .aid-section .lab-content h5[style*="color"] {
  color: #c084fc !important;
}

body.dark-theme .aid-section .lab-content p,
body.dark-theme .aid-section .lab-content p[style*="color"],
body.dark-theme .aid-section .lab-content span,
body.dark-theme .aid-section .lab-content div,
[data-theme="dark"] .aid-section .lab-content p,
[data-theme="dark"] .aid-section .lab-content p[style*="color"],
[data-theme="dark"] .aid-section .lab-content span,
[data-theme="dark"] .aid-section .lab-content div {
  color: #e5def5 !important;
}

body.dark-theme .aid-section .lab-content strong,
body.dark-theme .aid-section .lab-content b,
[data-theme="dark"] .aid-section .lab-content strong,
[data-theme="dark"] .aid-section .lab-content b {
  color: #ffffff !important;
}

body.dark-theme .aid-section .lab-content ul.lab-ul li,
[data-theme="dark"] .aid-section .lab-content ul.lab-ul li {
  color: #e5def5 !important;
}

body.dark-theme .aid-section .lab-content ul.lab-ul li i,
[data-theme="dark"] .aid-section .lab-content ul.lab-ul li i {
  color: #c084fc !important;
}

body.dark-theme .aid-section .lab-content div[style*="border-top"],
[data-theme="dark"] .aid-section .lab-content div[style*="border-top"] {
  border-top-color: rgba(168, 85, 247, 0.25) !important;
}

body.dark-theme .aid-section .lab-content a,
[data-theme="dark"] .aid-section .lab-content a {
  color: #d8b4fe !important;
}

/* Headings & Section Titles */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
  color: #ffffff !important;
}

body.dark-theme h1 a,
body.dark-theme h2 a,
body.dark-theme h3 a,
body.dark-theme h4 a,
body.dark-theme h5 a,
body.dark-theme h6 a {
  color: #ffffff !important;
}

body.dark-theme h1 a:hover,
body.dark-theme h2 a:hover,
body.dark-theme h3 a:hover,
body.dark-theme h4 a:hover,
body.dark-theme h5 a:hover,
body.dark-theme h6 a:hover {
  color: #d8b4fe !important;
}

body.dark-theme .section-header h2 {
  color: #ffffff !important;
}

body.dark-theme .section-header p {
  color: #c4b5fd !important;
}

body.dark-theme p,
body.dark-theme span,
body.dark-theme li {
  color: #e5def5 !important;
}

body.dark-theme strong,
body.dark-theme b {
  color: #ffffff !important;
}

/* Cards & Surfaces with Luxury Gradients & Glowing Borders */
body.dark-theme .feature-item .lab-inner,
body.dark-theme .department-item .department-inner,
body.dark-theme .service-item .service-inner,
body.dark-theme .doctor-item .doctor-inner,
body.dark-theme .post-item .post-item-inner,
body.dark-theme .medical-thumb,
body.dark-theme .medical-thumbs .medical-thumb,
body.dark-theme .contact-item,
body.dark-theme .contact-form,
body.dark-theme .testi-item .testi-item-inner,
body.dark-theme .accordion-item,
body.dark-theme .product-item,
body.dark-theme .cart-bottom,
body.dark-theme .order-summary,
body.dark-theme .aid-section .section-wrapper .aid-slider .lab-item,
body.dark-theme .contact-info ul li,
body.dark-theme .here-form {
  background: linear-gradient(145deg, rgba(28, 12, 52, 0.92) 0%, rgba(13, 5, 25, 0.96) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.24) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 16px rgba(124, 58, 237, 0.08) !important;
  border-radius: 16px !important;
  transition: all 0.35s ease !important;
}

body.dark-theme .feature-item .lab-inner:hover,
body.dark-theme .department-item .department-inner:hover,
body.dark-theme .service-item .service-inner:hover,
body.dark-theme .doctor-item .doctor-inner:hover,
body.dark-theme .post-item .post-item-inner:hover,
body.dark-theme .contact-info ul li:hover,
body.dark-theme .medical-thumb:hover {
  background: linear-gradient(145deg, rgba(42, 18, 76, 0.96) 0%, rgba(19, 7, 36, 0.98) 100%) !important;
  border-color: rgba(192, 132, 252, 0.55) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(168, 85, 247, 0.22) !important;
  transform: translateY(-4px) !important;
}

/* Forms, Inputs & Dropdowns in Dark Mode */
body.dark-theme input[type="text"],
body.dark-theme input[type="email"],
body.dark-theme input[type="tel"],
body.dark-theme input[type="date"],
body.dark-theme input[type="time"],
body.dark-theme textarea,
body.dark-theme select {
  background: linear-gradient(145deg, #180833, #0d041c) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(168, 85, 247, 0.35) !important;
  border-radius: 8px !important;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
  color: #9f8bbd !important;
}

body.dark-theme input:focus,
body.dark-theme textarea:focus,
body.dark-theme select:focus {
  border-color: #c084fc !important;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.4) !important;
  background: linear-gradient(145deg, #220b44, #100522) !important;
}

body.dark-theme select option {
  background-color: #150729 !important;
  color: #ffffff !important;
}

body.dark-theme input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) hue-rotate(240deg) brightness(1.3);
  cursor: pointer;
}

/* Footer in Dark Mode */
body.dark-theme .footer-section,
body.dark-theme .footer-top {
  background: linear-gradient(180deg, #100422 0%, #05010b 100%) !important;
  border-top: 1px solid rgba(168, 85, 247, 0.22) !important;
}

body.dark-theme .footer-bottom {
  background: #040108 !important;
  border-top: 1px solid rgba(168, 85, 247, 0.15) !important;
}

body.dark-theme .footer-bottom p,
body.dark-theme .footer-bottom a {
  color: #a597bc !important;
}

body.dark-theme .footer-bottom a:hover {
  color: #d8b4fe !important;
}

/* Logo Radiance in Dark Mode */
body.dark-theme .header-logo img,
body.dark-theme .mobile-menu .logo img,
body.dark-theme .footer-logo img {
  filter: brightness(1.18) drop-shadow(0 0 12px rgba(168, 85, 247, 0.45)) !important;
}

/* Icons & Accents */
body.dark-theme .lab-ul.icon-style-list > li i,
body.dark-theme .contact-item .contact-thumb i,
body.dark-theme .feature-item .lab-thumb i {
  color: #c084fc !important;
}

body.dark-theme .scrollToTop i {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.55) !important;
}

/* =========================================================
   DARK MODE: AID-SLIDER MEDICAL-THUMBS / GALLERY-THUMBS
   ========================================================= */
body.dark-theme .aid-section .section-wrapper .aid-slider.medical-thumbs,
[data-theme="dark"] .aid-section .section-wrapper .aid-slider.medical-thumbs,
body.dark-mode .aid-section .section-wrapper .aid-slider.medical-thumbs,
body.dark-theme .aid-slider.medical-thumbs,
[data-theme="dark"] .aid-slider.medical-thumbs,
body.dark-mode .aid-slider.medical-thumbs,
body.dark-theme .aid-slider.gallery-thumbs,
[data-theme="dark"] .aid-slider.gallery-thumbs,
body.dark-mode .aid-slider.gallery-thumbs {
  background: linear-gradient(145deg, rgba(24, 10, 48, 0.95) 0%, rgba(13, 4, 26, 0.98) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.28) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
  border-radius: 16px !important;
}

body.dark-theme .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item,
[data-theme="dark"] .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item,
body.dark-mode .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item,
body.dark-theme .aid-slider.medical-thumbs .lab-item,
[data-theme="dark"] .aid-slider.medical-thumbs .lab-item,
body.dark-mode .aid-slider.medical-thumbs .lab-item {
  background: rgba(28, 12, 50, 0.92) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.22) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  color: #f3e8ff !important;
}

body.dark-theme .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item h6,
[data-theme="dark"] .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item h6,
body.dark-mode .aid-section .section-wrapper .aid-slider.medical-thumbs .lab-item h6,
body.dark-theme .aid-slider.medical-thumbs .lab-item h6,
[data-theme="dark"] .aid-slider.medical-thumbs .lab-item h6,
body.dark-mode .aid-slider.medical-thumbs .lab-item h6 {
  color: #e2d9f3 !important;
}

body.dark-theme .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item,
[data-theme="dark"] .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item,
body.dark-mode .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item,
body.dark-theme .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item,
[data-theme="dark"] .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item,
body.dark-mode .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.3) 0%, rgba(101, 49, 190, 0.45) 100%) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4) !important;
}

body.dark-theme .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6,
[data-theme="dark"] .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6,
body.dark-mode .aid-section .section-wrapper .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6,
body.dark-theme .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6,
[data-theme="dark"] .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6,
body.dark-mode .aid-slider.medical-thumbs .swiper-slide-thumb-active .lab-item h6 {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.6) !important;
}

/* =========================================================
   DESKTOP CLINIC & SERVICES AID SECTION IMAGE STYLING
   ========================================================= */
@media (min-width: 992px) {
  .aid-section .section-wrapper .aid-slider.medical-top .lab-item .lab-item-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-thumb {
    width: 42% !important;
    max-height: 720px !important;
    position: sticky !important;
    top: 95px !important;
    align-self: flex-start !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(101, 49, 190, 0.14) !important;
    flex-shrink: 0 !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-thumb img {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 720px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    border-radius: 18px !important;
  }

  .aid-section .section-wrapper .aid-slider.medical-top .lab-content {
    width: 58% !important;
    padding: 10px 35px 30px 20px !important;
  }
}

/* =========================================================
   MOBILE APPOINTMENT GRID & INPUT BOUNDARY ALIGNMENT
   ========================================================= */
.appointment-section .appointment-form .row {
  margin-left: -8px !important;
  margin-right: -8px !important;
}

.appointment-section .appointment-form .col-12,
.appointment-section .appointment-form .col-md-6,
.appointment-section .appointment-form .col-6 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

@media (max-width: 767px) {
  .appointment-section .appointment-form #app_date,
  .appointment-section .appointment-form #app_time {
    padding: 10px 10px !important;
    font-size: 13.5px !important;
    margin-bottom: 20px !important;
  }
}

/* =========================================================
   CONTACT INFO ACCENT LINE: ROYAL PURPLE GRADIENT (RIGHT)
   ========================================================= */
.contact-us .section-wrapper .contact-info ul li {
  position: relative !important;
  padding-right: 22px !important;
  padding-left: 0 !important;
}

.contact-us .section-wrapper .contact-info ul li::before {
  content: '' !important;
  position: absolute !important;
  width: 4px !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgb(101 49 190), rgb(55 15 117)) !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  border-radius: 0 20px 20px 0 !important;
}

/* =========================================================
   MR. TECH DEVELOPER MODAL (Matching media_1789368269947.png)
   ========================================================= */
.mrtech-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mrtech-modal-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mrtech-modal-backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(8, 3, 18, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.mrtech-modal-card {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 400px !important;
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 40px 24px 32px 24px !important;
  text-align: center !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0,0,0,0.1) !important;
  transform: scale(0.9) translateY(12px) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.mrtech-modal-overlay.active .mrtech-modal-card {
  transform: scale(1) translateY(0) !important;
}

.mrtech-modal-close {
  position: absolute !important;
  top: 16px !important;
  left: 18px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  font-size: 26px !important;
  line-height: 34px !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.mrtech-modal-close:hover {
  color: #ef4444 !important;
  transform: rotate(90deg) !important;
}

.mrtech-modal-logo {
  margin-bottom: 24px !important;
}

.mrtech-modal-logo img {
  width: 125px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

.mrtech-modal-title {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.4 !important;
}

.mrtech-modal-subtitle {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.4 !important;
}

.mrtech-modal-en {
  font-size: 13.5px !important;
  color: #64748b !important;
  margin: 0 0 26px 0 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.mrtech-modal-socials {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
}

.mrtech-social-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 21px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mrtech-social-btn:hover {
  transform: translateY(-3px) scale(1.08) !important;
}

.mrtech-social-btn.mrtech-wa {
  color: #22c55e !important;
  background: #f0fdf4 !important;
  border: 1.5px solid rgba(34, 197, 94, 0.3) !important;
}

.mrtech-social-btn.mrtech-wa:hover {
  background: #22c55e !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35) !important;
}

.mrtech-social-btn.mrtech-ig {
  color: #e1306c !important;
  background: #fdf2f8 !important;
  border: 1.5px solid rgba(225, 48, 108, 0.3) !important;
}

.mrtech-social-btn.mrtech-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(225, 48, 108, 0.35) !important;
}

.mrtech-social-btn.mrtech-web {
  color: #2563eb !important;
  background: #eff6ff !important;
  border: 1.5px solid rgba(37, 99, 235, 0.3) !important;
}

.mrtech-social-btn.mrtech-web:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35) !important;
}

body.dark-theme .mrtech-modal-card {
  background: linear-gradient(145deg, #180a30, #0c0419) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 25px rgba(124, 58, 237, 0.25) !important;
}

body.dark-theme .mrtech-modal-title {
  color: #f5f3ff !important;
}

body.dark-theme .mrtech-modal-subtitle {
  color: #e9d5ff !important;
}

body.dark-theme .mrtech-modal-en {
  color: #a78bfa !important;
}

body.dark-theme .mrtech-modal-close {
  color: #cbd5e1 !important;
}

/* =========================================================
   7. MOBILE BANNER CENTERING & OVERLAY
   ========================================================= */

/* Desktop defaults */
@media (min-width: 768px) {
  .banner-subline-1,
  .banner-subline-2 {
    display: inline;
  }
}

/* Mobile Banner Enhancements (Max-width 767px) */
@media (max-width: 767px) {
  .banner-section {
    position: relative !important;
  }

  .banner-section::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .banner-section .container {
    position: relative !important;
    z-index: 2 !important;
  }

  .banner-section .banner-wrapper {
    justify-content: center !important;
  }

  .banner-section .banner-wrapper .banner-content {
    text-align: center !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner-section .banner-wrapper .banner-content h1,
  .banner-section .banner-wrapper .banner-content h2,
  .banner-section .banner-wrapper .banner-content p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .banner-section .banner-wrapper .banner-content .doctor-spec-line {
    white-space: normal !important;
    display: block !important;
    text-align: center !important;
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }

  .banner-section .banner-wrapper .banner-content .banner-subline-1,
  .banner-section .banner-wrapper .banner-content .banner-subline-2 {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    line-height: 1.6 !important;
  }
}

/* =========================================================
   8. CONTACT INFO & FORM SECTIONS
   ========================================================= */

.contact-info-section {
  background: #fdfbfd;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(101, 49, 190, 0.07);
  border: 1.5px solid rgba(101, 49, 190, 0.1);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(101, 49, 190, 0.14);
  border-color: rgba(101, 49, 190, 0.3);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(101, 49, 190, 0.25);
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.08);
}

.contact-card-icon.wa-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.contact-card-icon.ig-icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 6px 16px rgba(225, 48, 108, 0.3);
}

.contact-card-icon.tg-icon {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  box-shadow: 0 6px 16px rgba(42, 171, 238, 0.3);
}

.contact-card-content {
  flex-grow: 1;
  text-align: right;
}

.contact-card-content h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 6px;
}

.contact-card-content p {
  margin: 0;
  font-size: 15px;
}

.contact-card-content a {
  color: #6d28d9;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card-content a:hover {
  color: #4c1d95;
  text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
  background: #f8f6fb;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 10px 35px rgba(101, 49, 190, 0.08);
  border: 1.5px solid rgba(101, 49, 190, 0.12);
}

.contact-input-field {
  width: 100%;
  padding: 12px 18px;
  background: #faf8fd;
  border: 1.5px solid rgba(101, 49, 190, 0.15);
  border-radius: 10px;
  color: #1e1b4b;
  font-size: 14.5px;
  outline: none;
  transition: all 0.25s ease;
}

.contact-input-field:focus {
  border-color: rgb(101 49 190);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(101, 49, 190, 0.12);
}

.contact-submit-btn {
  background: linear-gradient(135deg, rgb(101 49 190), rgb(55 15 117)) !important;
  color: #ffffff !important;
  padding: 13px 30px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 6px 20px rgba(101, 49, 190, 0.3) !important;
}

.contact-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(101, 49, 190, 0.4) !important;
}

/* Dark Mode for Contact Cards & Form */
body.dark-theme .contact-info-section,
[data-theme="dark"] .contact-info-section {
  background: transparent !important;
}

body.dark-theme .contact-card,
[data-theme="dark"] .contact-card {
  background: linear-gradient(145deg, #180a30, #0c0419) !important;
  border-color: rgba(168, 85, 247, 0.25) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45) !important;
}

body.dark-theme .contact-card:hover,
[data-theme="dark"] .contact-card:hover {
  border-color: rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2) !important;
}

body.dark-theme .contact-card-content h5,
[data-theme="dark"] .contact-card-content h5 {
  color: #f5f3ff !important;
}

body.dark-theme .contact-card-content a,
[data-theme="dark"] .contact-card-content a {
  color: #d8b4fe !important;
}

body.dark-theme .contact-card-content p,
[data-theme="dark"] .contact-card-content p {
  color: #cbd5e1 !important;
}

body.dark-theme .contact-form-section,
[data-theme="dark"] .contact-form-section {
  background: rgba(14, 5, 26, 0.5) !important;
}

body.dark-theme .contact-form-card,
[data-theme="dark"] .contact-form-card {
  background: linear-gradient(145deg, #180a30, #0c0419) !important;
  border-color: rgba(168, 85, 247, 0.25) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .contact-form-card label,
[data-theme="dark"] .contact-form-card label {
  color: #f5f3ff !important;
}

body.dark-theme .contact-input-field,
[data-theme="dark"] .contact-input-field {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
  color: #f5f3ff !important;
}

body.dark-theme .contact-input-field:focus,
[data-theme="dark"] .contact-input-field:focus {
  border-color: #c084fc !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2) !important;
}

/* Deep Dark Purple Appointment Section in Dark Mode */
body.dark-theme .appointment-section,
body.dark-theme .appointment-section.style-1,
body.dark-theme #appointment-placeholder .appointment-section,
[data-theme="dark"] .appointment-section,
[data-theme="dark"] .appointment-section.style-1,
[data-theme="dark"] #appointment-placeholder .appointment-section,
body.dark-mode .appointment-section,
body.dark-mode .appointment-section.style-1,
body.dark-mode #appointment-placeholder .appointment-section {
  background: linear-gradient(145deg, #240a45 0%, #350f63 50%, #17052e 100%) !important;
  border-top: 1px solid rgba(168, 85, 247, 0.28) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

body.dark-theme .appointment-section .ar-title h2,
[data-theme="dark"] .appointment-section .ar-title h2 {
  color: #ffffff !important;
}

body.dark-theme .appointment-section .ar-title p,
[data-theme="dark"] .appointment-section .ar-title p {
  color: #d8b4fe !important;
}

body.dark-theme .appointment-section form input,
body.dark-theme .appointment-section form select,
body.dark-theme .appointment-section form textarea,
[data-theme="dark"] .appointment-section form input,
[data-theme="dark"] .appointment-section form select,
[data-theme="dark"] .appointment-section form textarea {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.3) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

body.dark-theme .appointment-section form select option,
[data-theme="dark"] .appointment-section form select option {
  background: #16062c !important;
  color: #ffffff !important;
}

body.dark-theme .appointment-section form label,
[data-theme="dark"] .appointment-section form label {
  color: #f5f3ff !important;
}

/* Mobile Footer WhatsApp news-input Clean Redesign */
@media (max-width: 767px) {
  .footer-section.style-1 .footer-top .footer-about .bottom .news-input {
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 10px !important;
    border-radius: 0 !important;
  }

  .footer-section.style-1 .footer-top .footer-about .bottom .news-input input,
  .footer-section.style-1 .footer-top .footer-about .bottom .news-input input.whatsapp-message-input {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 13px 18px !important;
    height: 50px !important;
    margin-bottom: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(101, 49, 190, 0.2) !important;
    color: #1e1b4b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  }

  body.dark-theme .footer-section.style-1 .footer-top .footer-about .bottom .news-input input,
  body.dark-theme .footer-section.style-1 .footer-top .footer-about .bottom .news-input input.whatsapp-message-input,
  [data-theme="dark"] .footer-section.style-1 .footer-top .footer-about .bottom .news-input input,
  [data-theme="dark"] .footer-section.style-1 .footer-top .footer-about .bottom .news-input input.whatsapp-message-input {
    background: rgba(24, 10, 46, 0.95) !important;
    border: 1.5px solid rgba(168, 85, 247, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45) !important;
  }

  .footer-section.style-1 .footer-top .footer-about .bottom .news-input .whatsapp-btn {
    width: 100% !important;
    height: 48px !important;
    border-radius: 12px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
  }
}

/* Smooth Interactive Hover Sheen on Headings & Titles across the Site */
.section-header h2,
.section-header h3,
.news-title h2,
.news-title h3,
.service-content h4,
.service-content h4 a,
.creative-info-card h4,
.contact-card-content h5,
.lab-content h3,
.lab-content h4,
.ar-title h2,
.time-info h2,
.dep-item-inner h5 {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.section-header h2:hover,
.section-header h3:hover,
.news-title h2:hover,
.news-title h3:hover,
.service-content h4:hover,
.service-content h4 a:hover,
.creative-info-card h4:hover,
.contact-card-content h5:hover,
.lab-content h3:hover,
.lab-content h4:hover,
.ar-title h2:hover,
.time-info h2:hover,
.dep-item-inner h5:hover {
  transform: translateY(-2px) !important;
  text-shadow: 0 3px 12px rgba(101, 49, 190, 0.28) !important;
}

body.dark-theme .section-header h2:hover,
body.dark-theme .section-header h3:hover,
body.dark-theme .news-title h2:hover,
body.dark-theme .news-title h3:hover,
body.dark-theme .service-content h4:hover,
body.dark-theme .service-content h4 a:hover,
body.dark-theme .creative-info-card h4:hover,
body.dark-theme .contact-card-content h5:hover,
body.dark-theme .lab-content h3:hover,
body.dark-theme .lab-content h4:hover,
body.dark-theme .ar-title h2:hover,
body.dark-theme .time-info h2:hover,
body.dark-theme .dep-item-inner h5:hover,
[data-theme="dark"] .section-header h2:hover,
[data-theme="dark"] .section-header h3:hover,
[data-theme="dark"] .news-title h2:hover,
[data-theme="dark"] .news-title h3:hover,
[data-theme="dark"] .service-content h4:hover,
[data-theme="dark"] .service-content h4 a:hover,
[data-theme="dark"] .creative-info-card h4:hover,
[data-theme="dark"] .contact-card-content h5:hover,
[data-theme="dark"] .lab-content h3:hover,
[data-theme="dark"] .lab-content h4:hover,
[data-theme="dark"] .ar-title h2:hover,
[data-theme="dark"] .time-info h2:hover,
[data-theme="dark"] .dep-item-inner h5:hover {
  transform: translateY(-2px) !important;
  text-shadow: 0 0 14px rgba(192, 132, 252, 0.65), 0 2px 10px rgba(168, 85, 247, 0.45) !important;
}


