:root {
  /* --navy: #122f55; */
  --navy: #194175;
  --navy-light: #132d52;
  --navy-dark: #061220;
  --sky: #407bcd;
  --sky-light: #7dc9f5;
  --sky-dark: #252d59;
  --sky-glow: rgba(91, 181, 232, 0.35);
  --gold: #C5A059;
  --gold-light: #f7e0a3;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-100: #eef1f5;
  --gray-300: #c8cdd5;
  --gray-600: #6b7280;
  --text-dark: #1a2332;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-script: 'Great Vibes', cursive;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-blur: 18px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  touch-action: manipulation;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

a {
  color: #205ba9;
}

a:hover {
  color : var(--sky);
}

.container
{
  padding-inline: 1rem;
}

/* ---- Typography ---- */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.75rem;
}

.section-label-light {
  color: var(--sky-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--sky);
}

.section-title-light {
  color: var(--white);
}

.section-title-light em {
  color: var(--sky-light);
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-600);
}

.section-desc-light {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Navbar ---- */
.glass-nav {
    background: transparent;
    border-bottom: 0;
    padding: 1.1rem 0;
    z-index: 1050;
}

.glass-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        to bottom,
        rgba(10, 30, 55, 0.35) 0%,
        rgba(10, 30, 55, 0.22) 45%,
        rgba(10, 30, 55, 0.05) 75%,
        rgba(10, 30, 55, 0) 100%
    );
    
    pointer-events: none;
}

.glass-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.05);
  padding: 0.65rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); /* Shadow box header */
}

.glass-nav.scrolled::before {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Mengubah warna teks menu (Home, Proyek, dll) menjadi hitam/navy gelap saat header putih */
.glass-nav.scrolled .nav-link {
  color: var(--navy-dark) !important;
}

/* Mengubah warna panah dropdown menjadi gelap menyesuaikan teks */
.glass-nav.scrolled .nav-link-dropdown .nav-caret {
  border-top-color: var(--navy-dark);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.main-nav-list {
  gap: 0.25rem;
}

.glass-nav .nav-link {
  display: inline-flex;
  flex-direction: row; /* Berubah dari column menjadi row */
  align-items: center; /* Memastikan rata tengah vertikal */
  gap: 0.4rem; /* Jarak antara teks dan arrow dropdown */
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 0.5rem 1.15rem !important;
  position: relative; /* Menjaga garis bawah tetap di tempatnya */
  user-select: none;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-hover-dropdown.is-open > .nav-link {
  transform: scale(1.06);
}

.glass-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--sky);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.glass-nav .nav-link.active::after,
.glass-nav .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.glass-nav .nav-link-dropdown::after {
  display: block;
}

.glass-nav .nav-link-dropdown .nav-caret {
  display: block;
  width: 0;
  height: 0;
  margin-top: 0; /* Direset dari 0.5rem menjadi 0 */
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.85);
  transition: border-top-color var(--transition), transform var(--transition);
}

.glass-nav .nav-hover-dropdown:hover .nav-link-dropdown .nav-caret,
.glass-nav .nav-hover-dropdown.show .nav-link-dropdown .nav-caret {
  border-top-color: var(--sky);
  transform: translateY(1px);
}

.glass-nav .navbar-toggler-icon {
  filter: invert(1);
}

.glass-nav .navbar-brand {
  padding: 0;
  margin: 0;
}

/* Hover dropdown — desktop */
@media (min-width: 992px) {

  .nav-hover-dropdown {
    position: relative;
  }

  .nav-hover-dropdown .dropdown-menu {
    display: block;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.16s ease,
      transform 0.2s ease,
      visibility 0s linear 0.2s;

    margin-top: 0 !important;
    transform: translateY(15px);
    transform-origin: top center;
  }

  /* Hanya dropdown yang dikontrol JS yang terbuka */
  .nav-hover-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(15px);

    transition:
      opacity 0.18s ease,
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  .nav-hover-dropdown.is-open .nav-link-dropdown .nav-caret {
    transform: rotate(180deg);
  }

  /*
   * Hover bridge.
   * Tidak terlihat, tapi menjaga dropdown tetap hidup
   * saat mouse bergerak dari menu ke box.
   */
  .nav-hover-dropdown::after {
    content: "";

    position: absolute;

    left: -12px;
    right: -12px;

    top: 100%;
    height: 18px;

    background: transparent;
  }
}

.glass-dropdown {
  min-width: 250px;
  padding: 0.7rem !important;
  border-radius: 12px !important;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.055)
    ),
    rgba(10, 32, 80, 0.95) !important;
  
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;

  overflow: hidden;
}

.glass-dropdown::before {
  content: '';
  position: absolute;
  top: -75px;
  right: -70px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: rgba(142, 207, 245, 0.16);
  filter: blur(30px);
  pointer-events: none;
}

/* buang panah hitam */
.glass-dropdown::after {
  display: none !important;
}

.glass-dropdown .dropdown-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(142, 207, 245, 0.15),
      rgba(255, 255, 255, 0.035)
    );
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.glass-dropdown .dropdown-divider {
  margin: 0.55rem 0.25rem !important;
  border-color: rgba(255, 255, 255, 0.11);
  opacity: 1;
}

.glass-dropdown::after {
  position: relative;
  z-index: 1;
}

.glass-dropdown li {
  position: relative;
  z-index: 1;
}

.glass-dropdown .dropdown-item {
  position: relative;
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 42px;

  padding: 0.72rem 1rem 0.72rem 2.25rem !important;
  border-radius: 12px;
  
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.3;

  cursor: pointer;
  overflow: hidden;

  transition:
    color var(--transition),
    background var(--transition);
}

.glass-dropdown .dropdown-item::before {
  content: '';
  position: absolute;
  
  /* posisi dot */
  left: 0.85rem;
  top: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: rgba(142, 207, 245, 0.68);
  box-shadow: 0 0 0 4px rgba(142, 207, 245, 0.08);

  transform: translateY(-50%);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.glass-dropdown .dropdown-item:hover {
  color: var(--white);
  background: rgba(0, 0, 0, 0.06);
}

.glass-dropdown .dropdown-item:hover::before {
  background: var(--sky-light);
  box-shadow:
    0 0 0 5px rgba(142, 207, 245, 0.12),
    0 0 18px rgba(142, 207, 245, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.glass-dropdown .dropdown-item:hover::after {
  opacity: 1;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  letter-spacing: 0.05em;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  background: var(--sky);
  color: var(--white);
  border: 1px solid var(--sky);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;

  padding: 0.72rem 1.55rem;
  border-radius: 8px;

  box-shadow: 0 14px 28px rgba(0, 25, 60, 0.24);
  cursor: pointer;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-accent:hover {
  background: var(--navy);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 25, 60, 0.18);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: 0 7px 16px rgba(0, 25, 60, 0.18);
}

.btn-accent:focus-visible {
  outline: 3px solid rgba(0, 150, 210, 0.28);
  outline-offset: 3px;
}

/* =========================================================
   HERO SLIDESHOW
   ========================================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 960px;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   WHITE AREA - SEPERTI SAMPLE
   ========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: transparent;

    pointer-events: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding-top: 40px;
    padding-bottom: 0;
    padding-left: clamp(2rem, 5vw, 4rem);
    padding-right: 2rem;
}


/* =========================================================
   CAPTION
   ========================================================= */

.hero-caption {
    position: relative;
    z-index: 2;
    
    top: 50px;

    width: 400px;
    max-width: 400px;

    padding: 2rem 2rem 2.2rem;
    
    text-align: left;
}


/* WHITE AREA DI BELAKANG CAPTION */

.hero-caption::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -10rem;
    left: -14rem;
    
    width: calc(100% + 20rem);
    height: calc(100% + 20rem);
    
    background:
        radial-gradient(
            ellipse 68% 62% at 50% 50%,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.92) 45%,
            rgba(255, 255, 255, 0.78) 58%,
            rgba(255, 255, 255, 0.45) 72%,
            rgba(255, 255, 255, 0.16) 86%,
            rgba(255, 255, 255, 0) 100%
        );

    filter: blur(50px);
  
    pointer-events: none;
}

.hero-caption-box {
    padding: 2rem 2rem 2.2rem;

    background: transparent;
    border: 0;
    border-radius: 0;

    box-shadow: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    overflow: visible;
}

.hero-caption-box::after {
    display: none;
}


/* =========================================================
   LABEL
   ========================================================= */

.hero-label {
    margin-bottom: 0.75rem;

    font-family: var(--font-sans);

    font-size: 0.62rem;
    font-weight: 500;

    letter-spacing: 0.02em;
    text-transform: uppercase;

    color: #17283e;
}


/* =========================================================
   TITLE
   ========================================================= */

.hero-title {
    margin: 0 0 1.15rem;
    padding: 0;

    font-family: var(--font-serif);

    font-size: clamp(2.8rem, 4.2vw, 4.1rem);
    font-weight: 500;

    letter-spacing: -0.035em;
    text-transform: none;

    line-height: 1.02;

    color: #13253d;

    text-shadow: none;
}

.hero-title em {
    font-style: normal;
    color: #367fd0;
}


/* Override style lama */

.hero-caption-box .hero-title {
    display: block;

    width: auto;

    margin-bottom: 1.15rem;
    padding-bottom: 0;

    border-bottom: 0;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.hero-desc {
    max-width: 300px;

    margin: 0 0 1.35rem;

    font-family: var(--font-sans);

    font-size: 1em;
    font-weight: 400;

    line-height: 2;

    color: #263548;
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    padding: 0.72rem 1rem;

    font-size: 0.67rem;
    font-weight: 600;

    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #fff;

    background: #438ddc;

    border: 0;
    border-radius: 5px;

    box-shadow: 0 7px 18px rgba(50, 120, 200, 0.25);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.btn-primary-glow:hover {
    color: #fff;
    background: #347dc9;
    transform: translateY(-2px);
}

.btn-primary-glow i {
    transition: transform 0.25s ease;
}

.btn-primary-glow:hover i {
    transform: translateX(3px);
}


/* =========================================================
   ANIMATION
   ========================================================= */

.hero-animate {
    opacity: 0;
    transform: translateY(18px);
}

.hero-animate.is-visible {
    animation:
        heroReveal
        0.72s
        cubic-bezier(0.22, 1, 0.36, 1)
        forwards;
}

.hero-animate[data-delay="1"].is-visible {
    animation-delay: 0.08s;
}

.hero-animate[data-delay="2"].is-visible {
    animation-delay: 0.16s;
}

.hero-animate[data-delay="3"].is-visible {
    animation-delay: 0.24s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .hero-content {
        padding-left: 2.5rem;
        padding-right: 2rem;
    }

    .hero-caption {
        max-width: 450px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.6rem);
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.9) 20%,
                rgba(255, 255, 255, 0.76) 34%,
                rgba(255, 255, 255, 0.5) 47%,
                rgba(255, 255, 255, 0.18) 62%,
                rgba(255, 255, 255, 0) 76%
            );
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   HERO SLIDESHOW
   ========================================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 960px;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   WHITE AREA - SEPERTI SAMPLE
   ========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: transparent;

    pointer-events: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding-top: 40px;
    padding-bottom: 0;
    padding-left: clamp(2rem, 5vw, 4rem);
    padding-right: 2rem;
}


/* =========================================================
   CAPTION
   ========================================================= */

.hero-caption {
    position: relative;
    z-index: 2;
    
    top: 50px;

    width: 400px;
    max-width: 400px;

    padding: 2rem 2rem 2.2rem;
    
    text-align: left;
}


/* WHITE AREA DI BELAKANG CAPTION */

.hero-caption::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -10rem;
    left: -14rem;
    
    width: calc(100% + 20rem);
    height: calc(100% + 20rem);
    
    background:
        radial-gradient(
            ellipse 68% 62% at 50% 50%,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.92) 45%,
            rgba(255, 255, 255, 0.78) 58%,
            rgba(255, 255, 255, 0.45) 72%,
            rgba(255, 255, 255, 0.16) 86%,
            rgba(255, 255, 255, 0) 100%
        );

    filter: blur(50px);
  
    pointer-events: none;
}

.hero-caption-box {
    padding: 2rem 2rem 2.2rem;

    background: transparent;
    border: 0;
    border-radius: 0;

    box-shadow: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    overflow: visible;
}

.hero-caption-box::after {
    display: none;
}


/* =========================================================
   LABEL
   ========================================================= */

.hero-label {
    margin-bottom: 0.75rem;

    font-family: var(--font-sans);

    font-size: 0.62rem;
    font-weight: 500;

    letter-spacing: 0.02em;
    text-transform: uppercase;

    color: #17283e;
}


/* =========================================================
   TITLE
   ========================================================= */

.hero-title {
    margin: 0 0 1.15rem;
    padding: 0;

    font-family: var(--font-serif);

    font-size: clamp(2.8rem, 4.2vw, 4.1rem);
    font-weight: 500;

    letter-spacing: -0.035em;
    text-transform: none;

    line-height: 1.02;

    color: #13253d;

    text-shadow: none;
}

.hero-title em {
    font-style: normal;
    color: #367fd0;
}


/* Override style lama */

.hero-caption-box .hero-title {
    display: block;

    width: auto;

    margin-bottom: 1.15rem;
    padding-bottom: 0;

    border-bottom: 0;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.hero-desc {
    max-width: 300px;

    margin: 0 0 1.35rem;

    font-family: var(--font-sans);

    font-size: 1em;
    font-weight: 400;

    line-height: 2;

    color: #263548;
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    padding: 0.72rem 1rem;

    font-size: 0.67rem;
    font-weight: 600;

    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #fff;

    background: #438ddc;

    border: 0;
    border-radius: 5px;

    box-shadow: 0 7px 18px rgba(50, 120, 200, 0.25);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.btn-primary-glow:hover {
    color: #fff;
    background: #347dc9;
    transform: translateY(-2px);
}

.btn-primary-glow i {
    transition: transform 0.25s ease;
}

.btn-primary-glow:hover i {
    transform: translateX(3px);
}


/* =========================================================
   ANIMATION
   ========================================================= */

.hero-animate {
    opacity: 0;
    transform: translateY(18px);
}

.hero-animate.is-visible {
    animation:
        heroReveal
        0.72s
        cubic-bezier(0.22, 1, 0.36, 1)
        forwards;
}

.hero-animate[data-delay="1"].is-visible {
    animation-delay: 0.08s;
}

.hero-animate[data-delay="2"].is-visible {
    animation-delay: 0.16s;
}

.hero-animate[data-delay="3"].is-visible {
    animation-delay: 0.24s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    .hero-content {
        padding-left: 2.5rem;
        padding-right: 2rem;
    }

    .hero-caption {
        max-width: 450px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.6rem);
    }

    /* Menghapus gradient putih yang melebar menutupi layar */
    .hero-overlay {
        background: transparent !important;
    }
    
    /* Mengembalikan glow putih radial (acuan desktop) dengan ukuran proporsional tablet */
    .hero-caption::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -5rem;
        left: -6rem;
        width: calc(100% + 12rem);
        height: calc(100% + 12rem);
        background: radial-gradient(
            ellipse 68% 62% at 50% 50%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.92) 45%,
            rgba(255, 255, 255, 0.78) 58%,
            rgba(255, 255, 255, 0.45) 72%,
            rgba(255, 255, 255, 0.16) 86%,
            rgba(255, 255, 255, 0) 100%
        );
        filter: blur(40px);
        pointer-events: none;
        display: block !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 575.98px) {
    /* Reset tinggi bawaan */
    .hero-section {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        top: 70px;
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: auto !important;
    }
    
    /* =========================
       GAMBAR (Full Width & Tidak Distorsi)
       ========================= */
    .hero-slide {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        
        /* Memberikan ruang untuk gambar di bagian atas */
        padding-top: 53vw; 
        
        /* Gambar full width, tinggi proporsional, dan tetap di atas */
        background-size: 100% auto !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
        background-color: #ffffff;
        
        display: flex;
        flex-direction: column;
    }

    /* =========================
       CAPTION PINDAH KE BAWAH GAMBAR
       ========================= */
    .hero-content {
        height: auto !important;
        display: block;
        padding: 10px 0px 25px 0px !important;
        margin-bottom: 30px !important;
        background: var(--navy);
    }

    .hero-caption {
        position: relative;
        top: auto;
        width: 100%;
        max-width: none;
        padding: 0;
        background: transparent;
    }

    /* Matikan efek glow desktop karena caption sudah ada di blok putih murni */
    .hero-caption::before {
        display: none !important;
    }

    .hero-caption-box {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-title {
        font-size: 25px !important;
        font-weight: bold !important;
        line-height: 1;
        margin-bottom: 0.9rem;
        color: rgba(255, 255, 255, 0.75) !important;
    }
    
    .hero-title em{
        color: rgba(255, 255, 255, 0.75) !important;
    }
    
    .hero-desc {
        max-width: none;
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 1.15rem;
        color: rgba(255, 255, 255, 0.75) !important;
    }

    .hero-overlay {
        display: none !important;
    }
    
    /* Pindahkan panah slider ke area gambar agar tetap terlihat */
    .hero-controls {
        top: calc(53vw - 60px) !important;
        bottom: auto !important;
        right: 1rem !important;
        gap: 1rem;
        transform: scale(0.75);
    }
}

.btn-primary-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  background:
    linear-gradient(
      135deg,
      #56a3e8 0%,
      #427ed0 42%,
      #245fba 100%
    );
  background-size: 180% 180%;
  background-position: 0% 50%;

  color: var(--white) !important;
  border: none;
  outline: none;

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;

  padding: 0.9rem 2.1rem;
  border-radius: 7px;

  box-shadow:
    0 10px 26px rgba(66, 126, 208, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.06);

  cursor: pointer;

  transition:
    background-position 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.btn-primary-glow::before {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -65%;

  width: 44%;

  background:
    linear-gradient(
      105deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 28%,
      rgba(255, 255, 255, 0.34) 50%,
      rgba(255, 255, 255, 0.08) 72%,
      transparent 100%
    );

  transform: translateX(0) skewX(-18deg);
  opacity: 0;

  pointer-events: none;

  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.btn-primary-glow::after {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16),
      transparent 38%,
      rgba(142, 207, 245, 0.12)
    );

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;
}

/* HOVER - biru lebih gelap sedikit */
.btn-primary-glow:hover {
  color: var(--white) !important;

  background:
    linear-gradient(
      135deg,
      #3f8fdd 0%,
      #2f70c5 45%,
      #1b4f9e 100%
    );

  background-size: 180% 180%;
  background-position: 100% 50%;

  border: none;
  outline: none;

  box-shadow:
    0 14px 34px rgba(18, 47, 85, 0.32),
    0 0 0 3px rgba(142, 207, 245, 0.1);
}

.btn-primary-glow:hover::before {
  opacity: 1;
  transform: translateX(390%) skewX(-18deg);
}

.btn-primary-glow:hover::after {
  opacity: 1;
}

/* FOCUS - jangan disamain dengan hover, biar tidak nyangkut setelah click */
.btn-primary-glow:focus,
.btn-primary-glow:focus-visible {
  color: var(--white) !important;
  border: none;
  outline: none;
}

/* Kalau button masih focus tapi mouse tidak hover, balikin ke style default */
.btn-primary-glow:focus:not(:hover),
.btn-primary-glow:focus-visible:not(:hover) {
  background:
    linear-gradient(
      135deg,
      #56a3e8 0%,
      #427ed0 42%,
      #245fba 100%
    );

  background-size: 180% 180%;
  background-position: 0% 50%;

  box-shadow:
    0 10px 26px rgba(66, 126, 208, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.btn-primary-glow:focus:not(:hover)::before,
.btn-primary-glow:focus-visible:not(:hover)::before {
  opacity: 0;
  transform: translateX(0) skewX(-18deg);
}

.btn-primary-glow:focus:not(:hover)::after,
.btn-primary-glow:focus-visible:not(:hover)::after {
  opacity: 0;
}

/* ACTIVE / CLICK */
.btn-primary-glow:active {
  color: var(--white) !important;

  background:
    linear-gradient(
      135deg,
      #347fca 0%,
      #255fae 45%,
      #153f86 100%
    );

  background-size: 180% 180%;
  background-position: 100% 50%;

  border: none;
  outline: none;

  box-shadow:
    0 10px 24px rgba(18, 47, 85, 0.3),
    0 0 0 2px rgba(142, 207, 245, 0.08);

  animation: btnPressWobble 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary-glow:active::before {
  opacity: 1;
  transform: translateX(390%) skewX(-18deg);
}

.btn-primary-glow:active::after {
  opacity: 1;
}

/* ICON */
.btn-primary-glow i {
  position: relative;
  z-index: 1;

  color: var(--white) !important;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.btn-primary-glow:hover i {
  transform: translateX(4px);
  opacity: 0.95;
}

.btn-primary-glow:active i {
  color: var(--white) !important;
}

/* PRESS ANIMATION */
@keyframes btnPressWobble {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(0.97);
  }

  65% {
    transform: scale(1.015);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    align-items: flex-end;
    padding-bottom: 5.7rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-caption {
    width: min(680px, 100%);
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 640px;
  }

  .hero-content {
    padding-bottom: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-caption-box {
    padding: 1rem 1.1rem;
  }

  .hero-title {
    font-size: 1.3rem;
    letter-spacing: 0.055em;
  }

  .hero-desc {
    font-size: 0.86rem;
    line-height: 1.55;
  }
}

/* Hero Indicators — hidden, using custom controls */
.hero-indicators {
  display: none;
}

.hero-controls {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.slide-counter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

.counter-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-nav-buttons {
  display: flex;
  gap: 0.75rem;
}

.hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.hero-nav-btn:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
  transform: scale(1.05);
}

/* ---- Proyek Section ---- */
.section-proyek {
  background: #FFFFFF;
}

.project-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.18);
}

.project-img {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  
  /* Mengaktifkan rendering GPU agar zoom gambar tidak patah */
  will-change: transform;
  backface-visibility: hidden;
  
  transition: transform 0.6s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 31, 58, 0.95) 10%,
    rgba(78, 90, 97, 0.25) 25%,
    transparent 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  pointer-events: none;
}

.project-tag {
  position: relative;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky-light, #8ecff5);
  margin-bottom: 0rem;
}

.project-card:hover .project-tag::after {
  width: 28px;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0;
  transition: transform 0.4s ease;
}

.project-location {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.project-location i {
  margin-right: 0.3rem;
  color: var(--sky);
}

/* ---- Penghargaan Section ---- */
.section-awards {
  background: var(--navy);
  color: var(--white);
}

.award-card {
  text-align: left;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color var(--transition);
}

.award-card:hover {
  border-top-color: var(--sky);
}

.award-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--sky);
  background: transparent;
  border: none;
  border-radius: 0;
}

.award-title {
  color: var(--white);
  margin-bottom: 0.35rem;
}

.award-year {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 0.85rem;
}

.award-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: white;
  margin: 0;
  line-height: 1.65;
}

/* ---- Video Section ---- */
.section-video {
  background: var(--white);
}

.video-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(91, 181, 232, 0.25);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 2;
}

.video-play-btn:hover {
  background: var(--sky);
  color: var(--navy);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 40px var(--sky-glow);
}

.video-glow {
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  border: 1px solid rgba(91, 181, 232, 0.3);
  pointer-events: none;
  box-shadow: 0 0 30px rgba(91, 181, 232, 0.1);
}

/* ---- News Section ---- */
.section-news {
  background: var(--white);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-outline-custom:hover {
  background: var(--navy);
  color: var(--white);
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 16px 48px rgba(11, 31, 58, 0.05);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11, 31, 58, 0.2);
}

.news-img {
  height: 300px;
  background-size: cover;
  background-position: top center;
}

.news-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.news-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.news-excerpt {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 1rem;
}

.news-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition), gap var(--transition);
}

.news-link:hover {
  color: var(--sky);
  gap: 0.65rem;
}

/* ---- Video Box ---- */

.video-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.video-box video {
    display: block;
    width: 100%;
}

/* ---- Gallery ---- */

.img-box {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 5px;
}

.footer-top {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 38px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 2rem;
}

.footer-nav span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  cursor: default;
  transition: color var(--transition);
}

.footer-nav span:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 1.5rem 0 2rem;
}

.footer-copy {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.footer-legal-links span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  cursor: default;
  transition: color var(--transition);
}

.footer-legal-links span:not(.footer-sep):hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.2) !important;
  cursor: default !important;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0px;
  margin-top: 2rem;
  text-align: left;
}

@media (max-width: 767px) {
  .footer-social {
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100%;
  }

  .footer-social a {
    margin-left: 0;
    margin-right: 0;
  }
}

.footer-social a {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  color: var(--sky-light);
  transform: translateY(-2px);
}

.site-footer .footer-top-inner {
  display: block;
}

.site-footer .footer-info-row {
  align-items: flex-start;
}

.site-footer .footer-brand-col {
  text-align: left;
}

.site-footer .footer-logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-footer .footer-title {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.site-footer .footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.65;
}

.site-footer .footer-info-item i {
  width: 18px;
  min-width: 18px;
  line-height: 1.75;
  text-align: center;
}

.site-footer .footer-bottom-inner {
  justify-content: center;
  text-align: center;
}

@media (max-width: 991.98px) {
  .site-footer .footer-logo {
    width: 140px;
  }

  .site-footer .footer-title {
    margin-top: 6px;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .glass-nav .navbar-collapse {
    background: rgba(11, 31, 58, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .glass-nav::before,
  .glass-nav.scrolled::before {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .main-nav-list {
    align-items: flex-start;
  }

  .glass-nav .nav-link {
    align-items: flex-start;
    padding-left: 0.5rem !important;
  }

  .nav-hover-dropdown .dropdown-menu {
    position: static !important;
    float: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0.25rem 0 0.5rem 1rem !important;
    padding: 0.35rem !important;
  }

  .nav-actions {
    display: flex !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-top-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-controls {
    right: 1.5rem;
    bottom: 2rem;
  }

  .project-img {
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .hero-controls {
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }

  .slide-counter {
    display: none;
  }
}

/* =========================================
   MOBILE MENU - TABLET & MOBILE
========================================= */

@media (max-width: 1199.98px) {

  /* Navbar Mobile / Tablet */
  .glass-nav {
    background: #fff !important;
    border-bottom: 1px solid #eef2f7;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    padding: 14px 0;
  }

  .glass-nav.scrolled {
    background: #fff !important;
    padding: 12px 0;
  }

  .glass-nav .navbar-collapse,
  .glass-nav .nav-actions,
  .glass-nav .lang-switch {
    display: none !important;
  }

  .nav-container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-logo {
    height: 42px;
    width: auto;
  }

  /* Hamburger */
  .mobile-menu-btn {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-left: auto;
    z-index: 1100;
  }

  .mobile-menu-btn span {
    position: absolute;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: #143765;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-menu-btn span:nth-child(1) {
    transform: translateY(-8px);
  }

  .mobile-menu-btn span:nth-child(2) {
    opacity: 1;
  }

  .mobile-menu-btn span:nth-child(3) {
    transform: translateY(8px);
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
}

@media (min-width: 1200px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 24, .52);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .3s ease, visibility .3s ease;
  z-index: 1098;
}

.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;

  width: 280px;
  max-width: 75vw;
  height: 100dvh;

  background:
    radial-gradient(circle at top left, rgba(142, 207, 245, .13), transparent 38%),
    linear-gradient(180deg, #082852 0%, #061a38 100%);

  transform: translateX(-100%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);

  z-index: 1099;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.mobile-menu-panel::before {
  content: "";
  position: absolute;

  top: -135px;
  right: -135px;

  width: 280px;
  height: 280px;

  border-radius: 50%;
  background: rgba(142, 207, 245, .10);
  filter: blur(44px);

  pointer-events: none;
}

.mobile-menu-panel.show {
  transform: translateX(0);
  box-shadow: 28px 0 80px rgba(0, 0, 0, .42);
}

/* Header */
.mobile-menu-header {
  height: 96px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 22px;

  border-bottom: 1px solid rgba(255, 255, 255, .08);

  position: relative;
  z-index: 2;
}

.mobile-menu-logo {
  height: 42px;
  width: auto;
  padding-left: 5px;
}

/* Close Button */
.mobile-close {
  width: 44px;
  height: 44px;

  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;

  background: rgba(255, 255, 255, .10);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);

  transition:
    background .25s ease,
    transform .25s ease;
}

.mobile-close:hover {
  background: rgba(142, 207, 245, .18);
  transform: rotate(90deg);
}

/* Menu */
.mobile-nav {
  display: flex;
  flex-direction: column;
  flex: 1;

  overflow-y: auto;

  padding: 26px 18px 22px;
  gap: 4px;

  position: relative;
  z-index: 2;
}

.mobile-nav > a,
.mobile-dropdown-toggle {
  position: relative;

  min-height: 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 18px;

  border-radius: 14px;

  color: rgba(255, 255, 255, .92);
  text-decoration: none;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;

  background: transparent;
  border: 0;

  cursor: pointer;

  transition:
    background .28s ease,
    color .28s ease,
    transform .28s ease;
}

.mobile-nav > a::before,
.mobile-dropdown-toggle::before {
  content: "";

  position: absolute;
  left: 0;
  top: 50%;

  width: 3px;
  height: 18px;

  border-radius: 999px;
  background: var(--sky-light);

  transform: translateY(-50%) scaleY(0);
  transition: transform .28s ease;
}

.mobile-nav > a:hover,
.mobile-dropdown-toggle:hover {
  background: rgba(255, 255, 255, .065);
  color: #fff;
  transform: translateX(3px);
}

.mobile-nav > a:hover::before,
.mobile-dropdown-toggle:hover::before {
  transform: translateY(-50%) scaleY(1);
}

/* Dropdown Wrapper */
.mobile-dropdown {
  margin: 0;
  border-radius: 16px;
  transition:
    background .28s ease,
    border-color .28s ease,
    padding .28s ease;
}

.mobile-dropdown.active {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .055);
  padding-bottom: 8px;
}

/* Dropdown Toggle */
.mobile-dropdown-toggle {
  width: 100%;
  font-family: inherit;
}

.mobile-dropdown-toggle span {
  display: block;
}

.mobile-dropdown-toggle i {
  width: 28px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, .08);

  font-size: 11px;

  transition:
    transform .3s ease,
    background .3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
  transform: rotate(180deg);
  background: rgba(142, 207, 245, .18);
}

/* Dropdown Content */
.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;

  padding: 0 10px 0 18px;

  transition:
    max-height .42s cubic-bezier(.22, 1, .36, 1),
    padding .28s ease;
}

.mobile-dropdown.active .mobile-dropdown-content {
  max-height: 420px;
  padding: 4px 10px 8px 18px;
}

/* Submenu */
.mobile-dropdown-content a {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 36px;
  padding: 0 0 0 20px;

  color: rgba(255, 255, 255, .64);
  text-decoration: none;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;

  opacity: 0;
  transform: translateX(-12px);

  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    opacity .3s ease,
    color .25s ease;
}

.mobile-dropdown-content a::before {
  content: "";

  position: absolute;
  left: 2px;
  top: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: rgba(142, 207, 245, .65);

  transform: translateY(-50%);
}

.mobile-dropdown.active .mobile-dropdown-content a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-dropdown-content a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Active menu utama */
.mobile-nav > a.active,
.mobile-dropdown.active-menu > .mobile-dropdown-toggle {
  background: rgba(255, 255, 255, .085);
  color: #fff;
  transform: translateX(3px);
}

.mobile-nav > a.active::before,
.mobile-dropdown.active-menu > .mobile-dropdown-toggle::before {
  transform: translateY(-50%) scaleY(1);
}

/* Active submenu */
.mobile-dropdown-content a.active {
  color: #fff;
  transform: translateX(4px);
}

.mobile-dropdown-content a.active::before {
  background: var(--sky-light);
  box-shadow:
    0 0 0 5px rgba(142, 207, 245, .12),
    0 0 16px rgba(142, 207, 245, .45);
}

/* Delay submenu */
.mobile-dropdown.active .mobile-dropdown-content a:nth-child(1) {
  transition-delay: .04s;
}

.mobile-dropdown.active .mobile-dropdown-content a:nth-child(2) {
  transition-delay: .08s;
}

.mobile-dropdown.active .mobile-dropdown-content a:nth-child(3) {
  transition-delay: .12s;
}

.mobile-dropdown.active .mobile-dropdown-content a:nth-child(4) {
  transition-delay: .16s;
}

.mobile-dropdown.active .mobile-dropdown-content a:nth-child(5) {
  transition-delay: .20s;
}

.mobile-dropdown.active .mobile-dropdown-content a:nth-child(6) {
  transition-delay: .24s;
}

/* Footer CTA */
.mobile-menu-footer {
  margin-top: auto;
  padding: 18px 18px calc(env(safe-area-inset-bottom) + 20px);

  position: relative;
  z-index: 2;
}

.mobile-contact-btn {
  width: 100%;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  border-radius: 16px;
  
  background:
    linear-gradient(135deg, #8ecff5 0%, #427ed0 48%, #245fba 100%);

  color: #fff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;

  box-shadow:
    0 14px 30px rgba(66, 126, 208, .28),
    inset 0 1px 0 rgba(255, 255, 255, .28);

  transition:
    transform .32s cubic-bezier(.22, 1, .36, 1),
    box-shadow .32s cubic-bezier(.22, 1, .36, 1),
    border-color .32s ease,
    letter-spacing .32s ease;
}

.mobile-contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, .38) 45%,
      transparent 70%
    );

  transform: translateX(-120%);
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);

  z-index: -1;
}

.mobile-contact-btn::after {
  content: "";
  position: absolute;
  inset: 1px;

  border-radius: 15px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.28), transparent 36%);

  opacity: .55;
  pointer-events: none;
  z-index: -1;
}

.mobile-contact-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  letter-spacing: .13em;
  border-color: rgba(142, 207, 245, .46);

  box-shadow:
    0 18px 38px rgba(66, 126, 208, .42),
    0 0 0 4px rgba(142, 207, 245, .08),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

.mobile-contact-btn:hover::before {
  transform: translateX(120%);
}

.mobile-contact-btn:active {
  color: #fff;
  transform: translateY(-1px) scale(.99);

  box-shadow:
    0 10px 22px rgba(66, 126, 208, .28),
    inset 0 1px 0 rgba(255, 255, 255, .24);
}

.mobile-contact-btn:hover, 
.mobile-contact-btn:focus, 
.mobile-contact-btn:active, 
.mobile-contact-btn:visited {
  color: #fff !important;
}

/* Body lock kalau menu kebuka, aktif kalau JS nambah class ini */
body.mobile-menu-open {
  overflow: hidden;
}

/* General overflow safety */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

section {
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .glass-nav,
  #mainNav {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    overflow: hidden;
  }

  [data-aos],
  [data-aos].aos-init,
  [data-aos].aos-animate {
    max-width: 100%;
    transform: none !important;
  }
}

/* =========================================
   FIX MOBILE/TABLET HEADER KEPOTONG + HORIZONTAL SCROLL
   Penyebab utama: elemen animasi/section melebar ke kanan-kiri saat mobile/tablet.
========================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip !important;
  }
}

img,
video,
iframe {
  max-width: 100%;
}

.navbar,
.glass-nav,
#mainNav {
  max-width: 100%;
}

@media (max-width: 1199.98px) {
  html,
  body {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  @supports (overflow: clip) {
    html,
    body {
      overflow-x: clip !important;
    }
  }

  .glass-nav,
  #mainNav {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    overflow: hidden;
  }

  .glass-nav {
    padding: 12px 0 !important;
  }

  .nav-container,
  .navbar > .container,
  .navbar > .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    display: flex;
    align-items: center;
  }

  .navbar-brand {
    max-width: calc(100% - 62px);
    flex: 0 1 auto;
    overflow: hidden;
  }

  .nav-logo {
    display: block;
    height: 42px;
    max-width: 150px;
    object-fit: contain;
  }

  .mobile-menu-btn {
    flex: 0 0 48px;
    margin-left: auto;
  }

  .section-awards,
  .section-proyek,
  .section-video,
  .section-news,
  .site-footer,
  section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }
  
  /*
    AOS fade-left / fade-right di mobile bisa bikin body melebar sebentar,
    akibatnya halaman bisa kegeser menyamping dan header terlihat kepotong.
  */
  [data-aos],
  [data-aos].aos-init,
  [data-aos].aos-animate {
    max-width: 100%;
    transform: none !important;
  }
}

.mobile-menu-overlay,
.mobile-menu-panel {
  max-width: 100%;
}


/* =======================================================================
   TABLET HEADER BREAKPOINT
   Desktop menu hanya aktif mulai 1200px.
   Di bawah 1200px pakai mobile/header hamburger supaya tidak sempit.
========================================================================== */

@media (max-width: 1199.98px) {
  #navbarMain,
  .glass-nav .navbar-collapse,
  .nav-actions {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

/* =========================================
   PAGE HEADER
========================================= */

.page-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 72px;
  background:
    radial-gradient(circle at 78% 20%, rgba(50, 120, 200, 0.22), transparent 35%),
    radial-gradient(circle at 12% 100%, rgba(60, 150, 220, 0.12), transparent 35%),
    linear-gradient(135deg, #102946 0%, #16385f 52%, #1d4880 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 35, 0.6), rgba(8, 20, 35, 0.05));
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -150px;
  top: -210px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012);
}

.page-heading {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-heading h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.035em;
  color: #fff;
}

.page-heading h1 em {
  color: var(--sky-light);
  display: inline-block;
  font-style: italic;
}

.page-heading > p:last-child {
  max-width: 580px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .98rem;
  line-height: 1.8;
  font-weight: 300;
}

@media (max-width: 991.98px) {
  .page-hero {
    min-height: 340px;
    padding: 135px 0 55px;
  }
}

@media (max-width: 575.98px) {
  .page-hero {
    min-height: 310px;
    padding: 125px 0 48px;
  }

  .page-heading h1 {
    font-size: 3rem;
  }

  .page-heading > p:last-child {
    font-size: .88rem;
    line-height: 1.65;
  }
}

/* =========================================================
   DROPDOWN MENU - OVERRIDE
   ========================================================= */

.glass-dropdown {
  min-width: 250px !important;
  padding: 0 !important;
  margin-top: 0 !important;
  
  background: #1e487e !important;
  border: none !important;
  border-radius: 20px !important;
  
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18) !important;
  overflow: hidden !important;
  
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Hilangkan efek dekorasi/glow lama */
.glass-dropdown::before,
.glass-dropdown::after {
  display: none !important;
}

/* Item dropdown */
.glass-dropdown .dropdown-item {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 40px;
  
  padding: 0.85rem 1.5rem !important;
  
  border-radius: 0 !important;
  
  background: transparent !important;
  color: #ffffff !important;
  
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;

  white-space: nowrap;
  
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

/* Hilangkan dot di kiri */
.glass-dropdown .dropdown-item::before {
  display: none !important;
}

/* Hilangkan efek gradient hover lama */
.glass-dropdown .dropdown-item::after {
  display: none !important;
}

/* Hover */
.glass-dropdown .dropdown-item:hover,
.glass-dropdown .dropdown-item:focus {
  background: #355c90 !important;
  color: #ffffff !important;
}

/* Divider */
.glass-dropdown .dropdown-divider {
  height: 1px;
  margin: 5px !important;

  background: rgba(255, 255, 255, 0.18);
  border: 0 !important;
  opacity: 1;
}

/* Rounded bagian atas & bawah */
/* Padding 5px di item paling atas & bawah */
.glass-dropdown li:first-child {
  padding-top: 8px;
}

.glass-dropdown li:last-child {
  padding-bottom: 8px;
}

/* Hover item paling atas & bawah TIDAK melengkung */
.glass-dropdown li:first-child .dropdown-item,
.glass-dropdown li:last-child .dropdown-item {
  border-radius: 0 !important;
}

/* =========================================================
   GALLERY IMAGE
   ========================================================= */

.gallery-card {
    position: relative !important;
    width: 100% !important;
    padding-top: 75% !important;
    height: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    display: block !important;
}

.gallery-card a {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.gallery-card a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity;
    z-index: 1; 
}

.gallery-card:hover a::after {
    opacity: 1;
}

.gallery-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.gallery-card:hover img {
    transform: scale(1.05); 
}