/* ===== Apna Family theme colors ===== */
:root {
    --apna-primary: #007bff;       /* change to your brand blue */
    --apna-primary-light: #e6f0ff; /* light tint */
    --apna-text-dark: #222222;
}

/* Section base */
.apna-experience {
    background-color: #d1e9fa;
}

/* Title styling */
.apna-experience .title {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--apna-text-dark);
}

.apna-experience .title span {
    border-bottom: 3px var(--apna-primary);
    padding-bottom: 4px;
}

/* Tabs */
.apna-experience-tabs .nav-link {
    border-radius: 999px;
    border: 1px solid var(--apna-primary);
    color: var(--apna-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    background: #ffffff;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.apna-experience-tabs .nav-link .apna-experience-img {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apna-experience-tabs .experience-hover-img {
    display: none;
}

.apna-experience-tabs .nav-link.active,
.apna-experience-tabs .nav-link:hover {
    background: var(--apna-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

.apna-experience-tabs .nav-link.active .experience-default-img,
.apna-experience-tabs .nav-link:hover .experience-default-img {
    display: none;
}

.apna-experience-tabs .nav-link.active .experience-hover-img,
.apna-experience-tabs .nav-link:hover .experience-hover-img {
    display: inline-block;
}

/* Content side text */
.apna-experience p {
    color: #444444;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.96rem;
}

/* Generic “Read more” / button style */
.apna-experience .button {
    display: inline-block;
    background: var(--apna-primary);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.65rem 1.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.apna-experience .button:hover {
    background: #0056b3;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 86, 179, 0.28);
}

/* Video / image card */
.apna-experience .experience-video-popup {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.apna-experience .house-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button */
.apna-experience .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.apna-experience .play-btn img {
    width: 64px;
    height: 64px;
}

/* Responsive tweak */
@media (max-width: 767.98px) {
    .apna-experience-tabs {
        overflow-x: auto;
        scrollbar-width: thin;
    }
}

/* Icon style inside tabs */
.apna-experience-tabs .experience-icon {
    font-size: 1.25rem;
    color: var(--apna-primary);
    transition: color 0.25s ease;
}

/* Active / hover state */
.apna-experience-tabs .nav-link.active .experience-icon,
.apna-experience-tabs .nav-link:hover .experience-icon {
    color: #ffffff;
}


/* testing -11 */

/* =========================================================
   Apna Family – Experience & Events Styles
   File: experience-style.css
   ========================================================= */

/* ---------- Root tokens ---------- */
:root {
  --af-primary: #0066cc;
  --af-primary-dark: #004b99;
  --af-accent: #ffc107;
  --af-bg-soft: #f5f7ff;
  --af-text-dark: #1c2740;
  --af-text-muted: #6b7280;
  --af-radius-lg: 24px;
  --af-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* ---------- Generic utilities ---------- */

.common__padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mobile__width__full {
  width: 100%;
}

.common__title__h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--af-text-dark);
  margin-bottom: 0;
}

.coomon__title { /* keeping class name as used in HTML (typo preserved) */
  margin-bottom: 0.5rem;
}

.common__btn {
  font-weight: 600;
}

/* Nice title underline (for <h3 class="title"><span>.. */
.title {
  display: inline-block;
  position: relative;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--af-text-dark);
}

.title span {
  position: relative;
  z-index: 1;
}

.title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--af-primary), var(--af-accent));
}

/* Default button used in the experience section */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  outline: none;
  background: var(--af-primary);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
  transition: all 0.2s ease;
}

.button:hover,
.button:focus {
  background: var(--af-primary-dark);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 75, 153, 0.28);
}

/* ---------- Hero image on Events page ---------- */

.events-hero-img {
  max-width: 100%;
  border-radius: var(--af-radius-lg);
  margin-top: 1.5rem;
  box-shadow: var(--af-shadow-soft);
  background-color: #d1e9fa;
  object-fit: cover;
}

/* ---------- Apna Family Experience Section ---------- */

.theme-bg {
  background: radial-gradient(circle at top left, #e5efff 0, #f9fafb 45%, #f3f4ff 100%);
}

.apna-experience {
  border-radius: 0;
}

/* Tabs wrapper */
.apna-experience-tabs {
  border: 0;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow-x: auto;
  scrollbar-width: thin;
}

/* Hide default tab border */
.apna-experience-tabs .nav-link {
  border: none;
}

/* Individual tab buttons */
.apna-experience-tabs .nav-item {
  min-width: 0;
}

.apna-experience-tabs .nav-link {
  border-radius: 999px !important;
  white-space: nowrap;
  padding: 0.7rem 1.1rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--af-text-muted);
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.apna-experience-tabs .nav-link .experience-icon {
  margin-right: 0.35rem;
}

/* Active tab */
.apna-experience-tabs .nav-link.active {
  background: var(--af-primary);
  border-color: var(--af-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.35);
}

/* Hover state */
.apna-experience-tabs .nav-link:not(.active):hover {
  background: rgba(0, 102, 204, 0.05);
  border-color: rgba(0, 102, 204, 0.15);
  color: var(--af-primary);
}

/* Icon size in tabs */
.experience-icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* Tab content text */
.apna-experience .tab-content p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--af-text-muted);
}

/* Video & image wrapper */
.experience-video-popup {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.house-img {
  width: 100%;
  border-radius: var(--af-radius-lg);
  box-shadow: var(--af-shadow-soft);
  object-fit: cover;
}

/* Play button overlay (if used) */
.video-popup-wrapper {
  display: inline-block;
}

.video-popup-wrapper .play-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

/* ---------- Events Sections (image + text alternating) ---------- */

.comm__findcare__section {
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.comm__findcare__section:last-of-type {
  border-bottom: none;
}

/* Left/right columns */
.cf__left {
  margin-bottom: 2rem;
}

.cf__right {
  margin-bottom: 2rem;
}

/* Event text area */
.cf__right p {
  font-size: 0.98rem;
  color: var(--af-text-muted);
}

/* Bullet list for "why important" etc. */
.list__common {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2rem;
}

.list__common li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.96rem;
  color: var(--af-text-muted);
}

.list__common li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--af-primary), var(--af-accent));
}

/* Image stack effect (big + small image) */
.cf__left img.rounded-4 {
  border-radius: 16px;
  box-shadow: var(--af-shadow-soft);
}

/* Reverse section spacing tweak (when text is on left) */
.comm__findcare__section__reverse {
  padding-top: 3rem;
}

/* WhatsApp CTAs inside each event */
.comm__findcare__section .btn.common__btn {
  font-size: 0.95rem;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 991.98px) {
  .apna-experience-tabs {
    border-radius: 18px;
  }

  .apna-experience-tabs .nav-link {
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }

  .title {
    font-size: 1.4rem;
  }

  .common__title__h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .common__padding {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }

  .apna-experience .tab-content {
    margin-top: 1.5rem;
  }

  .comm__findcare__section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .events-hero-img {
    margin-top: 1rem;
  }

  .list__common li {
    font-size: 0.94rem;
  }
}

/* Extra small screens */
@media (max-width: 575.98px) {
  .apna-experience-tabs {
    padding: 4px 6px;
  }

  .apna-experience-tabs .nav-link {
    padding: 0.5rem 0.75rem;
  }

  .experience-icon {
    font-size: 1.15rem;
  }
}
