/* ==========================================================================
   Ayurkshethra Mobile Clinics - Healthcare Beyond Hospital Walls
   Community Healthcare Initiative Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --m-primary: #0d4734;
  --m-primary-dark: #072a1e;
  --m-primary-light: #135f46;
  --m-saffron: #d97706;
  --m-saffron-light: #fef3c7;
  --m-saffron-dark: #b45309;
  --m-accent-gold: #c69b2d;
  
  --m-bg-light: #f8faf9;
  --m-bg-card: #ffffff;
  --m-bg-soft-green: #eef7f3;
  --m-bg-soft-orange: #fff8eb;
  
  --m-text-main: #1f2923;
  --m-text-muted: #53645b;
  --m-border-soft: #e2ede7;
  --m-border-card: #d4e5dc;
  
  --m-shadow-sm: 0 4px 14px rgba(13, 71, 52, 0.06);
  --m-shadow-md: 0 10px 30px rgba(13, 71, 52, 0.09);
  --m-shadow-lg: 0 20px 45px rgba(13, 71, 52, 0.12);
  
  --m-radius-sm: 8px;
  --m-radius-md: 14px;
  --m-radius-lg: 22px;
  --m-radius-xl: 30px;
}

.mobile-clinic-wrapper {
  background-color: var(--m-bg-light);
  color: var(--m-text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 15px;
}

.mobile-clinic-wrapper h1,
.mobile-clinic-wrapper h2,
.mobile-clinic-wrapper h3,
.mobile-clinic-wrapper h4,
.mobile-clinic-wrapper h5,
.mobile-clinic-wrapper h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--m-primary);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.mobile-clinic-wrapper a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* -------------------------------------------------------------
   Clean Header (Nav Only, No 400px Clunky Banner)
------------------------------------------------------------- */
.mobile-clinic-nav-header {
  position: relative;
  min-height: 58px;
  background: var(--m-primary);
  border-bottom: 2px solid var(--m-accent-gold);
  z-index: 1000;
}

.mobile-clinic-nav-header .navbar {
  position: relative !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* -------------------------------------------------------------
   HERO / INTRO SECTION
------------------------------------------------------------- */
.mc-hero-section {
  padding: 40px 0 30px;
}

.mc-hero-card {
  background: #ffffff;
  border-radius: var(--m-radius-xl);
  padding: 42px 40px;
  box-shadow: var(--m-shadow-md);
  border: 1px solid var(--m-border-soft);
  position: relative;
  overflow: hidden;
}

.mc-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--m-saffron), var(--m-primary));
}

.mc-subpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--m-bg-soft-green);
  border: 1px solid var(--m-border-card);
  color: var(--m-primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.mc-hero-h1 {
  font-size: 38px;
  color: var(--m-primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.mc-quote-lead {
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  color: var(--m-saffron-dark);
  margin-bottom: 12px;
}

.mc-tagline {
  font-size: 16px;
  font-weight: 700;
  color: var(--m-primary-light);
  margin-bottom: 20px;
}

.mc-hero-p {
  color: var(--m-text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.mc-hero-img-box {
  position: relative;
  border-radius: var(--m-radius-lg);
  overflow: hidden;
  box-shadow: var(--m-shadow-lg);
  height: 100%;
  min-height: 380px;
  border: 1px solid var(--m-border-soft);
}

.mc-hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mc-hero-img-box:hover img {
  transform: scale(1.03);
}

.mc-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(13, 71, 52, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}

/* -------------------------------------------------------------
   DOORSTEP CARE (9 SERVICES GRID)
------------------------------------------------------------- */
.mc-sec-header {
  text-align: center;
  margin-bottom: 40px;
}

.mc-badge-tag {
  display: inline-block;
  background: var(--m-bg-soft-green);
  border: 1px solid var(--m-border-card);
  color: var(--m-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.doorstep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .doorstep-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .doorstep-grid {
    grid-template-columns: 1fr;
  }
}

.doorstep-card {
  background: #ffffff;
  border: 1px solid var(--m-border-soft);
  border-radius: var(--m-radius-md);
  padding: 24px 20px;
  box-shadow: var(--m-shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
}

.doorstep-card:hover {
  transform: translateY(-5px);
  border-color: var(--m-primary);
  box-shadow: var(--m-shadow-md);
}

.doorstep-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--m-bg-soft-green);
  color: var(--m-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.doorstep-card:hover .doorstep-icon {
  background: var(--m-primary);
  color: #ffffff;
}

.doorstep-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--m-text-main);
  line-height: 1.35;
}

/* -------------------------------------------------------------
   COMMUNITY INITIATIVES & PARTNERSHIPS
------------------------------------------------------------- */
.community-initiatives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .community-initiatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .community-initiatives-grid {
    grid-template-columns: 1fr;
  }
}

.ci-card {
  background: #ffffff;
  border: 1px solid var(--m-border-soft);
  border-radius: var(--m-radius-md);
  padding: 22px 18px;
  box-shadow: var(--m-shadow-sm);
  text-align: center;
  transition: all 0.25s ease;
}

.ci-card:hover {
  transform: translateY(-5px);
  border-color: var(--m-saffron);
  box-shadow: var(--m-shadow-md);
}

.ci-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--m-bg-soft-orange);
  color: var(--m-saffron-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}

.ci-card:hover .ci-icon {
  background: var(--m-saffron);
  color: #ffffff;
}

.ci-card h5 {
  font-size: 14.5px;
  margin-bottom: 0;
  line-height: 1.35;
}

/* Partner badges pill strip */
.partner-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.partner-tag {
  background: #ffffff;
  border: 1px solid var(--m-border-card);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--m-primary);
  box-shadow: var(--m-shadow-sm);
}

/* -------------------------------------------------------------
   DISASTER RELIEF (WAYANAD LANDSLIDES CASE STUDY)
------------------------------------------------------------- */
.disaster-relief-box {
  background: linear-gradient(135deg, #072a1e, #135f46);
  border-radius: var(--m-radius-xl);
  padding: 45px 40px;
  color: #ffffff;
  box-shadow: var(--m-shadow-md);
  margin-bottom: 50px;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.relief-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.25);
  border: 1px solid rgba(217, 119, 6, 0.6);
  color: #fde68a;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.disaster-relief-box h3 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 12px;
}

.disaster-relief-box p {
  color: #d1fae5;
  font-size: 15px;
  line-height: 1.7;
}

.wayanad-highlight-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--m-radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
}

/* -------------------------------------------------------------
   REGULAR CLINICS & BEYOND KERALA
------------------------------------------------------------- */
.programme-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .programme-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .programme-types-grid {
    grid-template-columns: 1fr;
  }
}

.prog-type-card {
  background: #ffffff;
  border: 1px solid var(--m-border-soft);
  border-radius: var(--m-radius-md);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--m-shadow-sm);
}

.prog-type-card i {
  font-size: 26px;
  color: var(--m-saffron);
  margin-bottom: 10px;
  display: block;
}

.prog-type-card span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--m-primary);
  display: block;
}

/* -------------------------------------------------------------
   PHOTO GALLERY
------------------------------------------------------------- */
.mc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .mc-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .mc-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mc-gallery-item {
  border-radius: var(--m-radius-md);
  overflow: hidden;
  height: 180px;
  border: 1px solid var(--m-border-soft);
  box-shadow: var(--m-shadow-sm);
  position: relative;
}

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

.mc-gallery-item:hover img {
  transform: scale(1.08);
}

/* -------------------------------------------------------------
   PROMISE BANNER & PARTNER FORM / CONTACT
------------------------------------------------------------- */
.mc-promise-banner {
  background: linear-gradient(135deg, #072a1e, #0d4734);
  border-radius: var(--m-radius-xl);
  padding: 45px 40px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--m-shadow-md);
  margin-bottom: 40px;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.mc-promise-banner h3 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 12px;
}

.mc-promise-banner p {
  color: #d1fae5;
  font-size: 16px;
  max-width: 820px;
  margin: 0 auto 18px;
}

.mc-contact-card {
  background: #ffffff;
  border-radius: var(--m-radius-xl);
  border: 2px solid var(--m-accent-gold);
  padding: 40px;
  box-shadow: var(--m-shadow-md);
  margin-bottom: 40px;
}
