@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --blue: #0E86D4;
  --blue-dark: #0a6ba8;
  --blue-deeper: #064573;
  --yellow: #F1C40F;
  --yellow-light: #f5d442;
  --coral: #FF6B6B;
  --mint: #4ECDC4;
  --purple: #9D4EDD;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-600: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, .04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, .06);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, .08);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, .1);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: var(--yellow);
  color: var(--gray-900);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  background: var(--yellow-light);
  box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 134, 212, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--blue-deeper);
  border: 2px dashed var(--yellow);
  background: rgba(241, 196, 15, 0.15);
  box-shadow: none;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--yellow);
  /* background: linear-gradient(90deg, var(--blue), var(--coral)); */
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
}

.section-subtitle {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.63) 0%, rgba(0, 0, 0, 0) 100%);
  /* backdrop-filter: blur(50px); */
  -webkit-backdrop-filter: blur(50px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  transition: var(--transition);
  opacity: 1;
}

.header.scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  box-shadow: var(--shadow-md);
}

.header.scrolled::before {
  opacity: 0;
}

.header:not(.scrolled) .nav>a,
.header:not(.scrolled) .nav-item>a {
  color: var(--white);
}

.header:not(.scrolled) .menu-toggle span {
  background: var(--white);
}

.header:not(.scrolled) .dropdown a {
  color: var(--gray-800);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.header-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled .header-top {
  border-bottom: 1px solid var(--gray-200);
}

.header-top .logo {
  grid-column: 2;
  justify-self: center;
}

.header-top .header-actions {
  grid-column: 3;
  justify-self: end;
}

.header-top .menu-toggle {
  grid-column: 1;
  justify-self: start;
}

.header-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding-top: 1px;
}

.header-bottom .nav {
  grid-column: 2;
  justify-self: center;
}



.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-svg {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav>a,
.nav-item>a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding: 8px 12px;
  white-space: nowrap;
}

.nav>a::after,
.nav-item>a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

.nav>a:hover,
.nav-item:hover>a {
  color: var(--blue);
}

.nav>a:hover::after,
.nav-item:hover>a::after {
  width: calc(100% - 24px);
}

.nav>a i,
.nav-item>a i {
  font-size: .55rem;
  margin-left: 4px;
  transition: var(--transition);
}

.nav-item {
  position: relative;
}

.nav-item:hover>a i {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown a:hover {
  background: rgba(14, 134, 212, .06);
  color: var(--blue);
  padding-left: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.lang-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.lang-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

.lang-btn.active {
  border-color: var(--blue);
  box-shadow: 0 0 8px rgba(14, 134, 212, 0.4);
  opacity: 1;
}

.header-cta .btn {
  padding: 10px 24px;
  font-size: .82rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: var(--transition);
  display: block;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-background-container iframe,
.video-background-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--yellow);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--yellow);
}

.hero-stat .label {
  font-size: .8rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.5);
  }
}

/* ===== INTRO ===== */
.intro {
  background: var(--gray-50);
}

.intro-welcome {
  text-align: center;
  margin-bottom: 48px;
}

.welcome-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.4;
}

.welcome-title span {
  color: var(--blue);
}

.welcome-title em {
  font-style: normal;
  color: var(--yellow);
  text-shadow: 0 2px 8px rgba(241, 196, 15, .25);
  font-size: 2.2rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.intro-media {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 1;
}

.main-video {
  position: relative;
  padding-bottom: 60%;
  height: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  background: #000;
}

.main-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.main-video .video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.main-video:hover .video-thumb {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--yellow);
  color: var(--gray-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 4px;
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.5);
  z-index: 3;
  transition: var(--transition);
}

.main-video:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 30px rgba(241, 196, 15, 0.8);
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  z-index: 1;
  animation: modal-pop 0.3s ease-out forwards;
}

@keyframes modal-pop {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

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

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--yellow);
  transform: scale(1.1);
}

.iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  background: #000;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.floating-image {
  position: absolute;
  bottom: 11px;
  right: -20px;
  width: 45%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  z-index: 3;
}

.floating-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--yellow);
  border-radius: 20px;
  z-index: 1;
}

.intro-text {
  width: 100%;
  padding: 0;
  display: block;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.6;
}

.lead-text strong {
  color: var(--blue);
  font-size: 1.4rem;
}

.intro-text p {
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.7;
  font-size: 1rem;
  text-align: justify;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.intro-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.intro-feature:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.intro-feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.intro-feature .icon.blue {
  background: rgba(14, 134, 212, .1);
  color: var(--blue);
}

.intro-feature .icon.yellow {
  background: rgba(241, 196, 15, .15);
  color: var(--gray-900);
}

.intro-feature span {
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-800);
}

/* ===== PROGRAMS ===== */
.programs {
  background: linear-gradient(135deg, #EBF5FC 0%, #FFFDF2 50%, #FDF1D3 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.programs::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 134, 212, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.programs::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.programs-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.program-card {
  display: flex;
  flex-direction: row;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(14, 134, 212, 0.08);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.9);
  height: 100%;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-color);
}

.program-card .card-body {
  padding: 32px;
  width: 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 6px solid var(--accent-color);
}

.program-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--accent-color);
}

.program-card p {
  color: var(--gray-600);
  font-weight: 500;
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.program-card .card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  margin-top: auto;
}

.program-card .card-link:hover {
  opacity: 0.8;
  gap: 10px;
}

.program-card .card-img {
  order: -1;
  width: 42%;
  height: 100%;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.program-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

@media (max-width: 991px) {
  .program-card {
    flex-direction: column;
  }

  .program-card .card-img {
    width: 100%;
    height: 220px;
    min-height: auto;
  }

  .program-card .card-body {
    width: 100%;
    border-left: none;
    border-top: 6px solid var(--accent-color);
    padding: 24px;
  }
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
  background: var(--white);
  color: var(--gray-900);
  border-top: 1px solid var(--gray-100);
}

.why-choose .section-title {
  color: var(--gray-900);
}

.why-choose .section-title span {
  color: var(--blue);
}

.why-choose .section-subtitle {
  color: var(--gray-600);
  font-weight: 500;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  background: var(--white);
  border: 2px solid rgba(241, 196, 15, 0.3);
  border-radius: 30px 10px 30px 10px;
  padding: 40px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.why-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--yellow);
  border-radius: 10px 30px 10px 30px;
}

.why-card .icon-wrap {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--yellow);
  width: 80px;
  height: 80px;
  background: rgba(241, 196, 15, 0.15);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue);
}

.why-card p {
  font-size: .95rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
}

/* ===== FACILITIES ===== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.facility-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 280px;
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.facility-item:hover img {
  transform: scale(1.08);
}

.facility-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.facility-item:hover .overlay {
  background: linear-gradient(to top, rgba(14, 134, 212, .8) 0%, transparent 70%);
}

.facility-item .overlay h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.facility-item.large {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--gray-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  height: 240px;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
}

.gallery-item.hidden-item {
  display: none !important;
}

/* Playful irregular blob shapes */
.gallery-item:nth-child(8n+1) {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  transform: rotate(-2deg);
}

.gallery-item:nth-child(8n+2) {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  transform: rotate(3deg);
}

.gallery-item:nth-child(8n+3) {
  border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
  transform: rotate(-4deg);
}

.gallery-item:nth-child(8n+4) {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transform: rotate(2deg);
}

.gallery-item:nth-child(8n+5) {
  border-radius: 70% 30% 50% 50% / 50% 50% 70% 30%;
  transform: rotate(4deg);
}

.gallery-item:nth-child(8n+6) {
  border-radius: 40% 60% 30% 70% / 70% 30% 60% 40%;
  transform: rotate(-3deg);
}

.gallery-item:nth-child(8n+7) {
  border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
  transform: rotate(2deg);
}

.gallery-item:nth-child(8n+8) {
  border-radius: 50% 50% 70% 30% / 40% 40% 60% 60%;
  transform: rotate(-2deg);
}

.gallery-item:hover {
  transform: scale(1.08) rotate(0deg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(241, 196, 15, .2);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== STATS ===== */
.stats {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
}

.stat-item .label {
  font-size: .9rem;
  opacity: .85;
  margin-top: 8px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card .quote {
  font-size: 3rem;
  color: var(--blue);
  opacity: .2;
  line-height: 1;
  margin-bottom: 8px;
  font-family: serif;
}

.testimonial-card p {
  font-size: .92rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  text-align: justify;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

.testimonial-card .author-info .name {
  font-weight: 700;
  font-size: .9rem;
}

.testimonial-card .author-info .role {
  font-size: .78rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ===== LOCATIONS ===== */
.locations {
  background: var(--white);
}

.locations-interactive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.location-map-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
  border: 4px solid rgba(14, 134, 212, 0.1);
}

.location-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.location-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-list-item {
  display: flex;
  gap: 20px;
  padding: 10px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.location-list-item:hover,
.location-list-item.active {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
  transform: translateX(-5px);
  border-radius: 38px 1px 1px 1px;
}

.location-list-item .item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 134, 212, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.location-list-item:hover .item-icon,
.location-list-item.active .item-icon {
  background: var(--blue);
  color: var(--white);
}

.item-content h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 8px;
  font-weight: 800;
  transition: var(--transition);
}

.location-list-item:hover .item-content h3,
.location-list-item.active .item-content h3 {
  color: var(--yellow);
}

.item-content p {
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.item-content p i {
  color: var(--yellow);
  margin-top: 4px;
  font-size: 1rem;
}

/* ===== REGISTRATION SECTION ===== */
.registration-section {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.registration-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(241, 196, 15, 0.05);
  pointer-events: none;
}

.registration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.registration-media {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Form Styling */
.registration-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  color: var(--gray-800);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-title h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.form-title p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-700);
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  background: var(--gray-50);
  font-family: 'Roboto', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 134, 212, 0.15);
  outline: none;
}

.submit-btn {
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .registration-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== NEWS ===== */
.news {
  background: linear-gradient(180deg, var(--gray-50) 0%, rgba(14, 134, 212, 0.03) 100%);
  position: relative;
  overflow: hidden;
  padding: 55px 0;
}

.news-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .news-split-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Featured Card (Left) */
.news-featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 134, 212, 0.08);
  border-color: rgba(14, 134, 212, 0.12);
}

.featured-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.featured-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-featured-card:hover .featured-img-wrapper img {
  transform: scale(1.05);
}

.featured-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-date i {
  color: var(--blue);
}

.featured-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.news-featured-card:hover .featured-title {
  color: var(--blue);
}

.featured-excerpt {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: justify;
}

/* Side Column (Right) */
.news-side-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.news-horizontal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-horizontal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(14, 134, 212, 0.06);
  border-color: rgba(14, 134, 212, 0.1);
}

.horizontal-img-wrapper {
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.horizontal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-horizontal-card:hover .horizontal-img-wrapper img {
  transform: scale(1.08);
}

.horizontal-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.horizontal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.news-horizontal-card:hover .horizontal-title {
  color: var(--blue);
}

.horizontal-excerpt {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
}

/* Premium News Link styling */
.news-link-premium {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.news-link-premium i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.news-featured-card:hover .news-link-premium,
.news-horizontal-card:hover .news-link-premium {
  color: var(--yellow);
}

.news-featured-card:hover .news-link-premium i,
.news-horizontal-card:hover .news-link-premium i {
  transform: translateX(4px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  text-align: justify;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  background: var(--yellow);
  box-shadow: 0 6px 20px rgba(241, 196, 15, 0.45);
}

.footer h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer a {
  transition: var(--transition);
  font-size: .88rem;
}

.footer a:hover {
  color: var(--yellow);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  text-align: center;
  font-size: .82rem;
}

/* ===== FLOATING ===== */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn.zalo {
  background: #0068ff;
}

.float-btn.phone {
  background: var(--yellow);
  color: var(--gray-900);
  animation: ring 2s infinite;
}

.float-btn.messenger {
  background: #006AFF;
}

@keyframes ring {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, .4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(76, 175, 80, 0);
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: .3s cubic-bezier(.4, 0, .2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-media {
    padding-right: 0;
    padding-bottom: 40px;
  }

  .floating-image {
    width: 60%;
    height: 160px;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-interactive {
    grid-template-columns: 1fr;
  }

  .location-image-wrapper {
    min-height: 300px;
  }

  .facility-item.large {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:768px) {
  .header-container {
    padding: 0 20px;
  }

  .header-top {
    padding-bottom: 0;
  }

  .header-container,
  .header-inner,
  .header-bottom {
    position: static !important;
  }

  .header-bottom {
    display: block;
    width: 100%;
    padding: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 15px 0;
    gap: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-top: 1px solid #f0f0f0;
    z-index: 9999;
  }

  .nav.active {
    display: flex;
  }

  .nav a,
  .nav .nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 25px;
    color: #2c3e50 !important;
    font-weight: 700;
    font-size: 0.92rem;
    border-bottom: 1px solid #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
  }
  
  .nav a i {
    font-size: 0.75rem !important;
  }

  .dropdown {
    position: static;
    display: none; /* Hidden until clicked */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
    box-shadow: none !important;
    background: #f7f9fc !important;
    border: none;
    padding: 0;
    min-width: 100%;
    border-radius: 0;
  }

  .nav-item.dropdown-open .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 12px 25px 12px 45px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #4a5568 !important;
    border-bottom: 1px solid #edf2f7;
    text-transform: none;
    letter-spacing: 0;
    background: transparent;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .number {
    font-size: 1.8rem;
  }

  .floating-image {
    height: 120px;
    border-width: 4px;
  }

  .programs-grid,
  .testimonials-grid,
  .news-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item .number {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .facility-item.large {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 35px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .intro-cta {
    padding-top: 20px !important;
    text-align: center;
  }

  .intro-cta .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
  }
}