/* ==========================================================================
   VITALCARE HEALTH - ABOUT US & WHY CHOOSE US SECTIONS
   1:1 Pixel-Perfect Replica from https://vitalcare-health.framer.website/
   Desktop, Tablet, and Mobile Responsive with Framer Motion Effects
   Theme: Luminous White, #E8F8FD (Ice Cyan) and Soft Pink Gradient Mix
   ========================================================================== */

:root {
  --vc-bg: #ffffff;
  --vc-badge-bg: #ed008c;
  --vc-badge-hover: #ff1493;
  --vc-badge-text: #ffffff;
  --vc-text-dark: #000000;
  --vc-text-muted: #333333;
  --vc-text-sub: #444444;
  --vc-font-family: "Neue Montreal", "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --vc-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. COMMON SECTION WRAPPER & CONTAINER (PURE LOGO WHITE THEME)
   ========================================================================== */
.vc-section {
  background-color: #ffffff !important;
  background-image: none !important;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  font-family: var(--vc-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-margin-top: 85px;
}

.vc-about-section {
  background-color: #ffffff !important;
  background-image: none !important;
  padding: 130px 0 80px;
}

.vc-why-section {
  background-color: #ffffff !important;
  background-image: none !important;
  padding: 80px 0 130px;
}

.vc-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* ==========================================================================
   BUTTONS & BADGES (Matching Site-Wide Brand Colors, Text-Roll & 45deg Arrow)
   ========================================================================== */
.vc-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vc-badge-bg);
  border-radius: 9999px;
  padding: 9px 24px;
  color: var(--vc-badge-text);
  font-family: 'Plus Jakarta Sans', var(--vc-font-family);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.25;
  width: fit-content;
  user-select: none;
  box-shadow: 0 4px 16px rgba(237, 0, 140, 0.32);
  transition: transform 0.3s var(--vc-ease), background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.vc-badge-pill:hover {
  transform: translateY(-2px);
  background: var(--vc-badge-hover);
  box-shadow: 0 8px 25px rgba(237, 0, 140, 0.5);
  color: #ffffff;
}

.vc-badge-pill:active {
  transform: scale(0.95);
}

/* Rolling Text Animation inside Pill & Buttons */
.vc-badge-pill .rc-btn-text-roll,
.vc-cta-btn .rc-btn-text-roll {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
  vertical-align: middle;
}

.vc-badge-pill .rc-btn-text-primary,
.vc-badge-pill .rc-btn-text-secondary,
.vc-cta-btn .rc-btn-text-primary,
.vc-cta-btn .rc-btn-text-secondary {
  display: block;
  transition: transform 0.36s var(--vc-ease);
  white-space: nowrap;
}

.vc-badge-pill .rc-btn-text-secondary,
.vc-cta-btn .rc-btn-text-secondary {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.vc-badge-pill:hover .rc-btn-text-primary,
.vc-cta-btn:hover .rc-btn-text-primary {
  transform: translateY(-100%);
}

.vc-badge-pill:hover .rc-btn-text-secondary,
.vc-cta-btn:hover .rc-btn-text-secondary {
  transform: translateY(-100%);
}

/* Action CTA Buttons with 45deg Rotating Arrow */
.vc-cta-btn {
  background: #ed008c;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  padding: 8px 10px 8px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(237, 0, 140, 0.32);
  transition: transform 0.3s var(--vc-ease), background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: fit-content;
}

.vc-cta-btn:hover {
  transform: translateY(-2px);
  background: #ff1493;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(237, 0, 140, 0.5);
}

.vc-cta-btn:active {
  transform: scale(0.95);
}

.vc-cta-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #ed008c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--vc-ease), box-shadow 0.3s ease;
  flex-shrink: 0;
}

.vc-cta-arrow svg {
  width: 14px;
  height: 14px;
}

.vc-cta-arrow svg path {
  stroke: #ed008c;
}

.vc-cta-btn:hover .vc-cta-arrow {
  transform: scale(1.12) rotate(45deg);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   2. ABOUT US SECTION
   ========================================================================== */
.vc-about-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 50px;
  max-width: 680px;
  gap: 16px;
}

.vc-about-title {
  font-family: var(--vc-font-family);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1875;
  color: var(--vc-text-dark);
  margin: 8px 0 0;
  letter-spacing: -0.02em;
  max-width: 480px;
}

.vc-about-desc {
  font-family: var(--vc-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--vc-text-muted);
  max-width: 442px;
  margin: 0 auto;
}

.vc-about-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

/* 3-Image Composition (Desktop) */
.vc-about-images-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2.51473;
  min-height: 480px;
  margin-top: 10px;
}

.vc-about-img-box {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.vc-about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.6s var(--vc-ease), filter 0.4s ease;
}

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

/* Left Image (Hospital corridor medical team walking) */
.vc-about-img-left {
  width: 23%;
  aspect-ratio: 0.81044;
  left: 0;
  bottom: 38px;
}

/* Center Image (Doctor talking to patient) */
.vc-about-img-center {
  width: 23%;
  aspect-ratio: 1.34091;
  left: 54%;
  bottom: 0;
  transform: translateX(-50%);
}

/* Right Image (Nurse caring for senior patient in wheelchair) */
.vc-about-img-right {
  width: 23%;
  aspect-ratio: 0.812672;
  right: 0;
  top: 0;
}

/* Interactive Card Elevation */
.vc-about-img-box {
  transition: transform 0.45s var(--vc-ease), box-shadow 0.45s var(--vc-ease);
  cursor: pointer;
}

.vc-about-img-left:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.16);
}

.vc-about-img-center:hover {
  transform: translateX(-50%) translateY(-8px);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.16);
}

.vc-about-img-right:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.16);
}

/* ==========================================================================
   3. WHY CHOOSE US SECTION
   ========================================================================== */
.vc-why-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
}

/* Left Column */
.vc-why-left-col {
  flex: 1 0 0;
  max-width: 576px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.vc-why-title {
  font-family: var(--vc-font-family);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1875;
  color: var(--vc-text-dark);
  margin: 8px 0 0;
  letter-spacing: -0.02em;
}

/* Right Column */
.vc-why-right-col {
  flex: 1 0 0;
  max-width: 542px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.vc-why-top-desc {
  font-family: var(--vc-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--vc-text-muted);
  max-width: 395px;
  margin: 0;
}

.vc-why-img-box {
  width: 100%;
  aspect-ratio: 1.09274;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.45s var(--vc-ease), box-shadow 0.45s var(--vc-ease);
  cursor: pointer;
}

.vc-why-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.6s var(--vc-ease);
}

.vc-why-img-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.16);
}

.vc-why-img-box:hover img {
  transform: scale(1.04);
}

.vc-why-sub-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.vc-why-sub-title {
  font-family: var(--vc-font-family);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--vc-text-dark);
  margin: 0;
}

.vc-why-sub-desc {
  font-family: var(--vc-font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--vc-text-sub);
  margin: 0;
}

.vc-why-cta-wrap {
  margin-top: 4px;
}

/* ==========================================================================
   4. SCROLL REVEAL ANIMATIONS (FRAMER MOTION REPLICA)
   ========================================================================== */
.vc-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.85s var(--vc-ease), transform 0.85s var(--vc-ease);
  will-change: transform, opacity;
}

.vc-reveal.vc-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Center Image (Desktop) uses translateX(-50%) when revealed */
@media screen and (min-width: 810px) {
  .vc-about-img-center.vc-reveal {
    transform: translateX(-50%) translateY(60px);
  }
  .vc-about-img-center.vc-reveal.vc-revealed {
    transform: translateX(-50%) translateY(0);
  }
}

/* Stagger Delays */
.vc-delay-1 { transition-delay: 0.05s; }
.vc-delay-2 { transition-delay: 0.15s; }
.vc-delay-3 { transition-delay: 0.25s; }
.vc-delay-4 { transition-delay: 0.35s; }
.vc-delay-5 { transition-delay: 0.45s; }
.vc-delay-6 { transition-delay: 0.55s; }

/* ==========================================================================
   5. RESPONSIVE: TABLET BREAKPOINT (810px to 1199px)
   ========================================================================== */
@media screen and (min-width: 810px) and (max-width: 1199.98px) {
  .vc-container {
    max-width: 990px;
    padding: 0 20px;
  }
  .vc-about-section {
    padding: 80px 0 60px;
  }
  .vc-why-section {
    padding: 60px 0 80px;
  }
  .vc-about-title,
  .vc-why-title {
    font-size: 38px;
  }
  .vc-about-images-wrapper {
    aspect-ratio: unset;
    height: 420px;
    margin-top: 25px;
  }
  .vc-about-img-left {
    width: 26%;
    border-radius: 12px;
  }
  .vc-about-img-center {
    width: 30%;
    border-radius: 12px;
  }
  .vc-about-img-right {
    width: 25%;
    border-radius: 12px;
  }
  .vc-why-content-wrapper {
    gap: 40px;
  }
  .vc-why-left-col {
    max-width: 48%;
  }
  .vc-why-right-col {
    max-width: 48%;
    gap: 24px;
  }
  .vc-why-img-box {
    border-radius: 12px;
  }
}

/* ==========================================================================
   6. RESPONSIVE: MOBILE BREAKPOINT (<= 809.98px)
   ========================================================================== */
@media screen and (max-width: 809.98px) {
  .vc-container {
    max-width: 620px;
    padding: 0 20px;
  }
  .vc-about-section {
    padding: 70px 0 50px;
  }
  .vc-why-section {
    padding: 70px 0 70px;
  }
  .vc-badge-pill {
    padding: 8px 20px;
    font-size: 13px;
  }
  .vc-about-header {
    margin-bottom: 30px;
    gap: 12px;
  }
  .vc-about-title {
    font-size: 32px;
    max-width: 350px;
  }
  .vc-why-title {
    font-size: 32px;
    max-width: 350px;
  }
  .vc-about-desc {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
  }

  /* About Images Grid on Mobile (Framer Exact) */
  .vc-about-images-wrapper {
    position: relative;
    aspect-ratio: unset;
    min-height: unset;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin-top: 20px;
  }

  .vc-about-img-box {
    position: relative;
    left: unset !important;
    right: unset !important;
    top: unset !important;
    bottom: unset !important;
    transform: unset !important;
    width: 100% !important;
    border-radius: 12px;
  }

  .vc-about-img-left {
    aspect-ratio: 1.16667;
  }

  .vc-about-img-center {
    aspect-ratio: 1.34091;
  }

  .vc-about-img-right {
    aspect-ratio: 0.9915;
  }

  .vc-about-img-left:hover,
  .vc-about-img-center:hover,
  .vc-about-img-right:hover {
    transform: translateY(-4px) !important;
  }

  /* Why Choose Us on Mobile */
  .vc-why-content-wrapper {
    flex-direction: column;
    gap: 28px;
  }

  .vc-why-left-col {
    max-width: 100%;
    width: 100%;
    gap: 12px;
  }

  .vc-why-right-col {
    max-width: 100%;
    width: 100%;
    gap: 24px;
  }

  .vc-why-top-desc {
    max-width: 100%;
    font-size: 15px;
  }

  .vc-why-img-box {
    border-radius: 12px;
    aspect-ratio: 1.09274;
  }

  .vc-why-sub-title {
    font-size: 17px;
  }

  .vc-why-sub-desc {
    font-size: 15px;
  }
}
