﻿/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("assets/NB.jpg"); /* your image file name or URL */
  background-size: cover;       /* make it cover the whole page */
  background-repeat: no-repeat; /* donâ€™t repeat the image */
  background-attachment: fixed; /* make it stay still while scrolling */
  background-position: center;  /* center the image */
  color: #2e7d32;
  line-height: 1.6;
}

@font-face {
    font-family: 'tafakur';
    src: url('fonts/Tafakur.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("assets/bgg.png") center/cover no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

body:not(.home-page) .hero {
  box-sizing: border-box;
  padding-top: 96px;
}

body:not(.home-page) .hero-content {
  padding-top: 22px;
}

body:not(.home-page) .hero-content p {
  white-space: nowrap;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
}

.hero-content p {
  max-width: 92%;
  margin: 12px auto 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  word-break: break-word;
}

.tagline {
  font-size: 2.0rem;
  margin-top: 10px;
  font-weight: 400;
}

 @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 45px; /* tablet size */
      }
    }
@media (max-width: 480px) {
  .small-hero {
    height: 290px;
  }

  .hero {
    min-height: 290px;
  }

  .hero-content h1 {
    font-size: 32px; /* mobile size */
    line-height: 1.08;
  }
  .hero-content h2 {
        font-size: 16px;
      }
      .hero-content .tagline {
        font-size: 18px;
      }

  .hero-content p {
    max-width: min(92vw, 340px);
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: normal;
  }

  body:not(.home-page) .hero-content p {
    white-space: normal;
  }

  body:not(.home-page) .hero {
    padding-top: 94px;
    padding-left: 16px;
    padding-right: 16px;
  }

  body:not(.home-page) .hero-content {
    padding-top: 18px;
    width: 100%;
  }
}

/* Homepage layout */
.home-page .home-main {
  color: #183229;
}

.home-page .home-hero {
  position: relative;
  min-height: min(820px, calc(100vh - var(--nav-height, 88px)));
  padding: 56px 26px 70px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 26, 22, 0.88), rgba(33, 73, 61, 0.62)),
    url("assets/bgg.png") center/cover no-repeat;
}

.home-page .home-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(226, 193, 120, 0.18), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.38));
}

.home-page .home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-page .home-hero__copy {
  max-width: 980px;
  color: #fffdf6;
  padding-top: 24px;
  text-align: center;
}

.home-page .home-eyebrow,
.home-page .home-section-kicker {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dcc38f;
}

.home-page .home-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.home-page .home-hero .home-hero__title--tafakur {
  font-family: 'tafakur', serif;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fffdf7;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.16),
    0 3px 14px rgba(0, 0, 0, 0.34);
}

.home-page .home-hero__lead {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.85;
  color: rgba(255, 252, 245, 0.9);
}

.home-page .home-hero__tagline {
  margin: 18px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8d4a9;
}

.home-page .home-hero__tagline--tafakur {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.3;
  color: #fff9ef;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.home-page .home-hero__actions,
.home-page .home-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.home-page .home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 24px;
  border-radius: 0;
  border: 1px solid #dcc38f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.home-page .home-btn:hover {
  transform: translateY(-2px);
}

.home-page .home-btn--primary {
  background: #dcc38f;
  color: #1b3028;
}

.home-page .home-btn--ghost {
  background: transparent;
  color: #fffdf6;
}

.home-page .home-btn--secondary {
  background: transparent;
  color: #183229;
  border-color: rgba(24, 50, 41, 0.24);
}

.home-page .home-welcome,
.home-page .home-journey,
.home-page .home-showcase,
.home-page .home-recognition {
  max-width: 1280px;
  margin: 0 auto;
  padding: 78px 26px;
}

.home-page .home-welcome {
  text-align: center;
  background: rgba(255, 251, 243, 0.88);
}

.home-page .home-section-intro {
  max-width: 760px;
  margin: 0 auto;
}

.home-page .home-section-intro--left {
  margin: 0 0 32px;
}

.home-page .home-section-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  color: #153126;
}

.home-page .home-section-intro p:last-child {
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4a5d54;
}

.home-page .home-brand-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 38px;
}

.home-page .home-brand-strip img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.94);
}

.home-page .home-journey {
  background: linear-gradient(180deg, rgba(244, 240, 231, 0.96), rgba(237, 234, 225, 0.9));
  scroll-margin-top: 140px;
  border-top: 1px solid rgba(184, 146, 72, 0.12);
  border-bottom: 1px solid rgba(184, 146, 72, 0.1);
}

.home-page .home-journey-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 26px;
  margin-bottom: 48px;
  align-items: stretch;
}

.home-page .home-journey-overview__media-card,
.home-page .home-journey-overview__card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(184, 146, 72, 0.12);
  box-shadow: 0 20px 34px rgba(24, 50, 41, 0.06);
}

.home-page .home-journey-overview__media-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
}

.home-page .home-journey-overview__media {
  height: 320px;
  overflow: hidden;
}

.home-page .home-journey-overview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page .home-journey-overview__card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #153126;
}

.home-page .home-journey-overview__card {
  padding: 28px 30px;
}

.home-page .home-journey-overview__card h3 {
  font-size: 1.45rem;
}

.home-page .home-journey-overview__card p {
  margin: 12px 0 0;
  color: #4e5f57;
  line-height: 1.8;
}

.home-page .home-journey-overview__meta {
  padding-top: 14px;
  border-top: 1px solid rgba(184, 146, 72, 0.18);
}

.home-page .home-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.home-page .home-info-card {
  background: #fff;
  box-shadow: 0 18px 34px rgba(26, 47, 40, 0.08);
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(24, 50, 41, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-page .home-info-card--action {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 28px;
  border: 1px solid rgba(24, 50, 41, 0.08);
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  appearance: none;
}

.home-page .home-info-card--action:hover,
.home-page .home-info-card--action:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 28px 46px rgba(26, 47, 40, 0.14);
  border-color: rgba(184, 146, 72, 0.26);
  filter: none;
  outline: none;
}

.home-page .home-info-card__image {
  height: 170px;
  background-size: cover;
  background-position: center;
}

.home-page .home-info-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 205px;
  padding: 22px 22px 24px;
}

.home-page .home-info-card__meta {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #5d6d66;
}

.home-page .home-info-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.12;
  color: #183229;
}

.home-page .home-info-card p {
  margin: 0;
  font-size: 0.98rem;
  color: #56675e;
  line-height: 1.65;
}

.home-page .home-inline-link {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 94, 73, 0.1);
  color: #1f5e49;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  box-shadow: inset 0 0 0 1px rgba(31, 94, 73, 0.12);
}

.home-page .home-inline-link::after {
  content: ">>";
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

.home-page .home-info-card--action:hover .home-inline-link::after,
.home-page .home-info-card--action:focus-visible .home-inline-link::after {
  transform: translate(3px, -3px);
}

.home-page .home-journey__intro {
  max-width: 1100px;
  margin: 0 0 30px;
  padding: 0 0 0 18px;
  border-left: 4px solid rgba(184, 146, 72, 0.46);
}

.home-page .home-journey__kicker {
  margin-bottom: 10px;
  color: #b89248;
}

.home-page .home-journey__intro h2 {
  max-width: none;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1.08;
}

.home-page .home-journey__intro p:last-child {
  max-width: 68ch;
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #5b6b63;
}

.home-page .home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
  background: rgba(255, 251, 243, 0.94);
}

.home-page .home-showcase__content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: #183229;
}

.home-page .home-showcase__content p:last-of-type {
  margin: 18px 0 0;
  font-size: 1.04rem;
  line-height: 1.9;
  color: #52635b;
}

.home-page .home-showcase__gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 210px 210px;
  gap: 14px;
}

.home-page .home-showcase__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 18px 28px rgba(26, 47, 40, 0.12);
}

.home-page .home-showcase__gallery img:first-child {
  grid-column: 1 / -1;
}

.home-page .home-recognition {
  background: rgba(232, 238, 234, 0.92);
}

.home-page .home-recognition__docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-page .home-recognition__docs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(24, 50, 41, 0.08);
  box-shadow: 0 14px 28px rgba(26, 47, 40, 0.1);
}

@media (min-width: 1025px) {
  .home-page .home-grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .home-page .home-info-card--action {
    position: relative;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 22px 44px rgba(21, 42, 35, 0.08);
    transition:
      flex 0.38s ease,
      transform 0.32s ease,
      box-shadow 0.32s ease,
      border-color 0.32s ease,
      background-color 0.32s ease,
      filter 0.32s ease;
  }

  .home-page .home-info-card--action:hover,
  .home-page .home-info-card--action:focus-visible {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(206, 221, 212, 0.96);
    box-shadow: 0 26px 46px rgba(21, 42, 35, 0.13);
  }

  .home-page .home-info-card__image {
    position: absolute;
    inset: 0;
    height: auto;
    transform: scale(1.02);
    filter: blur(2px) saturate(0.98) brightness(1.01);
    opacity: 0.84;
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.35s ease;
  }

  .home-page .home-info-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.1) 48%, rgba(255, 255, 255, 0.72) 100%);
  }

  .home-page .home-info-card--action:hover .home-info-card__image,
  .home-page .home-info-card--action:focus-visible .home-info-card__image {
    transform: scale(1);
    filter: blur(0) saturate(1) brightness(1);
    opacity: 1;
  }

  .home-page .home-info-card__body {
    position: relative;
    z-index: 1;
    min-height: 380px;
    padding: 20px 20px 22px;
    justify-content: flex-end;
    gap: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.76) 100%);
    transition: padding 0.34s ease, background 0.34s ease;
  }

  .home-page .home-info-card--action:hover .home-info-card__body,
  .home-page .home-info-card--action:focus-visible .home-info-card__body {
    padding: 180px 24px 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0.9) 58%, rgba(255, 255, 255, 0.98) 100%);
  }

  .home-page .home-info-card__meta {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3.3rem;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: rgba(101, 118, 109, 0.22);
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .home-page .home-info-card--action:hover .home-info-card__meta,
  .home-page .home-info-card--action:focus-visible .home-info-card__meta {
    color: rgba(37, 74, 60, 0.36);
    transform: translateY(-2px);
  }

  .home-page .home-info-card h3 {
    max-width: 8ch;
    font-size: clamp(1.55rem, 2.1vw, 2.1rem);
    line-height: 0.98;
    color: #183229;
    transition: max-width 0.34s ease, transform 0.34s ease;
  }

  .home-page .home-info-card--action:hover h3,
  .home-page .home-info-card--action:focus-visible h3 {
    max-width: 12ch;
    transform: translateY(-2px);
  }

  .home-page .home-info-card p:not(.home-info-card__meta),
  .home-page .home-inline-link {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition:
      max-height 0.3s ease,
      opacity 0.26s ease,
      transform 0.3s ease,
      margin-top 0.3s ease;
  }

  .home-page .home-info-card--action:hover p:not(.home-info-card__meta),
  .home-page .home-info-card--action:hover .home-inline-link,
  .home-page .home-info-card--action:focus-visible p:not(.home-info-card__meta),
  .home-page .home-info-card--action:focus-visible .home-inline-link {
    max-height: 180px;
    opacity: 1;
    transform: translateY(0);
  }

  .home-page .home-info-card p:not(.home-info-card__meta) {
    max-width: 24ch;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #55685f;
  }

  .home-page .home-inline-link {
    margin-top: 8px;
    background: rgba(24, 50, 41, 0.86);
    color: #fffdf6;
    box-shadow: none;
  }
}

@media (max-width: 1024px) {
  .home-page .home-showcase {
    grid-template-columns: 1fr;
  }

  .home-page .home-journey-overview {
    grid-template-columns: 1fr;
  }

  .home-page .home-journey-overview__media {
    height: 260px;
  }

  .home-page .home-grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-journey__intro h2 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .home-page .home-hero,
  .home-page .home-welcome,
  .home-page .home-journey,
  .home-page .home-showcase,
  .home-page .home-recognition {
    padding: 56px 18px;
  }

  .home-page .home-hero__copy {
    padding-top: 16px;
  }

  .home-page .home-hero .home-hero__title--tafakur {
    line-height: 1.12;
  }

  .home-page .home-hero__actions,
  .home-page .home-showcase__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .home-btn {
    width: 100%;
  }

  .home-page .home-grid-cards,
  .home-page .home-recognition__docs {
    grid-template-columns: 1fr;
  }

  .home-page .home-journey-overview__media-card,
  .home-page .home-journey-overview__card {
    padding: 0;
  }

  .home-page .home-journey-overview__card {
    padding: 22px 20px;
  }

  .home-page .home-journey-overview__media {
    height: 200px;
  }

  .home-page .home-journey__intro {
    margin-bottom: 24px;
    padding-left: 14px;
  }

  .home-page .home-info-card__body {
    min-height: auto;
  }

  .home-page .home-showcase__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 200px);
  }

  .home-page .home-showcase__gallery img:first-child {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .home-page .home-brand-strip img {
    height: 50px;
  }

  .home-page .home-info-card__image {
    height: 160px;
  }

  .home-page .home-hero .home-hero__title--tafakur {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .home-page .home-hero__tagline--tafakur {
    font-size: clamp(1.2rem, 7vw, 1.8rem);
  }
}

/* Sections as cards side by side */
    .cards {
      display: flex;
      justify-content: center;
      gap: 20px;
      padding: 50px 20px;
      flex-wrap: wrap;
    }

    .card-box {
      flex: 1 1 250px;
      position: relative;
      height: 200px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      cursor: pointer;
      overflow: hidden;
      color: white;
      display: flex;
      flex-direction: column;  /* Added this line */
      justify-content: center;
      align-items: center;
      text-align: center;
      font-size: 1.5rem;
      font-weight: 600;
      transition: transform 0.3s;
      padding: 0 10px;
      word-wrap: break-word;
      white-space: normal;
    }

    .card-box:hover {
      transform: translateY(-8px);
    }

    .card-box::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.5); /* dark overlay */
      z-index: 1;
    }

    .card-box h2 {
  position: relative;
  z-index: 2;
  font-size: 31px;
  margin-bottom: 8px;
  font-weight: 700;
}

.card-box .subtitle {
  position: relative;     /* Added this line */
  z-index: 2;             /* Added this line */
  font-size: 14px;
  color: #ffffff;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

    /* Backgrounds for each box */
    .pengenalan { background: url("assets/pengenalann.jpg") center/cover no-repeat; }
    .syarat { background: url("assets/sk.jpg") center/cover no-repeat; }
    .kelebihan { background: url("assets/kstspm.jpg") center/cover no-repeat; }
    .laluan { background: url("assets/laluan.png") center/cover no-repeat; }

    /* ===== MODAL FIX: Close Button Inside Box ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 20px; /* space for mobile to prevent overflow */
}

.modal-content {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(247,248,245,0.74));
  padding: 28px;
  border-radius: 24px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255,255,255,0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #244438;
}

.modal-content--info {
  max-width: 760px;
  padding: 34px 36px 30px;
}

.modal-content--journey {
  max-width: 980px;
  max-height: 80vh;
  padding: 34px 34px 30px;
}

.modal-title {
  margin: 0 52px 20px 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
  color: #2b6a52;
}

.modal-title--center {
  margin-right: 0;
  text-align: center;
}

.modal-list {
  margin: 0;
  padding-left: 1.55rem;
  display: grid;
  gap: 0.9rem;
  color: #3a584d;
  font-size: 1.03rem;
  line-height: 1.75;
}

.modal-list li::marker {
  color: #2f6b54;
  font-weight: 700;
}

.modal-list--unordered {
  padding-left: 1.35rem;
  list-style: disc;
}

.modal-cta-wrap {
  margin-top: 28px;
  text-align: center;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2f6b54, #285744);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(34, 76, 60, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.modal-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(34, 76, 60, 0.24);
  color: #fff;
  text-decoration: none;
}

.modal-highlight {
  margin-bottom: 26px;
  padding: 22px 22px 22px 24px;
  border-left: 6px solid #2d5c4a;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(245,247,244,0.4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-highlight__text {
  margin: 0;
  color: #355447;
  font-size: 1.06rem;
  line-height: 1.75;
}

.modal-section + .modal-section {
  margin-top: 26px;
}

.modal-section__title {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 700;
  color: #2b6a52;
}

.modal-section__lead {
  margin: 0 0 16px;
  color: #48685b;
  line-height: 1.75;
}

.modal-certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.modal-certificate-image {
  width: 100%;
  border: 1px solid #dde3dd;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* The "X" button inside the modal box */
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 14px;
  color: #333;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  background: #f3f3f3;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.modal-content .close:hover {
  background: #e0e0e0;
  transform: scale(1.1);
}

/* Scrollbar inside modal (clean and compact) */
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .modal-content {
    width: 94%;
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  .modal-content--info,
  .modal-content--journey {
    padding: 22px 18px 20px;
  }

  .modal-title {
    margin: 0 38px 16px 0;
    font-size: 1.36rem;
  }

  .modal-title--center {
    margin-right: 0;
  }

  .modal-list {
    gap: 0.75rem;
    padding-left: 1.2rem;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .modal-highlight {
    padding: 16px 16px 16px 18px;
    border-radius: 14px;
    margin-bottom: 22px;
  }

  .modal-highlight__text,
  .modal-section__lead {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .modal-section__title {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }

  .modal-certificate-grid {
    grid-template-columns: 1fr;
  }

  .modal-content .close {
    top: 8px;
    right: 10px;
    font-size: 22px;
    width: 28px;
    height: 28px;
  }

  .popup {
    padding: 14px;
  }

  .popup-content--form,
  .popup-content--welcome {
    border-radius: 24px;
    width: min(100%, 360px);
    padding: 26px 20px 22px;
  }

  .popup-content--ads {
    max-width: min(94vw, 420px);
  }

  .popup-ads-image {
    max-height: 80vh;
    border-radius: 22px;
  }

  .popup-close--light {
    top: -12px;
    right: -6px;
    width: 38px;
    height: 38px;
  }

  .popup-close--dark {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .popup-arabic-title {
    font-size: 1.9rem;
  }

  .popup-form__lead,
  .popup-welcome__lead {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

/* Footer */
footer {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 102, 0.18), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(107, 220, 190, 0.2), transparent 30%),
    linear-gradient(135deg, #123f3c 0%, #1f625d 48%, #174b47 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding: 48px 30px 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 260px;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

footer::before,
footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

footer::before {
  width: 320px;
  height: 320px;
  top: -210px;
  right: 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.025),
    0 0 0 84px rgba(255, 255, 255, 0.018);
  animation: footer-orbit 14s ease-in-out infinite alternate;
}

footer::after {
  width: 180px;
  height: 180px;
  left: -65px;
  bottom: -95px;
  background: rgba(255, 215, 105, 0.08);
  filter: blur(2px);
  animation: footer-glow 8s ease-in-out infinite;
}

.footer-content {
  width: min(100%, 920px);
  text-align: center;
  z-index: 1;
}

footer.footer-ready .footer-content {
  opacity: 0;
  transform: translateY(24px);
}

footer.footer-visible .footer-content {
  animation: footer-reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.footer-content > p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.32rem);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.footer-content small {
  width: fit-content;
  font-size: clamp(0.92rem, 1.6vw, 1.06rem);
  font-weight: 500;
  display: block;
  margin: 11px auto 0;
  padding-top: 11px;
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.tafakur-text {
  font-family: 'tafakur', serif;
  letter-spacing: 0.04em;
}

/* White background behind logos */
.footer-logos-box {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  padding: 15px 30px;
  margin-top: 24px;
  display: inline-block;
  box-shadow:
    0 18px 45px rgba(4, 34, 32, 0.24),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.footer-logos-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 55px rgba(4, 34, 32, 0.3),
    inset 0 1px 0 #fff;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: saturate(0.92);
  transform-origin: center bottom;
  transition: transform 0.3s ease, filter 0.3s ease;
}

footer.footer-visible .footer-logo {
  animation: footer-logo-arrive 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

footer.footer-visible .footer-logo:nth-child(2) {
  animation-delay: 0.1s;
}

footer.footer-visible .footer-logo:nth-child(3) {
  animation-delay: 0.2s;
}

footer.footer-visible .footer-logo:nth-child(4) {
  animation-delay: 0.3s;
}

.footer-logo:hover {
  transform: translateY(-5px) scale(1.08);
  filter: saturate(1.12);
}

/* Remove old collab section */
.footer-collab,
.footer-arrow,
.footer-right-content {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    min-height: 230px;
    padding: 40px 18px 34px;
  }

  .footer-logo {
    height: 39px;
    max-width: 105px;
  }

  .footer-logos-box {
    padding: 13px 18px;
    border-radius: 16px;
  }

  .footer-logos {
    gap: 14px 18px;
  }
}

@media (max-width: 480px) {
  .footer-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(85px, 1fr));
  }

  .footer-logo {
    max-width: 100%;
    margin: auto;
  }
}

@keyframes footer-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footer-logo-arrive {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes footer-orbit {
  to {
    transform: translate(-24px, 18px) rotate(9deg);
  }
}

@keyframes footer-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  footer::before,
  footer::after,
  footer.footer-visible .footer-content,
  footer.footer-visible .footer-logo {
    animation: none;
  }

  footer.footer-ready .footer-content {
    opacity: 1;
    transform: none;
  }

  .footer-logos-box,
  .footer-logo {
    transition: none;
  }
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1b5e20;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li {
  display: inline;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #c8e6c9;
}

/* Smaller Hero for subpages */
.small-hero {
  height: 250px;
}

.fasiliti-showcase {
  max-width: 1320px;
  margin: 0 auto;
  padding: 62px 24px 84px;
}

.fasiliti-showcase__intro {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.fasiliti-showcase__kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d7bf8a;
}

.fasiliti-showcase__intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: #f6f4ed;
}

.fasiliti-showcase__intro p:last-child {
  margin: 18px auto 0;
  max-width: 56ch;
  color: rgba(243, 245, 241, 0.84);
  line-height: 1.85;
}

.fasiliti-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.fasiliti-card {
  position: relative;
  min-height: 470px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(228, 232, 227, 0.95);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 245, 240, 0.95)),
    radial-gradient(circle at top right, rgba(215, 191, 138, 0.12), transparent 28%);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 20px 34px rgba(10, 24, 21, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.fasiliti-card::before {
  display: none;
}

.fasiliti-card:hover,
.fasiliti-card:focus-visible {
  transform: translateY(-10px);
  box-shadow:
    0 30px 48px rgba(10, 24, 21, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-color: rgba(215, 191, 138, 0.34);
  outline: none;
}

.fasiliti-card__label,
.fasiliti-card__image,
.fasiliti-card__content {
  position: relative;
  z-index: 1;
}

.fasiliti-card__label {
  display: inline-flex;
  min-width: 48px;
  color: rgba(32, 57, 47, 0.34);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.fasiliti-card__image {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 32%;
  border-radius: 22px 22px 28px 28px;
  background-image: var(--facility-image);
  background-size: cover;
  background-position: center;
  clip-path: ellipse(96% 100% at 50% 100%);
  box-shadow:
    inset 0 -22px 40px rgba(8, 20, 17, 0.18),
    0 14px 24px rgba(18, 35, 30, 0.12);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.fasiliti-card__image::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: -22px;
  height: 36px;
  background:
    radial-gradient(circle at 18px 22px, transparent 16px, rgba(248, 247, 242, 0.98) 17px) 0 0 / 42px 36px repeat-x;
  filter: drop-shadow(0 5px 4px rgba(15, 26, 22, 0.08));
  pointer-events: none;
}

.fasiliti-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.02)),
    linear-gradient(0deg, rgba(8, 20, 17, 0.08), transparent 24%);
  pointer-events: none;
}

.fasiliti-card:hover .fasiliti-card__image,
.fasiliti-card:focus-visible .fasiliti-card__image {
  transform: translateY(-4px) scale(1.02);
  filter: saturate(1.04);
}

.fasiliti-card__content {
  margin-top: 126px;
  max-width: 88%;
}

.fasiliti-card__content h3 {
  margin: 0;
  max-width: 8ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  line-height: 1.02;
  color: #20392f;
  text-wrap: balance;
}

.fasiliti-card__content p {
  margin: 12px 0 0;
  max-width: 22ch;
  color: #7a8781;
  line-height: 1.55;
  font-size: 0.82rem;
  text-wrap: pretty;
}

.fasiliti-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(32, 57, 47, 0.08), rgba(32, 57, 47, 0.04));
  color: #20392f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(32, 57, 47, 0.08);
}

.fasiliti-card__cta::after {
  content: ">>";
  font-size: 0.95rem;
}

/* ===== FASILITI PAGE ===== */
.fasiliti-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.fasiliti-section {
  margin-bottom: 60px;
  text-align: center;
}

.fasiliti-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2e7d32; /* deep green */
  margin-bottom: 10px;
}

.fasiliti-section p {
  font-size: 1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.facility-slider-card {
  transform-origin: center;
  position: relative;
  margin-left: -28px;
  transform: translateY(14px) scale(0.92);
  opacity: 0.68;
  filter: saturate(0.78) brightness(0.82);
  z-index: 1;
}

.facility-slider-card:first-child {
  margin-left: 0;
}

.facility-slider-card__media,
.facility-slider-card__overlay,
.facility-slider-card__open {
  transition: all 0.5s ease-out;
}

.facility-slider-card--near {
  transform: translateY(6px) scale(0.96);
  opacity: 0.84;
  filter: saturate(0.9) brightness(0.92);
  z-index: 14;
}

.facility-slider-card--active {
  width: 180px !important;
  margin-left: -18px;
  transform: translateY(-2px) scale(1.02) !important;
  opacity: 1;
  filter: none;
  z-index: 25;
  box-shadow:
    0 22px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.facility-slider-card--active .facility-slider-card__media {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.01) brightness(1.03);
}

.facility-slider-card--active .facility-slider-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.03));
}

.facility-slider-card__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.facility-slider-card__open::after {
  content: ">>";
  font-size: 0.9rem;
}

.facility-slider-card--active .facility-slider-card__open {
  font-size: 1rem;
  font-weight: 600;
}

.facility-slider-card--pos-0 {
  z-index: 25;
}

.facility-slider-card--pos-1 {
  z-index: 20;
}

.facility-slider-card--pos-2 {
  z-index: 16;
}

.facility-slider-card--pos-3 {
  z-index: 12;
  transform: translateY(10px) scale(0.93);
  opacity: 0.72;
}

.facility-slider-card--pos-4 {
  z-index: 8;
  transform: translateY(12px) scale(0.9);
  opacity: 0.56;
}

@media (max-width: 1100px) {
  .fasiliti-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fasiliti-showcase {
    padding: 42px 18px 60px;
  }

  .fasiliti-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .facility-slider-card--active {
    width: 170px !important;
  }

  .facility-slider-card {
    margin-left: -18px;
  }

  .fasiliti-card {
    min-height: 410px;
    padding: 18px;
  }

  .fasiliti-card__image {
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 31%;
  }

  .fasiliti-card__content {
    margin-top: 96px;
    max-width: 90%;
  }

  .fasiliti-card__content h3 {
    font-size: clamp(1.3rem, 4.2vw, 1.75rem);
  }
}

@media (max-width: 560px) {
  .facility-slider-card--active {
    width: 150px !important;
  }

  .facility-slider-card {
    margin-left: -10px;
  }

  .fasiliti-card {
    min-height: 390px;
  }
}

/* ===== PEMBELAJARAN PAGE ===== */
.pembelajaran-section {
  max-width: 1000px;
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
}

.pembelajaran-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.pembelajaran-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.pembelajaran-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pembelajaran-img img {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

.pembelajaran-img img:focus-visible {
  outline: 3px solid #f6d791;
  outline-offset: 5px;
}

.pembelajaran-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Pelajar Terbaik Section */
.pelajar-terbaik {
  position: relative;
  padding: 80px 20px 100px;
  text-align: center;
  background-image: url("assets/NB.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  overflow: hidden;
}

.pelajar-terbaik::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 58, 58, 0.54), rgba(13, 34, 36, 0.62)),
    radial-gradient(circle at top left, rgba(255, 214, 102, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(33, 212, 253, 0.13), transparent 28%);
  pointer-events: none;
}

.pelajar-terbaik__intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 50px;
}

.pelajar-terbaik__eyebrow {
  display: inline-block;
  padding: 10px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 245, 214, 0.12);
  color: #fff0b8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(7, 17, 19, 0.2);
  backdrop-filter: blur(10px);
}

.pelajar-terbaik h2 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: white;
  letter-spacing: -0.03em;
}

.batch-roadmap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0;
}

.batch-roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7d6 0%, #ffd862 22%, #ffe186 48%, #fff4c7 100%);
  box-shadow: 0 0 34px rgba(255, 214, 102, 0.28);
}

.roadmap-stop {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 6px;
}

.roadmap-stop:last-child {
  margin-bottom: 0;
}

.roadmap-stop--right {
  justify-content: flex-end;
  margin-top: -132px;
}

.roadmap-stop__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe78f, #ffc83d);
  color: #1d2322;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.1;
  box-shadow:
    0 18px 34px rgba(255, 200, 61, 0.24),
    0 0 0 10px rgba(13, 26, 29, 0.58);
  z-index: 2;
}

.roadmap-stop__card {
  position: relative;
  width: calc(50% - 76px);
  padding: 34px 34px 30px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.roadmap-stop__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 44%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%);
  pointer-events: none;
}

.roadmap-stop--left .roadmap-stop__card::after,
.roadmap-stop--right .roadmap-stop__card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 52px;
  border-top: 4px dotted rgba(255, 220, 111, 0.95);
}

.roadmap-stop--left .roadmap-stop__card::after {
  right: -52px;
}

.roadmap-stop--right .roadmap-stop__card::before {
  left: -52px;
}

.batch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.student {
  background: transparent;
  border-radius: 0;
  padding: 0;
  width: 100%;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.3s ease;
}

.student:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.student img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  display: block;
  border-radius: 0;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: none;
}

.student p {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

/* Responsive */
@media (max-width: 1024px) {
  .roadmap-stop__card {
    width: calc(50% - 56px);
    padding: 28px 28px 24px;
  }
}

@media (max-width: 768px) {
  .pelajar-terbaik {
    padding: 56px 14px 72px;
  }

  .pelajar-terbaik__intro {
    max-width: 360px;
    margin-bottom: 30px;
  }

  .pelajar-terbaik__eyebrow {
    padding: 8px 14px;
    margin-bottom: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .pelajar-terbaik h2 {
    font-size: 1.75rem;
    line-height: 1.12;
  }

  .batch-roadmap::before {
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
  }

  .roadmap-stop,
  .roadmap-stop--right {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 28px;
  }

  .roadmap-stop__dot {
    top: 0;
    left: 50%;
    width: 62px;
    height: 62px;
    transform: translate(-50%, 0);
    font-size: 0.54rem;
    letter-spacing: 0.01em;
    box-shadow:
      0 12px 24px rgba(255, 200, 61, 0.2),
      0 0 0 7px rgba(13, 26, 29, 0.52);
  }

  .roadmap-stop__card {
    width: 100%;
    margin-left: 0;
    padding: 58px 0 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
  }

  .roadmap-stop__card::before,
  .roadmap-stop--left .roadmap-stop__card::after,
  .roadmap-stop--right .roadmap-stop__card::before {
    display: none;
  }

  .batch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 36px;
    align-items: start;
  }

  .student:nth-child(1) {
    justify-self: end;
  }

  .student:nth-child(2) {
    justify-self: start;
  }

  .student {
    width: min(100%, 150px);
  }

  .student img {
    max-height: 220px;
  }
}

@media (max-width: 600px) {
  .pelajar-terbaik {
    padding: 50px 12px 64px;
  }

  .roadmap-stop {
    margin-bottom: 22px;
  }

  .roadmap-stop__card {
    padding-top: 50px;
  }

  .roadmap-stop__dot {
    width: 56px;
    height: 56px;
    font-size: 0.49rem;
  }

  .batch-roadmap::before {
    width: 7px;
  }

  .batch-grid {
    gap: 10px 24px;
  }

  .student {
    width: min(100%, 128px);
  }

  .student img {
    max-height: 178px;
    margin: 0 auto;
  }
}

/* Lightbox (click to enlarge) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 1px;
}

.lightbox-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: inline-block;
}

.lightbox-content {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: black;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s, color 0.3s;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.close:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}

/* Mobile friendly adjustment */
@media (max-width: 600px) {
  .close {
    top: 5px;
    right: 5px;
    font-size: 22px;
    width: 30px;
    height: 30px;
  }
}

/* Responsive Layout */
@media (max-width: 768px) {
  .mySwiper img {
    max-width: 220px;
  }
}
@media (max-width: 480px) {
  .mySwiper img {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    gap: 15px;
  }
  .card-box {
    height: 180px;
    font-size: 1.2rem;
  }
}

/* Navbar */
.site-nav {
  padding-top: 18px;
  background: linear-gradient(180deg, rgba(9, 13, 12, 0.84) 0%, rgba(9, 13, 12, 0.48) 52%, rgba(9, 13, 12, 0) 100%);
}

.site-nav-shell {
  position: relative;
}

.site-nav-bar {
  padding: 18px 26px;
  border-radius: 32px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.site-nav-logo {
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 240, 0.9));
  border: 1px solid rgba(206, 217, 206, 0.95);
  box-shadow: 0 12px 28px rgba(27, 48, 40, 0.12);
}

.site-nav-logo__stack {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-nav-logo__image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}

.site-nav-logo__image--ses {
  width: 72px;
  height: 52px;
}

.site-nav-link,
.site-nav-mobile-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: #d7bf8a;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.site-nav-link:hover,
.site-nav-link--active {
  color: #d7bf8a;
}

.site-nav-link--active {
  background: transparent;
  box-shadow: none;
}

.site-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 148px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(7, 15, 13, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.site-nav-dropdown:hover .site-nav-dropdown__menu,
.site-nav-dropdown:focus-within .site-nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-nav-dropdown__link {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.site-nav-dropdown__link:hover,
.site-nav-dropdown__link--active {
  background: rgba(215, 191, 138, 0.14);
  color: #d7bf8a;
}

.site-nav-mobile-link {
  font-size: 0.98rem;
  padding: 10px 14px;
  border-radius: 14px;
}

.site-nav-mobile-link:hover,
.site-nav-mobile-link:focus-visible {
  background: rgba(215, 191, 138, 0.14);
  color: #d7bf8a;
  text-decoration: none;
}

.site-nav-toggle {
  border: 1px solid rgba(198, 210, 199, 0.95);
  background: linear-gradient(180deg, #ffffff, #f0f5f1);
  color: #1f4336;
  box-shadow: 0 10px 22px rgba(29, 52, 43, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(170, 190, 173, 0.95);
  box-shadow: 0 14px 28px rgba(29, 52, 43, 0.16);
  color: #153126;
}

.site-nav-mobile-wrap {
  margin-top: -14px;
  padding-left: 14px;
  padding-right: 14px;
}

.site-nav-mobile-panel {
  border-radius: 0 0 28px 28px;
  background: rgba(7, 15, 13, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
}

.home-page .home-hero {
  padding-top: 188px;
}

.highlight {
  background: yellow;
  color: black;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}

@media (max-width: 900px) {
  .home-page .home-hero {
    padding-top: 156px;
  }
}

@media (max-width: 480px) {
  .site-nav {
    padding-top: 12px;
  }

  .site-nav-bar {
    padding: 14px 16px;
    border-radius: 26px;
  }

  .site-nav-logo {
    padding: 4px 8px;
  }

  .site-nav-logo__stack {
    gap: 8px;
  }

  .site-nav-logo__image {
    width: 42px;
    height: 42px;
  }

  .site-nav-logo__image--ses {
    width: 54px;
    height: 40px;
  }

  .site-nav-mobile-wrap {
    margin-top: -12px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .site-nav-mobile-panel {
    border-radius: 0 0 24px 24px;
  }

  .home-page .home-hero {
    padding-top: 136px;
  }
}

/* Backgrounds for fasiliti cards */
.surau { --facility-image: url("assets/fasiliti/ruangansurau1.jpg"); }
.pelajar { --facility-image: url("assets/fasiliti/ruanganpelajar1.jpg"); }
.cafe { --facility-image: url("assets/fasiliti/cafeteria1.jpg"); }
.pengangkutan { --facility-image: url("assets/fasiliti/pengangkutan1.jpg"); }
.kelas { --facility-image: url("assets/fasiliti/kelas1.jpg"); }
.dewan { --facility-image: url("assets/dewan.jpg"); }
.atm { --facility-image: url("assets/fasiliti/atm.png"); }
.pos { --facility-image: url("assets/fasiliti/pos.png"); }
.parking { --facility-image: url("assets/fasiliti/park.png"); }
.asrama { --facility-image: url("assets/fasiliti/asrama1.png"); }
.aktiviti { --facility-image: url("assets/fasiliti/ak1.png"); }
.bangunan { --facility-image: url("assets/fasiliti/bangunan1.png"); }


/* Contact Section */
.contact-section {
  padding: 48px 20px 68px;
  background-image: url("assets/NB.jpg"); /* your image file name or URL */
  background-size: cover;       /* make it cover the whole page */
  background-repeat: no-repeat; /* donâ€™t repeat the image */
  background-attachment: fixed; /* make it stay still while scrolling */
  background-position: center;  /* center the image */
}

.contact-studio {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 650px;
  padding: 26px 0;
}

.contact-social-rail {
  position: absolute;
  left: 0;
  top: 404px;
  z-index: 30;
  width: 74px;
  padding: 20px 0;
  border: 1px solid rgba(207, 174, 102, 0.18);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(242, 248, 243, 0.94));
  box-shadow: 0 20px 44px rgba(28, 70, 55, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: translateY(-50%);
}

.contact-social-pop {
  position: relative;
}

.contact-social-rail__trigger {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  padding: 0;
  box-shadow: none;
}

.contact-social-pop:nth-child(1) .contact-social-rail__trigger {
  color: #1877f2;
}

.contact-social-pop:nth-child(2) .contact-social-rail__trigger {
  color: #111111;
}

.contact-social-pop:nth-child(3) .contact-social-rail__trigger {
  background: radial-gradient(circle at 30% 107%,
              #fdf497 0%, #fdf497 5%,
              #fd5949 45%, #d6249f 60%, #285aeb 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-social-rail__trigger:hover {
  transform: translateY(-2px);
  filter: none;
}

.contact-social-dialog {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  z-index: 60;
  min-width: 230px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(241, 248, 242, 0.96));
  border: 1px solid rgba(207, 174, 102, 0.22);
  box-shadow: 0 20px 38px rgba(28, 70, 55, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.contact-social-dialog.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.contact-social-dialog h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #2f6b54;
}

.contact-social-dialog a {
  display: block;
  color: #315549;
  font-size: 0.92rem;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-social-dialog a + a {
  margin-top: 8px;
}

.contact-social-dialog a:hover {
  color: #c28f2c;
  text-decoration: none;
  transform: none;
}

.contact-studio__form-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 308px;
  margin-left: 58px;
  margin-top: 32px;
  padding: 22px 20px 16px;
  border: 1px solid rgba(207, 174, 102, 0.2);
  background: linear-gradient(180deg, rgba(29, 88, 69, 0.96), rgba(48, 117, 94, 0.95));
  box-shadow: 0 26px 56px rgba(19, 74, 58, 0.24);
  color: #fffdf7;
}

.contact-studio__eyebrow {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 226, 181, 0.88);
}

.contact-studio__form-card h2 {
  margin: 0;
  font-size: 1.78rem;
  font-weight: 600;
  color: #fffaf0;
}

.contact-studio__lead {
  margin: 6px 0 10px;
  max-width: 22ch;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 247, 230, 0.82);
}

.support-form--inline {
  padding: 0;
}

.support-form--inline .support-field label {
  color: rgba(247, 231, 196, 0.9);
  font-size: 0.76rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.support-form--inline .support-field {
  margin-bottom: 12px;
}

.support-form--inline .support-field input,
.support-form--inline .support-field textarea {
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid rgba(247, 231, 196, 0.34);
  border-radius: 0;
  background: transparent;
  color: #fffdf7;
  font-size: 0.9rem;
}

.support-form--inline .support-field input::placeholder,
.support-form--inline .support-field textarea::placeholder {
  color: rgba(255, 247, 230, 0.58);
}

.support-form--inline .support-field input:focus,
.support-form--inline .support-field textarea:focus {
  border-color: rgba(246, 226, 181, 0.78);
}

.support-form--inline .support-field textarea {
  min-height: 58px;
  resize: none;
}

.support-submit-btn--light {
  margin-top: 2px;
  min-height: 40px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f6d791, #ddb15a);
  color: #26483d;
  box-shadow: 0 12px 24px rgba(78, 52, 17, 0.18);
  font-size: 0.9rem;
}

.support-submit-btn--light:hover {
  background: linear-gradient(180deg, #f9e1a8, #e3bc6e);
  box-shadow: 0 14px 28px rgba(78, 52, 17, 0.2);
}

.contact-mobile-form-toggle {
  display: none;
  width: 100%;
  margin-top: 14px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #f6f0df;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.contact-mobile-form-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.contact-inline-form-shell {
  display: block;
}

.contact-studio__map-card {
  position: absolute;
  right: 0;
  top: 92px;
  width: min(100%, 700px);
}

.contact-studio__map-surface {
  position: relative;
  height: 336px;
  overflow: hidden;
  background: #f1eee7;
  box-shadow: 0 20px 46px rgba(28, 70, 55, 0.1);
}

.contact-studio__map-link {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-studio__map-surface iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
  pointer-events: none;
}

.contact-studio__map-pin {
  position: absolute;
  right: 42px;
  top: 112px;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 999px;
  background: rgba(42, 103, 82, 0.9);
  color: #fffdf7;
  box-shadow: 0 16px 28px rgba(21, 73, 57, 0.18);
}

.contact-studio__map-pin h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-studio__map-pin p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}

.contact-studio__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-studio__meta-item {
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.95), rgba(240, 246, 241, 0.92));
  box-shadow: 0 14px 30px rgba(28, 70, 55, 0.1);
}

.contact-studio__meta-item--wide {
  grid-column: 1 / -1;
}

.contact-studio__meta-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a8a63;
}

.contact-studio__meta-item a {
  color: #244438;
  font-size: 0.96rem;
  line-height: 1.6;
  text-decoration: none;
  display: block;
}

.contact-studio__meta-item a:hover {
  color: #1f6b3a;
  text-decoration: none;
  transform: none;
}

/* Make all clickable links interactive */
a {
  text-decoration: none;
  color: #2e7d32; /* your default green theme */
  transition: all 0.3s ease;
  cursor: pointer;
}

a:hover {
  color: blue; /* darker green on hover */
  text-decoration: underline;
  transform: scale(1.05); /* slightly enlarges the link */
}

/* For buttons that are links */
button, .btn, a.button {
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, .btn:hover, a.button:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Icon colors for social/contact section */
.contact-card i.fa-map-marker-alt {
  color: #d9534f; /* Red tone for address */
}

.contact-card i.fa-phone {
  color: #28a745; /* WhatsApp/phone green */
}

.contact-card i.fa-envelope {
  color: #D44638; /* Gmail red */
}

.contact-card i.fa-tiktok {
  color: #000000; /* Black for TikTok */
}

.contact-card i.fa-facebook {
  color: #1877F2; /* Facebook blue */
}

.contact-card i.fa-instagram {
  background: radial-gradient(circle at 30% 107%, 
              #fdf497 0%, #fdf497 5%, 
              #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-card i.fa-envelope {
  color: #dd4b39; /* Optional red for email */
}

/* Optional: Make icons a bit bigger and uniform */
.contact-card i {
  font-size: 28px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

/* Subtle hover effect */
.contact-card i:hover {
  transform: scale(1.2);
}

.contact-card i {
  border-radius: 50%;
  padding: 10px;
  background-color: rgba(0,0,0,0.05);
}

/* Application Form Styles */
.application-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.application-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.application-intro {
  text-align: center;
  margin-bottom: 40px;
}

.application-intro h2 {
  color: #2e7d32;
  font-size: 2rem;
  margin-bottom: 15px;
}

.application-intro p {
  color: #666;
  font-size: 1.1rem;
}

.application-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  background: #fafafa;
}

.form-section h3 {
  color: #2e7d32;
  font-size: 1.3rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #2e7d32;
  padding-bottom: 10px;
}

.form-section h3 i {
  font-size: 1.2rem;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-group.full-width {
  flex: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.required {
  color: #d32f2f;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group input:invalid {
  border-color: #d32f2f;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-style: italic;
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.skill-item label {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.documents-checklist {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #2e7d32;
}

.documents-checklist ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.documents-checklist li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.documents-checklist input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.declaration-text {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
  margin-bottom: 20px;
}

.declaration-text p {
  margin: 10px 0;
  line-height: 1.6;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.submit-btn {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-note {
  margin-top: 20px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Checkbox styling */
input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  cursor: pointer;
}

.form-group label input[type="checkbox"] {
  width: auto !important;
  display: inline !important;
  margin-right: 8px !important;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
  .application-container {
    padding: 20px;
    margin: 10px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .application-intro h2 {
    font-size: 1.5rem;
  }
  
  .form-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .form-section h3 {
    font-size: 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .submit-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Success Message Styles */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.success-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.success-content i {
  font-size: 4rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.success-content h2 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.success-content p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.next-steps {
  text-align: left;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.next-steps h3 {
  color: #2e7d32;
  margin-bottom: 15px;
  text-align: center;
}

.next-steps ol {
  margin: 0;
  padding-left: 20px;
}

.next-steps li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.new-application-btn,
.contact-btn {
  background: #2e7d32;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  margin: 10px 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-btn {
  background: #ff9800;
}

.new-application-btn:hover,
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,Â 0,Â 0,Â 0.2);
}

/* Popup overlay */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  padding: 20px;
  background: rgba(4,10,8,0.58);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

/* Popup box */
.popup-content {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,244,238,0.96));
  padding: 30px;
  border-radius: 28px;
  text-align: center;
  width: min(100%, 360px);
  border: 1px solid rgba(215, 191, 138, 0.28);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  font-family: 'Poppins', sans-serif;
}

.popup-content h2 {
  margin-bottom: 10px;
}

.popup-arabic-title {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* Inline error / compact spacing for popup fields */
.popup-content .field-item {
  margin-bottom: 14px; /* slightly larger gap before error */
  transition: margin-bottom 0.18s ease;
  text-align: left;
}

.popup-content .field-item.has-error {
  margin-bottom: 24px; /* more space when showing an error */
}

.popup-content .input-error {
  color: #d32f2f;
  font-size: 0.92rem;
  line-height: 1.2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.18s ease, opacity 0.18s ease, margin-top 0.18s ease;
}

.popup-content .field-item.has-error .input-error {
  max-height: 60px; /* room for a couple lines */
  opacity: 1;
  margin-top: 6px;
}

.popup-content input.input-invalid {
  border-color: #d32f2f !important;
}

.popup-content input {
  width: 100%;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(38, 74, 61, 0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  color: #1f4336;
}

.popup-content .popup-submit {
  width: 100%;
  margin: 14px auto 0;
  display: block;
}
 
.popup-content button {
  background: linear-gradient(180deg, #2f6b54, #285744);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(34, 76, 60, 0.24);
}

.popup-content button:hover {
  background: #244a3b;
}

.popup--ads {
  z-index: 10001;
}

.popup-content--ads {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  width: auto;
  max-width: min(92vw, 760px);
  box-shadow: none;
}

.popup-ads-image {
  display: block;
  max-width: 100%;
  max-height: min(86vh, 920px);
  width: auto;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.44);
}

.popup-content--form {
  width: min(100%, 430px);
  padding: 32px 28px 28px;
}

.popup-content--welcome {
  width: min(100%, 390px);
  padding: 30px 26px 26px;
}

.popup-form__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(31, 107, 58, 0.08);
  color: #1f6b3a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.popup-form__badge--success {
  background: rgba(45, 92, 74, 0.1);
  color: #2d5c4a;
}

.popup-form__title {
  margin: 8px 0 6px;
  font-size: 1.16rem;
  color: #173a2f;
}

.popup-form__lead,
.popup-welcome__lead {
  margin: 0 auto 16px;
  max-width: 32ch;
  color: #53766a;
  font-size: 0.98rem;
  line-height: 1.7;
}

.popup-welcome__title {
  margin: 6px 0 8px;
  color: #1f6b3a;
  font-size: 1.45rem;
  font-weight: 700;
}

.popup-close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 10;
}

.popup-close:hover {
  transform: scale(1.06);
}

.popup-close--light {
  top: -16px;
  right: -16px;
  color: #ffffff;
  background: rgba(4, 8, 7, 0.68);
  box-shadow: 0 12px 24px rgba(0,0,0,0.24);
}

.popup-close--light:hover {
  background: rgba(170, 28, 28, 0.9);
}

.popup-close--dark {
  top: 14px;
  right: 14px;
  color: #35584a;
  background: rgba(31, 67, 54, 0.08);
}

.popup-close--dark:hover {
  background: rgba(31, 67, 54, 0.14);
}

.popup-close--button {
  border: none;
  padding: 0;
  line-height: 1;
}

.popup-submit--compact {
  max-width: 140px;
}

.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* FAQs Section - Accordion Style */
.faqs-section {
  position: relative;
  padding: 80px 20px 96px;
  background-image: url("assets/NB.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  overflow: hidden;
}

.faqs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 48, 48, 0.58), rgba(9, 27, 29, 0.68)),
    radial-gradient(circle at top right, rgba(255, 220, 111, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(64, 200, 180, 0.13), transparent 24%);
  pointer-events: none;
}

.faqs-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.faqs-intro {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.faqs-intro__eyebrow {
  display: inline-block;
  padding: 10px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 245, 214, 0.12);
  color: #fff0b8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(7, 17, 19, 0.2);
  backdrop-filter: blur(10px);
}

.faqs-intro h2 {
  margin: 0 0 12px;
  font-size: 2.5rem;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.faqs-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.faqs-container {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-category {
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.faq-category:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.faq-category-header {
  color: white;
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  user-select: none;
}

.faq-category-header__title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.faq-category-header__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 231, 143, 0.94), rgba(255, 200, 61, 0.9));
  color: #1d2322;
  box-shadow: 0 14px 28px rgba(255, 200, 61, 0.22);
}

.faq-category-header__icon i {
  font-size: 1.2rem;
}

.faq-category-header h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.faq-category-header small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.45;
}

.faq-category-header > i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff7d6;
  font-size: 0.95rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-category.active .faq-category-header > i {
  transform: rotate(180deg);
  background: rgba(255, 220, 111, 0.22);
}

.faq-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease, padding 0.42s ease;
  padding: 0 28px;
}

.faq-category.active .faq-category-content {
  max-height: 1200px;
  padding: 0 28px 26px;
}

.faq-qa {
  padding: 18px 0 0;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-qa:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.faq-qa h4 {
  color: #ffffff;
  font-size: 1.04rem;
  line-height: 1.55;
  margin: 0 0 10px;
  font-weight: 600;
}

.faq-qa p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.78;
  font-size: 0.97rem;
  margin: 0;
}

.faq-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.78;
  font-size: 0.97rem;
}

.faq-list li + li {
  margin-top: 6px;
}

@media (max-width: 768px) {
  .faqs-section {
    padding: 60px 14px 74px;
  }

  .faqs-intro {
    margin-bottom: 28px;
  }

  .faqs-intro__eyebrow {
    padding: 8px 14px;
    margin-bottom: 14px;
    font-size: 0.7rem;
  }

  .faqs-intro h2 {
    font-size: 1.95rem;
  }

  .faqs-intro p {
    font-size: 0.94rem;
  }

  .faqs-container {
    gap: 12px;
  }

  .faq-category {
    border-radius: 22px;
  }

  .faq-category-header {
    padding: 18px 18px 18px 16px;
    gap: 12px;
  }

  .faq-category-header__title {
    gap: 12px;
  }

  .faq-category-header__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .faq-category-header h3 {
    font-size: 1.05rem;
  }

  .faq-category-header small {
    font-size: 0.82rem;
  }

  .faq-category-header > i {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .faq-category-content {
    padding: 0 16px;
  }

  .faq-category.active .faq-category-content {
    padding: 0 16px 18px;
  }

  .faq-qa {
    margin-top: 14px;
    padding-top: 14px;
  }

  .faq-qa h4 {
    font-size: 0.98rem;
  }

  .faq-qa p,
  .faq-list {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .faqs-section {
    padding: 52px 12px 64px;
  }

  .faqs-intro {
    max-width: 320px;
    margin-bottom: 22px;
  }

  .faqs-intro__eyebrow {
    padding: 7px 12px;
    margin-bottom: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .faqs-intro h2 {
    font-size: 1.62rem;
    line-height: 1.14;
  }

  .faqs-intro p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .faqs-container {
    gap: 10px;
  }

  .faq-category {
    border-radius: 18px;
  }

  .faq-category-header {
    padding: 14px;
    gap: 10px;
    align-items: flex-start;
  }

  .faq-category-header__title {
    gap: 10px;
    align-items: flex-start;
  }

  .faq-category-header__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .faq-category-header__icon i {
    font-size: 1rem;
  }

  .faq-category-header h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    margin-bottom: 3px;
  }

  .faq-category-header small {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .faq-category-header > i {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
    margin-top: 2px;
  }

  .faq-category-content {
    padding: 0 14px;
  }

  .faq-category.active .faq-category-content {
    padding: 0 14px 16px;
  }

  .faq-qa {
    margin-top: 12px;
    padding-top: 12px;
  }

  .faq-qa h4 {
    font-size: 0.94rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .faq-qa p,
  .faq-list {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .faq-list {
    padding-left: 18px;
  }
}

/* Floating Support Widget */
.support-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

/* Call Button */
.call-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  animation: pulse-call 2s infinite;
}

.call-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.5);
}

.call-icon i {
  color: white;
  font-size: 26px;
}

@keyframes pulse-call {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.6);
  }
}

/* Support Form Icon */
.support-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #317873 0%, #2d6863 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.support-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.support-icon i {
  color: #ffcc00;
  font-size: 28px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 204, 0, 0.4);
  }
}

.support-form-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: none;
  animation: slideUp 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.support-form-container.show {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.support-form-header {
  background: linear-gradient(135deg, #317873 0%, #2d6863 100%);
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-form-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.support-close {
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.support-close:hover {
  transform: rotate(90deg);
}

.support-form {
  padding: 25px;
}

.support-field {
  margin-bottom: 18px;
}

.support-field label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.support-field input,
.support-field textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.support-field input:focus,
.support-field textarea:focus {
  outline: none;
  border-color: #317873;
}

.support-field textarea {
  resize: vertical;
  min-height: 80px;
}

.support-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #317873 0%, #2d6863 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.support-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(49, 120, 115, 0.4);
}

.support-submit-btn i {
  font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-studio {
    min-height: unset;
    padding: 0;
    display: grid;
    gap: 18px;
  }

  .contact-social-rail {
    position: static;
    order: 3;
    width: 100%;
    padding: 12px 16px;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    transform: none;
  }

  .contact-social-dialog {
    left: 50%;
    top: calc(100% + 12px);
    min-width: 220px;
    transform: translateX(-50%) translateY(-6px);
  }

  .contact-social-dialog.is-open {
    transform: translateX(-50%) translateY(0);
  }

  .contact-studio__form-card {
    order: 2;
    max-width: none;
    margin-left: 0;
    margin-top: 0;
    padding: 24px 18px 20px;
  }

  .contact-studio__form-card h2 {
    font-size: 1.9rem;
  }

  .contact-studio__lead {
    display: none;
  }

  .contact-studio__map-card {
    order: 1;
    position: static;
    width: 100%;
  }

  .contact-studio__map-surface {
    height: 260px;
  }

  .contact-studio__map-pin {
    right: 14px;
    left: 14px;
    top: auto;
    bottom: 14px;
    max-width: none;
    border-radius: 22px;
  }

  .contact-studio__meta {
    grid-template-columns: 1fr;
  }

  .contact-inline-form-shell {
    display: none;
    margin-top: 14px;
  }

  .contact-inline-form-shell.is-open {
    display: block;
  }

  .contact-mobile-form-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .support-widget {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }

  .call-icon {
    width: 55px;
    height: 55px;
  }

  .call-icon i {
    font-size: 22px;
  }

  .support-icon {
    width: 55px;
    height: 55px;
  }

  .support-icon i {
    font-size: 24px;
  }

  .support-form-container {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 155px;
    max-height: 70vh;
  }

  .support-form-header h3 {
    font-size: 1.1rem;
  }

  .support-form {
    padding: 20px;
  }
}


