/* ============================================================
   HP HEALTH MISSION ASSAM
   Grassmorphossim UI · Premium White Theme
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0f6e4a;
  --primary-light: #2e9b76;
  --primary-soft: #e6f4ef;
  --accent: #1e7e8c;
  --accent-soft: #e2f0f2;
  --gray-soft: #f9fbfc;
  --shadow-sm: 0 12px 28px -8px rgba(0, 40, 30, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 24px 40px -12px rgba(15, 110, 74, 0.18);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #1e2b3c;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 110, 74, 0.08);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 6px 18px rgba(0, 30, 20, 0.02);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: 1.6rem;
  letter-spacing: -0.02em; color: var(--primary);
}
.logo i {
  font-size: 1.7rem; color: var(--primary-light);
  background: linear-gradient(145deg, #d9f0e9, #ffffff);
  padding: 10px; border-radius: 18px; box-shadow: var(--shadow-sm);
}
.logo span { color: #0b4f3a; font-weight: 700; }
.logo small {
  font-size: 0.8rem; font-weight: 400; color: #5e7c6f;
  letter-spacing: 0.02em; margin-left: 4px;
}

.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 8px 16px; border-radius: 40px; color: #1e3a33;
  transition: 0.2s ease;
}
.desktop-nav a:hover, .desktop-nav a.active {
  background: var(--primary-soft); color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 110, 74, 0.08);
}

.hamburger {
  display: none; font-size: 1.8rem; background: var(--primary-soft);
  color: var(--primary); width: 50px; height: 50px; border-radius: 18px;
  align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: 0.2s; border: none;
}
.hamburger:hover { background: var(--primary); color: white; }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 20, 15, 0.4);
  backdrop-filter: blur(6px); z-index: 2000;
  align-items: center; justify-content: center;
}
.mobile-menu.active { display: flex; }
.mobile-menu-content {
  background: #ffffff; width: 88%; max-width: 380px;
  border-radius: 48px; padding: 32px 24px;
  box-shadow: 0 40px 60px -20px rgba(0, 50, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-align: center; position: relative;
  animation: fadeSlide 0.25s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu-content .close-btn {
  position: absolute; top: 18px; right: 22px;
  font-size: 1.8rem; color: #6b8e7e; cursor: pointer;
  background: none; border: none;
}
.mobile-menu-content nav {
  display: flex; flex-direction: column; gap: 10px; margin: 28px 0 18px;
}
.mobile-menu-content nav a {
  text-decoration: none; font-size: 1.15rem; font-weight: 600;
  color: #1e3a33; padding: 14px 0; border-radius: 40px;
  transition: 0.15s;
}
.mobile-menu-content nav a:hover, .mobile-menu-content nav a.active {
  background: var(--primary-soft); color: var(--primary);
}
.mobile-menu-content .mobile-contact {
  font-size: 0.95rem; color: #4b6a5e;
  margin-top: 16px; border-top: 1px solid #dde9e4; padding-top: 20px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 32px; border-radius: 60px;
  font-weight: 600; text-decoration: none; transition: 0.25s ease;
  border: none; cursor: pointer; font-size: 0.98rem;
  background: white; color: #1e2b3c; box-shadow: var(--shadow-sm);
}
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 12px 22px -8px rgba(15, 110, 74, 0.4);
}
.btn-primary:hover {
  background: #0b5e3f; transform: translateY(-2px);
  box-shadow: 0 20px 30px -8px rgba(15, 110, 74, 0.5);
}
.btn-outline {
  background: white; border: 1.5px solid rgba(15, 110, 74, 0.2);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-soft); border-color: var(--primary-light);
}
.btn-whatsapp {
  background: #25D366; color: white;
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }

.float-wa {
  position: fixed; bottom: 30px; right: 30px;
  background: #25D366; color: white;
  width: 64px; height: 64px; border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 20px 30px -8px rgba(37, 211, 102, 0.5);
  z-index: 999; transition: 0.2s; text-decoration: none;
}
.float-wa:hover { transform: scale(1.08); background: #1ebe5a; }

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(46, 155, 118, 0.03) 0%, transparent 50%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 40px;
}
.hero-content h1 {
  font-size: 3.4rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.15;
  color: #103d30; margin-bottom: 24px;
}
.hero-content h1 span {
  background: linear-gradient(145deg, #0f6e4a, #2e9b76);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.15rem; color: #3e5b50;
  margin-bottom: 36px; max-width: 90%;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-image {
  border-radius: 48px; padding: 30px;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(145deg, #f0f9f6, #ffffff);
}
.hero-image img {
  width: 100%; border-radius: 32px; display: block;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

/* ---------- SECTIONS ---------- */
.section { padding: 70px 0; }
.section-title {
  font-size: 2.2rem; font-weight: 700;
  letter-spacing: -0.02em; color: #103d30;
  margin-bottom: 18px;
}
.section-sub {
  color: #4d6b5f; max-width: 720px; margin-bottom: 48px; font-size: 1.08rem;
}

/* ---------- CARDS ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.card {
  background: white; border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  border: 1px solid #f0f5f2; transition: 0.25s;
}
.card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-hover);
  border-color: var(--primary-soft);
}
.card i {
  font-size: 2rem; background: var(--primary-soft); color: var(--primary);
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 24px; margin-bottom: 22px;
  box-shadow: 0 6px 14px rgba(15, 110, 74, 0.08);
}
.card h3 { font-size: 1.35rem; margin-bottom: 12px; color: #103d30; }
.card p { color: #58776b; }

/* ---------- ABOUT BRIEF ---------- */
.about-brief {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  align-items: center; background: var(--gray-soft);
  border-radius: 48px; padding: 50px 40px;
  box-shadow: var(--shadow-sm); border: 1px solid #eef4f1;
}
.about-brief h2 { font-size: 2rem; margin-bottom: 20px; color: #103d30; }
.about-brief ul { list-style: none; margin-top: 24px; }
.about-brief ul li {
  margin-bottom: 14px; display: flex; gap: 12px;
  align-items: center; font-size: 1.02rem; color: #33544a;
}
.about-brief ul i {
  color: var(--primary); background: white;
  padding: 6px; border-radius: 50%; font-size: 0.8rem;
  box-shadow: 0 4px 8px rgba(15, 110, 74, 0.1);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding: 70px 0 40px; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(46, 155, 118, 0.06) 0%, transparent 60%);
}
.page-header h1 {
  font-size: 2.8rem; font-weight: 700;
  color: #103d30; margin-bottom: 16px; letter-spacing: -0.02em;
}
.page-header p {
  color: #4d6b5f; max-width: 720px; margin: 0 auto; font-size: 1.08rem;
}

/* ---------- TEAM ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.team-card {
  background: white; border-radius: var(--radius-lg);
  padding: 30px 20px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid #f0f5f2;
  transition: 0.25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-card .avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--primary-soft); margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--primary);
  border: 4px solid white; box-shadow: 0 10px 20px -8px rgba(15, 110, 74, 0.25);
}
.team-card h4 { font-size: 1.15rem; color: #103d30; margin-bottom: 4px; }
.team-card span { font-size: 0.9rem; color: #6b8e7e; }

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); position: relative;
  aspect-ratio: 4 / 3; background: var(--primary-soft);
  transition: 0.3s;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover { box-shadow: var(--shadow-hover); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0, 40, 25, 0.75));
  color: white; padding: 30px 20px 18px;
  font-weight: 600; font-size: 1rem;
}

/* ---------- NEWS ---------- */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.news-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid #f0f5f2; transition: 0.25s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-card .news-img {
  height: 200px; background: var(--primary-soft);
  overflow: hidden;
}
.news-card .news-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.news-card .news-body { padding: 26px 24px 28px; flex: 1; }
.news-card .date {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  color: var(--primary); background: var(--primary-soft);
  padding: 5px 14px; border-radius: 40px; margin-bottom: 14px;
}
.news-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #103d30; }
.news-card p { color: #58776b; font-size: 0.95rem; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--gray-soft); border-radius: var(--radius-lg);
  padding: 40px 34px; box-shadow: var(--shadow-sm);
  border: 1px solid #eef4f1;
}
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 24px; color: #103d30; }
.info-item {
  display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start;
}
.info-item i {
  background: white; color: var(--primary);
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(15, 110, 74, 0.08);
}
.info-item strong { display: block; color: #103d30; margin-bottom: 2px; }
.info-item span { color: #58776b; font-size: 0.95rem; }

.contact-form {
  background: white; border-radius: var(--radius-lg);
  padding: 40px 34px; box-shadow: var(--shadow-sm);
  border: 1px solid #f0f5f2;
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 24px; color: #103d30; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 600;
  color: #33544a; margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid #e2ece8; border-radius: 16px;
  font-family: inherit; font-size: 0.98rem; color: #1e2b3c;
  background: #fbfdfc; transition: 0.2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  background: white;
  box-shadow: 0 0 0 4px rgba(46, 155, 118, 0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-alert {
  padding: 16px 20px; border-radius: 16px; margin-bottom: 24px;
  font-size: 0.95rem; font-weight: 500;
}
.form-alert.success { background: #e6f4ef; color: #0f6e4a; border: 1px solid #b8e0d0; }
.form-alert.error { background: #fdecec; color: #a12d2d; border: 1px solid #f5c2c2; }

/* ---------- MAP ---------- */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-top: 50px;
  border: 6px solid white;
}
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: linear-gradient(135deg, #0f6e4a, #1e7e8c);
  border-radius: 48px; padding: 60px 40px;
  text-align: center; color: white; margin: 40px 0;
  box-shadow: 0 30px 50px -20px rgba(15, 110, 74, 0.4);
}
.cta-strip h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-strip p { opacity: 0.9; margin-bottom: 32px; font-size: 1.08rem; }
.cta-strip .btn { background: white; color: var(--primary); }
.cta-strip .btn:hover { background: #f0f9f6; transform: translateY(-2px); }
.cta-strip .btn-whatsapp { background: #25D366; color: white; }
.cta-strip .btn-whatsapp:hover { background: #1ebe5a; }

/* ---------- LEGAL / PRIVACY ---------- */
.legal-content {
  background: var(--gray-soft); border-radius: var(--radius-lg);
  padding: 50px 44px; box-shadow: var(--shadow-sm);
  border: 1px solid #eef4f1; max-width: 900px; margin: 0 auto;
}
.legal-content h2 { color: #103d30; margin: 30px 0 14px; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: #4d6b5f; margin-bottom: 14px; }
.legal-content ul { margin-left: 20px; color: #4d6b5f; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0d2b22; color: #d4e6df;
  padding: 60px 0 30px; margin-top: 70px;
  border-radius: 60px 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px; margin-bottom: 50px;
}
.footer-brand h3 { font-size: 1.7rem; color: white; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; color: #b0cfc3; margin-bottom: 24px; }
.footer-social a {
  color: #d4e6df; background: rgba(255, 255, 255, 0.06);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px; margin-right: 12px;
  transition: 0.2s; text-decoration: none;
}
.footer-social a:hover {
  background: var(--primary-light); color: white; transform: translateY(-3px);
}
.footer-links h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul a {
  color: #b0cfc3; text-decoration: none; transition: 0.2s; font-size: 0.95rem;
}
.footer-links ul a:hover { color: white; padding-left: 4px; }
.footer-contact p {
  margin-bottom: 14px; display: flex; gap: 14px;
  align-items: flex-start; color: #c2dbd1; font-size: 0.95rem;
}
.footer-contact i { width: 20px; color: #7cc9a9; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.9rem; color: #9cb9ac;
  flex-wrap: wrap; gap: 16px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-brief, .contact-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 12px 0; }
  .hero-content h1 { font-size: 2.3rem; }
  .section-title, .page-header h1 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-wa { width: 58px; height: 58px; font-size: 2rem; bottom: 20px; right: 20px; }
  .about-brief, .legal-content, .contact-form, .contact-info-card { padding: 30px 22px; }
  .hero-image { padding: 18px; }
  .cta-strip { padding: 40px 24px; }
  .cta-strip h2 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.9rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .logo small { display: none; }
  .logo { font-size: 1.3rem; }
  .page-header h1 { font-size: 1.6rem; }
}

/* ============================================================
   FINAL HP HEALTH MISSION ASSAM FULL-SCREEN HERO CAROUSEL
   Server images: assets/images/hero-1.jpg ... hero-4.jpg
   ============================================================ */

.hero.hero-fullscreen {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100vh !important;
  min-height: 600px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #071b15 !important;
}

@supports (height: 100svh) {
  .hero.hero-fullscreen {
    height: 100svh !important;
  }
}

.hero-fullscreen .hero-slides {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.hero-fullscreen .hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: 1 !important;
  transition: opacity .9s ease, visibility .9s ease !important;
}

.hero-fullscreen .hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2 !important;
}

.hero-fullscreen .hero-slide::before,
.hero-fullscreen .hero-slide::after {
  display: none !important;
}

.hero-fullscreen .hero-slide img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transform: scale(1.035) !important;
  transition: transform 6s ease !important;
}

.hero-fullscreen .hero-slide.active img {
  transform: scale(1) !important;
}

/* Professional subtle overlay */
.hero-fullscreen .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.05) 0%,
      rgba(0,0,0,.02) 50%,
      rgba(0,0,0,.42) 100%
    ) !important;
}

/* Only CTA */
.hero-fullscreen .hero-button-wrap {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 105px !important;
  z-index: 10 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: none !important;
  padding: 0 20px !important;
}

.hero-fullscreen .hero-main-button {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 190px !important;
  min-height: 54px !important;
  padding: 14px 30px !important;
  border-radius: 999px !important;
  background: var(--primary) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 15px 35px rgba(0,0,0,.25) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease !important;
}

.hero-fullscreen .hero-main-button:hover {
  background: #0b5e3f !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,.30) !important;
}

/* Indicators */
.hero-fullscreen .hero-indicators {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 38px !important;
  z-index: 10 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 9px !important;
}

.hero-fullscreen .hero-indicator {
  width: 30px !important;
  height: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.45) !important;
  cursor: pointer !important;
  transition: width .3s ease, background .3s ease !important;
}

.hero-fullscreen .hero-indicator.active {
  width: 55px !important;
  background: #fff !important;
}

/* Progress */
.hero-fullscreen .hero-progress {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 3px !important;
  z-index: 20 !important;
  background: rgba(255,255,255,.18) !important;
  overflow: hidden !important;
}

.hero-fullscreen .hero-progress span {
  display: block !important;
  width: 0 !important;
  height: 100% !important;
  background: #fff !important;
  transition: width 6000ms linear !important;
}

/* ---------- HERO: MOBILE ---------- */
@media (max-width: 768px) {
  .hero.hero-fullscreen {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
  }

  .hero-fullscreen .hero-slide,
  .hero-fullscreen .hero-slides {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-fullscreen .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .hero-fullscreen .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.06) 0%,
      rgba(0, 0, 0, 0.04) 45%,
      rgba(0, 0, 0, 0.48) 100%
    ) !important;
  }

  .hero-fullscreen .hero-button-wrap {
    bottom: 48px !important;
  }

  .hero-fullscreen .hero-main-button {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 10px 22px !important;
    font-size: 0.9rem !important;
  }

  .hero-fullscreen .hero-indicators {
    bottom: 20px !important;
    padding: 0 16px !important;
  }

  .hero-fullscreen .hero-indicator {
    width: 23px !important;
  }

  .hero-fullscreen .hero-indicator.active {
    width: 42px !important;
  }
}

@media (max-width: 480px) {
  .hero-fullscreen .hero-button-wrap {
    bottom: 38px !important;
  }

  .hero-fullscreen .hero-main-button {
    min-height: 40px !important;
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
  }

  .hero-fullscreen .hero-indicators {
    bottom: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fullscreen .hero-slide,
  .hero-fullscreen .hero-slide img,
  .hero-fullscreen .hero-main-button,
  .hero-fullscreen .hero-indicator {
    transition: none !important;
  }
}
/* ============================================================
   HP HEALTH MISSION ASSAM
   PREMIUM HEADER + SERVER LOGO
   ============================================================ */


/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */

.site-header {
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* ------------------------------------------------------------
   SERVER LOGO
   ------------------------------------------------------------ */

.site-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    text-decoration: none;

    flex-shrink: 0;
}

.site-header .site-logo {
    width: 58px;
    height: 58px;

    display: block;

    object-fit: contain;

    flex-shrink: 0;
}

.site-header .logo-text {
    display: flex;
    flex-direction: column;

    color: #12372d;

    font-size: 1.05rem;
    font-weight: 700;

    line-height: 1.05;
}

.site-header .logo-text strong {
    color: var(--primary);
    font-weight: 800;
}

.site-header .logo-text small {
    margin-top: 4px;

    color: #6b7d76;

    font-size: 0.70rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ------------------------------------------------------------
   DESKTOP WHATSAPP
   ------------------------------------------------------------ */

.header-whatsapp {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 42px;

    padding: 10px 17px;

    border-radius: 999px;

    background: #25D366;
    color: #ffffff;

    text-decoration: none;

    font-size: 0.86rem;
    font-weight: 700;

    box-shadow:
        0 7px 18px rgba(37, 211, 102, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.header-whatsapp i {
    font-size: 1.05rem;
}

.header-whatsapp:hover {
    background: #1ebe5d;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(37, 211, 102, 0.28);
}


/* ------------------------------------------------------------
   MOBILE LOGO
   ------------------------------------------------------------ */

.mobile-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    margin-bottom: 30px;

    text-decoration: none;
}

.mobile-logo img {
    width: 68px;
    height: 68px;

    object-fit: contain;

    display: block;
}

.mobile-logo > span {
    display: flex;
    flex-direction: column;

    text-align: left;

    color: #12372d;

    font-size: 1.05rem;
    font-weight: 700;

    line-height: 1.05;
}

.mobile-logo strong {
    color: var(--primary);

    font-size: 1.1rem;

    font-weight: 800;
}

.mobile-logo small {
    margin-top: 5px;

    color: #6b7d76;

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ------------------------------------------------------------
   MOBILE MENU NAVIGATION
   ------------------------------------------------------------ */

.mobile-menu-content nav {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.mobile-menu-content nav a {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 15px;

    border-radius: 12px;

    color: #183b31;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.mobile-menu-content nav a i {
    width: 20px;

    text-align: center;

    color: var(--primary);
}

.mobile-menu-content nav a:hover,
.mobile-menu-content nav a.active {
    background: rgba(18, 127, 91, 0.08);

    color: var(--primary);
}

.mobile-menu-content nav a:hover {
    transform: translateX(3px);
}


/* ------------------------------------------------------------
   MOBILE CONTACT AREA
   ------------------------------------------------------------ */

.mobile-contact {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid rgba(18, 55, 45, 0.10);
}


/* ------------------------------------------------------------
   MOBILE WHATSAPP CARD
   ------------------------------------------------------------ */

.mobile-whatsapp {
    display: flex;

    align-items: center;

    gap: 12px;

    width: 100%;

    padding: 13px 14px;

    box-sizing: border-box;

    border-radius: 15px;

    background: #25D366;

    color: #ffffff;

    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(37, 211, 102, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.mobile-whatsapp:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(37, 211, 102, 0.28);
}

.mobile-whatsapp-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.20);
}

.mobile-whatsapp-icon i {
    font-size: 1.35rem;
}

.mobile-whatsapp-text {
    display: flex;

    flex-direction: column;

    flex: 1;

    min-width: 0;
}

.mobile-whatsapp-text strong {
    font-size: 0.88rem;

    font-weight: 700;
}

.mobile-whatsapp-text small {
    margin-top: 3px;

    font-size: 0.76rem;

    opacity: 0.90;
}

.mobile-whatsapp-arrow {
    font-size: 0.85rem;

    opacity: 0.85;
}


/* ------------------------------------------------------------
   MOBILE EMAIL
   ------------------------------------------------------------ */

.mobile-email {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 13px;

    padding: 8px 4px;

    color: #60736c;

    text-decoration: none;

    font-size: 0.76rem;

    word-break: break-word;
}

.mobile-email i {
    flex-shrink: 0;

    color: var(--primary);
}


/* ------------------------------------------------------------
   MOBILE BODY LOCK
   ------------------------------------------------------------ */

body.mobile-menu-open {
    overflow: hidden;
}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (max-width: 1024px) {

    .header-whatsapp span {
        display: none;
    }

    .header-whatsapp {
        width: 42px;
        height: 42px;

        padding: 0;
    }

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 768px) {

    .site-header .site-logo {
        width: 50px;
        height: 50px;
    }

    .site-header .logo-text {
        font-size: 0.92rem;
    }

    .site-header .logo-text small {
        font-size: 0.62rem;
    }

    .header-whatsapp {
        display: none;
    }

}


/* ------------------------------------------------------------
   SMALL MOBILE
   ------------------------------------------------------------ */

@media (max-width: 480px) {

    .site-header .site-logo {
        width: 46px;
        height: 46px;
    }

    .site-header .logo-text {
        font-size: 0.84rem;
    }

    .site-header .logo-text small {
        font-size: 0.58rem;
    }

    .mobile-logo img {
        width: 62px;
        height: 62px;
    }

}

/* Prevent horizontal movement on mobile */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
}

/* Keep all elements within the viewport */
*, 
*::before, 
*::after {
    box-sizing: border-box;
}

/* Hero carousel */
.hero-fullscreen {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    isolation: isolate;
    touch-action: pan-y;
}

.hero-slides {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

/* Keep carousel controls inside the hero */
.hero-button-wrap,
.hero-indicators,
.hero-progress {
    max-width: 100%;
}

/* ============================================================
   RESPONSIVE WIDTH AND HORIZONTAL OVERFLOW FIX
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
 * Hidden is the fallback.
 * Clip prevents horizontal overflow without making the page
 * a horizontal scroll container in supporting browsers.
 */
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* Preserve the original desktop container width. */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Let grid tracks shrink below their content's natural width. */
.hero-grid,
.about-brief,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-grid {
  grid-template-columns:
    minmax(0, 2fr)
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1.2fr);
}

/* Avoid fixed minimum card widths overflowing small screens. */
.card-grid,
.gallery-grid {
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.team-grid {
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.news-grid {
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

/* Grid and flex children must be allowed to shrink. */
.hero-grid > *,
.about-brief > *,
.contact-grid > *,
.footer-grid > *,
.card-grid > *,
.team-grid > *,
.gallery-grid > *,
.news-grid > *,
.info-item > *,
.footer-contact p > * {
  min-width: 0;
}

/* Wrap long email addresses, links and other unbroken text. */
.card,
.team-card,
.news-card,
.about-brief,
.contact-info-card,
.contact-form,
.legal-content,
.footer-grid,
.footer-bottom,
.mobile-menu-content {
  overflow-wrap: anywhere;
}

img,
video,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

/* Preserve cover images in fixed-height image areas. */
.gallery-item img,
.news-card .news-img img {
  height: 100%;
}

/* Header: allow the logo to shrink while keeping controls visible. */
.header-inner {
  min-width: 0;
}

.site-header .logo {
  flex: 0 1 auto;
  min-width: 0;
}

.site-header .logo-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-header .site-logo,
.hamburger,
.header-whatsapp {
  flex-shrink: 0;
}

.desktop-nav {
  min-width: 0;
}

/* Keep icon columns stable when adjacent text wraps. */
.about-brief ul i,
.footer-contact i {
  flex-shrink: 0;
}

.btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.form-group input,
.form-group textarea,
.form-group select {
  min-width: 0;
  max-width: 100%;
}

/* Keep animated carousel images inside their own section. */
.hero.hero-fullscreen {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
}

.hero-fullscreen .hero-slides,
.hero-fullscreen .hero-slide {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.hero-fullscreen .hero-slide img {
  max-width: 100% !important;
}

.hero-fullscreen .hero-button-wrap,
.hero-fullscreen .hero-indicators,
.hero-fullscreen .hero-progress {
  max-width: 100%;
  min-width: 0;
}

.hero-fullscreen .hero-main-button {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-align: center;
}

/* Allow the mobile menu to scroll on short screens. */
.mobile-menu {
  padding: 16px;
  overflow-y: auto;
}

.mobile-menu-content {
  width: 100%;
  max-width: 380px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

@supports (height: 100dvh) {
  .mobile-menu-content {
    max-height: calc(100dvh - 32px);
  }
}

.mobile-logo {
  min-width: 0;
}

.mobile-logo img {
  flex-shrink: 0;
}

.mobile-logo > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-brief,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Give navigation more space on tablets. */
  .header-inner {
    gap: 12px;
  }

  .desktop-nav {
    gap: 2px;
  }

  .desktop-nav a {
    padding-inline: 8px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 20px;
  }

  .header-inner {
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-actions {
    min-width: 0;
  }

  .mobile-menu-content {
    border-radius: 28px;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .header-inner {
    gap: 10px;
  }

  .site-header .logo {
    gap: 8px;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    border-radius: 14px;
  }

  .card {
    padding: 28px 22px;
  }

  .about-brief,
  .legal-content,
  .contact-form,
  .contact-info-card {
    padding: 28px 20px;
  }

  .hero-image {
    padding: 14px;
    border-radius: 28px;
  }

  .cta-strip {
    padding: 36px 20px;
    border-radius: 28px;
  }

  .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-social a {
    margin-right: 0;
  }
}