html{
  scroll-behavior: smooth;
}

/* WHAT'S APP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 70px;
  right: 26px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
}

/* HEADER */
.custom-header {
  background: #0a1932;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* CONTAINER */
.header-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img {
  width: 40px;
}

.logo-text h2 {
  color: #fff;
  margin: 0;
  font-size: 18px;
}

.logo-text p {
  color: #ccc;
  margin: 0;
  font-size: 12px;
}

/* NAV */
.header-nav {
  display: flex;
  gap: 25px;
}

.header-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.header-nav a:hover {
  color: #00c3ff;
}

/* BUTTON */
.header-btn a {
  background: #00c3ff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

.header-btn a:hover {
  background: #009acb;
}

/* MOBILE */
.menu-toggle {
  display: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

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

  .header-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a1932;
    flex-direction: column;
    display: none;
    text-align: center;
    padding: 20px 0;
  }

  .header-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-btn {
    display: none;
  }
}


/* Hide the old broken navbar */
.wsmainfull {
  display: none !important;
}

/* ----- Brand lockup ----- */
.vardaan-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.4rem, 2vw, 0.75rem);
  text-decoration: none !important;
  color: inherit;
  vertical-align: middle;
  max-width: 100%;
}

.vardaan-brand-lockup:hover,
.vardaan-brand-lockup:focus {
  opacity: 0.94;
}

/* Fluid mark — scales with viewport; soft tile + edge so white PNG arms read on white headers */
.vardaan-brand-mark {
  width: clamp(2.125rem, 5vw + 1rem, 3.35rem);
  height: clamp(2.125rem, 5vw + 1rem, 3.35rem);
  object-fit: contain;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: clamp(0.12rem, 0.8vw, 0.22rem);
  border-radius: clamp(0.45rem, 1.2vw, 0.65rem);
  background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
  border: 1px solid rgba(148, 163, 184, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 1px 3px rgba(15, 23, 42, 0.1);
  /* Outlines the actual cross shape (follows alpha), not just the box */
  filter: drop-shadow(0 0 0.5px rgba(51, 65, 85, 0.45)) drop-shadow(0 1px 2px rgba(15, 23, 42, 0.12));
}

/* Dark footer: frosted tile so full cross stays legible */
.vardaan-brand-lockup--footer .vardaan-brand-mark {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 5px rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

/* Hero / photo backgrounds: larger mark + slightly opaque plate */
.vardaan-brand-lockup--hero .vardaan-brand-mark {
  width: clamp(3rem, 12vw, 4.25rem);
  height: clamp(3rem, 12vw, 4.25rem);
  background: rgba(248, 250, 252, 0.94);
  border-color: rgba(148, 163, 184, 0.55);
}

.vardaan-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.12;
  text-align: left;
  min-width: 0;
}

/* Primary: VARDAAN */
.vardaan-brand-line1 {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.1vw + 0.75rem, 1.45rem);
  letter-spacing: 0.08em;
  color: #0f172a;
  text-transform: uppercase;
}

/* Secondary: Hospital Jind (title case) */
.vardaan-brand-line2 {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.7rem, 0.5vw + 0.6rem, 0.95rem);
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.02em;
  margin-top: 0.1em;
}

/* Tagline — like reference: small caps grey band */
.vardaan-brand-line3 {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.55rem, 0.35vw + 0.5rem, 0.7rem);
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.28em;
  max-width: 18rem;
}



/* Section */
/* SECTION */
.slider-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* TITLE */
.slider-title {
  color: white;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}

/* WRAPPER */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 65vh;
  /* Reduced min-height to move content higher */
  background: #ffffff;
  /* Removed blue background #f4f8fb */
  display: flex;
  align-items: center;
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 5px 0 60px 0;
  /* Reduced top padding further to move content up */
  box-sizing: border-box;
  overflow: visible;
}

/* BLUR BACKGROUND & GLOWS (Desktop Only) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/blog/hospital.png') no-repeat center center/cover;
  filter: blur(15px) opacity(0.04);
  /* Reduced opacity further */
  z-index: 1;
}

/* MEDICAL BLUE GLOWS - HIDDEN as per user request */
.hero-bg-glow {
  display: none;
  /* Hide the blue glows */
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.4;
}

.glow-1 {
  width: 45vw;
  height: 45vw;
  max-width: 550px;
  max-height: 550px;
  background: #007bff;
  top: -5%;
  left: -5%;
}

.glow-2 {
  width: 35vw;
  height: 35vw;
  max-width: 450px;
  max-height: 450px;
  background: #00b4d8;
  bottom: -10%;
  right: 5%;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  /* Match header container width */
  margin: 0 auto;
  padding: 0;
  /* Match header container padding */
  gap: 40px;
}

.hero-left {
  width: 50%;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp 1s ease-out forwards
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(0, 123, 255, 0.1);
  color: #0056b3;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
  color: #0c2340;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: #007bff;
  /* Changed from gradient to solid blue as per user request */
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: #008080;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
  max-width: 95%;
}

.hero-points {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-points li {
  font-size: 1.05rem;
  color: #334155;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-points li i {
  color: #007bff;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.hero-right {
  width: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 75vh;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 5px solid white;
  animation: floatImage 6s ease-in-out infinite;
  object-fit: contain;
  /* Preserve aspect ratio and show full image */
}

/* HERO FORM FIXES */
.hero-form .form-control,
.hero-form .custom-select {
  width: 100% !important;
  /* Force all fields to fill their container */
  display: block !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Ensure all column wrappers in the form have identical padding */
.hero-form [class*="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
  width: 100% !important;
}

.hero-form .row {
  margin-left: -15px !important;
  margin-right: -15px !important;
}

/* BLOG IMAGES: UNIFORM SIZE */
.blog-post-img {
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
}

.blog-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

@media (max-width: 991px) {
  .blog-post-img {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .blog-post-img {
    height: 160px;
  }
}

@media (max-width: 991px) {

  .hero-form .form-control,
  .hero-form .custom-select {
    margin-bottom: 15px !important;
  }
}

/* GLOBAL SERVICE CARDS ENHANCEMENTS */
.sbox-7 {
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.sbox-7:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.15) !important;
}

/* ============================================================ */
/* DESKTOP REFINEMENTS                                          */
/* ============================================================ */

@media (min-width: 992px) {
  .section-title {
    text-align: center !important;
    /* Changed back to center for heading and subtitle */
    margin-bottom: 40px !important;
  }

  .section-title h3 {
    text-align: center !important;
    /* Changed back to center for heading and subtitle */
    margin: 0 auto 20px auto !important;
    width: 100%;
    font-size: 2.5rem;
  }

  .section-title p {
    text-align: center !important;
    /* Changed back to center for heading and subtitle */
    margin: 0 auto !important;
    max-width: 750px;
    font-size: 1.1rem;
    color: #64748b;
  }

  /* About Us Desktop Centering */
  .about-card {
    max-width: 1000px;
    margin: 0 auto !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  }

  /* Doctor Card Desktop Refinement - ALIGNED TO LEFT OF 90% CONTAINER */
  .doctor-profile-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1100px;
    margin: 0 !important;
    /* Changed from 0 auto to 0 to align with navbar logo */
  }

  /* Global symmetry for all main page sections in demo-4.html */
  .doctors-section .container,
  .servicess-section .container,
  .tabs-section .container,
  .hero-section .container,
  .slider-section {
    width: 90% !important;
    max-width: none !important;
    padding: 0 40px !important;
    /* Balanced left and right padding for symmetry */
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* Remove Bootstrap offsets that break the 90% left-alignment */
  .doctors-section .offset-md-1,
  .doctors-section .offset-lg-1,
  .section-title.offset-lg-1 {
    margin-left: 0 !important;
  }

  .doctors-section .col-md-10,
  .doctors-section .col-lg-10,
  .section-title.col-lg-10 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .doctor-image-container {
    width: 40%;
    flex-shrink: 0;
  }

  .doctor-content {
    width: 60%;
    padding: 50px !important;
    text-align: left !important;
  }

  /* Service Grid Desktop Refinement */
  .sbox-7 {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
  }

  .sbox-7:hover {
    transform: translateY(-10px);
  }

  .sbox-7 span[class*="flaticon-"] {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
  }

  .sbox-7:hover span[class*="flaticon-"] {
    transform: scale(1.1);
  }

  .sbox-7 h5 {
    margin-bottom: 15px;
    font-weight: 700;
  }

  .sbox-7 p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
  }

  /* TABS NAVIGATION GLOBAL UI */
  #tabs-nav .nav-pills {
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 40px !important;
  }

  #tabs-nav .nav-link {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 12px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
  }

  #tabs-nav .nav-link:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1) !important;
    color: #007bff !important;
  }

  #tabs-nav .nav-link.active {
    background: #007bff !important;
    border-color: #007bff !important;
    color: #ffffff !important;
    box-shadow: 0 15px 25px -5px rgba(0, 123, 255, 0.4) !important;
  }

  #tabs-nav .nav-link span {
    font-size: 22px !important;
    transition: transform 0.3s ease !important;
  }

  #tabs-nav .nav-link:hover span {
    transform: scale(1.1);
  }

  /* TAB IMAGES REFINEMENT */
  .tab-img-container {
    width: 100% !important;
    height: 450px !important;
    /* Standard height for all 4 images */
    overflow: hidden !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.5s ease-in-out !important;
    position: relative !important;
    background: transparent !important;
    /* NO BACKGROUND OUTSIDE IMAGE */
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }

  .tab-img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease-in-out !important;
    display: block !important;
  }

  /* Hover Effects for Tab Images */
  .tab-img-container:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.15) !important;
  }

  .tab-img-container:hover img {
    transform: scale(1.08) !important;
  }

  /* Overlay effect on hover */
  .tab-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 123, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  .tab-img-container:hover::after {
    opacity: 1;
  }

  /* TECHNOLOGY SECTION (TECH-CARD) REFINEMENT */
  .tech-card {
    width: 100% !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s ease !important;
    position: relative !important;
    margin-bottom: 40px !important;
  }

  .tech-card-img {
    width: 100% !important;
    height: 480px !important;
    /* Proper height for facilities showcase */
    overflow: hidden !important;
    position: relative !important;
  }

  .tech-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.8s ease !important;
    display: block !important;
  }

  .tech-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 70px rgba(0, 123, 255, 0.15) !important;
    border-color: rgba(0, 123, 255, 0.1) !important;
  }

  .tech-card:hover img {
    transform: scale(1.1) !important;
  }

  .tech-card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
  }

  .tech-card:hover .tech-card-overlay {
    opacity: 1 !important;
  }

  /* Tech Text Block Styling */
  .tech-txt-block {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .tech-badge {
    display: inline-block !important;
    align-self: flex-start !important;
    background: rgba(0, 123, 255, 0.1) !important;
    color: #007bff !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
  }

  .tech-txt-block h2 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    color: #0c2340 !important;
  }

  .tech-box-list {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    align-items: flex-start !important;
    transition: all 0.3s ease !important;
    padding: 15px !important;
    border-radius: 15px !important;
  }

  .tech-box-list:hover {
    background: #f8fafc !important;
    transform: translateX(10px) !important;
  }

  .tech-icon {
    width: 50px !important;
    height: 50px !important;
    background: #ffffff !important;
    color: #007bff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 20px !important;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1) !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(0, 123, 255, 0.05) !important;
  }

  .tech-box-list:hover .tech-icon {
    background: #007bff !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2) !important;
  }

  .tech-info h5 {
    margin-bottom: 5px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
  }

  .tech-info p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  /* BLOG SECTION (BLOG-CARD) REFINEMENT */
  .blog-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
  }

  .blog-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 123, 255, 0.1) !important;
  }

  .blog-card-img {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .blog-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.6s ease !important;
  }

  .blog-card:hover .blog-card-img img {
    transform: scale(1.1) !important;
  }

  .blog-card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.2) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
  }

  .blog-card:hover .blog-card-overlay {
    opacity: 1 !important;
  }

  .blog-card-txt {
    padding: 25px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .blog-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    color: #0c2340 !important;
  }

  .blog-card-title a {
    color: inherit !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
  }

  .blog-card-title a:hover {
    color: #007bff !important;
  }

  .blog-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }

  .blog-card-meta span i {
    margin-right: 5px !important;
    color: #007bff !important;
  }

  .blog-card-excerpt {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin: 0 !important;
  }
}

/* ============================================================ */
/* TABLET & MOBILE RESPONSIVENESS                               */
/* ============================================================ */

@media (max-width: 991px) {
  .hero-section {
    height: auto !important;
    min-height: auto;
    padding: 100px 0 60px;
    overflow: visible;
  }

  .hero-container {
    flex-direction: column;
    padding: 0 25px;
    text-align: center;
    gap: 40px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    align-items: center;
  }

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

  .hero-text {
    margin: 0 auto 15px;
  }

  .hero-points {
    align-items: center;
    justify-content: center;
  }

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

  .hero-img {
    max-width: 90%;
    margin-top: 20px;
  }
}

/* GLOBAL SECTION CENTERING FOR MOBILE */
@media (max-width: 991px) {
  .section-title {
    text-align: center !important;
    margin-bottom: 40px !important;
  }

  .section-title h3 {
    text-align: center !important;
    margin: 0 auto 15px !important;
    display: inline-block;
    width: 100%;
  }

  .section-title p {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 800px;
  }

  /* Centering for services, doctor cards etc on mobile */
  .sbox-7,
  .doctor-profile-card,
  .txt-block,
  .tech-txt-block,
  .hero-txt,
  .about-card,
  .service-page-section,
  .s1-page,
  .doctor-details-section,
  .doctor-2,
  .doctor-meta,
  .breadcrumb-holder,
  .statistic-block {
    text-align: center !important;
  }

  /* Tech Card Mobile Adjustments */
  .tech-card {
    border-radius: 20px !important;
    margin-bottom: 30px !important;
  }

  .tech-card-img {
    height: 300px !important;
  }

  .tech-txt-block {
    align-items: center !important;
    padding: 0 15px !important;
  }

  .tech-badge {
    align-self: center !important;
  }

  .tech-box-list {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 15px !important;
    padding: 20px !important;
  }

  .tech-box-list:hover {
    transform: translateY(-5px) !important;
  }

  /* Blog Card Mobile Adjustments */
  .blog-card {
    margin-bottom: 30px !important;
    border-radius: 15px !important;
  }

  .blog-card-img {
    height: 180px !important;
  }

  .blog-card-txt {
    padding: 20px !important;
  }

  .blog-card-title {
    font-size: 1.15rem !important;
  }

  /* Tablet-specific image centering (768px - 991px) */
  .doctor-image-container,
  .hero-right,
  .content-block-img {
    display: flex !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    border-radius: 20px !important;
    /* Rounded for mobile too */
    overflow: hidden !important;
  }

  .tab-img-container {
    height: 320px !important;
    /* Smaller height for tablet/mobile */
    margin-bottom: 30px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: transparent !important;
    display: block !important;
  }

  .doctor-image-container img,
  .tab-img-container img,
  .hero-right img,
  .content-block-img img {
    margin: 0 auto !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Centering for About page images specifically on tablet */
  .about-img {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto 30px !important;
    text-align: center !important;
  }

  .about-img img {
    margin: 0 auto !important;
  }

  /* Doctor Page Mobile Centering */
  .doctor-photo,
  .doctor-bio,
  .doctor-data {
    text-align: center !important;
  }

  .doctor-contacts h4 {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-all !important;
    /* Force break for very long emails */
    font-size: 0.95rem !important;
    /* Slightly smaller to fit better */
    padding: 0 10px !important;
  }

  .doctor-contacts a {
    display: inline-block !important;
    max-width: 100% !important;
  }

  .doctor-photo img {
    margin: 0 auto 30px !important;
  }

  .doctor-info table {
    margin: 0 auto !important;
  }

  .doctor-photo-btn {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }

  .doctor-photo-btn .btn {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 !important;
  }

  .doctor-bio h5 {
    text-align: center !important;
    margin-top: 30px !important;
  }

  .breadcrumb-holder .breadcrumb {
    justify-content: center !important;
  }

  .statistic-block {
    margin-bottom: 40px !important;
  }

  /* Timetable Mobile Centering */
  #timetable-page .section-title {
    text-align: center !important;
  }

  .cd-schedule .events .top-info {
    text-align: center !important;
    padding: 15px 0 !important;
    background: #f1f5f9 !important;
    border-radius: 8px 8px 0 0 !important;
  }

  .cd-schedule .events .events-group>ul {
    padding: 0 !important;
    margin-bottom: 20px !important;
  }

  .cd-schedule .events .single-event {
    width: 85% !important;
    max-width: none !important;
    margin: 0 10px 15px !important;
    border-radius: 12px !important;
  }

  /* Simple Navbar Responsiveness */
  .simple-navbar {
    background: #0a1932 !important;
    padding: 15px 0 !important;
    text-align: center !important;
  }

  .simple-navbar-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .simple-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
  }

  .simple-logo-text {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
  }

  .simple-nav-links {
    display: flex !important;
    gap: 20px !important;
  }

  .simple-nav-link {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
  }

  /* Service Page Mobile Centering */
  .service-page-section .content-block {
    text-align: center !important;
  }

  .service-page-section .content-block-img {
    margin: 0 auto 30px !important;
  }

  .service-page-section h3,
  .service-page-section h4,
  .service-page-section h5 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .service-page-section p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .service-page-section .btn {
    margin: 20px auto !important;
    display: inline-block !important;
  }

  /* Contact Page Mobile Centering */
  #contacts-1 .section-title,
  #contacts-1 .section-title h3,
  #contacts-1 .section-title p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #contacts-1 .contact-box {
    text-align: center !important;
  }

  #contacts-1 .contact-box h5,
  #contacts-1 .contact-box p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #contacts-1 .contact-box a {
    display: inline-block !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  #contacts-1 .form-holder {
    max-width: 640px !important;
    margin: 0 auto !important;
  }

  #contacts-1 .form-btn {
    text-align: center !important;
  }

  #contacts-1 .contact-form .form-control,
  #contacts-1 .contact-form .custom-select {
    text-align: left !important;
  }

  /* About Page Mobile Centering */
  .about-card-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .about-card-icon {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
  }

  .about-card-title {
    text-align: center !important;
  }

  .about-card-features {
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .feature-item {
    justify-content: flex-start !important;
    width: 100% !important;
    text-align: center !important;
  }

  .about-card-action {
    justify-content: center !important;
    display: flex !important;
  }

  .about-card-header,
  .about-card-content {
    padding: 30px 20px !important;
  }

  .about-paragraph {
    text-align: center !important;
    padding-left: 0 !important;
    border-left: none !important;
  }

  .about-paragraph::before {
    display: none !important;
  }

  /* Specific fix for hero-4 (Advanced Orthopedic Care section) */
  #hero-4 .hero-txt {
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  #hero-4 .hero-txt h2 {
    font-size: 1.65rem !important;
    /* Smaller, cleaner heading */
    margin-bottom: 12px !important;
    line-height: 1.25 !important;
    text-transform: uppercase;
  }

  #hero-4 .hero-txt p {
    font-size: 0.9rem !important;
    margin: 0 auto 30px !important;
    padding-right: 0 !important;
    /* Remove original padding-right */
  }

  /* Centering and sizing the appointment form for mobile */
  .hero-form {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 420px !important;
    padding: 35px 20px !important;
  }

  .hero-form h4 {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 25px !important;
  }

  .doctor-image-container {
    margin: 0 auto !important;
  }

  .doctor-badge,
  .doctor-divider {
    margin: 0 auto 20px !important;
  }

  .doctor-actions,
  .doctor-stats {
    justify-content: center !important;
  }

  .stat-item {
    align-items: center !important;
  }

  /* Centering tabs navigation */
  #tabs-nav .nav-pills {
    justify-content: center !important;
  }

  /* Centering tab content */
  .txt-block .box-list {
    justify-content: center !important;
    text-align: center !important;
  }

  .box-list-icon {
    display: none;
    /* Hide icons in centered list for cleaner look if needed, or keep and center */
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 0 !important;
    /* NO TOP GAP */
    margin-top: 0 !important;
    height: auto !important;
    min-height: auto !important;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: center;
    gap: 0 !important;
    height: auto !important;
  }

  .hero-text,
  .hero-subtitle,
  .hero-points {
    display: none !important;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
  }

  .hero-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px !important;
    padding: 25px 20px 0 !important;
    text-align: center;
    width: 100%;
    color: #0c2340;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title .anim-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .hero-title .to-text {
    display: block;
    font-size: 1.8rem;
  }

  .hero-title .highlight {
    display: block;
    margin-top: 10px;
    font-size: 2.6rem;
  }

  .hero-title .hospital-text {
    display: none !important;
    /* REMOVE HOSPITAL FOR MOBILE */
  }

  .hero-right {
    order: 2;
    /* Image Second */
    width: 100%;
    margin-bottom: 30px !important;
    display: flex;
    justify-content: center;
  }

  .hero-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: none;
    object-fit: contain;
    /* Do not cut image */
    display: block;
  }

  .hero-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px !important;
    padding: 0 20px 30px;
  }

  .btn-premium,
  .btn-premium-outline {
    width: 100% !important;
    text-align: center;
  }

  /* Hide distracting elements on small mobile */
  .hero-badge,
  .hero-bg-glow,
  .hero-bg {
    display: none !important;
  }

  /* Make sbox-7 fit 2 per row on mobile cleanly */
  .sbox-7 {
    padding: 15px 10px !important;
  }

  .sbox-7 span[class*="flaticon-"] {
    font-size: 35px !important;
    margin-bottom: 10px !important;
  }

  .sbox-7 h5 {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  .sbox-7 p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    display: none;
    /* Hide description on mobile to save space and make 2 cards fit beautifully if needed */
  }

}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(10px);
  }
}

}

.hero-buttons {
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

.btn-premium {
  width: 100%;
}

/* IMAGE FIX */
.hero-img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
}

/* HERO SECTION */
.hero-section {
  padding: 100px 0 50px;
  background: linear-gradient(270deg, #e6f0ff, #f0f9ff, #e6f0ff);
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
}

/* CONTAINER */
.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2px;
}

/* LEFT CONTENT */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* BADGE */
.hero-badge {
  background: rgba(0, 123, 255, 0.1);
  color: #0056b3;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* TITLE */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  color: #0c2340;
}

.hero-title .highlight {
  color: #007bff;
}

/* SUBTITLE */
.hero-subtitle {
  font-size: 1.2rem;
  color: #008080;
  margin-bottom: 15px;
}

/* IMAGE */
.hero-image-wrapper {
  width: 100%;
  margin: 20px 0;
  position: relative;
}

.hero-img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  display: block;
  margin: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* OVERLAY CARD */
.hero-image-wrapper::after {
  content: "24/7 Emergency Care";
  position: absolute;
  bottom: 10px;
  left: 20px;
  background: #007bff;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
}

/* FLOATING BADGE */
.hero-image-wrapper::before {
  content: "👨‍⚕️ Expert Doctors";
  position: absolute;
  top: -10px;
  right: 10px;
  background: #fff;
  color: #007bff;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: float 3s infinite;
}

/* TEXT */
.hero-text {
  color: #475569;
  margin-bottom: 10px;
}

/* POINTS */
.hero-points {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.hero-points li {
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUTTON */
.hero-buttons {
  margin-top: 15px;
}

.btn-premium {
  background: #007bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
}

/* ANIMATIONS */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* FOOTER */
.custom-footer {
  background: #0a1932;
  color: #fff;
  padding: 60px 0 20px;
  font-family: "DM Sans", sans-serif;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-col p,
.footer-col a,
.footer-col h2,
.footer-col h3 {
  word-break: break-word;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 50px;
}

.footer-brand h3 {
  margin: 0;
  font-size: 22px;
  color: #fff;
}

.footer-sub {
  margin: 0;
  font-size: 13px;
  color: #ccc;
  line-height: 1.4;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
  max-width: 300px;
}

.footer-col h4 {
  color: #00c3ff;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #00c3ff;
}

.footer-col p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #00c3ff;
}

.footer-emergency h2 {
  color: #ff4d4d;
  font-size: 1.25rem;
  margin: 10px 0;
  line-height: 1.3;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #888;
}

.scroll-top {
  background: #00c3ff;
  color: #fff;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.scroll-top:hover {
  background: #009acb;
}

/* FOOTER CENTERED MOBILE */
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand {
    flex-direction: column;
    /* Stack logo on top of text */
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .footer-brand div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand h3 {
    font-size: 24px !important;
    letter-spacing: 2px;
    margin-bottom: 5px !important;
  }

  .footer-sub {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}



/* VIDEO CONTAINER */
.video-container {
  display: flex;
  gap: 25px;
  /* Increased gap slightly */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  /* Center videos if they fit */
  padding: 30px 0;
  /* Vertical padding */
  width: 100%;
}

.video-container::-webkit-scrollbar {
  display: none;
}

/* Ensure centering on small screens where justify-content: center might break scroll start */
@media (max-width: 1100px) {
  .video-container {
    justify-content: flex-start;
    padding: 30px 20px;
    /* Balanced side padding for scroll start/end */
  }
}

/* VIDEO BOX (PORTRAIT - 9:16 Aspect Ratio) */
.video-box {
  min-width: 253px;
  /* Exact 9:16 for 450px height */
  width: 253px;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  background: transparent;
  /* Remove black background */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  flex-shrink: 0;
  scroll-snap-align: center;
}

.video-box:hover {
  transform: scale(1.05);
}

/* IFRAME */
.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

/* NAV BUTTONS (IMPORTANT ADDITION) */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: 0.3s;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* LEFT RIGHT POSITION */
.left {
  left: 5px;
}

.right {
  right: 5px;
}

/* RESPONSIVE VIDEO BOXES */
@media (max-width: 991px) {
  .video-box {
    height: 400px !important;
    width: auto !important;
    aspect-ratio: 9 / 16 !important;
    min-width: unset !important;
  }
}

@media (max-width: 768px) {
  .video-box {
    height: 380px !important;
    width: auto !important;
    aspect-ratio: 9 / 16 !important;
    min-width: unset !important;
  }
}

@media (max-width: 480px) {
  .video-box {
    height: 320px !important;
    width: auto !important;
    aspect-ratio: 9 / 16 !important;
    min-width: unset !important;
  }

  .nav-btn {
    padding: 8px 10px;
    font-size: 16px;
    width: 35px;
    height: 35px;
  }
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .video-section {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .slider-wrapper {
    margin: 0 -15px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
    padding: 8px 12px;
  }

  .left {
    left: 5px;
  }

  .right {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: 20px 10px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .video-container {
    gap: 15px;
    padding: 5px;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
    padding: 6px 10px;
  }
}

/* Modern Premium Doctor Profile Card */
.doctor-profile-card {
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-profile-card::before,
.doctor-profile-card::after {
  display: none !important;
}

.doctor-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 123, 255, 0.1);
}

/* Doctor Image Container */
.doctor-image-container {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.doctor-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.doctor-image {
  width: 100%;
  height: 100%;
  max-height: 550px;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

/* Doctor Image Overlay */
.doctor-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.doctor-image-wrapper:hover .doctor-image-overlay {
  opacity: 1;
}

.doctor-overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.doctor-image-wrapper:hover .doctor-overlay-content {
  transform: translateY(0);
}

/* View Profile Button */
.btn-view-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #ffffff;
  color: #007bff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-view-profile:hover {
  background: #007bff;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
  text-decoration: none;
}

.doctor-profile-card:hover .doctor-image {
  transform: scale(1.08);
}

/* Doctor Content */
.doctor-content {
  flex: 1;
  padding: 50px !important;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  justify-content: center;
}

/* Doctor Badge */
.doctor-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #64748b;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #e2e8f0;
}

.doctor-badge i {
  color: #007bff;
}

.doctor-profile-card:hover .doctor-badge {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border-color: rgba(0, 123, 255, 0.2);
}

/* Doctor Name */
.doctor-name {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Doctor Specialization */
.doctor-specialization {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0ea5e9;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* Doctor Divider */
.doctor-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 100%);
  border-radius: 2px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.doctor-profile-card:hover .doctor-divider {
  width: 80px;
  background: linear-gradient(90deg, #7dd3fc 0%, #0ea5e9 100%);
}

/* Doctor Description */
.doctor-description {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Doctor Stats */
.doctor-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.05) 0%, rgba(56, 189, 248, 0.02) 100%);
  border: 1px solid rgba(125, 211, 252, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  min-width: 100px;
}

.stat-item:hover {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-color: rgba(125, 211, 252, 0.2);
  transform: translateY(-2px);
}

.stat-number {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0ea5e9;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Doctor Actions */
.doctor-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Book Appointment Button */
.btn-book-appointment {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3),
    0 4px 12px rgba(56, 189, 248, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-book-appointment::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-book-appointment:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(125, 211, 252, 0.4),
    0 6px 20px rgba(56, 189, 248, 0.3);
  color: #ffffff;
  text-decoration: none;
}

.btn-book-appointment:hover::before {
  left: 100%;
}

.btn-book-appointment i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-book-appointment:hover i {
  transform: translateX(-3px);
}

/* View Profile Button */
.btn-view-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: #0ea5e9;
  text-decoration: none;
  border: 2px solid #0ea5e9;
  border-radius: 50px;
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-view-profile:hover {
  background: #0ea5e9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
  text-decoration: none;
}

.btn-view-profile i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-view-profile:hover i {
  transform: translateX(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .doctor-profile-card {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-bottom: 30px;
  }

  .doctor-image-container {
    flex: 0 0 auto;
    max-width: 100%;
    padding: 20px;
  }

  .doctor-image {
    max-height: 300px;
  }

  .doctor-content {
    padding: 20px;
  }

  .doctor-name {
    font-size: 24px;
  }

  .doctor-stats {
    justify-content: center;
    gap: 16px;
  }

  .stat-item {
    min-width: 80px;
    padding: 12px 16px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .doctor-actions {
    justify-content: center;
  }

  .btn-book-appointment,
  .btn-view-profile {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }

  /* Enhanced About Card Mobile */
  .about-card-enhanced {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .about-card-title {
    font-size: 1.6rem;
  }

  .about-card-paragraph {
    font-size: 1rem;
    padding-left: 15px;
  }

  .about-card-features {
    gap: 12px;
  }

  .about-feature-item {
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  .doctor-profile-card {
    padding: 15px;
  }

  .doctor-image-container {
    padding: 15px;
  }

  .doctor-content {
    padding: 15px;
  }

  .doctor-name {
    font-size: 22px;
  }

  .doctor-specialization {
    font-size: 1rem;
  }

  .doctor-stats {
    gap: 12px;
  }

  .stat-item {
    min-width: 70px;
    padding: 10px 12px;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .doctor-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-book-appointment,
  .btn-view-profile {
    width: 100%;
    padding: 14px 24px;
  }

  /* Enhanced About Card Tablet */
  .about-card-enhanced {
    padding: 25px 15px;
  }

  .about-card-title {
    font-size: 1.5rem;
  }

  .about-card-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .about-feature-item {
    padding: 10px 14px;
  }

  .about-feature-item span {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .doctor-profile-card {
    padding: 15px;
    margin-bottom: 25px;
  }

  .doctor-content {
    padding: 15px;
  }

  .doctor-name {
    font-size: 20px;
  }

  .doctor-specialization {
    font-size: 0.95rem;
  }

  .doctor-stats {
    gap: 10px;
  }

  .stat-item {
    min-width: 60px;
    padding: 8px 10px;
  }

  .stat-number {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .doctor-actions {
    gap: 10px;
  }

  .btn-book-appointment,
  .btn-view-profile {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Enhanced About Card Mobile */
  .about-card-enhanced {
    padding: 20px 12px;
  }

  .about-card-title {
    font-size: 1.4rem;
  }

  .about-card-paragraph {
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 12px;
  }

  .about-card-features {
    gap: 10px;
    margin: 20px 0;
  }

  .about-feature-item {
    padding: 8px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-feature-item i {
    font-size: 14px;
  }

  .about-feature-item span {
    font-size: 0.85rem;
  }

  .about-card-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .signature-box img {
    width: 120px;
  }
}

/* Form Validation Styles */
.hero-form .form-control {
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
}

.hero-form .form-control:focus {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 0.2rem rgba(125, 211, 252, 0.25);
}

.hero-form .form-control.error {
  border-color: #ff5607;
  box-shadow: 0 0 0 0.2rem rgba(255, 86, 7, 0.25);
  background-color: rgba(255, 86, 7, 0.05);
}

.hero-form .form-control.success {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  background-color: rgba(40, 167, 69, 0.05);
}

.hero-form .custom-select.doctor {
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
}

.hero-form .custom-select.doctor:focus {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 0.2rem rgba(125, 211, 252, 0.25);
}

.hero-form .custom-select.doctor.error {
  border-color: #ff5607;
  box-shadow: 0 0 0 0.2rem rgba(255, 86, 7, 0.25);
  background-color: rgba(255, 86, 7, 0.05);
}

.hero-form .custom-select.doctor.success {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  background-color: rgba(40, 167, 69, 0.05);
}

/* Loading Message Styles */
.hero-form .sending-msg {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.hero-form .loading {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(125, 211, 252, 0.2);
  display: inline-block;
}

.hero-form .loading i {
  margin-right: 8px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

/* Form Button Enhancement */
.hero-form .btn-submit {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  border: none;
  color: white;
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(125, 211, 252, 0.3);
}

.hero-form .btn-submit:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(125, 211, 252, 0.4);
  color: white;
}

.hero-form .btn-submit:active {
  transform: translateY(0);
}

/* Dark footers — white / light grey (matches dark-bar reference) */
.footer .vardaan-brand-lockup--footer .vardaan-brand-line1,
.footer .vardaan-brand-lockup--footer .vardaan-brand-line2 {
  color: #ffffff;
}

.footer .vardaan-brand-lockup--footer .vardaan-brand-line3 {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.16em;
}

.footer .vardaan-brand-lockup--footer:hover,
.footer .vardaan-brand-lockup--footer:focus {
  opacity: 1;
}

.footer .vardaan-brand-lockup--footer:hover .vardaan-brand-line1,
.footer .vardaan-brand-lockup--footer:focus .vardaan-brand-line1 {
  color: #ffffff;
}

/* Light footer (e.g. contacts-2) */
.vardaan-brand-lockup--on-light .vardaan-brand-line1 {
  color: #0f172a;
}

.vardaan-brand-lockup--on-light .vardaan-brand-line2 {
  color: #1e293b;
}

.vardaan-brand-lockup--on-light .vardaan-brand-line3 {
  color: #64748b;
}

/* Mobile top bar fits 54px header */
.wsmobileheader .vardaan-brand-lockup--mobile {
  gap: 0.3rem;
  max-width: calc(100vw - 110px);
  height: 48px;
  margin-top: -6px;
  /* align with toggle/call buttons */
}

.wsmobileheader .vardaan-brand-lockup--mobile .vardaan-brand-mark {
  width: 32px;
  height: 32px;
  padding: 2px;
}

.wsmobileheader .vardaan-brand-lockup--mobile .vardaan-brand-text {
  line-height: 1;
}

.wsmobileheader .vardaan-brand-lockup--mobile .vardaan-brand-line1 {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.wsmobileheader .vardaan-brand-lockup--mobile .vardaan-brand-line2 {
  font-size: 0.65rem;
  margin-top: 2px;
}

.wsmobileheader .vardaan-brand-lockup--mobile .vardaan-brand-line3 {
  display: none;
  /* remove tagline on mobile header to save space */
}

/* Global overflow fix to avoid side-scrolling */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Fix doctor card styling for responsiveness (removed from inline style to avoid row-margin conflict) */
.doctor-1.row {
  background: #fff;
  border-radius: 20px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin: 20px 0 !important;
  /* ensure it stays within container */
  width: auto !important;
}

/* medservices/index.html hero */
.vardaan-brand-lockup--hero {
  gap: clamp(0.75rem, 3vw, 1.1rem);
}

.vardaan-brand-lockup--hero .vardaan-brand-line1 {
  font-size: clamp(1.35rem, 4vw, 2.1rem);
}

.vardaan-brand-lockup--hero .vardaan-brand-line2 {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
}

.vardaan-brand-lockup--hero .vardaan-brand-line3 {
  font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  max-width: 22rem;
}

/* Nav row alignment */
.wsmainwp .desktoplogo .vardaan-brand-lockup {
  padding-top: 5px;
}

#header-2 .hero-widget .desktoplogo .vardaan-brand-lockup {
  padding-top: 0;
}

/* Hide empty hero-widget area since logo moved to navigation */
.hero-widget {
  display: none;
}

/* HIGH SPECIFICITY TEST - Force navbar to be visible */
header#header-2 div.wsmainfull.menu {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  background: #ff0000 !important;
  height: 80px !important;
  width: 100% !important;
  z-index: 9999 !important;
}

/* SIMPLER APPROACH - Target elements directly */
.wsmainfull {
  display: block !important;
  visibility: visible !important;
  background: rgba(255, 255, 255, 0.8) !important;
  height: 70px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
}

.desktoplogo {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 1001 !important;
}

.logo-nav-container {
  display: flex !important;
  visibility: visible !important;
  align-items: center !important;
  height: 70px !important;
}

.logo-nav-links {
  display: flex !important;
  visibility: visible !important;
}

.logo-nav-link {
  display: block !important;
  visibility: visible !important;
}

/* Logo and navigation links container */
.logo-nav-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 70px;
}

/* Override the navbar width to make it smaller */
.wsmainwp {
  max-width: 900px !important;
  padding: 0 15px;
}

/* Test: Make sure navbar is always visible */
.wsmainfull.menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override original CSS that hides desktop logo in navigation - stronger selector */
#header-2 .wsmainfull .desktoplogo {
  display: block !important;
  visibility: visible !important;
}

/* Also ensure the entire navigation container is visible */
#header-2 .wsmainfull {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 1000 !important;
  background-color: #ffffffc2 !important;
  height: 70px !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

/* Force the desktop logo to be visible */
#header-2 .desktoplogo {
  display: block !important;
  visibility: visible !important;
  float: left !important;
  width: auto !important;
}

/* Ensure logo container is visible */
#header-2 .wsmainfull .desktoplogo .logo-nav-container {
  display: flex !important;
  visibility: visible !important;
  align-items: center !important;
  height: 70px !important;
}

.logo-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0.5rem;
}

.logo-nav-link {
  color: #222;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: color 0.2s ease;
  padding: 8px 0;
  position: relative;
}

/* ============================================================ */
/* DOCTOR DETAILS PAGE - PREMIUM REFINEMENTS                    */
/* ============================================================ */

.doctor-page-section {
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  padding: 80px 0;
}

.doctor-details-card-enhanced {
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.08);
  padding: 50px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.doctor-details-left {
  padding-right: 20px;
}

.doctor-img-frame-main {
  width: fit-content;
  max-width: 100%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  margin: 0 auto 30px auto;
  position: relative;
}

.doctor-main-img-large {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.doctor-img-frame-main:hover .doctor-main-img-large {
  transform: scale(1.08);
}

.doctor-rank-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #007bff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.doctor-quick-contacts-box {
  background: #f8fafc;
  border-radius: 20px;
  padding: 25px;
  border: 1px solid #e2e8f0;
}

.contact-item-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-item-box:last-child {
  margin-bottom: 0;
}

.contact-item-box i {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-text span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-text a {
  color: #1e293b;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  word-break: break-all;
}

.contact-text a:hover {
  color: #007bff;
}

.doctor-details-right {
  padding-left: 20px;
}

.doctor-header-main {
  margin-bottom: 30px;
}

.doctor-badge-main {
  display: inline-block;
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.doctor-title-main {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0c2340;
}

.doctor-subtitle-main {
  font-size: 1.25rem;
  font-weight: 600;
}

.doctor-bio-text {
  margin-bottom: 35px;
}

.doctor-p-large {
  font-size: 1.15rem;
  color: #1e293b;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 20px;
}

.doctor-p-regular {
  color: #64748b;
  line-height: 1.7;
}

.doctor-education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.edu-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.edu-item:hover {
  border-color: #007bff;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.08);
  transform: translateY(-3px);
}

.edu-icon {
  font-size: 22px;
  color: #007bff;
}

.edu-text strong {
  display: block;
  font-size: 1rem;
  color: #0c2340;
}

.edu-text span {
  font-size: 0.85rem;
  color: #64748b;
}

.doctor-ranks-box {
  margin-bottom: 40px;
}

.ranks-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0c2340;
}

.ranks-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rank-chip {
  background: #f1f5f9;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.rank-chip strong {
  color: #007bff;
  margin-left: 5px;
}

.btn-book-doctor-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #007bff;
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.3);
  transition: all 0.4s ease;
}

.btn-book-doctor-large:hover {
  background: #0056b3;
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 123, 255, 0.4);
  color: #fff;
  text-decoration: none;
}

/* IMAGE SLIDER FOR DOCTOR PAGE */
.doctor-gallery-slider {
  margin-top: 50px;
}

.gallery-item-card {
  border-radius: 20px;
  overflow: hidden;
  height: 250px;
  margin: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-card:hover img {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .doctor-details-card-enhanced {
    padding: 30px 20px;
  }

  .doctor-details-left {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .doctor-details-right {
    padding-left: 0;
  }

  .doctor-title-main {
    font-size: 2.2rem;
  }

  .doctor-education-grid {
    grid-template-columns: 1fr;
  }
}

.logo-nav-link:hover,
.logo-nav-link:focus {
  color: #00a3c8;
  text-decoration: none;
}

.logo-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00a3c8;
  transition: width 0.2s ease;
}

.logo-nav-link:hover::after,
.logo-nav-link:focus::after {
  width: 100%;
}

/* Responsive styles for logo navigation */
@media only screen and (max-width: 768px) {
  .logo-nav-links {
    display: none;
  }

  .logo-nav-container {
    gap: 0;
  }
}

/* ----- Typography & buttons (existing) ----- */
body {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1-sm,
.h2-sm,
.h2-xs,
.h3-md,
.h4-sm,
.h4-xs,
.h5-sm,
.h5-xs,
.h5-xl {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn,
.blue-hover,
.header-btn a,
.all-doctors a,
.all-posts-btn a {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease,
    color 0.22s ease, border-color 0.22s ease;
}

.btn:hover,
.btn:focus,
.header-btn a:hover,
.all-doctors a:hover,
.all-posts-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.4rem 1rem rgba(10, 74, 130, 0.18);
}

.btn-tra-white:hover,
.btn-tra-grey:hover,
.btn-tra-black:hover {
  transform: translateY(-2px);
}

.hero-cta-row .btn {
  min-width: 10rem;
}

/* Animated single doctor card on home page */
#doctors-1 .doctor-1 {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 30px;
  margin: 20px 0;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: vardaanDoctorCardIn 0.8s ease-out both;
}

#doctors-1 .doctor-1:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

/* Remove blue overlay from doctor image */
#doctors-1 .doctor-1 .item-overlay {
  display: none !important;
}

/* Add subtle overlay for better button visibility */
#doctors-1 .doctor-1 .hover-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  z-index: 5;
}

#doctors-1 .doctor-1:hover .hover-overlay::before {
  opacity: 1;
}

#doctors-1 .doctor-1 .hover-overlay img {
  transform: scale(1) !important;
  transition: transform 0.3s ease;
}

#doctors-1 .doctor-1:hover .hover-overlay img {
  transform: scale(1.05) !important;
}

/* Improve doctor image styling */
#doctors-1 .doctor-1 .hover-overlay {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

#doctors-1 .doctor-1 img {
  border-radius: 12px !important;
  object-fit: cover;
  height: 280px;
  width: 100%;
}

/* Improve doctor card typography and layout */
#doctors-1 .doctor-1 .doctor-meta {
  padding-left: 30px;
}

#doctors-1 .doctor-1 .doctor-meta h3 {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#doctors-1 .doctor-1 .doctor-meta .blue-color {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 20px;
  line-height: 1.4;
}

#doctors-1 .doctor-1 .doctor-meta p {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
}

#doctors-1 .doctor-1 .doctor-meta .btn {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Hide the profile link button since we have the main button */
#doctors-1 .doctor-1 .profile-link {
  display: block !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

#doctors-1 .doctor-1:hover .profile-link {
  opacity: 1;
}

#doctors-1 .doctor-1 .profile-link .btn {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
  transition: all 0.3s ease;
}

#doctors-1 .doctor-1 .profile-link .btn:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(125, 211, 252, 0.4);
}

/* Improve doctors section styling */
#doctors-1 .section-title h3 {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#doctors-1 .section-title p {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Team Description Card */
.team-description-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #bae6fd;
  border-radius: 16px;
  padding: 2px;
  margin: 32px auto 0;
  max-width: 700px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(125, 211, 252, 0.15);
}

/* Service Boxes - Uniform Height and Width */
.sbox-7 {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  margin: 12px 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.sbox-7::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sbox-7:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  border-color: #e2e8f0;
}

.sbox-7:hover::before {
  opacity: 1;
}

.sbox-7 a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
}

.sbox-7 .flaticon,
.sbox-7 .fas,
.sbox-7 .icon {
  font-size: 36px;
  color: #3b82f6;
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s ease;
}

.sbox-7:hover .flaticon,
.sbox-7:hover .fas,
.sbox-7:hover .icon {
  color: #2563eb;
  transform: scale(1.1);
}

.sbox-7-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sbox-7-txt h5 {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.sbox-7-txt p {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

/* Ensure all rows have equal height */
#services-7 .row {
  display: flex;
  flex-wrap: wrap;
}

#services-7 .row>div[class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Service section container */
#services-7 .col-lg-8 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* About Page Card */
.about-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(125, 211, 252, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(125, 211, 252, 0.15),
    0 8px 32px rgba(15, 23, 42, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(20px);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  opacity: 0.8;
}

.about-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.03) 0%, rgba(56, 189, 248, 0.01) 100%);
  border-radius: 22px;
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 80px rgba(125, 211, 252, 0.25),
    0 16px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(125, 211, 252, 0.2);
}

.about-card-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 48px 40px 36px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(125, 211, 252, 0.1);
  overflow: hidden;
}

.about-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(20px, -20px) rotate(180deg);
  }
}

.about-card-icon {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 12px 32px rgba(125, 211, 252, 0.4),
    0 4px 16px rgba(56, 189, 248, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.about-card-icon::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8, #0ea5e9);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card-icon i {
  color: #ffffff;
  font-size: 36px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-card-icon .about-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  padding: 12px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.about-card:hover .about-card-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 20px 48px rgba(125, 211, 252, 0.5),
    0 8px 24px rgba(56, 189, 248, 0.4);
}

.about-card:hover .about-card-icon::before {
  opacity: 0.6;
}

.about-card-title {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.about-card-content {
  padding: 48px;
  position: relative;
  z-index: 2;
}

.about-card-text {
  margin-bottom: 36px;
}

.about-paragraph {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.about-paragraph::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover .about-paragraph {
  color: #334155;
  border-left-color: rgba(125, 211, 252, 0.2);
}

.about-card:hover .about-paragraph::before {
  opacity: 1;
}

.about-card-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.05) 0%, rgba(56, 189, 248, 0.02) 100%);
  border: 1px solid rgba(125, 211, 252, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-item:hover {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-color: rgba(125, 211, 252, 0.2);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.15);
}

.feature-item:hover::before {
  left: 100%;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
  transition: all 0.3s ease;
}


.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(125, 211, 252, 0.4);
}

.feature-icon i {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.feature-text {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.01em;
}

/* FINAL MOBILE ALIGNMENT FIX */

.about-card-action {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(125, 211, 252, 0.1);
  position: relative;
}

.about-card-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7dd3fc, transparent);
}

.about-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3),
    0 4px 12px rgba(56, 189, 248, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.about-card-btn:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(125, 211, 252, 0.4),
    0 6px 20px rgba(56, 189, 248, 0.3);
  color: #ffffff;
  text-decoration: none;
}

.about-card-btn:hover::before {
  left: 100%;
}

.about-card-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.about-card-btn:hover i {
  transform: translateX(-4px);
}

/* Enhanced About Card Styles */
.about-card-enhanced {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(125, 211, 252, 0.15),
    0 8px 32px rgba(15, 23, 42, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.about-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  opacity: 0.8;
}

.about-card-enhanced::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.03) 0%, rgba(56, 189, 248, 0.01) 100%);
  border-radius: 23px;
  pointer-events: none;
}

.about-card-enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 80px rgba(125, 211, 252, 0.25),
    0 16px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(125, 211, 252, 0.2);
}

/* About Card Badge */
.about-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
  transition: all 0.3s ease;
}

.about-card-badge i {
  font-size: 14px;
}

.about-card-enhanced:hover .about-card-badge {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(125, 211, 252, 0.4);
}

/* About Card Title */
.about-card-title {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

/* About Card Divider */
.about-card-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 100%);
  border-radius: 2px;
  margin: 20px 0 24px 0;
  transition: all 0.3s ease;
}

.about-card-enhanced:hover .about-card-divider {
  width: 80px;
  background: linear-gradient(90deg, #7dd3fc 0%, #0ea5e9 100%);
}

/* About Card Paragraphs */
.about-card-paragraph {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.about-card-paragraph::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card-enhanced:hover .about-card-paragraph {
  color: #334155;
  border-left-color: rgba(125, 211, 252, 0.2);
}

.about-card-enhanced:hover .about-card-paragraph::before {
  opacity: 1;
}

/* About Card Features */
.about-card-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.05) 0%, rgba(56, 189, 248, 0.02) 100%);
  border: 1px solid rgba(125, 211, 252, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.1), transparent);
  transition: left 0.6s ease;
}

.about-feature-item:hover {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-color: rgba(125, 211, 252, 0.2);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(125, 211, 252, 0.15);
}

.about-feature-item:hover::before {
  left: 100%;
}

.about-feature-item i {
  color: #0ea5e9;
  font-size: 16px;
  flex-shrink: 0;
}

.about-feature-item span {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.01em;
}

.team-description-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 24px;
  padding: 2px;
  margin: 32px auto 0;
  max-width: 700px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(125, 211, 252, 0.15),
    0 8px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
}

.team-description-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  opacity: 0.8;
}

.team-description-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.03) 0%, rgba(56, 189, 248, 0.01) 100%);
  border-radius: 22px;
  pointer-events: none;
}

.team-description-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 80px rgba(125, 211, 252, 0.25),
    0 16px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(125, 211, 252, 0.2);
}

.team-card-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 48px 40px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.team-card-content:hover {
  background: rgba(255, 255, 255, 0.95);
}

.team-card-icon {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0ea5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(125, 211, 252, 0.4),
    0 4px 16px rgba(56, 189, 248, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.team-card-icon::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8, #0ea5e9);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card-icon i {
  color: #ffffff;
  font-size: 36px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-description-card:hover .team-card-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 20px 48px rgba(125, 211, 252, 0.5),
    0 8px 24px rgba(56, 189, 248, 0.4);
}

.team-description-card:hover .team-card-icon::before {
  opacity: 0.6;
}

.team-card-text {
  font-family: "DM Sans", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.team-description-card:hover .team-card-text {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes vardaanDoctorCardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----- Main page announcement (demo-4) ----- */
html.vardaan-announcement-dismissed .vardaan-announcement-bar {
  display: none !important;
}

.vardaan-announcement-bar {
  position: relative;
  z-index: 1001;
  background: linear-gradient(100deg, #0c4a6e 0%, #0369a1 42%, #0e7490 100%);
  color: #f8fafc;
  font-size: 0.875rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.vardaan-announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.vardaan-announcement-bar__text {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.vardaan-announcement-bar__label {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  border-radius: 0.25rem;
  background: rgba(251, 146, 60, 0.95);
  color: #0f172a;
}

.vardaan-announcement-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vardaan-announcement-bar a:hover,
.vardaan-announcement-bar a:focus {
  color: #e0f2fe;
}

.vardaan-announcement-bar__cta {
  margin-left: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.vardaan-announcement-bar__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.vardaan-announcement-bar__close:hover,
.vardaan-announcement-bar__close:focus {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  outline: none;
}

@media (max-width: 575px) {
  .vardaan-announcement-bar .container {
    flex-wrap: wrap;
  }

  .vardaan-announcement-bar__cta {
    display: inline;
    margin-left: 0;
  }
}

/* ----- Global image border-radius ----- */
/* Apply 20px rounded corners to all content images site-wide */
img:not(.vardaan-brand-mark):not([class*="ico-"]):not(.loader):not([src*="favicon"]):not([src*="back-to-top"]):not([src*="loader"]):not([src*="place-marker"]) {
  border-radius: 20px !important;
}

/* Specific fix for doctor cards, photos, and overlays to ensure 20px radius everywhere */
.doctor-1,
.doctor-1 img,
.item-overlay {
  border-radius: 20px !important;
}

/* FORCE WHITE COLOR: Ensure footer phone number and contact links are pure white */
#footer-1 .footer-box p,
#footer-1 .footer-box p a,
#footer-1 .footer-box h5.h5-xl,
#footer-1 .footer-box a {
  color: #fff !important;
}


/* FIX MOBILE MENU SLIDE-PUSH: Make it a clean overlay drawer instead of pushing the page */
@media only screen and (max-width: 991px) {

  .wsactive .wsmenucontainer,
  .wsactive .wsmobileheader,
  .wsactive .page,
  .wsactive .footer,
  .wsactive .header,
  .wsactive {
    margin-left: 0 !important;
    transform: none !important;
    position: relative !important;
  }

  .wsactive {
    overflow: hidden !important;
  }

  /* The shadowed overlay background */
  .wsactive .wsmenu {
    background-color: rgba(0, 0, 0, 0.5) !important;
    visibility: visible !important;
    backdrop-filter: blur(2px);
  }

  /* The actual white menu drawer */
  .wsmenu>.wsmenu-list {
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  }
}

/* ----- Modern CSS Preloader ----- */
#loader-wrapper {
  background-color: #ffffff;
  z-index: 99999 !important;
  /* Top of everything */
}

#loader {
  width: 60px !important;
  height: 60px !important;
  margin-left: -30px !important;
  margin-top: -30px !important;
}

.loader-inner {
  width: 60px !important;
  height: 60px !important;
  background: none !important;
  /* Remove old gif */
  border: 4px solid #f1f5f9;
  border-top: 4px solid #00a3c8;
  /* Brand blue */
  border-radius: 50%;
  animation: vardaan-spin 1s linear infinite;
}

@keyframes vardaan-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ----- Equal Height Testimonial Cards ----- */
.reviews-holder .owl-stage,
.reviews-holder .owl-item {
  display: flex !important;
}

.reviews-holder .review-2 {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100%;
  margin-bottom: 0 !important;
  padding-bottom: 30px;
  /* match internal spacing */
}

.reviews-holder .review-txt {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: flex-start !important;
}

/* Push the author to the bottom if the text is short */
.reviews-holder .review-author {
  margin-top: auto !important;
  padding-top: 20px;
}

.reviews-holder .testimonial-avatar {
  margin-bottom: 15px !important;
}

/* ===========================
   VARDAAN FOOTER
=========================== */

/* MAIN FOOTER */
/* MAIN FOOTER */
/* ===== FOOTER MAIN ===== */
.custom-footer {
  background: #0a1932;
  color: #ffffff;
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
}

/* ===== REMOVE ANY IMAGE EFFECT ===== */
.custom-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0a1932;
  /* solid color (NO transparency) */
  z-index: 0;
}

/* CONTENT ABOVE OVERLAY */
.custom-footer * {
  position: relative;
  z-index: 1;
}

/* ===== LAYOUT ===== */
.footer-container {
  width: 90%;
  margin: auto;
}

.footer-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* ===== HEADINGS (FIXED) ===== */
.footer-col h3,
.footer-col h4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* ===== TEXT ===== */
.footer-col p {
  color: #d1d5db;
  /* soft white */
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== LINKS ===== */
.footer-col a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #38bdf8;
}

/* ===== ICONS ===== */
.footer-icon {
  color: #38bdf8;
  width: 16px;
  text-align: center;
  font-size: 14px;
}

/* ===== BRAND ===== */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}

.footer-brand h3 {
  font-size: 1.6rem !important;
  margin-bottom: 4px !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.footer-sub {
  font-size: 12px !important;
  color: #9ca3af !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== DESCRIPTION ===== */
.footer-desc {
  margin-top: 15px;
  color: #cbd5e1;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
}

/* ===== EMERGENCY ===== */
.footer-emergency h2 {
  color: #ff9800 !important;
  /* EMERGENCY ORANGE */
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 15px 0 !important;
  letter-spacing: 0.5px;
}
}

/* ===== BOTTOM ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-grow: 1;
}

.footer-bottom p {
  margin: 0 !important;
  font-size: 13px !important;
  color: #9ca3af !important;
}

/* ===== SOCIAL ICONS ===== */
.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: #007bff;
  color: #ffffff !important;
  transform: translateY(-3px);
  border-color: #007bff;
}

/* ===== SCROLL BUTTON ===== */
.scroll-top {
  width: 40px;
  height: 40px;
  background: #38bdf8;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: bold;
}

.scroll-top:hover {
  background: #0ea5e9;
  transform: translateY(-3px);
}

/* ===== EMERGENCY LINK ===== */
.emergency-link {
  color: inherit !important;
  text-decoration: none !important;
  transition: opacity 0.3s ease;
}

.emergency-link:hover {
  opacity: 0.8;
}

/* ===== BALANCED SPACING (NOT TOO CLOSE, NOT TOO FAR) ===== */
.wide-100 {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.wide-90 {
  padding-top: 80px !important;
  padding-bottom: 70px !important;
}

.wide-80 {
  padding-top: 80px !important;
  padding-bottom: 60px !important;
}

.wide-70 {
  padding-top: 80px !important;
  padding-bottom: 50px !important;
}

.wide-60 {
  padding-top: 80px !important;
  padding-bottom: 40px !important;
}

.wide-50 {
  padding-top: 80px !important;
  padding-bottom: 30px !important;
}

.wide-40 {
  padding-top: 60px !important;
  padding-bottom: 50px !important;
}

.wide-30 {
  padding-top: 80px !important;
  padding-bottom: 20px !important;
}

.wide-20 {
  padding-top: 80px !important;
  padding-bottom: 10px !important;
}

/* Section title margin - balanced */
.section-title {
  margin-bottom: 45px !important;
}

/* Margin for column spacing in sections - balanced */
.mb-40 {
  margin-bottom: 35px !important;
}

.mb-30 {
  margin-bottom: 25px !important;
}

.mt-30 {
  margin-top: 25px !important;
}

.mt-40 {
  margin-top: 35px !important;
}

/* Tech and blog cards spacing */
.tech-card,
.blog-card {
  margin-bottom: 35px !important;
}

/* Padding for text blocks - restored some room */
.txt-block {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* Section titles sub-spacing */
.section-title h3 {
  margin-bottom: 15px !important;
}

/* RESTORED: Removed the 0 padding rules that were making things too cramped */
.division {
  /* padding-top: 0 !important; */
  /* padding-bottom: 0 !important; */
}

.container {
  /* padding-top: 0 !important; */
  /* padding-bottom: 0 !important; */
}

/* Hero text margin - balanced */
.hero-txt {
  margin-bottom: 30px !important;
}

/* ===== ABOUT US PAGE REDESIGN ===== */
.about-page-section {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.about-card-enhanced {
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.08);
  padding: 60px;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-card-badge {
  display: block;
  margin: 0 auto 40px auto;
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 800; /* Made Bold as requested */
  text-transform: uppercase;
  letter-spacing: 2px;
  width: fit-content;
  text-align: center;
}

.about-card-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
}

.about-card-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid rgba(0, 123, 255, 0.2);
}

.about-card-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8fafc;
  padding: 15px 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.about-feature-item:hover {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
  transform: translateY(-3px);
}

.about-feature-item i {
  color: #007bff;
  font-size: 1.2rem;
}

.about-feature-item span {
  font-weight: 600;
  color: #1e293b;
}

.signature-box {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.signature-box img {
  max-width: 150px;
}

.signature-box p {
  margin: 0;
  line-height: 1.4;
}

/* RIGHT SIDE STYLING */
.about-card-right {
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important; /* Aggressive Centering */
  text-align: center !important;
  gap: 30px;
  width: 100% !important;
}

.about-img-frame {
  position: relative;
  width: 100% !important;
  max-width: 800px; 
  margin: 0 auto !important; /* Forced Center */
  display: block !important;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-main-img {
  width: 100%;
  height: auto;
  /* Changed from 400px to auto to prevent cutting */
  min-height: 400px;
  /* Maintain some vertical presence on desktop */
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-frame:hover .about-main-img {
  transform: scale(1.1);
}

.experience-badge {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: #007bff;
  color: #ffffff;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

.exp-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 5px;
}

.about-quick-stats {
  display: flex;
  gap: 20px;
}

.about-stat {
  flex: 1;
  background: #f1f5f9;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-stat:hover {
  background: #007bff;
}

.about-stat:hover .stat-num,
.about-stat:hover .stat-label {
  color: #ffffff !important;
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #007bff;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.about-footer-action {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #f1f5f9;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-back-home:hover {
  color: #007bff;
  transform: translateX(-10px);
}

.btn-back-home i {
  font-size: 1.2rem;
}

/* ===== SERVICE PAGE REDESIGN ===== */
.service-page-section {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
}

.service-card-enhanced {
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.08);
  padding: 50px;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card-enhanced .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 30px;
}

.service-card-enhanced .breadcrumb-item a {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
}

.service-card-enhanced .breadcrumb-item.active {
  color: #007bff;
}

.service-card-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.service-card-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
}

.service-card-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.s-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.s-feature-item:hover {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
}

.s-feature-item i {
  color: #007bff;
  font-size: 1.1rem;
}

.s-feature-item span {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.service-img-frame {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.service-main-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-img-frame:hover .service-main-img {
  transform: scale(1.08);
}

.service-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #007bff;
  color: #ffffff;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-quick-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
}

.s-info-item i {
  color: #007bff;
  width: 20px;
  text-align: center;
}

.service-action-box {
  margin-top: 35px;
}

.btn-book-service {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #007bff;
  color: #ffffff !important;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-book-service:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-row {
    grid-template-columns: 1fr;
  }
}

.doctor-img-box {
  overflow: hidden;
  border-radius: 15px;
  height: 250px;
  /* FIX HEIGHT */
}

.doctor-img-box img {
  width: 100%;
  height: 100%;
  /* fill box */
  object-fit: cover;
  /* crop properly */
  transition: 0.4s ease;
  border-radius: 15px;
}

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

/* About Us & Doctors Mobile Responsiveness - TRUE FULL WIDTH */
@media (max-width: 991px) {

  /* About Us Page Specifics */
  .about-page-section,
  .about-page-section .container,
  .about-page-section .container .row,
  .about-page-section .container .row [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .about-card-enhanced {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    margin: 0 !important;
  }

  .about-content-left {
    padding: 30px 20px !important;
  }

  /* Target Class for edge-to-edge elements - DEFINITIVE 100VW TRICK */
  .edge-to-edge-mobile {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .edge-to-edge-mobile img {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    /* Force removal of site-wide 20px radius */
    display: block !important;
    object-fit: cover !important;
  }

  .experience-badge {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    z-index: 10;
  }

  /* Doctors Page Specifics */
  .doctors-section .container,
  .doctors-section .row,
  .doctors-section [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .doctor-2.edge-to-edge-mobile {
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
}

/* COMPACT AND TIGHT LAYOUT - Aggressive Spacing Reduction */
.hero-section {
  padding-bottom: 10px !important;
}

.wide-100,
.wide-90,
.wide-80,
.wide-70,
.wide-60,
.wide-50,
.division {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

.wide-40,
#doctors-1 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.slider-section {
  padding: 15px 15px !important;
}

.section-title {
  margin-bottom: 15px !important;
}

.section-title h3 {
  margin-bottom: 5px !important;
}

@media (max-width: 767px) {

  /* EXTREMELY TIGHT MOBILE SPACING */
  .wide-100,
  .wide-90,
  .wide-80,
  .wide-70,
  .wide-60,
  .wide-50,
  .division,
  .hero-section {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .wide-40,
  #doctors-1 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  .slider-section {
    padding: 5px 10px !important;
  }

  .section-title {
    margin-bottom: 10px !important;
    padding-top: 5px !important;
  }

  .hero-buttons {
    padding-bottom: 15px !important;
  }

  .sbox-7 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; /* Force square shape */
    height: auto !important;
    max-width: 140px !important;
    margin: 0 auto 15px !important;
    padding: 10px !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease-in-out !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  .sbox-7:hover, .sbox-7:active {
    transform: translateY(-3px) !important;
    border-color: #007bff !important;
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.08) !important;
  }

  .sbox-7 span[class*="flaticon-"] {
    font-size: 32px !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
    color: #007bff !important;
  }

  .sbox-7 h5 {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    padding: 0 !important;
    width: 100% !important;
  }

  padding-top: 0 !important;
  padding-bottom: 0 !important;

  /* Only headings visible on mobile sections - Universal paragraph wipeout */
  section p, .division p, .hero-section p, .hero-txt p, .section-title p, .txt-block p, .sbox-7 p, 
  #hero-1 p, #hero-2 p, #hero-3 p, #hero-4 p, #hero-5 p, #hero-6 p, #hero-7 p, #hero-8 p, #hero-9 p, #hero-10 p {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  /* Hide bullet lists and subtitles that are not headings */
  section ul, .hero-points, .hero-subtitle, .hero-txt span {
    display: none !important;
  }

  /* FIXED HEADING VISIBILITY - Prevent cutoff from top header for sub-sections */
  .section-title h3, .hero-txt h2, .txt-block h3, .slider-title {
    padding-top: 100px !important; /* Significant top space for visibility during scroll */
    margin-bottom: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center !important;
    clear: both !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* REDUCED HERO TOP SPACE - For the very first section on mobile */
  .hero-title {
    padding-top: 15px !important; /* Tight top space for hero */
    margin-bottom: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ================================================================ */
/* TABLET RESTORE TO DESKTOP LAYOUT (768px - 1024px)                */
/* These rules come LAST to override the max-width:991px block above */
/* ================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {

  /* ---- NAVBAR: Show full horizontal nav, hide hamburger ---- */
  .header-nav {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    gap: 18px !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .header-btn {
    display: block !important;
  }

  /* ---- HERO: Side-by-side layout ---- */
  .hero-section {
    min-height: 65vh !important;
    padding: 60px 0 80px !important;
    overflow: visible !important;
  }

  .hero-container {
    flex-direction: row !important;
    text-align: left !important;
    gap: 40px !important;
    padding: 0 40px !important;
  }

  .hero-left {
    width: 55% !important;
    flex: 0 0 55% !important;
    max-width: 55% !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .hero-right {
    width: 45% !important;
    flex: 0 0 45% !important;
    max-width: 45% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }

  .hero-right img {
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    margin: 0 !important;
  }

  .hero-title {
    text-align: left !important;
    padding-top: 0 !important;
    display: block !important;
    flex-direction: unset !important;
    align-items: unset !important;
  }

  .hero-img {
    max-width: 90% !important;
    margin-top: 0 !important;
    animation: floatImage 6s ease-in-out infinite !important;
  }

  /* ---- DOCTOR CARD: Side-by-side layout ---- */
  .doctor-profile-card {
    flex-direction: row !important;
    text-align: left !important;
  }

  .doctor-image-container {
    width: 40% !important;
    flex-shrink: 0 !important;
    display: block !important;
    justify-content: unset !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .doctor-image-container img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .doctor-content {
    width: 60% !important;
    padding: 40px !important;
    text-align: left !important;
  }

  .doctor-badge,
  .doctor-divider {
    margin: 0 0 20px !important;
  }

  .doctor-actions,
  .doctor-stats {
    justify-content: flex-start !important;
  }

  .stat-item {
    align-items: flex-start !important;
  }

  /* ---- SERVICES GRID: 2 columns, full cards ---- */
  /* The services use col-6 col-md-6, so Bootstrap gives 2 per row on tablet.
     The inner row wrapper (col-lg-12 > row > col-md-6) needs proper column sizing. */
  #services-7 .col-lg-12 > .row > div {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 12px !important;
    display: flex !important;
  }

  .sbox-7 {
    width: 100% !important;
    height: auto !important;          /* CRITICAL: no fixed/clamped height */
    min-height: 0 !important;
    max-height: none !important;
    padding: 30px 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
    border-radius: 16px !important;
  }

  .sbox-7 span[class*="flaticon-"] {
    font-size: 42px !important;
    margin-bottom: 15px !important;
    display: block !important;
  }

  .sbox-7 h5 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    color: #0c2340 !important;
    white-space: normal !important;   /* allow wrapping */
  }

  .sbox-7 p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    display: block !important;        /* make visible */
    visibility: visible !important;
    height: auto !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  /* ---- TECHNOLOGY SECTION: Stacked (mobile flow) to prevent image/text overlap ---- */
  /* Using column layout like mobile — side-by-side caused the image to overflow and
     the text boxes to visually appear on top of the image on tablets. */
  .tech-reorder-row {
    display: flex !important;
    flex-direction: column !important;   /* COLUMN: not row */
    align-items: stretch !important;
    gap: 0 !important;
  }

  /* Image: full-width on top */
  .tech-image-col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    order: 1 !important;
    margin-bottom: 0 !important;
  }

  .tech-card {
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .tech-card-img {
    height: 320px !important;          /* good height for tablet landscape */
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .tech-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: static !important;       /* no absolute positioning = no overflow */
  }

  /* Experience badge: pin inside the image */
  .experience-badge {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    z-index: 5 !important;
  }

  /* Text content: full-width BELOW the image */
  .tech-text-col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    order: 2 !important;
    display: block !important;
  }

  .tech-txt-block {
    display: block !important;
    padding: 30px 25px !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .tech-badge {
    align-self: flex-start !important;
    margin-bottom: 12px !important;
  }

  .tech-txt-block h2 {
    font-size: 2rem !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }

  .tech-txt-block .p-lg {
    text-align: left !important;
    margin-bottom: 20px !important;
    display: block !important;
  }

  /* Feature cards: icon + text side by side (clean row layout) */
  .tech-box-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
    padding: 18px 16px !important;
    margin-bottom: 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
  }

  .tech-box-list:hover {
    border-color: #007bff !important;
    transform: translateY(-3px) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.08) !important;
  }

  .tech-info {
    flex: 1 !important;
    text-align: left !important;
  }

  .tech-info h5 {
    text-align: left !important;
    margin-bottom: 4px !important;
  }

  .tech-info p {
    text-align: left !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }

  /* ---- BLOG SECTION: 3 columns, clean card layout ---- */
  #blog-1 .col-lg-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    display: flex !important;
    padding: 12px !important;
  }

  .blog-card {
    width: 100% !important;
    height: auto !important;          /* let card grow with content */
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07) !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
  }

  .blog-card-img {
    position: relative !important;    /* NOT absolute - no overlap */
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;        /* don't compress the image */
  }

  .blog-card-img img {
    position: static !important;      /* CRITICAL: prevent overlap */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .blog-card-overlay {
    display: none !important;         /* hide overlay that causes visual confusion */
  }

  .blog-card-txt {
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    position: static !important;      /* text sits below image, not over it */
    background: #ffffff !important;
    overflow: visible !important;
  }

  .blog-card-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  .blog-card-title a {
    color: #0c2340 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .blog-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 0.78rem !important;
    color: #64748b !important;
    margin-bottom: 10px !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .blog-card-excerpt {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    color: #475569 !important;
    display: block !important;
    visibility: visible !important;
    overflow: visible !important;
    height: auto !important;
    white-space: normal !important;
    margin: 0 !important;
  }

  /* ---- TABS SECTION: Desktop-style tabs ---- */
  #tabs-nav .nav-pills {
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

  #tabs-nav .nav-link {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .tab-img-container {
    height: 400px !important;
    margin-bottom: 0 !important;
  }

  .txt-block {
    text-align: left !important;
  }

  .txt-block .box-list {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .box-list-icon {
    display: inline-block !important;
  }

  /* ---- SECTION TITLES: Centered like desktop ---- */
  .section-title {
    text-align: center !important;
    margin-bottom: 40px !important;
  }

  .section-title h3 {
    text-align: center !important;
    font-size: 2.5rem !important;
  }

  .section-title p {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 750px !important;
    font-size: 1.1rem !important;
  }

  /* ---- TABS: Active button = Blue (match laptop) ---- */
  #tabs-nav .nav-link {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
  }

  #tabs-nav .nav-link:hover {
    background: #f8fafc !important;
    border-color: #007bff !important;
    color: #007bff !important;
  }

  /* Active tab — blue fill (same as laptop view) */
  #tabs-nav .nav-link.active,
  #tabs-nav .nav-link[aria-selected="true"],
  #tabs-nav .nav-link.active:focus,
  #tabs-nav .nav-link.active:hover {
    background: #007bff !important;
    border-color: #007bff !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(0, 123, 255, 0.35) !important;
  }

  /* Active tab icon color */
  #tabs-nav .nav-link.active span {
    color: #ffffff !important;
  }

}

/* ================================================================ */
/* FOOTER TABLET LAYOUT (768px - 1024px)                            */
/* Proper 2×2 grid, left-aligned headings with underline, clean     */
/* ================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {

  .footer-container {
    width: 92% !important;
    max-width: none !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
  }

  /* 2-column grid for tablet: brand+location in row 1, time+emergency in row 2 */
  .footer-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 35px 40px !important;
    justify-content: unset !important;
    text-align: left !important;
  }

  /* All footer columns: left-aligned on tablet */
  .footer-col {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    display: block !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Brand section: horizontal logo + text */
  .footer-brand {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
  }

  .footer-brand div {
    display: block !important;
    align-items: unset !important;
    flex-direction: unset !important;
  }

  .footer-brand h3 {
    text-align: left !important;
    font-size: 22px !important;
  }

  .footer-sub {
    text-align: left !important;
  }

  .footer-desc {
    text-align: left !important;
    max-width: 100% !important;
  }

  /* Column headings: left-aligned with underline on left */
  .footer-col h4 {
    text-align: left !important;
    font-size: 17px !important;
    margin-bottom: 18px !important;
    padding-bottom: 10px !important;
  }

  .footer-col h4::after {
    left: 0 !important;
    transform: none !important;   /* remove mobile's 50%/translateX centering */
  }

  /* Paragraph text: left-aligned */
  .footer-col p,
  .footer-col a {
    text-align: left !important;
  }

  /* Emergency number */
  .footer-emergency h2 {
    font-size: 1.1rem !important;
    text-align: left !important;
  }

  /* Footer bottom bar: side by side on tablet */
  .footer-bottom {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    gap: 0 !important;
    margin-top: 35px !important;
  }

  .footer-bottom p {
    text-align: left !important;
    margin: 0 !important;
  }

  .footer-social {
    justify-content: flex-end !important;
  }
}

/* ================================================================ */
/* SKELETON LOADER                                                   */
/* Replaces the spinner with a page-shaped shimmer skeleton          */
/* ================================================================ */

/* Shimmer keyframe */
@keyframes sk-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

/* Outer wrapper — sits over the full page while content loads */
#skeleton-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  z-index: 99999;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#skeleton-loader.sk-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Every shimmer box */
.sk-box {
  background: linear-gradient(
    90deg,
    #e2e8f0 25%,
    #f1f5f9 50%,
    #e2e8f0 75%
  );
  background-size: 600px 100%;
  animation: sk-shimmer 1.4s infinite linear;
  border-radius: 8px;
  display: block;
}

/* Circle variant (icons, logo) */
.sk-circle {
  border-radius: 50% !important;
  flex-shrink: 0;
}

/* ---- Skeleton Navbar ---- */
.sk-navbar {
  background: #0a1932;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sk-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sk-nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Override shimmer colours inside dark navbar */
.sk-navbar .sk-box {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.08) 25%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.08) 75%
  );
  background-size: 600px 100%;
}

/* Hide nav links on mobile/small screens in skeleton */
@media (max-width: 768px) {
  .sk-nav-links { display: none; }
  .sk-navbar > .sk-box:last-child { display: none; }
}

/* ---- Skeleton Hero ---- */
.sk-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 5% 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.sk-hero-left {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
}

.sk-hero-right {
  flex: 0 0 42%;
}

.sk-hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

/* Stack hero on mobile */
@media (max-width: 767px) {
  .sk-hero { flex-direction: column; padding: 30px 5%; }
  .sk-hero-left { flex: 0 0 100%; }
  .sk-hero-right { flex: 0 0 100%; width: 100%; }
  .sk-hero-right .sk-box { height: 220px !important; }
  .sk-nav-links { display: none !important; }
}

/* ---- Skeleton Cards Section ---- */
.sk-section {
  padding: 50px 5%;
  max-width: 1200px;
  margin: 0 auto;
  background: #f1f5f9;
}

.sk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.sk-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

@media (max-width: 767px) {
  .sk-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sk-card:last-child { display: none; }
}

/* ================================================================ */
/* TABLET NAVBAR OVERRIDE in vardaan-hospital.css                    */
/* (applies after all other rules since it's here at the bottom)    */
/* ================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Force mobile hamburger navbar on tablet — override desktop block */
  .custom-header .header-nav {
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    background: #0a1932 !important;
    flex-direction: column !important;
    display: none !important;
    text-align: center !important;
    padding: 20px 0 !important;
    z-index: 9999 !important;
    gap: 5px !important;
  }

  .custom-header .header-nav.active {
    display: flex !important;
  }

  .custom-header .menu-toggle {
    display: block !important;
    font-size: 26px !important;
  }

  .custom-header .header-btn {
    display: none !important;
  }
}