/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  /* Primary Colors */
  --primary-blue: #007bff;
  --primary-dark-blue: #0056b3;
  --primary-light-blue: #3498db;
  --secondary-blue: #2c5282;
  
  /* Accent Colors */
  --accent-red: #c03d3d;
  --accent-dark-red: #a03131;
  
  /* WhatsApp/Social Colors */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --facebook-blue: #1877F2;
  --instagram-pink: #E4405F;
  --twitter-blue: #1DA1F2;
  --email-red: #EA4335;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #6c757d;
  --text-dark: #2c3e50;
  --text-light: #555555;
  --black: #1a1a1a;
  --dark-bg: #333333;
  --footer-dark: #222222;
  
  /* Background Colors */
  --bg-light: #F5F5F5;
  --bg-white: #ffffff;
  
  /* Border Colors */
  --border-light: #ddd;
  --border-medium: #ccc;
  --border-dark: #1a1a1a;
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
#scrollUp {
  bottom: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  background: url(../images/top.png) no-repeat;
}

/* ============================================
   TOP HEADER SECTION
   ============================================ */
.top-heading {
  background-color: var(--primary-blue);
  padding: 10px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Call Us Link Styling */
a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background-color: var(--facebook-blue);
  padding: 10px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

a[href^="tel:"]:hover {
  background-color: var(--light-gray);
  color: var(--primary-light-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(247, 248, 248, 0.479);
  text-decoration: none;
}

a[href^="tel:"] .fa-phone {
  color: var(--white);
  font-size: 18px;
}

a[href^="tel:"]:hover .fa-phone {
  color: var(--primary-light-blue);
}

a[href^="tel:"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
  a[href^="tel:"] {
    padding: 8px 12px;
    font-size: 14px;
  }
  a[href^="tel:"] .fa-phone {
    font-size: 16px;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.call-attention {
  animation: pulse 1.5s infinite;
}

/* Social Icons */
.social-icons {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  font-size: 20px;
  border-radius: 50%;
  transition: color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-icons li a.fa-facebook-f:hover { 
  color: var(--facebook-blue); 
  background-color: var(--white);
}
.social-icons li a.fa-instagram:hover { 
  color: var(--instagram-pink);
  background-color: var(--white);
}
.social-icons li a.fa-whatsapp:hover { 
  color: var(--whatsapp-green); 
  background-color: var(--white);
}

.social-icons li a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(247, 248, 248, 0.616);
}

/*////////////////Start Navbar//////////////////*/
.navbar-default {
background: var(--bg-light);
}

.navbar-default .navbar-brand {
position: relative;
text-decoration: bold;
width: 200px;
height: 60px;
margin-top: 10px;
justify-content: center;
}

.navbar-brand {
color: #353535 !important;
}

@media screen and (max-width: 991px) {
.navbar-default .navbar-brand {
    width: 180px;
    height: 50px;
    margin-top: 8px;
    margin-left: 15px;
}

.navbar-brand {
    color: #353535 !important;
}

.navbar-nav {
    float: none;
    margin: 0;
}

.navbar-default .navbar-nav {
    text-align: center;
}

.navbar-default .navbar-nav li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.navbar-default .navbar-nav li:last-child {
    border-bottom: none;
}

.navbar-default .navbar-nav li a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
}
}

#navbar-default .navbar-nav li a {
color: #000;
position: relative;
transition: all 0.3s ease;
}

#navbar-default .navbar-nav li a:hover {
color: var(--secondary-blue);
background: transparent;
}

/* Modern medical-tech hover effect */
#navbar-default .navbar-nav li a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 50%;
background: linear-gradient(90deg, var(--primary-light-blue), var(--secondary-blue));
transition: all 0.3s ease;
transform: translateX(-50%);
}

#navbar-default .navbar-nav li a:hover::after {
width: 80%;
}

#navbar-default .navbar-toggle .icon-bar {
background: #000;
}

#navbar-nav {
float: right;
}

@media screen and (max-width: 768px) {
#navbar-nav {
    float: none;
    width: 100%;
}

/* Remove underline effect on mobile */
#navbar-default .navbar-nav li a::after {
    display: none;
}

#navbar-default .navbar-nav li a:hover {
    background-color: rgba(44, 82, 130, 0.1);
    padding-left: 25px;
}

/* Mobile menu toggle button styling */
.navbar-toggle {
    margin-right: 15px;
    margin-top: 15px;
}

.navbar-collapse {
    border-top: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navbar-default .navbar-nav li a {
    text-align: left;
    padding: 15px 25px;
}
}

/* Extra small devices (phones, 480px and down) */
@media screen and (max-width: 480px) {
.navbar-default .navbar-brand {
    width: 160px;
    height: 45px;
    margin-top: 0px;
    margin-left: 10px;
    text-wrap: nowrap;
}

.navbar-toggle {
    padding: 9px 10px;
    margin-top: 12px;
}

.navbar-default .navbar-nav li a {
    padding: 12px 20px;
    font-size: 15px;
}
}

/* Navbar styles for screens larger than 991px */
@media screen and (min-width: 992px) {
.navbar-default .container {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.navbar-default .navbar-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    white-space: nowrap;
}

.navbar-default .navbar-nav li {
    margin: 0 15px;
}

.navbar-default .navbar-nav li a {
    font-size: 16px;
    padding: 10px 15px;
    text-transform: none;
    color: #000000;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-default .navbar-nav li a:hover {
    color: var(--secondary-blue);
    border-bottom: none;
    background: transparent;
}

/* Modern medical-tech hover effect for desktop */
.navbar-default .navbar-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-light-blue), var(--secondary-blue));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-default .navbar-nav li a:hover::after {
    width: 80%;
}

.navbar-default .navbar-toggle {
    display: none;
}

.navbar-default .navbar-brand {
    width: 250px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #0c0b0b;
    margin-top: 0px;
    margin-left: 0;
}
}

/* Medium devices (tablets, 768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
.navbar-default .container {
    padding: 0 20px;
}

.navbar-default .navbar-nav li {
    margin: 0 12px;
}

.navbar-default .navbar-nav li a {
    font-size: 15px;
    padding: 8px 12px;
}
}

/*///////////////End NavBar///////////////////*/


/* Loader */

    .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    }


    .content {
    display: none; /* Content is hidden until the loader is removed */
    }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
background-color: var(--primary-blue); /* Adjust to match your theme */
color: white;
text-align: center;
padding: 2rem;
}

.hero h1 {
font-size: 2.5rem;
margin: 10px;
}

.hero p {
font-size: 1.2rem;
}

/* ============================================
   SEARCH & FILTER SECTION
   ============================================ */
.search-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto 20px auto;
  flex-wrap: wrap;
  padding: 0 20px;
}

.category-select {
  padding: 12px 24px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 40px;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Open Sans', sans-serif;
}

.category-select:hover {
  border-color: #007bff;
}

.search-wrapper {
  position: relative;
  width: 320px;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

.search-box {
  width: 100%;
  padding: 12px 45px 12px 45px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 40px;
  outline: none;
  transition: all 0.3s;
  font-family: 'Open Sans', sans-serif;
}

.search-box:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.clear-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  display: none;
  transition: color 0.3s;
}

.clear-btn:hover {
  color: #007bff;
}

.clear-btn.show {
  display: block;
}

/* ============================================
   SEARCH STATS
   ============================================ */
.search-stats {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 14px;
    margin-bottom: -30px;
    }
        

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section,
.section {
  padding: 40px 20px;
  text-align: center;
  background: white;
  margin: 1rem auto;
}

.services-section h2,
.section h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}

.services-section > p,
.section > p {
  color: #666;
  margin-bottom: 40px;
}

/* ============================================
   PACKAGES & TESTS SECTIONS - FIXED WIDTH
   ============================================ */
#packages-section,
#tests-section {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 30px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.section-header h3 {
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: 600;
}

.section-header h3 i {
  color: #007bff;
  margin-right: 10px;
}

.section-count {
  color: #007bff;
  font-size: 14px;
  font-weight: 600;
  background: #e3f2fd;
  padding: 5px 12px;
  border-radius: 20px;
}

/* Section Divider */
.section-divider {
  text-align: center;
  margin: 60px auto 30px;
  max-width: 1300px;
  padding: 0 20px;
}

.section-divider h2 {
  font-size: 36px;
  color: #007bff;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}

.section-divider p {
  color: #666;
  font-size: 16px;
}

.divider-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00b4ff);
  margin: 20px auto;
  border-radius: 2px;
}

/* Section Badges */
.section-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.package-section-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.test-section-badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

/* Empty Message */
.empty-message {
  text-align: center;
  padding: 60px;
  background: #f8f9fa;
  border-radius: 12px;
  color: #999;
  width: 100%;
}

.empty-message i {
  font-size: 48px;
  margin-bottom: 15px;
  color: #ccc;
}

/* ============================================
   CARD CONTAINER & CARDS
   ============================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.card {
  width: 380px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Card Header */
.card-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 20px 15px;
  text-align: center;
}

.test-name {
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.test-time {
  font-size: 12px;
  opacity: 0.9;
}

/* Card Content */
.card-content {
  padding: 20px;
  min-height: 100px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Card Footer */
.card-footer {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #eee;
  position: relative;
}

/* ============================================
   BADGES
   ============================================ */
.badge-container {
  position: absolute;
  top: -12px;
  left: 15px;
}

.package-badge, .category-badge {
  display: inline-block;
  background: #ff9800;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.package-badge i, .category-badge i {
  margin-right: 5px;
}

/* Category Badge Colors */
.category-badge.cardiac { background: #e74c3c; }
.category-badge.diabetes { background: #3498db; }
.category-badge.liver { background: #2ecc71; }
.category-badge.kidney { background: #9b59b6; }
.category-badge.thyroid { background: #f39c12; }
.category-badge.vitamin { background: #1abc9c; }
.category-badge.blood { background: #e74c3c; }
.category-badge.fever { background: #e67e22; }
.category-badge.women { background: #e84393; }
.category-badge.infectious { background: #8e44ad; }
.category-badge.pancreatic { background: #d35400; }
.category-badge.electrolytes { background: #16a085; }
.category-badge.allergy { background: #f1c40f; }
.category-badge.fertility { background: #27ae60; }
.category-badge.prostate { background: #c0392b; }
.category-badge.hormones { background: #2980b9; }
.category-badge.general { background: #95a5a6; }

/* Details Button */
.details-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.details-button:hover {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-dark-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 61, 61, 0.3);
}


/* ============================================
   SIDE PANEL - DESKTOP VERSION
   ============================================ */
.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 550px;
    max-width: 90%;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    overflow: hidden;
}

.side-panel.active {
    transform: translateX(0);
}

.side-panel.hidden {
    display: none;
}

/* Panel Header */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark-blue));
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.panel-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.close {
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Side Panel Content */
.side-panel-content {
    padding: 24px;
    overflow-y: auto;
    height: calc(100% - 70px);
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.side-panel-content::-webkit-scrollbar {
    width: 6px;
}

.side-panel-content::-webkit-scrollbar-track {
    background: var(--medium-gray);
    border-radius: 3px;
}

.side-panel-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.side-panel-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark-blue);
}

/* Panel Image */
.panel-image {
    text-align: center;
    margin-bottom: 20px;
}

.panel-image img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Side Panel Headings */
.side-panel-content h4 {
    color: var(--primary-blue);
    margin: 20px 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    border-left: 4px solid var(--primary-blue);
    padding-left: 12px;
}

.side-panel-content h4:first-of-type {
    margin-top: 0;
}

/* Side Panel Text */
.side-panel-content p {
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* Lists in Side Panel */
.side-panel-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.side-panel-content li {
    margin: 8px 0;
    line-height: 1.5;
    color: var(--text-light);
}

.side-panel-content ul ul {
    margin: 5px 0 5px 20px;
}

.side-panel-content strong {
    color: var(--text-dark);
}

/* ============================================
   SIDE PANEL - MOBILE VERSION (Bottom Sheet)
   ============================================ */
@media (max-width: 768px) {
    .side-panel {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 85%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    }
    
    .side-panel.active {
        transform: translateY(0);
    }
    
    /* Drag Handle for Mobile */
    .side-panel::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 4px;
        background: var(--medium-gray);
        border-radius: 2px;
        z-index: 1001;
        display: none;
    }
    
    @media (max-width: 768px) {
        .side-panel::before {
            display: block;
        }
    }
    
    .panel-header {
        border-radius: 24px 24px 0 0;
        padding: 16px 20px;
        cursor: grab;
    }
    
    .panel-header:active {
        cursor: grabbing;
    }
    
    .panel-header h3 {
        font-size: 18px;
    }
    
    .close {
        font-size: 28px;
        width: 32px;
        height: 32px;
    }
    
    .side-panel-content {
        padding: 20px;
        height: calc(100% - 65px);
    }
    
    .side-panel-content h4 {
        font-size: 16px;
        margin: 18px 0 10px 0;
    }
    
    .side-panel-content p,
    .side-panel-content li {
        font-size: 14px;
    }
    
    .panel-image img {
        max-height: 150px;
    }
}

/* For very small devices */
@media (max-width: 480px) {
    .side-panel {
        height: 90%;
    }
    
    .panel-header {
        padding: 14px 16px;
    }
    
    .panel-header h3 {
        font-size: 16px;
    }
    
    .side-panel-content {
        padding: 16px;
    }
    
    .close {
        font-size: 26px;
        width: 30px;
        height: 30px;
    }
    
    .side-panel-content h4 {
        font-size: 15px;
        margin: 15px 0 8px 0;
    }
}

/* ============================================
   SIDE PANEL ANIMATIONS
   ============================================ */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Desktop Animation */
@media (min-width: 769px) {
    .side-panel.active {
        animation: slideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Mobile Animation */
@media (max-width: 768px) {
    .side-panel.active {
        animation: slideInUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Backdrop Overlay */
.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Panel Content Loading Animation */
.side-panel-content > * {
    animation: fadeIn 0.4s ease forwards;
}

.side-panel-content > *:nth-child(1) { animation-delay: 0.05s; }
.side-panel-content > *:nth-child(2) { animation-delay: 0.1s; }
.side-panel-content > *:nth-child(3) { animation-delay: 0.15s; }
.side-panel-content > *:nth-child(4) { animation-delay: 0.2s; }
.side-panel-content > *:nth-child(5) { animation-delay: 0.25s; }

/* ============================================
   SIMPLE TEST ITEMS (NO COLLAPSIBLE)
   ============================================ */
.simple-test-item {
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.simple-test-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--light-gray);
}

.simple-test-title {
    font-weight: 600;
    color: var(--text-dark);
}

.simple-test-count {
    font-size: 12px;
   font-weight: 600;
    color: var(--text-dark);
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

/* ============================================
   COLLAPSIBLE TEST ITEMS (FOR PACKAGES)
   ============================================ */
.collapsible-item {
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.collapsible-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    background: var(--light-gray);
    transition: background 0.2s;
}

.collapsible-header:hover {
    background: var(--medium-gray);
}

.collapsible-sign {
    font-size: 18px;
    font-weight: bold;
    width: 24px;
    color: var(--primary-blue);
}

.collapsible-title {
    flex: 1;
    color: var(--text-dark);
}

.collapsible-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto;
}

.collapsible-content {
    padding: 12px 16px 12px 40px;
    border-top: 1px solid var(--border-light);
    background: #fefefe;
}

.param-list {
    margin: 0;
    padding-left: 20px;
}

.param-list li {
    margin: 6px 0;
    list-style: disc;
    color: var(--text-light);
    font-size: 13px;
}


/* ============================================
   BUTTONS INSIDE SIDE PANEL
   ============================================ */
/* Button Container - Flex with space-between */
.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  width: 100%;
  flex-wrap: wrap;
}

/* Book Button - Left Side */
.book-now-section {
  flex: 1;
  text-align: left;
  margin: 0;
}

.book-now-button {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.book-now-button::before {
  content: "📅";
  font-size: 16px;
}

.book-now-button:hover {
  background: linear-gradient(135deg, #218838 0%, #1a6b2c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Refer Button - Right Side */
.refer-earn-section {
  flex: 1;
  text-align: right;
  margin: 0;
}

.refer-earn-button {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #333;
  font-weight: bold;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.refer-earn-button i {
  font-size: 14px;
}

.refer-earn-button::before {
  content: "🎁";
  font-size: 16px;
}

.refer-earn-button:hover {
  background: linear-gradient(135deg, #e0a800 0%, #c69500 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 168, 0, 0.4);
}

/* ============================================
   Q&A DROPDOWN INSIDE SIDE PANEL
   ============================================ */
.qa {
    margin-top: 20px;
}

.dropdown {
    margin-top: 10px;
}

.dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: var(--light-gray);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.dropdown-btn:hover {
    background: var(--medium-gray);
    border-color: var(--primary-blue);
}

.dropdown-content {
    display: none;
    padding: 12px 16px;
    background: #fefefe;
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-content p {
    margin: 0;
    color: var(--text-light);
}
/* ============================================
 CALL TO ACTION SECTION
 ============================================ */

.cta {
  text-align: center;
  padding: 2rem;
  background-color: var(--primary-blue);
  color: white;
}

.cta button {
  background-color: white;
  color: var(--primary-blue);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta button:hover {
  background-color: var(--accent-red);
  color: white;
  transform: translateY(-2px);
}


/* ============================================
   FOOTER SECTION
   ============================================ */
/* ------- Footer Section ------- */

/* FOOTER Layout */
footer {
background-color: var(--dark-bg);
color: white;
padding: 40px 0;
padding-bottom: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Footer Columns */
.footer-columns {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
margin-bottom: 0;
}

.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

/* Footer Sections */
.footer-section {
padding: 20px;
background-color: var(--dark-bg);
color: #cccccc;
flex: 1;
margin-top: -50px;
}

.footer-section h3 {
font-size: 20px;
color: #ffffff;
margin-bottom: 15px;
text-align: left;
display: flex;
align-items: center;
}

.footer-section p {
line-height: 1.5;
margin-bottom: 10px;
text-align: left;
display: flex;
align-items: flex-start;
color: #cccccc;
}

.footer-section p:hover{
color: #ffffff;
}

.footer-section ul {
list-style: none;
padding: 0;
}

.footer-section ul li {
margin-bottom: 10px;
text-align: left;
}

.footer-section ul li a {
color: #cccccc;
text-decoration: none;
transition: color 0.3s ease;
display: flex;
align-items: center;
}

.footer-section ul li a:hover {
color: #ffffff;
}

/* Icon Styling */
.footer-section h3 i {
margin-right: 10px;
color: #cccccc;
font-size: 1.1em;
}

.footer-links i {
font-size: 16px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.1);
border-radius: 50%;
transition: all 0.3s ease;
margin-right: 8px;
}

.footer-links i:hover {
background: var(--accent-red);
transform: scale(1.1);
color: #ffffff;
text-decoration: none;
}

.footer-services i {
font-size: 16px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.1);
border-radius: 50%;
transition: all 0.3s ease;
margin-right: 8px;
}

.footer-services i:hover {
background: var(--accent-red);
transform: scale(1.1);
color: #ffffff;
text-decoration: none;
}

/* Social Icons */
.footer-social-icons {
margin-bottom: 15px;
}

.social-item {
display: flex;
align-items: center;
gap: 12px;
color: #cccccc;
text-decoration: none;
transition: all 0.3s ease;
}

.social-item i {
font-size: 16px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.1);
border-radius: 50%;
transition: all 0.3s ease;
}

.social-item:hover i {
background: var(--accent-red);
transform: scale(1.1);
color: #ffffff;
text-decoration: none;
}

.page-name{
font-size: 15px; 
color: #cccccc;
font-size: 14px;
transition: color 0.3s ease;
text-decoration: none;
}



/* Contact Info */
.footer-contact-info {
margin: 15px 0;
padding: 12px;
border-radius: 5px;
background-color: rgba(255,255,255,0.05);
transition: all 0.3s ease;
}

.footer-contact-info:hover {
background-color: rgba(255,255,255,0.1);
}

.contact-item {
display: flex;
align-items: flex-start;
gap: 12px;
}

.contact-item i {
color: #cccccc;
font-size: 16px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.1);
border-radius: 50%;
transition: all 0.3s ease;
}

.contact-item i:hover{
background: var(--accent-red);
transform: scale(1.1);
color: #ffffff;
text-decoration: none;
}

.contact-text {
text-align: left;
line-height: 1.5;
font-size: 14px;
color: #cccccc;
text-decoration: none;
}

.contact-text strong {
color: #ffffff;
font-weight: 600;
}

/* Remove all link styling */
.footer-contact-info a,
.footer-contact-info a:hover,
.footer-contact-info a:visited {
text-decoration: none;
color: inherit;
}

/* Copyright */
.copyright {
text-align: center;
font-size: 14px;
color: #cccccc;
padding: 20px 0;
background-color: var(--footer-dark);
margin-top: 0;
}

.credits {
margin-top: 10px;
font-size: 13px;
opacity: 0.8;
}

.credits a {
color: var(--primary-light-blue);
text-decoration: none;
transition: color 0.3s ease;
}

.credits a:hover {
color: #ffffff;
text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
.footer-columns {
    flex-direction: column;
    gap: 10px;
}

.footer-section {
    flex: 1 1 100%;
    padding: 15px;
    margin-top: -35px;
}

.footer-section h3 {
    font-size: 18px;
}

.social-item i {
    width: 28px;
    height: 28px;
    font-size: 15px;
}

.contact-item i {
    font-size: 15px;
}

.footer-links i,
.footer-services i {
    font-size: 13px;
}

.page-name {
    font-size: 13px;
}
}

/*End Footer Section*/

/* ============================================
   BOOKING FORM OVERLAY
   ============================================ */
#bookingFormOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.booking-form-container {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row .form-group {
  flex: 1;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  .search-container {
    flex-direction: column;
    align-items: center;
  }
  .search-wrapper {
    width: 280px;
  }
  .side-panel {
    width: 100%;
  }
  .services-section h2,
  .section h2 {
    font-size: 28px;
  }
  .cta h2 {
    font-size: 28px;
  }
  .button-container {
    flex-direction: column;
  }
  .section-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
  .section-header h3 {
    font-size: 20px;
  }
  #packages-section,
  #tests-section {
    padding: 15px;
  }
  .empty-message {
    padding: 40px 20px;
  }
  .section-divider {
    margin: 40px auto 20px;
  }
  .section-divider h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .search-wrapper {
    width: 260px;
  }
  .category-select {
    padding: 10px 20px;
    font-size: 14px;
  }
  .search-box {
    padding: 10px 40px 10px 40px;
    font-size: 14px;
  }
  .card {
    width: 380px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .section-divider h2 {
    font-size: 24px;
  }
  .section-badge {
    font-size: 12px;
    padding: 6px 15px;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}