/*
Theme Name: Jordan BMT Center
Description: WordPress theme for Jordan Bone Marrow Transplant Center
Author: Dr. Eyad
Version: 1.0
*/

/* Include all the styles from the original CSS file */

li{
      text-align: left;
}
:root {
  --primary: #0073A5;
  --primary-light: #008FD4;
  --primary-dark: #005A82;
  --neutral-light: #F5F5F5;
  --neutral-dark: #1A1A1A;
  --accent: #FFD166;
  --success: #06D6A0;
  --card-bg: #ffffff;
  --section-bg: #f9fbfd;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  color: var(--neutral-dark);
  /* overflow-x: hidden; */
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo img {
  height: 40px !important;
  width: auto !important;
  max-width: none;
}
.footer-logo img{
  height: 32px !important;
  width: auto !important;
  max-width: none;
}









/* Submenu styling without overflow properties that interfere with display */


/* Add a scrollable container inside the submenu if needed */

/* Improve submenu appearance when scrolling is needed */
* {
  scrollbar-width: thin;               /* Firefox */
  scrollbar-color: var(--primary) #f1f1f1; /* thumb color | track color */
}

/* Chrome, Edge, Safari */
*::-webkit-scrollbar {
  width: 6px;       /* thinner scrollbar */
  height: 6px;      /* for horizontal scrollbars */
}

*::-webkit-scrollbar-track {
  background: #f1f1f1;  /* track color */
}

*::-webkit-scrollbar-thumb {
  background-color: var(--primary); /* thumb color */
  border-radius: 10px;              /* rounded edges */
}

/* Optional hover effect */
*::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, var(--primary) 80%, black 20%);
}
/* Ensure submenu is visible on hover - more specific rules for nested menus */




body.admin-bar header {
  top: 32px; /* The admin bar height on desktop */
}
body.admin-bar .mobile-menu-container,body.admin-bar .sidebar-wrapper,body.admin-bar #sticky-toc {
  top: 96px; /* The admin bar height on desktop */
}


@media  (max-width: 782px) {
  
  body.admin-bar header {
  top: 46px; /* The admin bar height on desktop */

  
}
body.admin-bar .mobile-menu-container ,body.admin-bar .sidebar-wrapper,body.admin-bar #sticky-toc{
  top: 110px; /* The admin bar height on desktop */
}
 
}
@media  (max-width: 600px) {
  
  body.admin-bar header {
  top: 0; /* The admin bar height on desktop */
}
 

body.admin-bar .mobile-menu-container ,body.admin-bar .sidebar-wrapper,body.admin-bar #sticky-toc{
  top: 64px; /* The admin bar height on desktop */
}

}

/* Sub-menu styles for nested hierarchy */
.mega-menu ul ul {
  position: relative;
  left: 0;
  top: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  min-width: auto;
  transform: none;
  opacity: 1;
  visibility: visible;
  margin: 5px 0;
  padding-left: 15px;
  display: block;
}

.mega-menu ul ul a {
  font-size: 13px;
  color: #777;
  display: block;
}

.mega-menu ul ul ul {
  padding-left: 10px;
  display: block;
}

.mega-menu ul ul ul a {
  font-size: 12px;
  color: #887;
  display: block;
}






.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Hero */
.hero {
  background: linear-gradient(to bottom right, var(--primary), #000);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}



.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #0073a549, #000000) !important;
  z-index: 1;
}




.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--neutral-dark);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
  background: var(--accent);
  color: var(--neutral-dark);
}

.btn-primary:hover {
  background: #e6bc4d;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.portrait-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait-frame {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42.2%, rgba(0, 0, 0, 0.8) 84.05%);
  width: 288px;
  height: 288px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-label {
  color: var(--neutral-dark);
  padding: 12px 24px;
  margin-top: 24px;
  text-align: center;
}

.portrait-label h3 {
    color:white;
  font-size: 20px;
  font-weight: 700;
}

.portrait-label p {
    color: white;
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

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

.section-title {
  position: relative;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--neutral-dark);
}

#contact .section-title{
    color: var(--neutral-light);
}
  #contact .section-subtitle{
    opacity:0.9;
    color: white;
}
.section-subtitle {
  font-size: 20px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: #444;
  line-height: 1.6;
}

.content-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-container.single-column {
  grid-template-columns: 1fr;
}

.content-text h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.content-text h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--neutral-dark);
}

.content-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #444;
}

.content-text ul {
  margin: 16px 0;
  padding-left: 20px;
  color: #444;
}

.content-text li {
  margin-bottom: 10px;
}

.content-image {
  position: relative;
}

.content-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.content-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

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

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;

}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #444;
}

.about-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.badge h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-dark);
}

.category-header {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: white;
  padding: 28px 32px;
  text-align: center;
}

.category-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.service-item {
  text-align: left;
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #f9f9f9;
  transition: all 0.3s;
}

.service-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.service-item h3 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 12px;
}

.service-item p {
  color: #444;
  line-height: 1.6;
  margin: 0;
}

.service-step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #66BEE9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  margin-right: 16px;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 115, 165, 0.2);
}

.service-step-icon i {
  color: white !important;
  width: 32px !important;
  height: 32px !important;
}

/* Services Grid */
.services-container {
  display: grid;
  gap: 60px;
}

.service-category {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
}

.service-item {
  padding: 32px;
  border-right: 1px solid #eee;
  transition: background 0.2s ease;
  border-bottom: none;
}

.service-item:last-child {
  border-right: none;
}

.service-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-item:hover .service-icon-container {
  transform: scale(1.1);
}

.service-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--neutral-dark);
}

.service-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Support */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.support-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: all 0.3s;
}

.support-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--primary);
}



.support-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
}

.support-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.support-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--neutral-dark);
}

.support-card p {
  color: #444;
  font-size: 16px !important;
  margin-bottom: 24px !important;
  line-height: 1.6 !important;
}

.support-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.contact-card h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}

.contact-card p {
  opacity: 0.9;
}

/* Footer Contact Section */
#contact.section {
  margin-bottom: 0;
  padding: 60px 0;
}

#contact.section .section-title {
  color: white;
  text-align: center;
}

#contact.section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
}

/* Footer */
footer {
  background: var(--neutral-light);
  padding: 60px 0 30px;
  color: #333;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--neutral-dark);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: #444;
  transition: color 0.2s;
}

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

/* Footer Links Widget */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: #444;
  fill: #444;
}
.social-links a:hover {
  color: var(--primary);
    fill: var(--primary);

}


  .close-mobile-menu {
    display: none;}

  

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-content,
  .about-content,
  .content-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-checklist {
    grid-template-columns: 1fr;
  }
  

}

@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .search-desktop{
    display: none!important;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  /* Mobile Menu Container */
  .mobile-menu-container {
    border-top: 1px solid var(--primary-dark);
    position: fixed;
    left: 0;
    top: 64px;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  
  .mobile-menu-container.active {
    transform: translateX(0);
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: var(--primary);
    color: white;
  }
  
  .close-mobile-menu {
    display: none;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: none;
    align-items: center;
    justify-content: center;
  }
  
  /* Mobile Menu Styling */
  .mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-menu li {
    border-bottom: 1px solid #eee;
  }
  
  .mobile-menu > li:last-child {
    border-bottom: none;
  }
  
  .mobile-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.2s;
  }
  
  .mobile-menu a:hover {
    background: #f9f9f9;
  }
  
  /* Mobile submenu styling */
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
  }
  
  .mobile-menu ul a {
    padding-left: 40px;
    font-size: 14px;
    color: #444;
  }
  
  .mobile-menu ul ul a {
    padding-left: 60px;
  }
  
  /* For mobile menu items with icons */
  .mobile-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  

  
  /* Hide submenus by default */
  .mobile-menu ul {
    display: none;
  }
  
  .mobile-menu .active > ul {
    display: block;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }
}

/* Hide mobile menu container when screen is wider than 1000px */
@media (min-width: 1001px) {
  .mobile-menu-container {
    display: none;
  }
  
  .desktop-nav {
    display: block;
  }
}

#services {
  padding: 90px 0;
}

.services-bg-5o {
  position: relative;
  background: 
    url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 0, 50 10 T 100 10' stroke='%23e6f3fa' stroke-width='1' fill='none' opacity='0.6'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, #fcfdff,  #0073a531);
  background-size: auto 80px, auto;
}

/* Services Section Specific Styles */
.services-section {
  padding: 80px 0;
  position: relative;
  background: 
    radial-gradient(circle at 15% 50%, rgba(0, 115, 165, 0.05) 150px, transparent 150px),
    radial-gradient(circle at 85% 30%, rgba(255, 209, 102, 0.05) 150px, transparent 150px),
    var(--section-bg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #444;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Services Grid */
  .services-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      margin-top: 20px;
      position: relative;
    }



@media (max-width: 768px) {
  #sticky-toc{
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .services-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.100);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  overflow: hidden;
  border: 1px solid #e6f0f5;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
      backdrop-filter: blur(8px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 115, 165, 0.4);
}

.service-icon i {
  color: white !important;
  width: 30px !important;
  height: 30px !important;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.service-description {
  color: #444;
  margin:  20px 0;
  font-size: 16px;
  flex-grow: 1;
}

.service-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  margin-top: 10px;
  position: relative;
  padding: 6px 0;
  overflow: hidden;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

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

.service-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(3px);
}

/* Services Grid */

.service-item {
  position: relative;
  text-align: center;
  padding: 32px 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: white;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-item:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--primary);
  transform: translateY(-8px);
}

.services-bg-5 {
  background-image: 
    radial-gradient(circle, #cbd5e142 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  position: relative;
}





/* Compassionate Journey Section */
.journey-section {
  padding: 60px 0;
  background: #ffffff; /* Clean white background */
  position: relative;
}

.journey-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Journey Steps Container */
.journey-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
  padding: 50px 40px 0;
}

/* Soft curved gradient line connecting the steps */
.journey-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
  padding: 50px 40px 0;
}

/* Create a curved connecting line using SVG */
.journey-steps::before {
  content: '';
  position: absolute;
  top: 35px; /* Align with the center of the icons */
  left: 40px;
  right: 40px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent)); /* Straight line fallback */
  border-radius: 2px;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 115, 165, 0.2);
}

/* For mobile responsiveness, use a straight line */
@media (max-width: 768px) {
  .journey-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px; /* Move line to the left to avoid overlap */
    bottom: 0;
    width: 4px;
    height: auto;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
    z-index: 1;
    box-shadow: 2px 0 5px rgba(0, 115, 165, 0.2);
  }
}

/* Journey Step */
.journey-step {
  text-align: center;
  position: relative;
  z-index: 2;
  background: white;
  padding: 25px 15px;
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Soft, subtle shadow */
  transition: all 0.3s ease;
  flex: 1;
  margin: 0 15px;
  transform: translateY(0);
}

.journey-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 115, 165, 0.15); /* Soft glow effect */
}

.step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #66BEE9); /* Soft gradient as requested */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -55px auto 15px; /* Position above the card */
  color: white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 115, 165, 0.2); /* Soft icon shadow */
}

.journey-step:hover .step-icon {
  transform: scale(1.1) translateY(-3px); /* Only Y-axis movement */
  box-shadow: 0 6px 15px rgba(0, 115, 165, 0.3);
}

.step-number {
  position: absolute;
  top: -8px;
  left: 75%;
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: var(--neutral-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid white;
  z-index: 4;
  transform: translateX(-50%);
}

.journey-step h3 {
  margin: 0 0 10px;
  color: #1A1A1A; /* Dark navy/gray as requested */
  font-size: 18px;
  font-weight: 600; /* Bold title */
}

.journey-step p,
.service-content p {
  color: #444; /* Soft gray for readability */
  margin: 0;
  line-height: 1.5 !important;
  font-size: 14px !important;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .journey-steps {
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-top: 20px;
  }
  
  .journey-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px; /* Move line to the left to avoid overlap */
    bottom: 0;
    width: 4px;
    height: auto;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
    z-index: 1;
    box-shadow: 2px 0 5px rgba(0, 115, 165, 0.2);
  }
  
  .journey-step {
    width: 90%;
    max-width: 400px;
    margin: 40px 0; /* Space for vertical line */
    padding: 25px 15px 25px 70px; /* Add left padding to accommodate line and icon */
    position: relative;
    text-align: left; /* Align text to left */
  }
  
  .step-icon {
    position: absolute;
    top: 50%;
    left: 10px; /* Position to the left of the card */
    transform: translateY(-50%);
  }
  
  .step-number {
    position: absolute;
    top: 15px;
    left: 55px; /* Position to the right of the icon */
    transform: none;
  }
  
  .journey-step h3,
  .journey-step p {
    margin-left: 60px; /* Add margin to account for icon */
    text-align: left;
  }
}

/* FAQ Section */
.faq-section {
  background-color: var(--neutral-light);
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #444;
  line-height: 1.6;
}

.faq-answer.active {
  padding: 0 24px 24px;
  max-height: 500px; /* Adjust as needed */
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}



/* Tabbed interface styles */
.tabs {
  display: flex;
  flex-wrap: wrap;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
  margin-bottom: -1px;
  z-index: 1;
}

.tab {
  padding: 14px 24px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #444;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px 8px 0 0;
  margin: 0;
  position: relative;
}

.tab.active {
  background: white;
  color: var(--primary);
  position: relative;
  top: 1px;
}

.tab:hover {
  background: #e9ecef;
  color: var(--primary);
}

.tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: transparent;
  transition: all 0.3s ease;
}

.tab:hover::after {
  width: 100%;
  background: var(--primary-light);
}

.tab.active::after {
  width: 100%;
  background: var(--accent);
}

.tab-content {
  display: none;
  padding: 20px;
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.tab-content.active {
  display: block;
}

/* Sticky Table of Contents */
.sticky-toc {
  position: sticky;
  top: 64px; /* Account for header height */
  background: var(--neutral-light);
  padding: 20px 0;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sticky-toc .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.sticky-toc h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 0;
  flex: 1;
}

.sticky-toc ul {
  width: 100%;

  margin-top: 10px;
  padding: 0;
  list-style: none;
  display: flex
;

justify-content: center;
    flex-wrap: wrap;
}

.sticky-toc li {
  display: inline-block;
  text-align: center;

}

.sticky-toc a {
  text-transform:capitalize;
  color: var(--neutral-dark);
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
  font-size: 16px;

}

.sticky-toc a:hover {
  background: rgba(0, 115, 165, 0.151);
  color: var(--primary);
}

.sticky-toc a.active {
  background: var(--primary);
  color: white;
}

/* Responsive adjustments for sticky TOC */
@media (max-width: 992px) {
  .sticky-toc .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  

  
  .sticky-toc h3 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .sticky-toc {
    /* top: 70px; */
    padding: 15px 0;
  }
  
 
  
  .sticky-toc a {
    padding: 6px 10px;
    font-size: 14px;
  }
}
@media (max-width: 550px) {

    .content-checklist {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {

  .sticky-toc li {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .sticky-toc a {
    width: 100%;
    text-align: center;
  }
}

/* Symptoms Infographic Styles */
.symptoms-infographic {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: visible;
  aspect-ratio: 1/1;
}

.symptoms-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 40%;
  min-width: 150px;
  min-height: 150px;
  max-width: 200px;
  max-height: 200px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 115, 165, 0.3);
  z-index: 2;
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.symptoms-node {
  position: absolute;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.symptoms-label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: white;
  color: var(--neutral-dark);
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(0, 115, 165, 0.15);
  position: relative;
  overflow: visible;
  border: 2px solid var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Segoe UI", system-ui, sans-serif;
}

.symptoms-label:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 115, 165, 0.25);
  z-index: 10;
  border-color: var(--accent);
}

.symptoms-label::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 115, 165, 0.3);
  border: 2px solid white;
}

svg.symptoms-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}



/* Disorder category styles */
.disorder-category {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.disorder-category:last-child {
  margin-bottom: 0;
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 12px;
  color: white;
  height: 100%;
  min-height: 200px;
  justify-content: center;
}

.stat-card {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-number span {
  font-size: 16px;
  font-weight: 400;
}

.test-category {
  margin: 20px 0;
}

.test-item {
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-left: 3px solid var(--primary-light);
}

.test-item h4 {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: 18px;
}

/* Diagnostic steps */
.diagnostic-step {
  display: flex;
  margin-bottom: 24px;
  position: relative;
}

.diagnostic-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 30px;
  left: 23px;
  height: calc(100% + 24px);
  width: 2px;
  background: var(--primary-light);
}

.step-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  z-index: 1;
  margin-right: 16px;
}

.step-content {
  padding-top: 6px;
}

.step-title {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
}

.step-description {
  margin: 0;
  color: #444;
}

/* Prognosis styles */
.prognosis-intro {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.prognosis-section {
  margin-bottom: 25px;
}

.prognosis-section h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.prognosis-section h4::before {
  content: "•";
  color: var(--accent);
  font-size: 24px;
  margin-right: 10px;
}

.prognosis-section p {
  margin: 0 0 0 28px; /* Indent to align with the bullet */
  color: #444;
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--neutral-light);
  border-radius: 12px;
  height: 100%;
  min-height: 200px;
  align-content: center;
}

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

.icon {
  width: 40px;
  height: 40px;
}

.treatment-section {
  margin: 20px 0;
}

.treatment-item {
  margin-bottom: 18px;
  padding: 15px;
  /* background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-left: 3px solid var(--accent); */
}

.treatment-item h4 {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: 18px;
}

.treatment-item p {
  margin: 0;
  color: #444;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  height: 100%;
  min-height: 200px;
}

.info-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.info-card h4 {
  margin: 0 0 10px 0;
  color: var(--primary);
  font-size: 16px;
}

.prognosis-item {
  margin-bottom: 18px;
  padding: 15px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-left: 3px solid var(--primary-dark);
}

.prognosis-item h4 {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: 18px;
}

.prognosis-item p {
  margin: 0;
  color: #444;
}

/* Accordion styles */
.accordion {
  width: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 16px 20px;
  background: #f8f9fa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
}

.accordion-header:hover {
  background: #e9ecef;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.accordion-content p {
  padding: 0 20px 20px;
  margin: 0;
  color: #444;
}

.accordion-content.active {
  max-height: 500px; /* Adjust as needed */
}

/* Service grid responsive styles */
@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .service-content{
    margin-top: 0!important;
  }
}




.service-card {

  position: relative;
}

.service-step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #66BEE9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  position: absolute;
  top: -35px; /* Position above the card */
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 115, 165, 0.2);
  z-index: 2;
}

.service-step-icon i {
  color: white !important;
  width: 32px !important;
  height: 32px !important;
}

.service-content {
  text-align: center;
  padding: 0 10px;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
  animation: fadeIn 0.5s;
}

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

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .content-container {
    grid-template-columns: 1fr; /* Stack content on mobile */
    text-align: center;
  }
  
  .content-image {
    order: -1; /* Image first on mobile */
    margin-bottom: 20px;
  }
}

.footer-col p{
  color: #444;
    margin-bottom: 24px;
    line-height: 1.6;
}


/*
dieases page

*/


 

  
    /* Sidebar styles */
    .sidebar-wrapper {
      position: sticky;
      left: 0;
      top: 64px;
      height: calc(100vh - 64px);
      z-index: 999;
      width: 330px;
    }
    
    .sidebar {
      height: 100%;
      overflow-y: hidden;
      background: var(--primary);
      transition: transform 0.3s ease;
            display:flex;
        flex-direction: column; /* Stack h3 and ul vertically */
    }
    
    .sidebar h3 {


      color: white;
      text-align: center;
      padding: 15px 45px 15px 10px;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      background: rgba(0,0,0,0.1);
      position: relative;
    }
    
    /* Toggle button inside sidebar */
    .toggle-btn {
      position: absolute;
      top: 1rem;
      right: -16px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--primary-dark);
      color: white;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
      z-index: 10000;
      border:2px solid var(--accent)
    }

    /* Rotate arrow when collapsed */
    .sidebar-wrapper.collapsed .toggle-btn {
      transform: rotate(180deg);
      right: -32px;
      border: 2px solid var(--accent)
    }
    
    .sidebar-wrapper.collapsed {
      width: 0;
    }
    
    .sidebar ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .sidebar li {
      padding: 8px 15px;
      border-left: 3px solid transparent;
    }

    .sidebar li a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      display: block;
      transition: all 0.2s;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .sidebar li a:hover {
      color: white;
    }

    .sidebar li:hover {
      background: rgba(255,255,255,0.1);
    }

    .sidebar li:hover a {
      color: white;
    }

    .sidebar li.active {
      border-left: 3px solid var(--accent);
      background: rgba(255,255,255,0.15);
    }

    .sidebar li.active a {
      color: white;
    }
    
    .submenu li.active {
      background: rgba(255,255,255,0.1);
      border-left: 3px solid var(--accent);
    }

    /* Collapsible submenu styles */
    .sidebar .has-submenu {
      position: relative;
    }


    .sidebar .has-submenu.active > a::after {
      transform: rotate(90deg);
    }

    .submenu {
      display: none;
      padding-left: 25px;
      background: rgba(0, 0, 0, 0.2);
      flex-direction: column;
    }

    .submenu.active {
      display: block;
    }

    .submenu a {
      font-size: 14px;
      padding: 8px 15px;
      display: block;
    }
    
    .submenu a:hover {
      background: rgba(255,255,255, 0.15);
    }

    /* Sticky Table of Contents */
    .sticky-toc {
      position: sticky;
      top: 64px;
      background: var(--neutral-light);
      padding: 20px 0;
      z-index: 90;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .sticky-toc .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .sticky-toc h3 {
      font-size: 20px;
      color: var(--primary);
      margin: 0;
      flex: 1;
    }

    
 

    .sticky-toc a {
      color: var(--neutral-dark);
      font-weight: 500;
      transition: all 0.3s;
      text-decoration: none;
      padding: 8px 12px;
      border-radius: 6px;
      display: block;
    }

    .sticky-toc a:hover {
      background: rgba(0, 115, 165, 0.1);
      color: var(--primary);
    }

    .sticky-toc a.active {
      background: var(--primary);
      color: white;
    }

    /* Responsive adjustments for sticky TOC */
    @media (max-width: 992px) {
      .sticky-toc .container {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
      }
      
     
      
      .sticky-toc h3 {
        width: 100%;
      }
    }

    @media (max-width: 768px) {
      .sticky-toc {
        padding: 15px 0;
      }
      
    
      
      .sticky-toc a {
        padding: 6px 10px;
        font-size: 14px;
      }
      
      /* Mobile adjustments for sidebar */
      .sidebar {
 
        transition: transform 0.3s ease;
        z-index: 1000;
        top: 64px;
        height: calc(100vh - 64px);
      }

      
      .mobile-sidebar-overlay {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
      }
      
      .mobile-sidebar-overlay.active {
        display: block;
      }
    }

    @media (max-width: 480px) {

      
      .sticky-toc li {
        width: 100%;
        margin-bottom: 5px;
      }
      
      .sticky-toc a {
        width: 100%;
        text-align: center;
      }
    }

    /* Main content adjustment for sidebar */
    .main-content {
      /* margin-left: 330px; */
        width: 100%;
      padding: 0;
      transition: margin 0.3s ease;
    }
    
  


    /* Responsive adjustments */
    @media (max-width: 992px) {

 
  footer{
        z-index: 0;
      }
        .sidebar-wrapper {
      position: fixed;
    }
      .mobile-menu-btn {
        display: block;
      }

  

      
      /* Mobile adjustments for sidebar and sticky TOC */
      .sidebar {
 
        
        transition: transform 0.3s ease;
        z-index: 1000;
        top: 64px;
        height: calc(100vh - 64px);
      }

      .sidebar.active {
        transform: translateX(0);
      }
      
      .sidebar-.active.collapsed {
        transform: translateX(-280px);
      }
      
      .mobile-sidebar-overlay {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
      }
      
      .mobile-sidebar-overlay.active {
        display: block;
      }
      
      .sidebar-toggle-btn {
        position: fixed !important;
        top: 75px;
        left: 15px;
        z-index: 1001;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: all 0.2s ease, left 0.3s ease;
      }
      
      .sidebar-toggle-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
      }
    }

    @media (max-width: 480px) {
      .sticky-toc .container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
      }
      
   
      
      .sticky-toc li {
        width: 100%;
      }
      
      .sticky-toc a {
        text-align: center;
      }
    }

    .sidebar ul li {
  margin: 1rem 0;
  width: 100%;
  word-wrap: break-word;      /* Break long words */
  overflow-wrap: break-word;  /* Modern equivalent */
}

.sidebar ul li a {
  text-decoration: none;
  font-weight: 500;
  display: block;             /* Makes the link fill li width */
  width: 100%;                /* Ensure it follows parent width */
  white-space: normal;        /* Allow text to wrap */
  line-height: 1.4;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.contact-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: white;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #66BEE9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 24px;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 115, 165, 0.2);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-icon i {
  color: white !important;
  width: 32px !important;
  height: 32px !important;
}

.contact-card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
}

.contact-card p {
  text-align: center;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Contact Forms Section */
.contact-forms {
  padding: 80px 0;
  background: var(--neutral-light);
  position: relative;
  overflow: hidden;
}

.contact-forms::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 50%, rgba(0, 115, 165, 0.05) 150px, transparent 150px),
    radial-gradient(circle at 85% 30%, rgba(255, 209, 102, 0.05) 150px, transparent 150px);
  pointer-events: none;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Tab Styles */
.tabs {
  display: flex;
  color: white;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  font-size: 16px; /* Smaller font for mobile */
}

.tab.active {
  background: white;
  color: var(--primary);
}

.tab:not(.active):hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 480px) {
  .tab {
    padding: 16px 10px;
    font-size: 14px;
  }
}

.tab-content {
  display: none;
  padding: 40px;
}

.tab-content.active {
  display: block;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--neutral-dark);
}

.form-group label span {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 115, 165, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background: var(--primary-dark);
}





           .arrival-grid{
      display:grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 10px;
    }
     @media (max-width: 980px) {
      .arrival-grid{

      grid-template-columns: 1fr 1fr ;
   
    }
    
    .arrival-card{
      margin-top:30px !important;
    }
     }
 @media (max-width: 530px) {
       .arrival-grid{

      grid-template-columns: 1fr ;
   
    }
 }
    .arrival-content p {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
}
    .arrival-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #0073A5);
    margin-bottom: 10px;
}
    .arrival-card{

      text-align: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 50px 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    margin: 0 10px;
    min-width: 200px;
    }
    .arrival-step-icon{
          position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary, #0073A5), #008FD4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 115, 165, 0.2);
    z-index: 3;
    }


      
    /* Journey Layout Styles */
    .journey-layout {
      display: flex;
      justify-content: space-between;
      position: relative;
      margin-top: 80px;
      flex-wrap: wrap;
    }
    .steps-container{
      display: flex;
    }


    /* Timeline connector for desktop */
    .journey-connector {
      position: absolute;
      top: -5px; /* Position in the middle of the icons */
      left: 12.5%;
      right: 12.5%;
      height: 4px;
      background: linear-gradient(to right, var(--primary, #0073A5), var(--accent, #FFD166));
      border-radius: 2px;
      z-index: 1;
    }

    .journey-step {
      text-align: center;
      position: relative;
      z-index: 2;
      background: white;
      padding: 50px 15px 20px; /* Increased top padding to accommodate icon above */
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      flex: 1;
      margin: 0 10px;
      min-width: 200px;
    }

    .journey-step-icon {
      position: absolute;
      top: -35px; /* Position above the card */
      left: 50%;
      transform: translateX(-50%);
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, var(--primary, #0073A5), #008FD4);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      border: 4px solid white;
      box-shadow: 0 4px 10px rgba(0, 115, 165, 0.2);
      z-index: 3; /* Above the timeline */
    }

    .journey-step-icon i {
      color: white !important;
      width: 32px !important;
      height: 32px !important;
    }

    .journey-step h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--primary, #0073A5);
      margin-bottom: 10px;
    }

    .journey-step p {
      color: #666;
      line-height: 1.5;
      font-size: 14px;
      margin: 0;
    }


    /* Mobile styles */
    @media (max-width: 980px) {
      .journey-layout {
        flex-direction: row;
        align-items: center;
        margin-top: 40px;
        justify-content: center;
      }
             .steps-container{
      flex-direction: column;
    }
      /* Vertical timeline connector for mobile */
      .journey-connector {
        position: relative;
        top: 0;
        bottom: 0;
        left: 40px; /* Center of the icons */
        right: auto;
        width: 4px;
        height: 600px;
        background: linear-gradient(to bottom, var(--primary, #0073A5), var(--accent, #FFD166));
      }
      
      .journey-step {
        text-align: left;
        width: 90%;
        max-width: 400px;
        margin: 20px 0;
        padding: 25px 25px 25px 90px; /* Increased left padding for icon */
      }
      
      .journey-step-icon {
        position: absolute;
        top: 30px; /* Position in the middle of the card */
        left: 10px;
        transform: none;
        width: 60px;
        height: 60px;
        margin: 0;
      }
      
      .journey-step h3,
      .journey-step p {
        margin-left: 0;
      }
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {

      
      .journey-layout {
        margin-top: 40px;
      }
      
      .journey-step {
        min-width: auto;
        width: 90%;
      }
    }




    
  .benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;

    position: relative;
  }
  
  .benefit-container {
    display: flex;
    position: relative;
    align-items:center;
  }
  
  .benefit-card {
    min-height:500px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 36px 30px; /* 10% smaller than original */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    width: calc(50% - 20px); /* Account for gap */
  }
  
  .benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary, #0073A5);
  }
  
  .benefit-image {
    width: calc(50% + 40px); /* Wider to account for overlap */
    min-height: 300px;
    height:600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1;
  }
  
  .benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .benefit-container.even .benefit-card {
    margin-right: auto;
    margin-left: -120px; /* Box -40px to the left (relative to image on right) */
  }
  
  .benefit-container.odd .benefit-card {
    margin-left: auto;
    margin-right: -120px; /* Box -40px to the right (relative to image on left) */
  }
  
  .benefit-container.odd .benefit-image {
    order: 0; /* Image first for odd items */
  }
  
  .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  }
  
  .benefit-title {
    text-align:center;
    position: relative;
    font-size: 1.6rem;
    color: var(--neutral-dark);
    margin-bottom: 15px;
    font-weight: 700;
  }
  .benefit-title::after

 {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}
  .benefit-content {
    color: #333;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: left;
  }
  
  @media (max-width: 980px) {
        .benefit-card {
  min-height: 360px;
}
    .benefit-container.even .benefit-card{
      top: -300px;
    }
       .benefit-container.odd .benefit-card{
      bottom: -300px;
    }
     .benefits-grid {
      gap: 60px;
    } 
       .benefit-container.even{
         margin-bottom: -300px ;
      }
          .benefit-container.odd{
         margin-top: -300px ;
      } 
    .benefit-container {
      flex-direction: column;
        
    }
    
    .benefit-card,
    .benefit-image {
      width: 100%;
    }
    
    .benefit-card {
      margin: 0 !important;
    }
    
    .benefit-image {
      width: calc(100% + 80px); /* Wider image to account for both sides */
     
    }
    
    .benefit-container.odd .benefit-image {
      order: 0; /* Reset image order on mobile */
    }
    
    .benefit-container.even .benefit-image {
  
      border-radius: 12px 12px 0 0;
    }
    
    .benefit-container.odd .benefit-image {

      border-radius: 0 0 12px 12px;
    }
  }
  

  


  
  .quote-box {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent, #FFD166);
    position: relative;
    z-index: 2;
  }
  
  .quote-text {
    font-style: italic;
    color: #444;
    font-size: 1.4rem;
    line-height: 1.7;
    font-weight: 500;
  }
  
  .quote-text::before {
    content: "";
    font-size: 3rem;
    position: absolute;
    left: 10px;
    top: -20px;
    color: rgba(0, 115, 165, 0.1);
    font-family: serif;
  }
  
  .quote-text::after {
    content: "";
    font-size: 3rem;
    position: absolute;
    right: 10px;
    bottom: -40px;
    color: rgba(0, 115, 165, 0.1);
    font-family: serif;
  }
  
  

  /* SVG for clip path */
  .svg {
    position: absolute;
    width: 0;
    height: 0;
  }

  
  @media (max-width: 768px) {
  
   
    
    .benefits-grid {
      grid-template-columns: 1fr;

      padding: 0;
    }
    
    .benefit-card {
      padding: 30px 20px;
    }
    
    .benefit-icon {
      width: 70px;
      height: 70px;
    }
    
    .benefit-icon i {
      width: 30px;
      height: 30px;
    }
 
    
    .quote-box {
      padding: 30px 20px;
      margin: 30px 10px;
    }
    
    .quote-text {
      font-size: 1.2rem;
    }
  
  }


  .timeline-container {
  padding: 20px 0;
}

.timeline {
  position: relative;
  margin: 0 auto;
}

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

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

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-marker, .timeline-icon {
  position: absolute;
  width: 26px;
  height: 26px;
  right: -13px;
  top: 15px;
  background: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item:nth-child(even) .timeline-marker,
.timeline-item:nth-child(even) .timeline-icon {
  left: -13px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 115, 165, 0.15);
}

.timeline-title {
  margin: 0 0 10px 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
}


@media (max-width: 768px) {

  .timeline::after {
    left: 13px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(even) {
    left: 0%;
  }

  .timeline-icon {
    left: 0 !important;
  }
}


.main-content  li::before {

 content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  /* mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23007bff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="1"/></svg>') no-repeat center; */
  mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ccircle cx='12' cy='12' r='10' fill='%23fff'/%3e%3ccircle cx='12' cy='12' r='1' fill='%23fff'/%3e%3c/svg%3e") no-repeat center;
-webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ccircle cx='12' cy='12' r='10' fill='%23fff'/%3e%3ccircle cx='12' cy='12' r='1' fill='%23fff'/%3e%3c/svg%3e") no-repeat center;
  mask-size: contain;
  background-color: var(--primary); 
  transition: background-color 0.2s ease;
  /* margin-left: -1em; */
}
.main-content ul li{
  position: relative;
  padding-left: 1em;
      margin-right: 10px;
       list-style: none;

}

#sticky-toc li::before{
  content: "";
  display: block;
  mask: none;
  background-color: transparent;
}

#sticky-toc h3{
  margin-left:20px ;
}


/* --------------------------------*/
.site-main {
  width: 100%;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.sidebar-scroll {
  overflow-y: auto;
}

.bg-symptoms {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.bg-diagnosis {
  background-color: #e6f7ff;
  padding: 60px 0;
}

.bg-prognosis {
  background-color: #f8f9fa;
  padding: 60px 0;
}



.custom-section.symptoms {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.custom-section.diagnosis {
  background-color: #e6f7ff;
  padding: 60px 0;
}

.custom-section.prognosis {
  background-color: #f8f9fa;
  padding: 60px 0;
}

/* Force consistent text size for all p and li elements on disease pages */
.content-text p,
.content-text li,
.section p,
.section li,
.card p,
.card li,
.content-container p,
.content-container li,
.tab-content p,
.tab-content li,
.accordion-content p,
.accordion-content li,
.symptoms-infographic p,
.disorder-category p,
.disorder-category li,
.test-item p,
.test-item li,
.diagnostic-step p,
.diagnostic-step li,
.prognosis-section p,
.prognosis-section li,
.treatment-item p,
.treatment-item li,
.info-card p,
.info-card li,
.prognosis-item p,
.prognosis-item li,
.sticky-toc p,
.sticky-toc li,
.main-content p,
.main-content li {
   font-size: 18px ;
   line-height: 1.7 ;
}

/* Ensure nested elements also have consistent sizing */
.content-text ul li p,
.content-text ol li p {
   font-size: 18px !important;
   line-height: 1.7 !important;
}

/* Submenu arrow icon styling */
.sidebar .has-submenu > a {
   position: relative;
   padding-right: 40px; /* Make space for the arrow icon */
}

.submenu-arrow {
   position: absolute;
   right: 15px;
   top: 50%;
   transform: translateY(-50%);
   transition: transform 0.3s ease;
   width: 16px;
   height: 16px;
}

.has-submenu.active .submenu-arrow {
   transform: translateY(-50%) rotate(90deg);
}

/* SVG for clip path */
.svg {
  position: absolute;
  width: 0;
  height: 0;
}



.card{
    
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-left: 4px solid var(--accent);
    margin: 20px 0;
}

.card h3 {
    margin-top: 0;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
}

  .tabactive {
    display: block;
}

/* Search Styles */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  color: #333;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px; /* Add spacing from nav */
}

.search-btn:hover {
  background: #f0f0f0;
  color: var(--primary);
}

.search-form-container {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 16px;
  width: 300px;
  z-index: 1000;
  display: none; /* Hidden by default */
  margin-top: 8px; /* Add spacing from header */
}

.search-form-container.active {
  display: block;
}

.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-field {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.search-submit {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 7px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit:hover {
  background: var(--primary-dark);
}

/* Desktop header adjustments */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile adjustments */
@media (max-width: 1000px) {
  .mobile-search-container {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: white;
  }
  
  .mobile-search-input-container {
    display: flex;
    gap: 8px;
  }
  
  .mobile-search-container .search-field {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px; /* Larger for mobile */
  }
  
  .mobile-search-container .search-submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-search-container .search-submit-btn:hover {
    background: var(--primary-dark);
  }
  
  .desktop-nav {
    display: none;
  }
  
  .search-form-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    right: auto;
  }
  
  .search-btn {
    margin-left: 10px;
  }
}

/* Ensure proper alignment in header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Search Results Styles */
.search-results {
  margin-bottom: 40px;
}

.search-result-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item h3 {
  margin: 0;
  font-size: 20px;
}

.search-result-item h3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.search-result-item h3 a:hover {
     color: var(--primary);
    background: #f8f9fa;
    padding-left: 20px;
}

/* Pagination Styles */
.search-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.search-pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 5px;
  background: #f8f9fa;
  color: #444;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  border: 1px solid #ddd;
}

.search-pagination .page-numbers:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.search-pagination .page-numbers.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.search-pagination .page-numbers.dots {
  background: transparent;
  border: none;
  cursor: default;
}

.search-pagination .prev,
.search-pagination .next {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.search-pagination .prev:hover,
.search-pagination .next:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Archive Page Styles */
.disease-categories,
.procedure-list,
.treatment-list {
  margin: 40px 0;
}

.disease-category,
.sub-categories {
  margin-bottom: 40px;
}

.category-title {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--neutral-light);
}

.subcategory-title {
  font-size: 22px;
  color: var(--primary-dark);
  margin: 25px 0 15px 0;
}

.disease-items,
.procedure-items,
.treatment-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.disease-item,
.procedure-item,
.treatment-item {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.disease-item:last-child,
.procedure-item:last-child,
.treatment-item:last-child {
  border-bottom: none;
}

.disease-item a,
.procedure-item a,
.treatment-item a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  transition: color 0.2s;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.disease-item a:hover,
.procedure-item a:hover,
.treatment-item a:hover {
  color: var(--primary);
  background: #f8f9fa;
  padding-left: 20px;
}

/* Hero section specific to archive pages */
.hero.disease-hero,
.hero.procedure-hero,
.hero.treatment-hero {
  padding: 60px 0;
}

.mobile-menu-container a:hover{
  color: var(--primary);
  background: #008fd40d;
}

.mobile-search-input-container{
  width:100%;
}
 .search-field:focus, .search-field:focus-visible, .search-field:hover{
  border: 1px solid var(--primary);
  outline-color: var(--primary);
}


  .hero{
        overflow: hidden;
    background-size: cover;
    background-position-x: center;
        background-position-y: center;
  }

  .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
  }

  
.card-content p,.timeline-content p ,.arrival-content p{
  font-size: 16px !important;
  margin: 0 !important;
}


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

.hero{
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-text{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text p{
  text-align: center;
  max-width: 700px;
}






.toggle-btn {
 


}

/* minimal attention animation (pulse + glow) */
@keyframes pulseAttention {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  }50% {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(0, 150, 255, 0.4);
  }

}

/* WhatsApp Floating Button Styles */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-float-button {
    width: 60px;
    height: 60px;
    background: #25D366; /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float-button:hover {
    background: #128C7E; /* Darker green on hover */
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

.whatsapp-icon path {
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-button {
        width: 54px;
        height: 54px;
    }
}
  

/* apply only initially */
.toggle-btn.attention {
  animation: pulseAttention 1s ease-in-out 5;
}



@media (max-width:480px) {
  .footer-grid{
      padding: 3rem 2rem;
  }
  
}

@media (max-width:350px) {
  .footer-grid{
      padding: 2rem 1rem;
  }
  
}






/*nav --------------------------------------------------*/

.desktop-nav {
  position: relative;
  background: #fff;
  z-index: 100000;
}

.desktop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
 
}

.desktop-nav > ul.main-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav li {
  position: relative;
}

.sub-menu{
  width: 310px;
}

.mobile-menu .sub-menu{
  width: 100%;
}
.desktop-nav{
  line-height: 1.7;
}
nav .sub-menu a  {

  white-space: wrap;
   padding: 12px 16px;
}
nav a {
  display: block;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
 
  white-space: nowrap;
}
.desktop-nav a:hover {
  color: var(--primary);
  background: #008fd40d;
}

/* --- Submenus --- */
.desktop-nav .sub-menu {
  
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
   box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 12px;
  display: none;
  min-width: 240px;
  z-index: 10;
  max-height: 568px;
}

.desktop-nav li:hover > .sub-menu {
  display: block;
}

/* --- 3rd and deeper levels (open to the LEFT) --- */
.desktop-nav .sub-menu .sub-menu {
  top: 0;
  left: auto;
  right: 100%; /* open to the left of parent */
  border-right: 1px solid #eee;
  border-left: none;
}

.desktop-nav .sub-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  right: auto; /* open to the left of parent */
  border-right: 1px solid #eee;
  border-left: none;
  overflow-y: auto !important;
}

/* --- Scrollable only if needed --- */
.desktop-nav .sub-menu.scrollable {
  max-height: 400px;
  overflow-y: auto;
}

/* --- Active / Current item highlight --- */
.desktop-nav .current-menu-item > a,
.desktop-nav .current-menu-ancestor > a {
  color: #0073aa;

}

/* --- Icons --- */
.desktop-nav .menu-icon {
  margin-left: 6px;
  flex-shrink: 0;
}

/* --- Prevent scroll clipping --- */
.desktop-nav,
.desktop-nav ul,
.desktop-nav li {
  overflow: visible !important;
}



@media (max-width:480px){
  .timeline-content{
    padding-top: 55px;

  }
  .timeline-item{
    padding-left: 0;
    padding-right: 0;
  }
  .timeline::after {
    z-index: -1;
  }
  .cards-container {
      grid-template-columns: 1fr;

    }

    .timeline-marker{
      display: none !important;
    }
}


 .timeline-marker{
  position: absolute;
  right: -25px;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
/* other */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary, #0073A5), #008FD4);
    color: white;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 115, 165, 0.2);

  }
  .timeline-item:nth-child(even) .timeline-marker {
  left: -25px;
}
@media (max-width: 768px) {

   .timeline-marker{
    width: 40px;
    height: 40px;
  left: -7.5px;
   }
  .timeline-item:nth-child(even) .timeline-marker {
  left: -7.5px;
}
}


#sticky-toc li{
 padding: 0 !important ;
  margin: 0 !important ;
}



.four_columns_list ul{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.three_columns_list ul{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr ;
}
.two_columns_list ul{
  display: grid;
  grid-template-columns:  1fr 1fr ;
}

@media(max-width:1000px){
.four_columns_list ul{

  grid-template-columns: 1fr 1fr 1fr ;
}
.three_columns_list ul{

  grid-template-columns: 1fr 1fr  ;
}

}


@media(max-width:768px){
.four_columns_list ul{

  grid-template-columns: 1fr 1fr  ;
}

.two_columns_list ul{
  display: grid;
  grid-template-columns:  1fr  ;
}

}


@media(max-width:480px){
.four_columns_list ul{

  grid-template-columns: 1fr   ;
}

.three_columns_list ul{

  grid-template-columns: 1fr  ;
}

}













   /* CTA Section Styles */
      .featured-cta-img-wrap img {
    max-width:500px;
   }
   .cta-section {
      padding: 60px 0;
      position: relative;
      overflow: hidden;
     
    }

     .featured-cta {
      background: var(--primary-dark);
      color: #ffffff;
      border-radius: clamp(0.75rem, 0.4722222222rem + 0.9259259259vw, 1.25rem);
    
      display: grid;
      grid-template-columns: 1fr 1fr ;
      overflow: hidden;

    }
.featured-cta-bd { order: 1; }
.featured-cta-img-wrap { order: 2; }
    @media (max-width:1000px) {
        .featured-cta {
  
      grid-template-columns: 1fr;
   

    }
    .featured-cta-bd { order: 2; }
.featured-cta-img-wrap { order: 1; }

.featured-cta .svg{
  display: none;
}
    }

        @media (max-width: 1500px) {
      .featured-cta {
       margin: 0 20px;
      }
   
    }
     
    @media  (min-width: 1200) {
      .featured-cta {
        max-height: 500px;
      }
   
    }

    .featured-cta-bd {
      padding: 30px;
      margin: auto 1.875rem auto 0;
      flex-grow: 1;
      order: 1;
    }

    .featured-cta .section-title {
      font-size: clamp(1.875rem, 1.4583333333rem + 1.3888888889vw, 2.625rem);
      color: #ffffff;
      margin: 0.5em 0;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      line-height: 1.2;
    }

    .featured-cta .section-text {
      font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1.1rem);
      color: rgba(255, 255, 255, 0.9);
      margin-top: 1rem;
      font-family: 'Montserrat', sans-serif;
    }

    .featured-cta .section-text p {
      margin-bottom: 15px;
    }

   .featured-cta .highlight {
      background: linear-gradient(120deg, rgba(255, 209, 102, 0.3), transparent 100%);
      background-repeat: no-repeat;
      background-size: 100% 40%;
      background-position: 0 90%;
      color: var(--white);
      font-weight: 600;
    }

    .cta-button {
      display: inline-block;
      background: var(--accent);
      color: var(--primary-dark);
      padding: 14px 26px;
      border-radius: 8px;
      font-weight: 700;
      font-size: clamp(1rem, 0.8611111111rem + 0.462962963vw, 1.25rem);
      text-align: center;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      margin-top: 20px;
      max-width: 35rem;
    }

  

    .featured-cta-img-wrap {
      clip-path: url(#my-clip-path);
      transform: translateZ(0);
      display: block;
   
    }

    .featured-cta-img {
      background-position: center center;
      background-size: cover;
      background-repeat: no-repeat;
      width: 100%;
      height: 100%;
      min-height: 400px;
    }

    .featured-cta-img img {
      display: block;
      visibility: hidden;
    }

  
    @media (max-width: 768px) {
           .cta-section {
      padding: 60px 0;
    
    }
    }
  
.featured-cta-img-bg {
  background-size: cover;
  background-position: center;
}






@media(max-width:1150px){


body:has(.sidebar-wrapper:not(.collapsed))  .featured-cta {
grid-template-columns: 1fr!important ;
}
body:has(.sidebar-wrapper:not(.collapsed)) .featured-cta-bd { order: 1!important; }
body:has(.sidebar-wrapper:not(.collapsed)) .featured-cta-img-wrap { order: 2!important; }

body:has(.sidebar-wrapper:not(.collapsed)) .featured-cta .svg{
display: none!important;
}
}

