html, body {
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}
.site-logo {
    height: 60px;
    width: auto;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.menu-toggle {
    color: black; /* Set icon color */
}
/* ====== Header ====== */
header {
    /* background: linear-gradient(90deg, #0f2027, #203a43, #2c5364); Elegant dark blue gradient */
       background: #ffffff;
    color: white;
    padding: 10px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.header-left h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    font-size: 16px;
    font-weight: 500;
    color: black;
    padding: 8px 12px;
    border-radius: 6px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: black;
}

/* ====== Menu Toggle (Mobile) ====== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: black;
    cursor: pointer;
}

/* ====== Footer ====== */
footer {
    background: #003366; /* Same gradient as header */
    color: #e3f2fd;
    padding: 25px 5%;
    text-align: center;
    font-size: 14px;
    border-top: 4px solid #3f51b5;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}
/* ✅ Responsive header logo and flag adjustment */
@media (max-width: 576px) {
  .header-left {
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .header-left .site-logo {
    height: 38px !important;
  }
.messages {
  max-width: 760px;
  margin: 20px auto;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-weight: 500;
}

.alert.success {
  background: #dff0d8;
  color: #3c763d;
}

.alert.error {
  background: #f8d7da;
  color: #721c24;
}

.alert.warning {
  background: #fff3cd;
  color: #856404;
}

.alert.info {
  background: #d1ecf1;
  color: #0c5460;
}

/* 🔵 Custom for Razorpay success */
.alert.blue-success {
  background: #3f51b5;
  color: #fff;
}
  .header-left .tenor-gif-embed {
    max-width: 34px;
    max-height: 24px;
    overflow: hidden;
    margin-left: 4px;
  }
}
footer p {
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.site-footer {
    background: #003366;
    color: #fff;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-brand h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-links {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFC107;
}


.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
    font-size: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #3f51b5, #5c6bc0);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(63, 81, 181, 0.3);
}

.footer-social a:hover {
    background: linear-gradient(135deg, #5c6bc0, #3f51b5);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 25px rgba(63, 81, 181, 0.4);
}


.footer-apps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
}

.footer-apps img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    border-radius: 16px;
    padding: 12px;
    background: linear-gradient(to bottom right, #ffffff0d, #ffffff1a);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-apps img:hover {
    transform: scale(1.15);
    background: linear-gradient(to bottom right, #ffffff22, #ffffff33);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-apps img {
        height: 36px;
        margin: 10px;
    }
}



/* ====== Responsive Mobile Nav ====== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        animation: fadeIn 0.2s ease-in-out;
    }

    nav.nav-open {
        display: flex;
    }

    nav a {
        padding: 12px 16px;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
.site-footer {
    flex-shrink: 0;
}
main {
    flex: 1; /* Takes up remaining vertical space */
}
/* Premium Rounded Search Form */
.rounded-search-form {
  display: flex;
  align-items: center;
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 3px;
}

.rounded-search-form input[type="text"] {
  flex: 1;
  padding: 1px 8px;
  border: none;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: #333;
}

.rounded-search-form button {
  background: #003366; /* Same gradient as header */
  border: none;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#mainNav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: #ffffff;
  padding: 14px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Poppins', sans-serif;
  flex-wrap: wrap;
  border-radius: 12px;
}

#mainNav a {
  color: #003366;
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

#mainNav a:hover {
  background-color: #003366;
  color: white;
}

#mainNav .whatsapp-link {
  color: white;
  font-size: 18px;
  padding: 6px;
}

#mainNav .whatsapp-link:hover {
  color: white;
  background: #25D366;
}

/* ===== Responsive Mobile Navigation ===== */
@media (max-width: 768px) {
  /* Hide by default */
  #mainNav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    animation: fadeIn 0.25s ease-in-out;
    background: #fff; /* optional: ensure mobile menu has background */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 999;
  }

  /* Show when nav-open class is added */
  #mainNav.nav-open {
    display: flex;
  }

  #mainNav a {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 16px;
    color: #333;
    text-decoration: none;
  }

  #mainNav a:hover {
    background-color: #f0f0f0;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    margin-left: auto;
    cursor: pointer;
    padding: 10px;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.verified-badge {
  width: 26px;
  height: 26px;
  margin-left: 8px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .verified-badge {
    width: 20px;
    height: 20px;
    margin-left: 6px;
  }
}


/* Mobile Fix */
/* Mobile Optimized */
@media (max-width: 576px) {
  .header-bar {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .rounded-search-form {
    max-width: 30%;
     padding: 1px 10px;
    margin: 0 1px;
  }
}



/* WhatsApp Icon in Header */
nav .whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    padding: 8px;
    
    font-size: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

nav .whatsapp-link:hover {
    background-color: #1ebe5b;
    transform: scale(1.1);
}



/* core/css/shimmer.css */
.shimmer-card {
  background: #f6f7f8;
  border-radius: 8px;
  animation: shimmer 1.5s infinite linear;
  position: relative;
  overflow: hidden;
}

.shimmer-img {
  width: 100%;
  height: 100px;
  background: #e0e0e0;
  border-radius: 6px;
  margin-bottom: 10px;
}

.shimmer-line {
  height: 12px;
  background: #e0e0e0;
  margin: 6px 0;
  border-radius: 4px;
}

.shimmer-line.short { width: 70%; }
.shimmer-line.tiny { width: 40%; }

@keyframes shimmer {
  0% { background-position: -500px 0; }
  100% { background-position: 500px 0; }
}
.disable-click {
  pointer-events: none;
}
.scroll-doctor-list {
    padding: 40px 20px;
    background-color: #ffffff;
    margin-top: 40px;
    border-top: 2px solid #e2e8f0;
}
.scroll-doctor-list .section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}
.doctor-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}
.doctor-scroll::-webkit-scrollbar {
    height: 8px;
}
.doctor-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.scroll-doctor-list .doctor-card {
    min-width: 220px;
    max-width: 240px;
    flex-shrink: 0;
    background: #f9fafc;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.2s;
}
.scroll-doctor-list .doctor-card:hover {
    transform: translateY(-5px);
}
.scroll-doctor-list .doctor-card img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #e0e0e0;
}
.scroll-doctor-list .doctor-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #111827;
}
.scroll-doctor-list .doctor-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.btns-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.btns-whatsapp:hover {
    background-color: #1ebe5d;
}
.floating-whatsapp-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background-color: #25d366;
  color: white;
  font-size: 26px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background 0.3s ease;
}

.floating-whatsapp-btn:hover {
  background-color: #1ebe5d;
}
