/*=============== GOOGLE FONTS ===============*/
/* Fonts are now loaded via preload in HTML head for better performance */
/* @import removed to prevent render-blocking */

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /* Change favorite color to match images */
  /*Blue color: #0e3c9c*/
  --hue-color: 190;

  /* Hex color mode - Blue #0e3c9c */
  --first-color: #0e3c9c;
  --first-color-second: #0e3c9c;
  --first-color-alt: #0a2d7a;
  --title-color: #0c3485;
  --text-color: hsl(var(--hue-color), 24%, 35%);
  --text-color-light: hsl(var(--hue-color), 8%, 60%);
  --input-color: hsl(var(--hue-color), 24%, 97%);
  --body-color: hsl(var(--hue-color), 100%, 99%);
  --white-color: #FFF;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);

  /*========== Font and typography ==========*/
  --body-font: 'Open Sans', sans-serif;
  --title-font: 'Raleway', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  /*========== Hover overlay ==========*/
  --img-transition: .3s;
  --img-hidden: hidden;
  --img-scale: scale(1.1);
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --first-color-second: #0a2d7a;
  --title-color: hsl(var(--hue-color), 24%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 29%, 12%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

/*========== Button Dark/Light ==========*/
.nav__dark {
  display: flex;
  align-items: center;
  column-gap: 2rem;
  position: absolute;
  left: 3rem;
  bottom: 4rem;
}

.change-theme, .change-theme-name {
  color: var(--text-color);
}

.change-theme {
  cursor: pointer;
  font-size: 1rem;
}

.change-theme-name {
  font-size: var(--small-font-size);
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  /* Improve touch responsiveness on mobile */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
}

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

button,
input {
  border: none;
  font-family: var(--body-font);
  /* Improve touch responsiveness on mobile */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  /* Ensure minimum touch target size (44x44px recommended) */
  min-height: 44px;
  min-width: 44px;
  font-size: var(--normal-font-size);
}

button {
  cursor: pointer;
}

input {
  outline: none;
}

.main {
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 2.5rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  text-transform: capitalize;
  margin-bottom: var(--mb-2);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1);
  margin-right: var(--mb-1);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
  isolation: isolate;
  overflow: visible !important;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, .nav__toggle {
  color: var(--white-color);
}

.nav__logo {
  font-weight: var(--font-semi-bold);
  white-space: nowrap;
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav__menu {
  position: relative !important;
  overflow: visible !important;
  z-index: 1000 !important;
}

/* Overlay menu mobile: sembunyi di desktop */
.nav-overlay {
  display: none !important;
}

/* Mobile sidebar: panel full-screen geser dari kanan — saat dibuka halaman tertutup sidebar (bukan pop-up) */
@media screen and (max-width: 767px) {
  .nav-overlay.is-open {
    display: block !important;
  }

  /* Ikon garis tiga (hamburger) wajib tampil di mobile */
  .nav__toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    z-index: 10001;
    position: relative;
  }

  .nav__menu {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: var(--body-color);
    padding: 0;
    padding-top: calc(var(--header-height) + 0.5rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    transition: transform 0.35s ease-out;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    will-change: transform;
    box-shadow: none;
  }

  .nav__menu.show-menu {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Overlay di belakang panel; header/menu harus di atas overlay agar link bisa diklik */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    display: none;
  }

  .nav-overlay.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  /* Saat menu terbuka, header (dan menu di dalamnya) di atas overlay agar bisa diklik */
  body.nav-menu-open .header {
    z-index: 10000;
  }

  /* Daftar menu: tampil normal (block), bisa diklik, warna tegas (bukan abu-abu) */
  .nav__menu .nav__list {
    display: block;
    padding-right: 2.25rem;
    margin: 0 0 0.75rem 0;
    list-style: none;
    pointer-events: auto;
  }

  .nav__menu .nav__item {
    display: block;
    pointer-events: auto;
  }

  .nav__menu .nav__link {
    color: #0c3485;
    font-size: var(--normal-font-size);
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--scroll-bar-color);
    display: block;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(12, 52, 133, 0.15);
  }

  .nav__menu .nav__link:hover,
  .nav__menu .nav__link:active {
    color: #0a2d7a;
    background-color: rgba(12, 52, 133, 0.06);
  }

  .nav__menu .nav__dark {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--scroll-bar-color);
    pointer-events: auto;
  }

  .nav__menu .nav__dark .change-theme,
  .nav__menu .nav__dark .change-theme-name {
    color: #0c3485;
    cursor: pointer;
  }

  body.dark-theme .nav__menu .nav__link {
    color: hsl(var(--hue-color), 24%, 90%);
  }
  body.dark-theme .nav__menu .nav__link:hover,
  body.dark-theme .nav__menu .nav__link:active {
    color: #fff;
    background-color: rgba(255,255,255,0.08);
  }
  body.dark-theme .nav__menu .nav__dark .change-theme,
  body.dark-theme .nav__menu .nav__dark .change-theme-name {
    color: hsl(var(--hue-color), 24%, 90%);
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  white-space: nowrap;
  /* Improve mobile touch responsiveness */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.25rem;
  /* Ensure minimum touch target size */
  min-height: 44px;
}

.nav__link:hover {
  color: var(--text-color);
}

/* =============== DROPDOWN MENU - ULTRA SIMPLE & ROBUST =============== */
/* CRITICAL: Only dropdown items can have dropdown */
.nav__item--dropdown {
  position: relative !important;
}

/* CRITICAL: Non-dropdown items should NEVER have dropdown visible */
.nav__item:not(.nav__item--dropdown) .nav__dropdown {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.nav__item--dropdown .nav__link {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  cursor: pointer !important;
}

.nav__item--dropdown .nav__link i {
  font-size: 0.875rem !important;
  transition: transform 0.2s ease !important;
}

/* CRITICAL: Dropdown is hidden by default */
.nav__dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background-color: var(--body-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  min-width: 220px !important;
  padding: 0.5rem 0 !important;
  margin-top: 0.5rem !important;
  list-style: none !important;
  z-index: 999999 !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav__dropdown-link {
  display: block !important;
  padding: 0.75rem 1.5rem !important;
  color: var(--text-color) !important;
  font-weight: var(--font-medium) !important;
  text-transform: none !important;
  transition: background-color 0.2s, color 0.2s !important;
  white-space: nowrap !important;
}

.nav__dropdown-link:hover {
  background-color: var(--first-color) !important;
  color: var(--white-color) !important;
}

/* Desktop: Show on hover - ONLY for dropdown items */
@media screen and (min-width: 769px) {
  /* Hide ALL dropdowns by default */
  .nav__dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  /* Show dropdown when hovering over the dropdown parent item */
  .nav__item--dropdown:hover .nav__dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Rotate arrow icon on hover */
  .nav__item--dropdown:hover .nav__link > i {
    transform: rotate(180deg) !important;
  }
  
  /* Keep dropdown visible when hovering over the dropdown menu itself */
  .nav__item--dropdown .nav__dropdown:hover {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* CRITICAL: Ensure non-dropdown items NEVER show dropdowns */
  .nav__item:not(.nav__item--dropdown) .nav__dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Mobile: tidak pakai dropdown — submenu Program Al-Azhar langsung tampil sebagai item menu */
@media screen and (max-width: 768px) {
  .nav__item--dropdown .nav__link {
    display: none !important;
  }

  .nav__dropdown {
    position: static !important;
    box-shadow: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-left: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    list-style: none !important;
  }

  .nav__dropdown li {
    list-style: none !important;
  }

  .nav__dropdown-link {
    display: block !important;
    padding: 0.75rem 0.5rem !important;
    font-size: var(--normal-font-size) !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    color: #0c3485 !important;
    border-bottom: 1px solid var(--scroll-bar-color) !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: rgba(12, 52, 133, 0.15);
  }

  .nav__dropdown-link:hover,
  .nav__dropdown-link:active {
    color: #0a2d7a !important;
    background-color: rgba(12, 52, 133, 0.06) !important;
  }

  body.dark-theme .nav__dropdown-link {
    color: hsl(var(--hue-color), 24%, 90%) !important;
  }
  body.dark-theme .nav__dropdown-link:hover,
  body.dark-theme .nav__dropdown-link:active {
    color: #fff !important;
    background-color: rgba(255,255,255,0.08) !important;
  }
}

/* Improve mobile navigation responsiveness */
@media screen and (max-width: 768px) {
  .nav__link {
    padding: 1rem 0.5rem;
    width: 100%;
    justify-content: flex-start;
  }
  
  .nav__toggle,
  .nav__close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
  }
}

.nav__close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* show menu - desktop tidak pakai (nav inline); mobile pakai visibility di media query */
.show-menu {
  right: 0;
}

/* Tombol close mobile: tetap di pojok kanan atas layar */
@media screen and (max-width: 767px) {
  .nav__close {
    position: fixed;
    top: 0.75rem;
    right: 1rem;
    z-index: 10000;
    background: var(--body-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
}

/* Lock scroll body saat menu mobile terbuka */
@media screen and (max-width: 767px) {
  body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px rgba(14, 60, 156, 0.15);
}

/* Header styling for galeri, tentang, program, paket, and artikel pages - make visible immediately */
body.galeri-page .header,
body.about-page-body .header,
body.program-page .header,
body.paket-page .header,
body.artikel-page .header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px rgba(14, 60, 156, 0.15);
  border-bottom: 1px solid var(--scroll-bar-color);
}

body.galeri-page .scroll-header,
body.about-page-body .scroll-header,
body.program-page .scroll-header,
body.paket-page .scroll-header,
body.artikel-page .scroll-header {
  border-bottom: 1px solid var(--scroll-bar-color);
}

/* Make logo and toggle visible on galeri, tentang, program, paket, and artikel pages */
body.galeri-page .nav__logo,
body.about-page-body .nav__logo,
body.program-page .nav__logo,
body.paket-page .nav__logo,
body.artikel-page .nav__logo,
body.galeri-page .nav__toggle,
body.about-page-body .nav__toggle,
body.program-page .nav__toggle,
body.paket-page .nav__toggle,
body.artikel-page .nav__toggle {
  color: var(--title-color);
}

/* Make nav links visible on galeri, tentang, program, paket, and artikel pages */
body.galeri-page .nav__link,
body.about-page-body .nav__link,
body.program-page .nav__link,
body.paket-page .nav__link,
body.artikel-page .nav__link {
  color: var(--text-color);
}

body.galeri-page .nav__link:hover,
body.about-page-body .nav__link:hover,
body.program-page .nav__link:hover,
body.paket-page .nav__link:hover,
body.artikel-page .nav__link:hover {
  color: var(--title-color);
}

/* Make theme button visible on galeri, tentang, program, paket, and artikel pages */
body.galeri-page .change-theme,
body.about-page-body .change-theme,
body.program-page .change-theme,
body.paket-page .change-theme,
body.artikel-page .change-theme,
body.galeri-page .change-theme-name,
body.about-page-body .change-theme-name,
body.program-page .change-theme-name,
body.paket-page .change-theme-name,
body.artikel-page .change-theme-name {
  color: var(--text-color);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
  color: var(--title-color);
}

/* Active link */
.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::before {
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}

/*=============== HOME ===============*/
.home__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 83%;
  z-index: -1;
}

.home__container {
  position: relative;
  height: calc(100vh - var(--header-height));
  align-content: center;
  row-gap: 3rem;
  z-index: 1;
}

.home__data-subtitle, 
.home__data-title, 
.home__social-link, 
.home__info {
  color: var(--white-color);
}

.home__data-subtitle {
  display: block;
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.home__data-title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-2-5);
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.6);
}

.home__social {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.home__social-link {
  font-size: 1.2rem;
  width: max-content;
}

.home__info {
  background-color: var(--first-color);
  display: flex;
  padding: 1.5rem 1rem;
  align-items: center;
  column-gap: .5rem;
  position: absolute;
  right: 0;
  bottom: 1rem;
  width: 228px;
}

.home__info-title {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
}

.home__info-button {
  font-size: var(--smaller-font-size);
}

.home__info-overlay {
  overflow: var(--img-hidden);
}

.home__info-img {
  width: 145px;
  transition: var(--img-transition);
}

.home__info-img:hover {
  transform: var(--img-scale);
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  font-weight: var(--font-semi-bold);
  transition: .3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button--flex {
  display: flex;
  align-items: center;
  column-gap: .25rem;
}

.button--link {
  background: none;
  padding: 0;
}

.button--link:hover {
  background: none;
}

/*=============== ABOUT ===============*/
.about__data {
  text-align: center;
}

.about__container {
  row-gap: 2.5rem;
}

.about__description {
  margin-bottom: var(--mb-2);
}

.about__img {
  display: flex;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
}

.about__img-overlay {
  overflow: var(--img-hidden);
}

.about__img-one {
  width: 130px;
}

.about__img-two {
  width: 180px;
}

.about__img-one, 
.about__img-two {
  transition: var(--img-transition);
}

.about__img-one:hover, 
.about__img-two:hover {
  transform: var(--img-scale);
}

/*=============== DISCOVER ===============*/
.discover__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  padding-top: 2rem;
}

.discover__card {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: var(--img-hidden);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(14, 60, 156, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.discover__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(14, 60, 156, 0.25);
}

.discover__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  z-index: 1;
  border-radius: 1rem;
}

.discover__data {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  z-index: 2;
}

.discover__title {
  color: var(--white-color);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.3;
}

.discover__button {
  display: inline-block;
  background-color: var(--white-color);
  color: var(--first-color);
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.discover__button:hover {
  background-color: var(--first-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.discover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--img-transition);
}

.discover__card:hover .discover__img {
  transform: var(--img-scale);
}

.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right {
  background-image: none;
}

/*=============== EXPERIENCE ===============*/
.experience__container {
  row-gap: 2.5rem;
  justify-content: center;
  justify-items: center;
}

.experience__content {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  justify-items: center;
  padding: 0 2rem;
}

.experience__number {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-5);
}

.experience__description {
  font-size: var(--small-font-size);
}

.experience__img {
  position: relative;
  padding-bottom: 2rem;
}

.experience__img-one, 
.experience__img-two {
  transition: var(--img-transition);
}

.experience__img-one:hover, 
.experience__img-two:hover {
  transform: var(--img-scale);
}

.experience__overlay {
  overflow: var(--img-hidden);
}

.experience__overlay:nth-child(1) {
  width: 263px;
  margin-right: 2rem;
}

.experience__overlay:nth-child(2) {
  width: 120px;
  position: absolute;
  top: 2rem;
  right: 0;
}

/*=============== VIDEO ===============*/
.video__container {
  padding-bottom: 1rem;
}

.video__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.video__container-slider {
  width: 260px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
}

/*=============== GALERI ===============*/
.galeri__container {
  padding-bottom: 1rem;
}

.galeri__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  color: var(--text-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.galeri__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.galeri__item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
  background-color: var(--input-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.galeri__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(14, 60, 156, 0.2);
}

.galeri__img,
.galeri__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galeri__item:hover .galeri__img,
.galeri__item:hover .galeri__video {
  transform: scale(1.05);
}

.galeri__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.5rem;
}

.galeri__item:hover .galeri__overlay {
  opacity: 1;
}

.galeri__icon {
  font-size: 2.5rem;
  color: var(--white-color);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.galeri__play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.galeri__play-button:hover {
  background-color: var(--white-color);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.galeri__play-icon {
  font-size: 1.75rem;
  color: var(--first-color);
  margin-left: 4px;
}

.galeri__button-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
}

.galeri__grid .galeri__button-container {
  grid-column: 1 / -1;
}

.galeri__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.program-gallery-button {
  margin-top: 1rem;
}

.galeri__container--program .galeri__grid {
  margin-bottom: 1rem;
}

.galeri__container--program .galeri__button-container {
  margin-top: 0.5rem;
}

.galeri__section {
  margin-bottom: 4rem;
}

.galeri__section-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-2);
  margin-top: 3rem;
}

.galeri__section-title:first-child {
  margin-top: 0;
}

.galeri__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-radius: 0 0 0.5rem 0.5rem;
}

.galeri__item:hover .galeri__info {
  transform: translateY(0);
}

.galeri__info-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--white-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.galeri__info-description {
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
}

.galeri__item--hidden {
  display: none !important;
}

/*=============== MODAL GALERI ===============*/
.galeri__modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: auto;
  animation: fadeIn 0.3s ease;
  pointer-events: none;
}

.galeri__modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.galeri__modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeri__modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white-color);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.galeri__modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.galeri__modal-body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeri__modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
  display: none;
}

.galeri__modal-image.active {
  display: block;
}

.galeri__modal-video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.5rem;
  display: none;
}

.galeri__modal-video.active {
  display: block;
}

.video__card {
  position: relative;
  width: 220px;
  height: 390px;
  overflow: var(--img-hidden);
  border-radius: 1rem;
}

.video__file {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.video__button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem 1.2rem;
  border-radius: 50%;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--first-color);
}

.video__button:hover {
  background-color: var(--white-color);
}

.video__button-icon {
  font-size: 1.5rem;
}

/*=============== PLACES ===============*/
.place__wrapper-subtitle {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.7;
  font-size: var(--small-font-size);
  padding: 0;
}

.place__price {
  text-align: center;
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.place__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Container untuk full-width card */
.place__container:has(.place__card--full-width) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.place__card {
  background-color: var(--white-color);
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(14, 60, 156, 0.12);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin: 0 auto;
}

.place__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(14, 60, 156, 0.2);
}

/* Full Width Card - Ukuran disesuaikan dengan card lain */
.place__card--full-width {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--white-color);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(14, 60, 156, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.place__card--full-width:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(14, 60, 156, 0.25);
}

/* Dark mode support untuk card */
body.dark-theme .place__card--full-width {
  background-color: var(--input-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.dark-theme .place__card--full-width:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

body.dark-theme .place__wrapper {
  background-color: var(--input-color);
}

/* Brochure Section */
.place__brochure {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.place__brochure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

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

/* Responsive Brochure - Foto seperti discover card */
.place__brochure--responsive {
  height: 400px;
  padding: 0;
  overflow: hidden;
  background-color: transparent;
  display: block;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.place__brochure-img--responsive {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 1rem 1rem 0 0;
  transition: transform 0.3s ease;
}

.place__card--full-width:hover .place__brochure-img--responsive {
  transform: scale(1.05);
}


/* Dark mode untuk brochure */
body.dark-theme .place__brochure--responsive {
  background-color: transparent;
}



/* Wrapper Section - Informasi detail di bawah, ukuran pas */
.place__wrapper {
  background-color: var(--white-color);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.place__wrapper-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.place__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.place__feature {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--smaller-font-size);
  color: var(--text-color);
  line-height: 1.4;
}

.place__feature i {
  color: var(--first-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.place__detail-button {
  width: 100%;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--first-color);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-size: var(--small-font-size);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.place__detail-button:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 60, 156, 0.3);
}

/*=============== ARTIKEL ===============*/
.artikel__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}

.artikel__container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.artikel__container:active {
  cursor: grabbing;
}

.artikel__container::-webkit-scrollbar {
  display: none;
}

.artikel__container .artikel__card {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.artikel__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.artikel__card {
  position: relative;
  overflow: hidden;
  height: 230px;
  width: 280px;
  min-width: 280px;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(14, 60, 156, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.artikel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.artikel__overlay-icon {
  font-size: 2rem;
  color: var(--white-color);
  transform: translateY(6px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.artikel__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(14, 60, 156, 0.25);
}

.artikel__card:hover .artikel__img {
  transform: scale(1.1);
}

.artikel__content {
  z-index: 2;
}

.artikel__button {
  z-index: 3;
}

.artikel__card:hover .artikel__overlay {
  opacity: 1;
}

.artikel__card:hover .artikel__overlay-icon {
  opacity: 1;
  transform: translateY(0);
}

.artikel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.artikel__content,
.artikel__title {
  color: var(--white-color);
}

.artikel__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem 0.75rem 1rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 30%, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
}

.artikel__subtitle {
  display: block;
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb-1-25);
}

.artikel__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-25);
}

.artikel__button {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background-color: var(--first-color);
  color: var(--white-color);
}

/* Artikel Navigation Arrows */
.artikel__nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--first-color);
  color: var(--white-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(14, 60, 156, 0.2);
  font-size: 1.25rem;
  pointer-events: auto;
}

.artikel__nav-button:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(14, 60, 156, 0.3);
}

.artikel__nav-button:active {
  transform: translateY(-50%) scale(0.95);
}

.artikel__nav-button--prev {
  left: -1rem;
}

.artikel__nav-button--next {
  right: -1rem;
}

.artikel__nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .artikel__wrapper {
    gap: 0.5rem;
  }

  .artikel__nav-button {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .artikel__nav-button--prev {
    left: -0.5rem;
  }

  .artikel__nav-button--next {
    right: -0.5rem;
  }

  .artikel__container {
    gap: 1rem;
  }

  .artikel__card {
    min-width: 250px;
  }
}

/*=============== SUBSCRIBE ===============*/
.subscribe__bg {
  background-color: var(--first-color-second);
  padding: 2.5rem 0;
}

.subscribe__title, 
.subscribe__description {
  color: var(--white-color);
}

.subscribe__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.subscribe__form {
  background-color: var(--input-color);
  padding: .5rem;
  display: flex;
  justify-content: space-between;
}

.subscribe__input {
  width: 70%;
  padding-right: .5rem;
  background-color: var(--input-color);
  color: var(--text-color);
}

.subscribe__input::placeholder {
  color: var(--text-color);
}

/*=============== SPONSORS ===============*/
.sponsor__container {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  justify-items: center;
  row-gap: 3.5rem;
}

.sponsor__content:hover .sponsor__img {
  filter: invert(0.5);
}

.sponsor__img {
  width: 90px;
  filter: invert(0.7);
  transition: var(--img-transition);
}

/*=============== TESTIMONIALS ===============*/
.testimonials__container {
  position: relative;
}

.testimonial__card {
  background: var(--white-color);
  border: 1px solid var(--scroll-bar-color);
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(14, 60, 156, 0.12);
  padding: 1.75rem 1.25rem;
  text-align: center;
  max-width: 340px;
}

.testimonial__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  background: var(--scroll-bar-color);
}

.testimonial__name {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: .5rem;
}

.testimonial__text {
  color: var(--text-color);
  font-size: var(--small-font-size);
  line-height: 1.7;
  margin-bottom: .75rem;
}

.testimonial__stars i {
  color: #f2b01e;
  margin: 0 .05rem;
}

.testimonials-button-prev,
.testimonials-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-tooltip);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white-color);
  color: var(--title-color);
  box-shadow: 0 4px 12px rgba(14, 55, 63, 0.12);
  cursor: pointer;
}

.testimonials-button-prev { left: -6px; }
.testimonials-button-next { right: -6px; }

/* Dark theme support */
body.dark-theme .testimonial__card {
  background: var(--first-color-second);
  border-color: var(--first-color-second);
}
body.dark-theme .testimonials-button-prev,
body.dark-theme .testimonials-button-next {
  background: var(--first-color-second);
  color: var(--white-color);
}

@media screen and (min-width: 1024px) {
  .testimonials-button-prev { left: -24px; }
  .testimonials-button-next { right: -24px; }
}

/*=============== FOOTER ===============*/
.footer {
  position: relative;
  z-index: 1;
  background-color: var(--body-color);
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.footer__brand-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.footer__brand-font {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 1rem 0;
  display: block;
  object-fit: contain;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.75rem;
}

.footer__description {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.7;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--input-color);
  color: var(--title-color);
  font-size: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  /* Improve mobile touch responsiveness */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.footer__social svg {
  width: 22px;
  height: 22px;
}

.footer__social:hover {
  transform: translateY(-4px);
  color: var(--first-color);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.footer__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.footer__menu-list {
  display: grid;
  gap: 0.75rem;
}

.footer__link {
  color: var(--text-color);
  transition: color 0.3s ease, transform 0.3s ease;
  /* Improve mobile touch responsiveness */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  display: inline-block;
  position: relative;
  z-index: 1;
  /* Ensure minimum touch target size */
  min-height: 44px;
  padding: 0.5rem 0;
  cursor: pointer;
}

.footer__link:hover {
  color: var(--first-color);
  transform: translateX(4px);
}

.footer__link:active {
  color: var(--first-color);
  transform: translateX(2px);
}

.footer__contact-list {
  display: grid;
  gap: 1.25rem;
}

.footer__contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer__contact-icon {
  font-size: 1.4rem;
  color: var(--first-color);
  line-height: 1;
}

.footer__contact-body {
  display: grid;
  gap: 0.4rem;
}

.footer__contact-label {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.footer__contact-value {
  color: var(--text-color);
  line-height: 1.6;
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  transition: color 0.3s ease;
  /* Improve mobile touch responsiveness */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0.25rem 0;
  cursor: pointer;
}

.footer__contact-link:hover {
  color: var(--first-color);
}

.footer__contact-link:active {
  color: var(--first-color);
}

.footer__branch-grid {
  display: grid;
  gap: 0.75rem;
}

.footer__branch-name {
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.footer__branch-address {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--scroll-bar-color);
  padding-top: 1.5rem;
}

.footer__copy {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.footer__terms {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.footer__terms-link {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  transition: color 0.3s ease;
  /* Improve mobile touch responsiveness */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  position: relative;
  z-index: 1;
  display: inline-block;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.footer__terms-link:hover {
  color: var(--first-color);
}

.footer__terms-link:active {
  color: var(--first-color);
}

@media screen and (max-width: 992px) {
  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .footer__container {
    gap: 2.5rem;
    position: relative;
    z-index: 1;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__bottom {
    gap: 1rem;
    position: relative;
    z-index: 1;
  }
  
  /* Ensure footer links are clickable on mobile */
  .footer__link,
  .footer__social,
  .footer__contact-link,
  .footer__terms-link {
    pointer-events: auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Increase touch target size on mobile */
  .footer__link {
    padding: 0.75rem 0;
    min-height: 48px;
  }
  
  .footer__social {
    width: 48px;
    height: 48px;
  }
  
  .footer__contact-link {
    min-height: 48px;
    padding: 0.5rem 0;
  }
  
  .footer__terms-link {
    min-height: 48px;
    padding: 0.75rem 1rem;
  }
}

/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  padding: .5rem;
  display: flex;
  opacity: .9;
  z-index: var(--z-tooltip);
  transition: .4s;
  /* Ensure scroll up doesn't interfere with footer */
  pointer-events: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

.scrollup__icon {
  color: var(--white-color);
  font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
  bottom: 5rem;
}

/* On mobile, adjust scroll up position to not overlap with footer */
@media screen and (max-width: 768px) {
  .show-scroll {
    bottom: 6rem;
  }
  
  /* Ensure footer section has proper spacing from fixed elements */
  .footer {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    padding-bottom: 2rem;
  }
}

/*========== WHATSAPP WIDGET ==========*/
/* z-index sangat tinggi agar di atas overlay iklan/analytics/hosting (sering 10^5–10^6) */
.wa-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  z-index: 2147483000;
  isolation: isolate;
  /* Allow clicks on widget; toggle and panel handle their own areas */
  pointer-events: auto;
}

.wa-widget__toggle,
.wa-widget__close,
.wa-contact {
  pointer-events: auto;
}

/* Panel should only be interactive when open */
.wa-widget--open .wa-widget__panel {
  pointer-events: auto;
}

/* Panel tertutup: display none = tidak ikut hit-testing (mencegah klik terblok di Safari/Chrome mobile) */
.wa-widget:not(.wa-widget--open) .wa-widget__panel {
  display: none;
}

.wa-widget__panel {
  position: absolute;
  bottom: 100%;
  margin-bottom: 0.5rem;
  width: 280px;
  max-width: calc(100vw - 2rem);
  background: var(--white-color);
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px rgba(7, 94, 84, 0.22);
  overflow: hidden;
  z-index: 1;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.wa-widget--open .wa-widget__panel {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.wa-widget__header {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  padding: 1rem 1rem 0.85rem;
  color: #FFFFFF;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.wa-widget__header-text {
  display: grid;
  gap: 0.35rem;
}

.wa-widget__title {
  font-size: 1rem;
  font-weight: var(--font-semi-bold);
}

.wa-widget__subtitle {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.5;
}

.wa-widget__close {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.wa-widget__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.wa-widget__contacts {
  display: grid;
  background: var(--white-color);
}

.wa-contact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(7, 94, 84, 0.08);
  transition: background 0.3s ease;
}

.wa-contact:last-child {
  border-bottom: none;
}

.wa-contact:hover {
  background: rgba(37, 211, 102, 0.08);
}

.wa-contact__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  font-size: 1.1rem;
}

.wa-contact__icon svg {
  width: 18px;
  height: 18px;
}

.wa-contact__icon img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.wa-contact__icon i {
  font-size: 1.35rem;
}

.wa-contact__info {
  display: grid;
  gap: 0.2rem;
}

.wa-contact__name {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  font-size: 0.95rem;
}

.wa-contact__text {
  font-size: 0.8rem;
  color: var(--text-color);
  line-height: 1.5;
}

.wa-contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #128C7E;
  font-size: 0.8rem;
  font-weight: var(--font-semi-bold);
}

.wa-contact__cta i {
  font-size: 1rem;
}

.wa-widget__toggle {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(7, 94, 84, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.wa-widget__toggle-icon {
  width: 24px;
  height: 24px;
}

.wa-widget__toggle:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(7, 94, 84, 0.4);
}

.wa-widget--open .wa-widget__toggle {
  background: linear-gradient(135deg, #0F6F63 0%, #075E54 100%);
}

@media screen and (max-width: 767px) {
  /* Saat menu mobile terbuka, widget WA di bawah overlay (z-index 9998) agar tidak menangkap klik */
  body.nav-menu-open .wa-widget {
    z-index: 9970;
  }

  .wa-widget {
    right: 1rem;
    bottom: 1rem;
    gap: 0.75rem;
  }

  .wa-widget__panel {
    width: calc(100vw - 2rem);
  }

  .wa-contact {
    padding: 0.75rem 1rem;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
  }

  .wa-contact__cta {
    justify-self: end;
  }

  .show-scroll {
    bottom: 4.5rem;
  }
}

/*=============== PROGRAM PAGE ===============*/
.program-hero__description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1rem;
  color: var(--text-color);
  line-height: 1.8;
  font-size: var(--normal-font-size);
}

.program-section {
  padding-top: 0;
  padding-bottom: 2rem;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 0;
}

/* Horizontal card layout */
.program-card--horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  background: var(--input-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--scroll-bar-color);
  overflow: hidden;
}

.program-card--horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Z-shaped pattern: Card 1 & 3 - Text Left, Image Right */
.program-card--left-text {
  flex-direction: row;
}

/* Z-shaped pattern: Card 2 - Image Left, Text Right */
.program-card--right-text {
  flex-direction: row-reverse;
}

.program-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 0;
}

.program-card__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 0.75rem;
  font-weight: var(--font-semi-bold);
}

.program-card__description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: var(--normal-font-size);
}

.program-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.program-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.program-card__features li i {
  color: var(--first-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.program-card__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .program-card__button {
    min-height: 48px;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
}

.program-card__image {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  height: 300px;
  overflow: hidden;
  background: var(--scroll-bar-color);
  border-radius: 0.75rem;
}

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

.program-card--horizontal:hover .program-card__img {
  transform: scale(1.05);
}

.program-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.program-card--horizontal:hover .program-card__overlay {
  opacity: 1;
}

.program-card__icon {
  font-size: 2.5rem;
  color: var(--white-color);
}

/* Responsive Design */
@media screen and (max-width: 767px) {
  .program-hero__description {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .program-list {
    gap: 2rem;
  }

  .program-card--horizontal {
    flex-direction: column !important;
    padding: 1rem;
    gap: 1rem;
  }

  .program-card--right-text {
    flex-direction: column !important;
  }

  .program-card__image {
    width: 100%;
    max-width: 100%;
    height: 250px;
    order: -1;
  }

  .program-card__content {
    width: 100%;
  }

  .program-card__title {
    font-size: var(--h3-font-size);
  }

  .program-card__description {
    font-size: var(--small-font-size);
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .program-card--horizontal {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .program-card__image {
    max-width: 350px;
    height: 280px;
  }
}

@media screen and (min-width: 1024px) {
  .program-card--horizontal {
    padding: 2rem;
    gap: 2.5rem;
  }

  .program-card__image {
    max-width: 450px;
    height: 350px;
  }
}

@media screen and (min-width: 1200px) {
  .program-card--horizontal {
    padding: 2.5rem;
    gap: 3rem;
  }

  .program-card__image {
    max-width: 500px;
    height: 400px;
  }
}

/* Dark mode for program cards */
body.dark-theme .program-card--horizontal {
  background: var(--input-color);
  border-color: var(--input-color);
}

body.dark-theme .program-card__image {
  background: var(--body-color);
}

/*=============== ARTIKEL PAGE ===============*/
.artikel-hero__description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1rem;
  color: var(--text-color);
  line-height: 1.8;
  font-size: var(--normal-font-size);
}

.artikel-page-section {
  padding-top: 0;
  padding-bottom: 3rem;
}

.artikel-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.artikel-page__card {
  background: var(--input-color);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--scroll-bar-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.artikel-page__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.artikel-page__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--scroll-bar-color);
}

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

.artikel-page__card:hover .artikel-page__img {
  transform: scale(1.05);
}

.artikel-page__overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.artikel-page__category {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background-color: var(--first-color);
  color: var(--white-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.artikel-page__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artikel-page__title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 0.75rem;
  font-weight: var(--font-semi-bold);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artikel-page__excerpt {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: var(--small-font-size);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artikel-page__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--scroll-bar-color);
}

.artikel-page__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.artikel-page__date i {
  color: var(--first-color);
  font-size: 1rem;
}

.artikel-page__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.artikel-page__link:hover {
  color: var(--first-color-alt);
  gap: 0.75rem;
}

.artikel-page__link i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.artikel-page__link:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media screen and (max-width: 767px) {
  .artikel-page__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .artikel-page__image {
    height: 180px;
  }

  .artikel-page__content {
    padding: 1.25rem;
  }
}

@media screen and (min-width: 768px) {
  .artikel-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .artikel-page__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .artikel-page__image {
    height: 220px;
  }
}

/* Dark mode for artikel page */
body.dark-theme .artikel-page__card {
  background: var(--input-color);
  border-color: var(--input-color);
}

body.dark-theme .artikel-page__image {
  background: var(--body-color);
}

body.dark-theme .artikel-page__meta {
  border-top-color: var(--scroll-bar-color);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .discover__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .discover__card {
    height: 350px;
  }
  .galeri__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  .place__container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 100%;
  }
  
  .place__card {
    max-width: 100%;
  }
  
  .place__brochure {
    height: 160px;
  }
  
  .place__features {
    grid-template-columns: 1fr;
  }
  
  .artikel__container {
    display: flex;
    gap: 1rem;
  }
  
  .artikel__card,
  .artikel__img {
    height: 230px;
    width: 250px;
    min-width: 250px;
  }
  .experience__content {
    padding: 0;
  }
  .experience__overlay:nth-child(1) {
    width: 190px;
  }
  .experience__overlay:nth-child(2) {
    width: 80px;
  }
  .home__info {
    width: 190px;
    padding: 1rem;
  }
  .experience__img,
  .video__container {
    padding: 0;
  }
  
  /* Home Section Mobile */
  .home__container {
    row-gap: 2rem;
  }
  
  .home__data {
    text-align: center;
  }
  
  .home__title {
    font-size: var(--h1-font-size);
  }
  
  .home__subtitle {
    font-size: var(--normal-font-size);
  }
  
  .home__social {
    flex-direction: column;
    row-gap: 1rem;
    align-items: center;
  }
  
  /* About Section Mobile */
  .about__container {
    row-gap: 2rem;
  }
  
  .about__img {
    justify-content: center;
  }
  
  .about__img-one {
    width: 150px;
  }
  
  .about__img-two {
    width: 180px;
  }
  
  /* Subscribe Section Mobile */
  .subscribe__form {
    flex-direction: column;
    row-gap: 1rem;
    padding: 0.75rem;
  }
  
  .subscribe__input {
    width: 100%;
    padding: 0.75rem 1rem;
  }
  
  .subscribe__button {
    width: 100%;
  }
  
  /* Testimonials Section Mobile */
  .testimonial__container {
    padding: 0 1rem;
  }
  
  /* Sponsor Section Mobile */
  .sponsor__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Footer Section Mobile */
  .footer__container {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    text-align: center;
  }
  
  .footer__content {
    justify-items: center;
  }
  
  .footer__rights {
    flex-direction: column;
    row-gap: 1rem;
  }
  
  .footer__info {
    gap: 1.25rem;
  }
  
  .footer__info-item {
    gap: 0.75rem;
  }
  
  .footer__info-icon {
    font-size: 1.1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .discover__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .galeri__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    max-width: 100%;
  }
  .video__container {
    display: grid;
    grid-template-columns: .6fr;
    justify-content: center;
  }
  .place__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 700px;
  }
  
  .place__card {
    max-width: 100%;
  }
  
  .place__brochure {
    height: 180px;
  }
  
  .place__features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .artikel__container {
    display: flex;
    gap: 1.5rem;
  }
  
  .artikel__card,
  .artikel__img {
    height: 230px;
    width: 280px;
    min-width: 280px;
  }
  
  .subscribe__form {
    width: 470px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--white-color);
  }
  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex !important;
    column-gap: 1rem !important;
    position: relative !important;
    z-index: 1000 !important;
    overflow: visible !important;
  }
  .nav__list {
    flex-direction: row !important;
    column-gap: 2rem !important;
    overflow: visible !important;
  }
  .nav__item--dropdown {
    position: relative !important;
    overflow: visible !important;
  }
  .nav__dropdown {
    z-index: 999999 !important;
    overflow: visible !important;
  }
  .nav__toggle, .nav__close {
    display: none;
  }
  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--white-color);
  }
  .active-link::before {
    background-color: var(--white-color);
  }
  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .home__container {
    height: 100vh;
    grid-template-rows: 1.8fr .5fr;
  }
  .home__data {
    align-self: flex-end;
  }
  .home__social {
    flex-direction: row;
    align-self: flex-end;
    margin-bottom: 3rem;
    column-gap: 2.5rem;
  }
  .home__info {
    bottom: 3rem;
  }
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about__data, .about__title {
    text-align: initial;
  }
  .about__title {
    margin-bottom: var(--mb-1-5);
  }
  .about__description {
    margin-bottom: var(--mb-2);
  }
  .discover__container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    gap: 2.5rem;
  }
  
  .discover__card {
    height: 450px;
  }
  .video__container-slider {
    width: 400px;
  }
  .video__card {
    width: 280px;
    height: 500px;
  }
  .video__container-slider {
    padding-top: 2rem;
  }
  .galeri__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .experience__overlay:nth-child(1) {
    width: 363px;
    margin-right: 4rem;
  }
  .experience__overlay:nth-child(2) {
    width: 160px;
  }
  .subscribe__bg {
    background: none;
    padding: 0;
  }
  .subscribe__container {
    background-color: var(--first-color-second);
    padding: 3.5rem 0;
  }
  .subscribe__input {
    padding: 0 .5rem;
  }
  .footer__rights {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .home__container {
    grid-template-rows: 2fr .5fr;
  }
  .home__info {
    width: 328px;
    grid-template-columns: 1fr 2fr;
    column-gap: 2rem;
  }
  .home__info-title {
    font-size: var(--normal-font-size);
  }
  .home__info-img {
    width: 240px;
  }
  .about__img-one {
    width: 230px;
  }
  .about__img-two {
    width: 290px;
  }
  .discover__container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    gap: 3rem;
  }
  
  .discover__card {
    height: 500px;
  }
  .video__container-slider {
    width: 500px;
  }
  .video__card {
    width: 320px;
    height: 570px;
  }
  .galeri__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .galeri__item {
    aspect-ratio: 1;
  }
  .discover__data {
    left: 1.5rem;
    bottom: 2rem;
  }
  .discover__title {
    font-size: var(--h2-font-size);
  }
  .experience__content {
    margin: var(--mb-1) 0;
    column-gap: 3.5rem;
  }
  .experience__overlay:nth-child(1) {
    width: 463px;
    margin-right: 7rem;
  }
  .experience__overlay:nth-child(2) {
    width: 220px;
    top: 3rem;
  }
  .video__container {
    grid-template-columns: .7fr;
  }
  .video__description {
    padding: 0 8rem;
  }
  .place__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .place__card {
    max-width: 100%;
  }
  
  .place__brochure {
    height: 200px;
  }
  
  .place__features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .artikel__container {
    gap: 3rem 2rem;
  }
  
  .artikel__card,
  .artikel__img {
    height: 263px;
  }
  
  .footer__content {
    justify-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
  body {
    margin: 0;
  }
  .home__container, .home__img {
    height: 640px;
  }
}
