* {

    margin: auto;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff;
    line-height: 1.5;


}

.navbar-index {
    display: flex;
    flex-direction: column;
}

.upper-nav{
padding-left: 12px;
display: flex;
width:100%;
margin:0px;
justify-content: space-between;
padding-right: 0px;
background-color: #abb9d1;
border-bottom: 1px solid #dce3f5;
}

.upper-nav-contact-info{
    display: flex;
    margin: 0px 
}
.upper-nav-info{
    font-size: 14px;
    margin-right: 14px;
    color: #334c9e
}

.lower-nav {
  padding: 12px 24px;
  background-color: #ecf1ff;
  width: 100%;
  margin: 0;
}

.lower-nav-logo {
  height: 200px; /* increased from 30px */
  width: auto;
}

.nav-logos{
    display: flex;
    margin:0px
}

.nav-btn {
    margin: 0px;
    display: flex;
}
.contactus-nav{
padding: 16px;
background-color: #4a64d3;
color: white;
}

.lowe-nav-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* keep everything to the left */
}


.nav_icon {
    height: 20px;
    margin-left: 12px
}

/* HERO SECTION*/
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    align-items: start;
}

/* General image styling */
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* LEFT COLUMN */
.hero .left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.left .text-card {
    background-color: #4462a8;
    color: white;
    padding: 25px;
    border-radius: 12px;
}

.text-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.text-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* MIDDLE COLUMN */
.middle {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Image with text overlay */
.middle .image-with-text {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.middle .image-with-text img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #c5d9f8;
    margin-bottom: 250px;
}

.middle .image-with-text .overlay-text {
    position: absolute;
    top: -8px;
    left: 50px;
    color: #4462a8;
    font-size: 1.5rem;
    font-weight: bold;
    background: #c5d9f8;
    padding: 5px 10px;
    border-radius: 6px;
}

/* RIGHT COLUMN */
.hero .right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: -200px;
}

/* ABOUT SECTION */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    gap: 50px;
}

/* Left Images Container */
.about-images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* Align images to top so offsets work */
}

/* First image slightly higher */



/* Common image styling */
.about-images img {
    width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Play button overlay container */
.image-with-play {
    position: relative;
    display: inline-block;
    margin-bottom: -60px;
    opacity: 0.5;
}

/* Play button styling */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #4a6cf7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Right Content */
.about-content {
    flex: 1;
}

.about-content h5 {
    color: #4a6cf7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1d1d1d;
}

.about-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6cf7;
    font-size: 1.2rem;
}

.feature h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.feature p {
    margin: 0;
    color: #555;
}

.about-content button {
    background-color: #4a6cf7;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-content button:hover {
    background-color: #3a56c4;
}




/* SERVICES SECTION */
.services {
    text-align: center;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
}

.services .subtitle {
    color: #3f51b5;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.services .title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: #F5F6FA;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    justify-content: space-between;
}

.service-card .icon {
    background: #e8ebff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    margin-bottom: 15px;
}

.service-card .icon img {
    max-width: 40px;
    max-height: 40px;
    align-items: left;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.service-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;

}

.service-card a {
    font-size: 14px;
    font-weight: bold;
    color: #3f51b5;
    text-decoration: none;

}

.service-card a:hover {
    text-decoration: underline;
}


/* DOCTORS SECTION */
.doctors {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.doctors h2 {
    text-align: center;
    margin-bottom: 30px;
}

.doctors span {
    color: #2f6ed4;
}

.doctor-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.doctor-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.doctor-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.doctor-card a {
    display: inline-block;
    margin-top: 10px;
    background: #2f6ed4;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
}

/* HOSPITALS SECTION */
.hospitals-section {
  text-align: center;
  padding: 40px 0;
}

.hospitals-section h2 {
  margin-bottom: 25px;
  font-size: 2rem;
  color: #222;
}

.slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.hospitals-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}

.hospitals-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome/Safari */
}

.hospital-card {
  flex: 0 0 250px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.hospital-card:hover {
  transform: translateY(-5px);
}

.hospital-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hospital-info {
  padding: 10px;
  background: rgba(255,255,255,0.9);
}

.hospital-info h3 {
  margin: 5px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.hospital-info span {
  color: #333;
  font-size: 0.9rem;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

/* ---------- Trusted by Thousands ---------- */
.trusted {
    padding: 60px 0 30px;
}

.trusted-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 48px;
}

/* Left composition */
.trusted-visual {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
}


.trusted-img {
    position: relative;
    z-index: 1;
    width: 95%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    /* use PNG with transparent bg for best look */
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .12));
}

/* Right text */
.eyebrow {
    color: #5b75e6;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: none;
    margin-bottom: 10px;
}

.trusted-title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    color: #1a2433;
    font-weight: 800;
    margin: 6px 0 14px;
}

.gradient-text {
    background: linear-gradient(90deg, #3960e6, #4bb0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.trusted-copy {
    color: #4a5568;
    max-width: 600px;
}

/* General Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-subtitle {
    color: #3a6cf4;
    font-weight: bold;
    text-transform: uppercase;
}

.section-title {
    font-size: 2rem;
    margin: 10px 0 20px;
    color: #1a1a1a;
}

/* HOW IT WORKS */

.how-it-works {
    /* center within the page and control width */
    width: min(1120px, 92vw);
    margin: 0 auto;
    padding: 56px 0 64px;
    color: #0a0a0a;
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* --- Intro row (title on left, small paragraph on right) --- */
.how-it-works .intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.how-it-works .intro-text h5 {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    font-size: 12.5px;
    letter-spacing: .12em;
    font-weight: 700;
    color: #5b6fe7;
    /* blue tag like in mock */
    text-transform: uppercase;
    margin-bottom: 10px;
}

.how-it-works .icon {
    line-height: 1;
    font-size: 16px;
    color: #5b6fe7;
}

.how-it-works .intro-text h2 {
    margin: 0;
    font-weight: 800;
    line-height: 1.25;
    /* scales like the design on wide/narrow screens */
    font-size: clamp(26px, 2.5vw + 12px, 38px);
    max-width: 640px;
    /* keeps the line breaks similar to the image */
}

.how-it-works .intro-desc {
    max-width: 380px;
    font-size: 15.5px;
    line-height: 1.55;
    color: #4a4f57;
}

/* --- Steps grid (2 x 2) with soft rounded container and inner dividers --- */
.how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 1px dividers without an outer border */
    gap: 1px;
    background: #e6ecf6;
    /* divider color */
    border-radius: 16px;
    overflow: hidden;
    /* keeps rounded corners perfect */
}

/* cells */
.how-it-works .step {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    padding: 32px 34px;
    /* alternating column tint like the reference (left lighter, right slightly deeper) */
    background: #f5f8fe;
}

.how-it-works .step:nth-child(1),
.how-it-works .step:nth-child(4) {
    background: #eef3ff;
}

/* round number badge */
.how-it-works .step-number {
    flex: 0 0 44px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #5b6fe7;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .05) inset;
}

/* titles & copy */
.how-it-works .step h3 {
    margin: 2px 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #14171c;
}

.how-it-works .step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #4d5360;
    max-width: 100%;
}


/* APPOINTMENT */
/* Container */
.appointment-section {
    padding: 60px 0;
    font-family: Arial, sans-serif;
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    align-items: start;
}

/* Left Column */
.section-subtitle {
    color: #5b6fe7;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-desc {
    font-size: 15px;
    color: #333;
    margin-bottom: 24px;
}

.contact-details {
    display: flex-start;
    flex-direction: column;
    gap: 14px;
}

.contact-item {

    align-items: flex-start;
    font-size: 15px;
    color: #222;
}

.contact-item .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e7eafc;
    color: #5b6fe7;
    font-size: 14px;
    margin-right: 10px;
}

/* Form Styles */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea,
.appointment-form button {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: #5b6fe7;
}

.appointment-form button {
    background: #5b6fe7;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.appointment-form button:hover {
    background: #4a5dd6;
    width: 100%;
}


/* FOOTER */
footer {
    background: #3a6cf4;
    color: white;
    padding-top: 40px;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-col h4 {
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.btn-primary,
.btn-secondary {
    display: block;
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    color: #1a1a1a;
    background: white;
    cursor: pointer;
}

.btn-secondary {
    background: #e5e5e5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons a {
    color: white;
    margin: 0 5px;
    font-size: 1.2rem;
}

/* ===== HEADER BAR ===== */
.top-header {
  background-color: #edf1ff; /* light blue like your image */
  padding: 10px 40px;
  border-bottom: 1px solid #dce3f5;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-left .logo {
  height: 30px;
}
.brand-name {
  font-size: 2.5rem; /* roughly 24px */
  font-weight: 600;
  color: #0b2042;
  letter-spacing: 0.5px;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Center: Social icons */
.header-center {
  display: flex;
  gap: 15px;
}

.header-center a {
  color: #4a63d3;
  font-size: 16px;
  transition: color 0.3s;
}

.header-center a:hover {
  color: #0b2042;
}

/* Right: Contact info + button */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #324b9e;
}

.contact-info i {
  margin-right: 6px;
  color: #4a63d3;
}

.contact-btn {
  background-color: #4a63d3;
  color: white;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s;
}

.contact-btn:hover {
  background-color: #2d3b8a;
}

.fixed-contact-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: rgba(52, 1, 63, 0.95);
    padding: 12px 8px;
    border-radius: 0 8px 8px 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.fixed-contact-sidebar a {
    color: #fff;
    font-size: 1.7em;
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.fixed-contact-sidebar a:hover {
    color: #25D366;
    transform: scale(1.15);
}
/* ===== Floating Sidebar ===== */
.contact-sidebar {
  position: fixed;
  top: 50%;
  right: 20px; /* Position on right side */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.sidebar-icon {
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.sidebar-icon img {
  width: 28px;
  height: 28px;
}

.sidebar-icon:hover {
  transform: scale(1.1);
}

/* WhatsApp - green */
.sidebar-icon.whatsapp {
  background-color: #25D366;
}

/* Phone - blue */
.sidebar-icon.phone {
  background-color: #4A63D3;
}

/* Email - orange */
.sidebar-icon.email {
  background-color: #FF9800;
}

/* Icons turn white on hover */
.sidebar-icon:hover img {
  filter: brightness(0) invert(1);
}

/* ===== MOBILE OPTIMIZATIONS ===== */

/* Tablet and below */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
  }

  .hero .right {
    display: none;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .trusted {
    padding: 30px 0 20px;
  }

  .trusted-visual {
    order: -1;
    min-height: 240px;
  }

  .appointment-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .appointment-section {
    padding: 30px 0;
  }

  .how-it-works {
    padding: 30px 0 40px;
  }

  .how-it-works .steps-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    margin: 30px auto;
    gap: 30px;
  }

  .services {
    padding: 30px 15px;
  }

  .doctors {
    padding: 30px 15px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* Navbar adjustments */
  .upper-nav {
    padding: 6px 8px;
  }

  .upper-nav-contact-info {
    display: none;
  }

  .lower-nav {
    padding: 8px 12px;
  }

  .contactus-nav {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* Hero section */
  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    margin-top: 10px;
  }

  .left .text-card {
    padding: 16px;
  }

  .text-card h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .text-card p {
    font-size: 0.9rem;
  }

  .middle .image-with-text img {
    margin-bottom: 150px;
  }

  .middle .image-with-text .overlay-text {
    font-size: 1rem;
    left: 15px;
    top: 5px;
    padding: 4px 8px;
  }

  /* About section */
  .about-section {
    flex-direction: column;
    gap: 20px;
    margin: 30px auto;
    padding: 0 15px;
  }

  .about-images {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .about-images img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }

  .image-with-play {
    margin-bottom: 0;
  }

  .about-content h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .about-content p {
    margin-bottom: 16px;
  }

  .about-features {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
  }

  .about-content button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Services */
  .services {
    padding: 30px 12px;
  }

  .services .title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 16px;
  }

  /* Doctors */
  .doctors {
    padding: 30px 12px;
  }

  .doctors h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .doctor-scroll {
    gap: 12px;
  }

  .doctor-card {
    min-width: 180px;
    padding: 14px;
  }

  /* Hospitals */
  .hospitals-section {
    padding: 30px 12px;
  }

  .hospitals-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .hospitals-slider {
    gap: 12px;
  }

  /* Trusted section */
  .trusted {
    padding: 30px 12px 20px;
  }

  .trusted-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .trusted-copy {
    font-size: 0.95rem;
  }

  /* How it works */
  .how-it-works {
    padding: 30px 0 40px;
    width: 94vw;
  }

  .how-it-works .intro {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    margin-bottom: 20px;
  }

  .how-it-works .intro-text h2 {
    font-size: 24px;
  }

  .how-it-works .intro-desc {
    font-size: 14px;
  }

  .how-it-works .step {
    padding: 20px 18px;
  }

  .how-it-works .step h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .how-it-works .step p {
    font-size: 13.5px;
  }

  /* Appointment */
  .appointment-section {
    padding: 30px 12px;
  }

  .appointment-container {
    gap: 20px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .section-desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .appointment-form {
    padding: 0;
  }

  .appointment-form input,
  .appointment-form select,
  .appointment-form textarea,
  .appointment-form button {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* Footer */
  .footer-flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  footer {
    padding-top: 30px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  /* Navbar */
  .lower-nav-logo {
    height: 80px;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .contactus-nav {
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav_icon {
    height: 18px;
    margin-left: 8px;
  }

  /* Hero */
  .hero {
    padding: 8px;
    gap: 8px;
  }

  .left .text-card {
    padding: 12px;
  }

  .text-card h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .text-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .middle .image-with-text img {
    margin-bottom: 100px;
  }

  .middle .image-with-text .overlay-text {
    font-size: 0.9rem;
    left: 10px;
    padding: 3px 6px;
  }

  /* About */
  .about-section {
    margin: 20px auto;
    padding: 0 12px;
    gap: 16px;
  }

  .about-content h5 {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .about-content h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .about-content p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .about-features {
    gap: 12px;
    margin-bottom: 16px;
  }

  .feature h4 {
    font-size: 1rem;
  }

  .feature p {
    font-size: 0.88rem;
  }

  /* Services */
  .services {
    padding: 24px 10px;
  }

  .services .subtitle {
    font-size: 11px;
  }

  .services .title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card {
    padding: 14px;
  }

  .service-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 13px;
  }

  /* Doctors */
  .doctors {
    padding: 24px 10px;
  }

  .doctors h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .doctor-scroll {
    gap: 10px;
  }

  .doctor-card {
    min-width: 160px;
    padding: 12px;
  }

  .doctor-card img {
    width: 70px;
    height: 70px;
  }

  .doctor-card h3 {
    font-size: 0.95rem;
  }

  .doctor-card p {
    font-size: 0.85rem;
  }

  /* Hospitals */
  .hospitals-section {
    padding: 24px 10px;
  }

  .hospitals-section h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .hospital-card {
    flex: 0 0 200px;
  }

  .hospital-card img {
    height: 140px;
  }

  .hospital-info h3 {
    font-size: 1rem;
  }

  /* Trusted */
  .trusted {
    padding: 24px 10px 16px;
  }

  .eyebrow {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .trusted-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .trusted-copy {
    font-size: 0.88rem;
  }

  /* How it works */
  .how-it-works {
    padding: 24px 0 32px;
  }

  .how-it-works .intro-text h5 {
    font-size: 11px;
  }

  .how-it-works .intro-text h2 {
    font-size: 20px;
  }

  .how-it-works .intro-desc {
    font-size: 13px;
  }

  .how-it-works .intro {
    margin-bottom: 16px;
  }

  .how-it-works .step {
    padding: 16px 14px;
    gap: 12px;
  }

  .how-it-works .step-number {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .how-it-works .step h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .how-it-works .step p {
    font-size: 12.5px;
  }

  /* Appointment */
  .appointment-section {
    padding: 24px 10px;
  }

  .section-subtitle {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .section-desc {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .contact-item {
    font-size: 13.5px;
  }

  .appointment-form input,
  .appointment-form select,
  .appointment-form textarea {
    padding: 9px 10px;
    font-size: 12.5px;
  }

  .appointment-form button {
    padding: 10px;
    font-size: 13px;
  }

  /* Footer */
  footer {
    padding-top: 24px;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .footer-col ul li,
  .footer-col p {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 8px;
    font-size: 0.88rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}