: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.png");
    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;
    }
}



/* ===== Section Layout ===== */
.main-section {
  display: flex;
  flex-direction: column;
  /* min-height: 100vh; */
  width: 100%;
  max-width: 1160px;
  margin: 2rem auto;
  padding: 48px 40px;
}

.main-section-div {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  gap: 35px;
  align-items: stretch;
  z-index: 1;
}

/* ===== Left Hero Image ===== */
.main-image-wrap {
  flex: 0 0 38%;
  max-width: 38%;
  align-self: stretch;
}

.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ===== Right Content Column ===== */
.content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Label */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}

/* Title */
.title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: #260058;
  line-height: 1.15;
  margin-bottom: 22px;
}

.accent {
  color: var(--purple-light);
  font-style: italic;
}

/* Body Text */
.body-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 1.5rem;
  text-align: justify;
}

.body-text p {
  /* font-size: 14px; */
  line-height: 1.75;
  color: #260058;
}

.body-text1 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 2rem;
  text-align: justify;
  z-index: 1;
}

.body-text1 p {
  /* font-size: 14px; */
  line-height: 1.75;
  color: #260058;
}

/* ===== Gallery Row ===== */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 0.5rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 2.5/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 900px) {
  .main-section-div {
    flex-direction: column;
    padding: 32px 0.5rem;
    gap: 32px;
    min-height: unset;
  }

  .main-image-wrap {
    flex: unset;
    max-width: 100%;
    width: 100%;
    height: 300px;
  }

  .main-img {
    height: 300px;
    width: 100%;
  }

  .body-text1 {
    padding: 0 0.5rem;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .main-section-div {
    /* padding: 24px 16px; */
    gap: 24px;
  }

  .main-image-wrap {
    height: 220px;
  }

  .main-img {
    height: 220px;
  }

  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
}