:root {
  /* Requested Color Palette */
  --bg-color: #F5F5F5;
  --light-bg: #FFFFFF;
  /* Sandal/Cream - Card backgrounds */
  --dark-color: #003049;
  /* Dark Navy - Dark sections */
  --primary: #c1121f;
  /* Red - Primary CTA */
  --primary-hover: #780000;
  /* Dark Red - Hover/Borders */
  --secondary: #669bbc;
  /* Blue-ish - Links/Secondary */

  --success: #16a34a;
  /* Green - Kept for success states */
  --surface: #ffffff;

  --text-main: #003049;
  /* Text on light backgrounds */
  --text-muted: #669bbc;
  /* Helper text */
  --btn: #c1121f;
  --hover: #780000;
  --links: #669bbc;

  /* Bootstrap Overrides */
  --bs-primary: #c1121f;
  --bs-primary-rgb: 193, 18, 31;
  --bs-secondary: #003049;
  --bs-secondary-rgb: 0, 48, 73;
  --bs-body-bg: #ffffff;
  --bs-body-color: #003049;

  /* Link Overrides */
  --bs-link-color: #669bbc;
  --bs-link-hover-color: #003049;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

/* RESET BOOTSTRAP BUTTON STYLES */
.btn,
.btn:hover,
.btn:focus,
.btn:active {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

/* Offcanvas Fixes */
.offcanvas-backdrop {
  z-index: 1040 !important;
}

.offcanvas {
  z-index: 1045 !important;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  background-color: transparent !important;
}

html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  font-family: 'Figtree', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.5;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  min-height: 100vh;
  overflow-x:hidden !important;
}

.laptop-nav,
.mobi-nav {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  background-color: #fff !important;
}

.laptop-nav {
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.lap-menus {
  display: flex;
  margin: 0;
  padding: 0;
}

.lap-menus>li {
  list-style-type: none;
  padding: 0 1.5rem;
}

.lap-menu {
  text-decoration: none !important;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.lap-menu:hover {
  color: var(--primary);
}

.lap-menu::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.lap-menu:hover::after {
  width: 100%;
}

.lap-login-btn {
  padding: 0.6rem 1.8rem;
  background-color: var(--primary);
  color: white !important;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 600;
}

.mobi-nav-list>li {
  margin-top: 10px;
}

.mobi-nav {
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  align-items: center;
  background-color: var(--bg-color);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.lap-login-btn {
  padding: 0.6rem 1.8rem;
  background-color: var(--primary);
  color: white !important;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
}

.mobi-login-btn {
  margin-top: 10px;
  text-decoration: none !important;
  display: block;
  width: 100%;
  padding: 8px 20px;
  background-color: var(--btn);
  color: var(--bg-color);
  border-radius: 25px;
}

.logout-btn {
  text-decoration: none !important;
  color: white !important;
  background-color: var(--btn) !important;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
}

.offer-area {
  padding: 5px 8px;
  background-color: var(--dark-color);
  color: white;
}

.hvr-underline-from-left::before {
  background-color: var(--hover) !important;
}

footer {
  padding: 50px 20px;
  background-color: var(--dark-color);
}

/* UNIVERSAL PREMIUM BUTTON INTERACTION - REJECTING BOOTSTRAP DEFAULTS */
.btn,
.lap-login-btn,
.mobi-login-btn,
.logout-btn,
.search-btn,
.add-btn,
.view-all-btn,
.btn-login,
.btn:focus,
.btn:active,
.btn:hover,
.btn:focus-visible,
.btn.active,
.show>.btn.dropdown-toggle {
  outline: none !important;
  box-shadow: none !important;
  transition: var(--transition) !important;
  /* border: none !important; */
  /* Removed to allow outline buttons to show borders */
}

/* Custom Premium Hover Effect */
.btn:hover,
.lap-login-btn:hover,
.mobi-login-btn:hover,
.logout-btn:hover,
.search-btn:hover,
.add-btn:hover,
.view-all-btn:hover,
.btn-login:hover {
  transform: translateY(-3px) !important;
  filter: brightness(1.1) !important;
  box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
}

/* Custom Premium Active/Press Effect */
.btn:active,
.lap-login-btn:active,
.mobi-login-btn:active,
.logout-btn:active,
.search-btn:active,
.add-btn:active,
.view-all-btn:active,
.btn-login:active,
.btn.active {
  transform: translateY(1px) scale(0.97) !important;
  filter: brightness(0.9) !important;
  box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.1) !important;
}

/* Custom Premium Focus State */
.btn:focus,
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.15) !important;
}

/* Ensure Offcanvas is above everything including mobile bottom nav */
.offcanvas {
  z-index: 10001 !important;
}

.offcanvas-backdrop {
  z-index: 10000 !important;
}

.offcanvas-menus {
  padding: 0;
  margin: 0;
}

.offcanvas-menus>li {
  list-style-type: none;
  padding: 10px 15px;
}

.mobi-nav-menu {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.footer-desc {
  color: white;
}

.footer-title {
  font-weight: 500;
  color: var(--dark-color);
  color: var(--light-bg);
}

.footer-inner-box>ul {
  padding: 0;
  margin: 0;
}

.footer-inner-box>ul>li {
  list-style-type: none;
}

.footer-box>ul>li {
  margin-top: 10px;
}

.footer-link {
  color: white;
  text-decoration: none;
  margin-top: 25px !important;
  padding: 10px 0px;
}

.footer-box {
  padding: 20px;
}

.universal-search {
  padding: 50px 20px;
  background-color: var(--light-bg);
}

input,
input:focus,
input:active,
input:hover {
  border: 1px solid var(--hover) !important;
  box-shadow: none !important;
}

select:focus,
select {
  box-shadow: none !important;
  border: 1px solid var(--hover) !important;
}

.search-btn {
  color: var(--bg-color) !important;
  background-color: var(--dark-color) !important;
  padding: 14px 15px;
  border-radius: 15px;
  border: none !important;
}

.packages-section {
  padding: 50px 20px;
  background-color: var(--light-bg);
}

.section-title {
  font-weight: 800;
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  /* We want left-aligned underline if text is left aligned. 
     If the parent centers it, we might need a modifier class. 
     For now, let's keep it simple: small underline block. */
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Modifier for Centered Titles */
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
    /* Much smaller on mobile */
    margin-bottom: 1rem;
  }
}

.packages-grid {
  margin-top: 30px !important;
  display: flex;
  justify-content: center;
  padding-right: 0px;
  padding-left: 0px;
}

.package-card {
  margin: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.test-img {
  transition: var(--transition);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.package-card-body {
  transition: var(--transition);
  padding: 1.25rem;
}

.package-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.package-card:hover .test-img {
  transform: scale(1.05);
}

.test-title {
  font-weight: 500;
  margin-top: 10px;
  font-size: 20px;
  text-transform: capitalize;
}

.test-desc {
  font-size: 15px;
  margin-top: 10px;
  font-weight: 300;
  margin-bottom: 10px;
}

.card-footerx {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--dark-color);
}

.test-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--hover);
}

.add-btn {
  padding: 8px 12px;
  background-color: var(--dark-color);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

/* Bootstrap popover override */
.popover {
  max-width: 280px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
  background: var(--dark-color) !important;
  color: white !important;
}

.popover-body-custom h6 {
  color: var(--bg-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.popover-body-custom ul {
  padding-left: 1rem;
  margin: 0;
}

.popover-body-custom li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--bg-color);
}

.viewall {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.view-all-btn {
  text-decoration: none;
  color: var(--bg-color);
  background-color: var(--btn);
  padding: 5px 15px;
  border-radius: 10px;
}

.tests {
  padding: 50px 20px;
}

.tests-grid {
  padding: 50px 0px;
  display: flex;
  justify-content: center;
}

.why-choose {
  padding: 50px 20px;
  background-color: var(--dark-color);
}

/* Cards & Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  color: white;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-desc {
  color: white;
  margin-top: 10px !important;
}

.why-choose h3 {
  color: white !important;
}

.why-choose p {
  color: white !important;
}

.fa-note-sticky,
.fa-flask-vial,
.fa-house-chimney {
  font-size: 25px !important;
}

.test-title {
  color: black;
  font-weight: 600;
  font-size: 1rem;
}

.test-desc {
  color: gray;
  font-size: 0.8rem;
}

.test-category,
.test-sample-type,
.test-tube,
.test-fasting,
.test-delivery {
  font-size: 0.8rem;
  margin-top: 5px;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--btn);
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
}

.breadcrum {
  position: relative;
  /* height: 220px; */
  padding: 60px 0;
  background: linear-gradient(135deg, var(--dark-color) 0%, #001219 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
  overflow: hidden;
}

.breadcrum::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../assets/img/breadcrum-bg.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0.2;
  z-index: 1;
}

.breadcrum::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  z-index: 1;
}

.breadcrum-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.page-company-name {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.breadcrum-links {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.breadcrum-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.breadcrum-link:hover {
  color: white;
}

.breadcrum-link-active {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  background: white;
  padding: 2px 10px;
  border-radius: 20px;
}

.about-section {
  padding: 50px 20px;
}

.about-image {
  border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}

.about-inner-box {
  padding: 10px 10px;
}

.about-desc {
  margin-top: 15px;
  color: black;
  font-size: 1.1rem;
}

.contact-container {
  padding: 50px 20px;
}

.contact-inner-box {
  border: 1px solid black;
  padding: 15px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-box {
  margin: 10px;
}

.contact-icon svg {
  background-color: var(--dark-color);
  color: white !important;
  padding: 15px;
  margin-top: 10px;
  border-radius: 5px;
  font-size: 1.2rem;
  color: var(--light-bg);
}

.contact-title {
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 500;
}

.contact-info {
  /* margin-top: 10px; */
  font-size: 1.1rem;
  font-weight: 400;
}

/* LOGIN PAGE */
.login-section {
  min-height: 100vh;
  background: var(--bg-color);
}

.login-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.login-title {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--btn);
  box-shadow: 0 0 0 0.15rem rgba(193, 18, 31, 0.25);
}

/* BUTTON */
.btn-login {
  background: var(--btn);
  color: #fff;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: none;
}

/* LINKS */
.login-link {
  color: var(--links);
  text-decoration: none;
}

.login-link:hover {
  text-decoration: underline;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 576px) {
  .login-card {
    padding: 1.5rem;
  }
}

.login-section {
  min-height: 100vh;
  background: var(--bg-color);
}

.login-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.login-title {
  color: var(--dark-color);
  font-weight: 700;
}

.login-subtitle {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--btn);
  box-shadow: 0 0 0 0.15rem rgba(193, 18, 31, 0.25);
}

.btn-login {
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem;
  border: none;
}

.login-link {
  color: var(--links);
  text-decoration: none;
}

.login-link:hover {
  text-decoration: underline;
}

/* DASHBOARD */
.dashboard-card {
  background: var(--light-bg);
  padding: 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.dashboard-card h5 {
  color: var(--dark-color);
  font-weight: 600;
}

.dashboard-link {
  color: var(--links);
  font-weight: 600;
  text-decoration: none;
}

.dashboard-link:hover {
  text-decoration: underline;
}

/* LOGOUT BUTTON */
.btn-logout {
  background: var(--btn);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
}

.btn-logout:hover {
  background: var(--hover);
}

/* PROFILE PAGE */
.profile-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* BUTTONS */
.btn-save {
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
}

.btn-save:hover {
  background: var(--hover);
}

.btn-back {
  background: transparent;
  color: var(--links);
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--links);
  text-decoration: none;
  text-align: center;
}

.btn-back:hover {
  background: rgba(102, 155, 188, 0.1);
}

/* ADMIN LOGIN */
.admin-login-section {
  min-height: 100vh;
  background: var(--bg-color);
}

.admin-login-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-admin-login {
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: none;
}

.btn-admin-login:hover {
  background: var(--hover);
}

/* ADMIN DASHBOARD */
.admin-card {
  background: var(--light-bg);
  padding: 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.admin-card h6 {
  color: var(--dark-color);
  font-weight: 600;
}

.admin-card h3 {
  color: var(--dark-color);
  font-weight: 700;
}

.admin-link {
  color: var(--links);
  font-weight: 600;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}

/* ADMIN LOGOUT */
.btn-admin-logout {
  background: var(--btn);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
  padding: 0.75rem;
  border: none;
}

.btn-admin-logout:hover {
  background: var(--hover);
}

.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.dashboard-link {
  font-weight: 600;
  color: var(--links);
  text-decoration: none;
}

.dashboard-link:hover {
  text-decoration: underline;
}

.btn-logout {
  background: #780000;
  color: #fff;
}

.back-btn {
  color: white;
  text-decoration: none;
  background-color: var(--btn);
  padding: 5px 8px;
  border-radius: 5px;
  transition: all 0.2s;
}

.back-btn:hover {
  color: white;
  text-decoration: none;
  background-color: var(--hover);
  padding: 5px 8px;
  border-radius: 5px;
  transition: all 0.2s;
}

.cart-icon-wrapper {
  position: relative;
  color: var(--dark-color);
  font-size: 18px;
  text-decoration: none;
}

.cart-icon-wrapper:hover {
  color: var(--btn);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--btn);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  line-height: 1;
}

.dashboard-active-link {
  background-color: var(--hover);
  color: white;
}

.testimonies-section {
  background-color: #f8f9fa;
}

.testimonies-carousel .card {
  border-radius: 12px;
}

.testimonies-section {
  padding: 50px 20px;
  background-color: var(--light-bg);
}

/* Testimony Avatar */
.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--btn) !important;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

/* Testimony Text */
.testimony-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Star Rating */
.rating-stars {
  font-size: 14px;
  line-height: 1;
}

.star-filled {
  color: #ffc107;
}

.star-empty {
  color: #ddd;
}


/* Sticky sidebar only on desktop */
@media (min-width: 992px) {
  .sticky-sidebar {
    position: sticky;
    top: 100px;
    /* adjust if header height changes */
  }
}


/* ================= HOW IT WORKS ================= */
.how-it-works-section {
  padding: 50px 20px;
  background-color: var(--dark-color);
}

.how-it-works-section .section-header h2 {
  font-weight: 700;
  margin-bottom: 8px;
}

.how-it-works-section .section-header p {
  color: #6b7280;
  margin-bottom: 50px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.how-step {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.how-step:hover .step-icon {
  background: var(--hover);
  transition: all 0.3s ease;
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--btn);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.how-step h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.how-step p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .how-step {
    padding: 15px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 15px;
  }

  .step-icon {
    margin: 0;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .how-step h5 {
    font-size: 1rem;
    margin-bottom: 2px;
  }

  .how-step p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
    display: block;
    color: #6b7280;
  }
}


/* ================= TESTIMONIES ================= */
.testimony-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimony-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.testimony-user strong {
  display: block;
  font-size: 15px;
}

.stars {
  font-size: 13px;
  color: #d1d5db;
}

.stars .filled {
  color: #facc15;
  /* gold */
}

.testimony-message {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-top: 10px;
}

.owl-stage-outer,
.owl-carousel,
.testimonies-carousel .owl-loaded .owl-drag {
  background-color: none !important;
}

.test-card {
  transition: all 0.3s ease;
}

.test-card:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
  transition: all 0.3s ease;
}

.header-icons {
  color: var(--dark-color);
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  width: auto;
  height: auto;
}

.user-name-text {
  font-size: 10px;
  color: var(--dark-color);
  transition: 0.3s all ease;
}

.header-icons:hover .user-name-text {
  color: white !important;
}

.header-icons:hover {
  background-color: var(--hover);
  transition: 0.3s all ease;
  color: white;
}

.header-icon-out {
  color: var(--btn);
  padding: 10px;
  border-radius: 10px;
}

.header-icon-out:hover {
  background-color: var(--dark-color) !important;
  color: white;
}

/* ================= PRESCRIPTION CTA ================= */
.prescription-cta {

  color: #fff;
  padding: 60px 0;
  border-radius: 20px;
  /* margin: 60px auto; */
  padding: 50px 20px;
}

.prescription-container {
  background: var(--hover);
  padding: 50px 20px;
  border-radius: 25px;
}

.prescription-cta h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.prescription-cta p {
  font-size: 16px;
  opacity: 0.95;
}

.prescription-cta .form-control {
  max-width: 320px;
}

.prescription-icon {
  font-size: 120px;
  opacity: 0.25;
}

.upload-btn {
  color: var(--dark-color);
  background-color: var(--bg-color);
  transition: all 0.3s ease;
  border: none !important;
  border-radius: 15px;
  text-decoration: none;
  padding: 5px 8px;
}

.upload-btn:hover {
  color: var(--bg-color);
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

.contact-section {
  background: #f9fafb;
}

.contact-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
}

.contact-card .form-label {
  font-weight: 600;
  font-size: 14px;
}

.contact-card .form-control {
  border-radius: 8px;
  padding: 12px;
}

.contact-card .form-control:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, .15);
}

.btn-contact {
  background: #dc2626;
  color: #fff;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-contact:hover {
  background: #b91c1c;
  color: #fff;
}

/* Doctor Card Interactions */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}


/* Mobile Padding Fixes */
@media (max-width: 768px) {

  .about-section,
  .contact-container,
  .packages-section,
  .tests,
  .why-choose,
  .how-it-works-section,
  .testimonies-section,
  .prescription-cta,
  .universal-search,
  footer.footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Ensure containers have minimal but sufficient padding */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Adjust specific internal paddings if they were relying on the outer section padding */
  .prescription-cta {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}