 :root {
    --purple-deep: #3b0764;
    --purple-mid: #7c3aed;
    --purple-light: #6D5DF6;
    --purple-gradient: linear-gradient(180deg, rgba(76, 0, 176, 1) 0%, rgba(109, 93, 246, 1) 50%, rgba(169, 156, 253, 1) 100%);
    --white: #f5f0ff;
    --font-color: #260058;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--font-color);
}

.bg-blob {
    position: fixed;
    top: 100px;
    left: 0%;
    width: 50%;
    height: 110vh;
    transition: transform 0.05s linear;
    background-image: url("../resources/img/services/Ellipse.webp");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* ════════════════════
   HERO
════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 42vw;
    min-height: 260px;
    max-height: 480px;
    overflow: hidden;
    background: #2a0050;
    z-index: 1;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-video-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

/* Very subtle top-only darkening, strong white fade at bottom */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.0) 0%,
            rgba(0, 0, 0, 0.0) 55%,
            rgba(245, 240, 255, 0.55) 78%,
            rgba(245, 240, 255, 1.0) 100%);
}

/* Content - bottom-left with purple left bar */
.hero-content {
    position: absolute;
    z-index: 2;
    bottom: 22px;
    left: 0;
    right: 0;
    padding: 0 40px 0 22px;
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 600px;
}

.hero-bar {
    width: 3px;
    height: 40px;
    background: var(--purple-mid);
    border-radius: 2px;
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(25px, 3.1vw, 37px);
    font-weight: 700;
    color: var(--font-color);
    line-height: 1.2;
}

/* No sub/desc in this design */
.hero-sub,
.hero-desc {
    display: none;
}


/* ════════════════════
   RESPONSIVE
════════════════════ */

@media (min-width: 1101px) {
    .hero-content {
        left: 0;
        margin-left: 40px;
        /* bottom: 60px; */
        padding-left: 40px;
    }
}

@media (max-width: 1100px) and (min-width: 851px) {
    .hero-content {
        left: 32px;
        bottom: 20px;
    }
}

@media (max-width: 850px) and (min-width: 538px) {
    .hero {
        height: 48vw;
        min-height: 220px;
        max-height: 340px;
    }

    .hero-content {
        left: 24px;
        bottom: 16px;
    }

    .hero-bar {
        height: 40px;
    }
}

@media (max-width: 537px) {
    .hero {
        height: 52vw;
        min-height: 180px;
        max-height: 280px;
    }

    .hero-content {
        left: 16px;
        bottom: 12px;
        gap: 20px;
    }

    .hero-bar {
        height: 50px;
        width: 3px;
    }

    /* .hero-title {
        font-size: clamp(14px, 4vw, 20px);
    } */
}

@media (max-width: 380px) {
    .hero {
        height: 54vw;
        min-height: 160px;
    }

    .hero-content {
        left: 12px;
        bottom: 10px;
    }
}
 
 
 
 /* ══ PAGE WRAPPER ══ */
    .page-wrap {
      max-width: 1160px;
      margin: 1rem auto;
      padding: 40px 20px 80px;
    }
 
    /* ══ TAB BAR ══ */
    .tab-bar {
      display: flex;
      background: #d6bff5;
      border-radius: 50px;
      padding: 5px;
      gap: 4px;
      margin: 58px auto;
      max-width: 700px;
    }
 
    .tab-btn {
      flex: 1;
      padding: 11px 18px;
      border: none;
      border-radius: 50px;
      background: transparent;
      font-family: 'Outfit', sans-serif;
      font-size: 13.5px;
      font-weight: 600;
      color: #4a2080;
      cursor: pointer;
      transition: background 0.25s, color 0.25s, box-shadow 0.25s;
      white-space: nowrap;
      text-align: center;
    }
 
    .tab-btn.active {
      background: linear-gradient(90deg, rgba(76, 0, 176, 1) 0%, rgba(109, 93, 246, 1) 50%, rgba(169, 156, 253, 1) 100%);
      color: var(--white);
      box-shadow: 0 4px 18px rgba(108,47,212,0.35);
    }
 
    .tab-btn:hover:not(.active) {
      background: rgba(108,47,212,0.12);
    }
 
    /* ══ CONTENT PANELS ══ */
    .tab-panel {
      display: none;
      background: #c8a8f0;
      border-radius: 18px;
      padding: 36px 40px 44px;
      animation: fadeIn 0.3s ease;
    }
 
    .tab-panel.active { display: block; }
 
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
 
    /* ══ PANEL TITLE ══ */
    .panel-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(22px, 3vw, 30px);
      font-weight: 700;
      color: #260058;
      text-align: center;
      margin-bottom: 32px;
    }
 
    /* ══ POLICY / TERMS ROW ══ */
    .policy-row {
      display: grid;
      grid-template-columns: 250px 1fr;
      gap: 16px 28px;
      padding: 20px 0;
      border-top: 1.5px solid rgba(108,47,212,0.18);
    }
 
    .policy-row:last-child {
      border-bottom: 1.5px solid rgba(108,47,212,0.18);
    }
 
    .policy-heading {
      font-size: 13.5px;
      font-weight: 700;
      color: #260058;
      line-height: 1.5;
      padding-top: 2px;
    }
 
    .policy-body {
      font-size: 13px;
      line-height: 1.8;
      color: #2d1060;
    }
 
    /* ══ FAQ ══ */
    .faq-category {
      margin-bottom: 32px;
    }
 
    .faq-category-row {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 0 28px;
      align-items: start;
    }
 
    .faq-cat-label {
      font-size: 14px;
      font-weight: 700;
      color: #260058;
      padding-top: 18px;
    }
 
    .faq-cat-label-divider {
      width: 40px;
      height: 2px;
      background: #6c2fd4;
      margin-top: 6px;
    }
 
    .faq-items {
      flex: 1;
    }
 
    .faq-item {
      border-top: 1.5px solid rgba(108,47,212,0.22);
    }
 
    .faq-item:last-child {
      border-bottom: 1.5px solid rgba(108,47,212,0.22);
    }
 
    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 0;
      cursor: pointer;
      gap: 12px;
      user-select: none;
    }
 
    .faq-question-text {
      font-size: 13.5px;
      font-weight: 600;
      color: #260058;
      line-height: 1.4;
    }
 
    .faq-icon {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
      color: #6c2fd4;
      font-size: 20px;
      font-weight: 400;
      line-height: 1;
      text-align: center;
      transition: transform 0.25s;
      display: flex;
      align-items: center;
      justify-content: center;
    }
 
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }
 
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.3s ease;
      padding: 0;
    }
 
    .faq-item.open .faq-answer {
      max-height: 600px;
      padding-bottom: 16px;
    }
 
    .faq-answer p {
      font-size: 13px;
      line-height: 1.8;
      color: #2d1060;
    }
 
    /* ══ RESPONSIVE ══ */
    @media (max-width: 640px) {
      .tab-btn { font-size: 12px; padding: 10px 10px; }
      .tab-panel { padding: 24px 20px 30px; }
 
      .policy-row {
        grid-template-columns: 1fr;
        gap: 6px;
      }
 
      .faq-category-row {
        grid-template-columns: 1fr;
      }
 
      .faq-cat-label {
        padding-top: 0;
        margin-bottom: 10px;
      }
    }
 
    @media (max-width: 420px) {
      .tab-btn { font-size: 11px; padding: 9px 8px; }
      .page-wrap { padding: 28px 12px 60px; }
    }