/* ==========================================
   GOOGLE FONT & RESET
========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #1d1d1d;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
input {
  font-family: inherit;
}

/* ==========================================
   ROOT
========================================== */

:root {
  --primary: #a51c30; /* Harvard Crimson */
  --secondary: #111827;
  --white: #ffffff;
  --light: #f8f9fb;
  --gray: #6b7280;
  --border: #e5e7eb;

  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

  --radius: 18px;

  --transition: 0.35s ease;

  --container: 1200px;
}

/* ==========================================
   GLOBAL
========================================== */

.container {
  width: 90%;
  max-width: var(--container);
  margin: auto;
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header span {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary);
  margin-top: 12px;
}

.section-header p {
  margin-top: 18px;
  color: var(--gray);
  max-width: 700px;
  margin-inline: auto;
}

/* ==========================================
   BUTTON
========================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 34px;

  background: var(--primary);

  color: #fff;

  border-radius: 999px;

  font-weight: 700;

  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);

  box-shadow: 0 15px 30px rgba(165, 28, 48, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 16px 34px;

  border: 2px solid var(--primary);

  border-radius: 999px;

  color: var(--primary);

  font-weight: 700;

  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);

  color: #fff;
}

/* ==========================================
   HEADER
========================================== */

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 9999;

  background: #ffffff;

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  transition: 0.3s;
  padding-top: 20px;
}

.navbar {
  height: 90px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.logo img {
  width: 100px;
  padding-top: 40px;
}

/* ==========================================
   NAVIGATION
========================================== */

.nav-menu ul {
  display: flex;

  align-items: center;

  gap: 40px;
}

.nav-menu ul li {
  position: relative;
}

.nav-menu ul li a {
  font-size: 15px;

  font-weight: 600;

  transition: 0.3s;
}

.nav-menu ul li a:hover {
  color: var(--primary);
}

.nav-menu ul li a.active {
  color: var(--primary);
}

/* ==========================================
   DROPDOWN
========================================== */

.dropdown > a {
  display: flex;

  align-items: center;

  gap: 8px;
}

.dropdown-menu {
  position: absolute;

  top: 130%;

  left: 0;

  width: 230px;

  background: #fff;

  border-radius: 15px;

  box-shadow: var(--shadow);

  opacity: 0;

  visibility: hidden;

  transition: 0.3s;

  overflow: hidden;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;

  visibility: visible;

  top: 115%;
}

.dropdown-menu li {
  border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child {
  border: none;
}

.dropdown-menu li a {
  display: block;

  padding: 16px 22px;

  transition: 0.3s;
}

.dropdown-menu li a:hover {
  background: #fafafa;

  color: var(--primary);
}

/* ==========================================
   APPLY BUTTON
========================================== */

.apply-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 14px 28px;

  background: var(--primary);

  color: #fff;

  border-radius: 999px;

  font-weight: 700;

  transition: 0.3s;
}

.apply-btn:hover {
  transform: translateY(-2px);
}

/* ==========================================
   HAMBURGER
========================================== */

.menu-toggle {
  display: none;

  width: 48px;

  height: 48px;

  border-radius: 10px;

  cursor: pointer;

  align-items: center;

  justify-content: center;

  background: var(--primary);

  color: #fff;

  font-size: 22px;
}

/* ==========================================
   STICKY HEADER
========================================== */

.header.sticky {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
/* ==========================================
   HERO SECTION
========================================== */

.hero {
  padding: 170px 0 100px;

  background: #ffffff;

  overflow: hidden;
}

.hero-container {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  align-items: center;

  gap: 80px;
}

.hero-content {
  max-width: 600px;
}

.hero-label {
  display: inline-block;

  padding: 10px 22px;

  background: #fdf2f3;

  color: var(--primary);

  border-radius: 999px;

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 1px;

  margin-bottom: 25px;
}

.hero-content h1 {
  font-size: 64px;

  line-height: 1.1;

  font-weight: 800;

  color: var(--secondary);

  margin-bottom: 25px;
}

.hero-content p {
  font-size: 18px;

  color: var(--gray);

  margin-bottom: 40px;

  max-width: 520px;
}

.hero-buttons {
  display: flex;

  align-items: center;

  gap: 20px;

  flex-wrap: wrap;
}

.hero-image {
  display: flex;

  justify-content: flex-end;

  align-items: center;

  position: relative;
}

.hero-image img {
  width: 100%;

  max-width: 520px;

  border-radius: 30px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);

  object-fit: cover;
}

/* Background Decoration */

.hero-image::before {
  content: "";

  position: absolute;

  width: 430px;

  height: 430px;

  background: rgba(165, 28, 48, 0.08);

  border-radius: 50%;

  z-index: -1;

  right: -80px;

  top: 50%;

  transform: translateY(-50%);
}

/* Hero Animation */

.hero-content {
  animation: fadeLeft 1s ease;
}

.hero-image {
  animation: fadeRight 1s ease;
}

/* ==========================================
   ANIMATION
========================================== */

@keyframes fadeLeft {
  from {
    opacity: 0;

    transform: translateX(-40px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;

    transform: translateX(40px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

/* Hero Button Hover */

.hero-buttons .btn-primary {
  min-width: 180px;
}

.hero-buttons .btn-secondary {
  min-width: 220px;
}

/* Hero Image Hover */

.hero-image img {
  transition: var(--transition);
}

.hero-image:hover img {
  transform: translateY(-8px);
}
/* ==========================================
   GENERAL ENGLISH
========================================== */

.general-english {
  background: #f8f9fc;
}

.program-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;

  align-items: stretch;
}

.program-card {
  position: relative;

  background: #ffffff;

  border-radius: 24px;

  padding: 45px 35px;

  text-align: center;

  border: 1px solid #ececec;

  transition: all 0.35s ease;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.program-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.program-card.featured {
  border: 2px solid var(--primary);

  transform: scale(1.03);
}

.program-card.featured:hover {
  transform: translateY(-10px) scale(1.03);
}

.popular {
  position: absolute;

  top: -15px;

  left: 50%;

  transform: translateX(-50%);

  background: var(--primary);

  color: #fff;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1px;

  padding: 8px 18px;

  border-radius: 999px;
}

.level {
  width: 85px;

  height: 85px;

  margin: 0 auto 25px;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 28px;

  font-weight: 800;
}

.program-card h3 {
  font-size: 28px;

  color: var(--secondary);

  margin-bottom: 10px;
}

.duration {
  color: var(--gray);

  font-weight: 600;

  margin-bottom: 20px;
}

.program-card h4 {
  color: var(--primary);

  font-size: 34px;

  font-weight: 800;

  margin-bottom: 30px;
}

.program-card ul {
  text-align: left;

  margin-bottom: 35px;
}

.program-card ul li {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 16px;

  color: #555;

  font-size: 15px;
}

.program-card ul li i {
  color: var(--primary);

  font-size: 14px;
}

.card-btn {
  display: inline-block;

  width: 100%;

  padding: 15px;

  border-radius: 999px;

  background: var(--primary);

  color: #fff;

  font-weight: 700;

  transition: all 0.3s ease;
}

.card-btn:hover {
  background: #7f1525;

  transform: translateY(-2px);
}

.program-card:hover .level {
  transform: rotate(360deg);

  transition: 1s;
}

.program-card:hover h3 {
  color: var(--primary);
}
/* ==========================================
   ENGLISH FOR HOSPITALITY
========================================== */

.hospitality {
  background: #ffffff;
}

.hospitality-wrapper {
  display: flex;

  justify-content: center;

  align-items: center;
}

.hospitality-card {
  width: 100%;

  max-width: 900px;

  display: grid;

  grid-template-columns: 220px 1fr;

  gap: 50px;

  align-items: center;

  background: #ffffff;

  border-radius: 28px;

  padding: 55px;

  border: 1px solid var(--border);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: all 0.35s ease;
}

.hospitality-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* ==========================
   ICON
========================== */

.hospitality-icon {
  width: 170px;

  height: 170px;

  margin: auto;

  border-radius: 50%;

  background: var(--primary);

  display: flex;

  justify-content: center;

  align-items: center;

  color: #fff;

  font-size: 72px;

  transition: all 0.4s ease;
}

.hospitality-card:hover .hospitality-icon {
  transform: rotate(12deg) scale(1.08);
}

/* ==========================
   CONTENT
========================== */

.hospitality-content h3 {
  font-size: 38px;

  color: var(--secondary);

  margin-bottom: 12px;
}

.hospitality-content .duration {
  font-size: 17px;

  color: var(--gray);

  margin-bottom: 18px;
}

.hospitality-content h4 {
  font-size: 38px;

  color: var(--primary);

  margin-bottom: 25px;

  font-weight: 800;
}

.description {
  color: var(--gray);

  margin-bottom: 35px;

  line-height: 1.8;
}

/* ==========================
   FEATURES
========================== */

.hospitality-features {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  margin-bottom: 40px;
}

.feature {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 15px;

  color: #555;
}

.feature i {
  width: 28px;

  height: 28px;

  border-radius: 50%;

  background: rgba(165, 28, 48, 0.12);

  color: var(--primary);

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 13px;

  flex-shrink: 0;
}

/* ==========================
   BUTTONS
========================== */

.hospitality-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;

  justify-content: center;

  align-items: center;

  padding: 15px 34px;

  border: 2px solid var(--primary);

  border-radius: 999px;

  color: var(--primary);

  font-weight: 700;

  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);

  color: #fff;
}

/* ==========================
   HOVER EFFECT
========================== */

.hospitality-card:hover h3 {
  color: var(--primary);
}

.hospitality-card:hover .feature i {
  background: var(--primary);

  color: #fff;
}
/* ==========================================
   INTERNATIONAL TEST PREPARATION
========================================== */

.test-preparation {
  background: #f8f9fc;
}

.test-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;

  margin-top: 20px;
}

.test-card {
  background: #ffffff;

  border: 1px solid var(--border);

  border-radius: 24px;

  padding: 45px 35px;

  text-align: center;

  transition: all 0.35s ease;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.test-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.test-icon {
  width: 90px;

  height: 90px;

  margin: 0 auto 30px;

  border-radius: 50%;

  background: rgba(165, 28, 48, 0.1);

  display: flex;

  justify-content: center;

  align-items: center;

  color: var(--primary);

  font-size: 36px;

  transition: all 0.35s ease;
}

.test-card:hover .test-icon {
  background: var(--primary);

  color: #ffffff;

  transform: rotate(12deg) scale(1.08);
}

.test-card h3 {
  font-size: 28px;

  color: var(--secondary);

  margin-bottom: 18px;

  transition: var(--transition);
}

.test-card p {
  color: var(--gray);

  line-height: 1.8;

  margin-bottom: 35px;

  min-height: 95px;
}

.coming-soon {
  display: inline-flex;

  justify-content: center;

  align-items: center;

  padding: 14px 28px;

  border-radius: 999px;

  background: #eef0f4;

  color: var(--gray);

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 0.5px;

  transition: var(--transition);
}

.test-card:hover .coming-soon {
  background: var(--primary);

  color: #ffffff;
}

.test-card:hover h3 {
  color: var(--primary);
}

/* Optional Ribbon */

.test-card {
  position: relative;

  overflow: hidden;
}

.test-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 5px;

  background: var(--primary);

  transform: scaleX(0);

  transition: 0.35s;
}

.test-card:hover::before {
  transform: scaleX(1);
}
/* ==========================================
   CALL TO ACTION
========================================== */

.cta {
  background: linear-gradient(135deg, #a51c30 0%, #8b1728 100%);

  color: #fff;

  position: relative;

  overflow: hidden;
}

.cta::before {
  content: "";

  position: absolute;

  width: 450px;

  height: 450px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  top: -180px;

  right: -120px;
}

.cta-content {
  position: relative;

  z-index: 2;

  text-align: center;

  max-width: 800px;

  margin: auto;
}

.cta-content span {
  display: inline-block;

  font-size: 15px;

  font-weight: 600;

  letter-spacing: 1px;

  text-transform: uppercase;

  margin-bottom: 15px;

  opacity: 0.9;
}

.cta-content h2 {
  font-size: 48px;

  line-height: 1.2;

  margin-bottom: 25px;

  font-weight: 800;
}

.cta-content p {
  font-size: 18px;

  line-height: 1.8;

  opacity: 0.95;

  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 20px;

  flex-wrap: wrap;
}

.cta .btn-primary {
  background: #fff;

  color: var(--primary);
}

.cta .btn-primary:hover {
  background: #f3f3f3;
}

.cta .btn-secondary {
  border: 2px solid #fff;

  color: #fff;
}

.cta .btn-secondary:hover {
  background: #fff;

  color: var(--primary);
}

/* ==========================================
   FOOTER
========================================== */

.footer {
  background: #111827;

  color: #d1d5db;

  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 50px;

  margin-bottom: 60px;
}

.footer-logo {
  width: 180px;

  margin-bottom: 25px;
}

.footer-column p {
  line-height: 1.8;

  margin-bottom: 25px;
}

.footer-column h3 {
  color: #fff;

  margin-bottom: 25px;

  font-size: 22px;
}

.footer-column ul li {
  margin-bottom: 16px;
}

.footer-column ul li a {
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;

  padding-left: 8px;
}

.contact-list li {
  display: flex;

  align-items: flex-start;

  gap: 12px;
}

.contact-list i {
  color: var(--primary);

  margin-top: 4px;

  width: 20px;
}

.footer-social {
  display: flex;

  gap: 15px;
}

.footer-social a {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  display: flex;

  justify-content: center;

  align-items: center;

  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--primary);

  transform: translateY(-4px);
}

.footer-social i {
  color: #fff;

  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);

  padding-top: 30px;

  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;

  font-size: 15px;
}
/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 38px;
  }

  /* ---------- HERO ---------- */

  .hero {
    padding-top: 140px;
  }

  .hero-container {
    grid-template-columns: 1fr;

    gap: 60px;

    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image::before {
    right: 50%;

    transform: translate(50%, -50%);
  }

  /* ---------- GENERAL ENGLISH ---------- */

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- HOSPITALITY ---------- */

  .hospitality-card {
    grid-template-columns: 1fr;

    text-align: center;

    padding: 40px;
  }

  .hospitality-features {
    grid-template-columns: 1fr 1fr;
  }

  .hospitality-buttons {
    justify-content: center;
  }

  /* ---------- TEST ---------- */

  .test-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- FOOTER ---------- */

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   RESPONSIVE - MOBILE
========================================== */

@media (max-width: 768px) {
  .navbar {
    height: 80px;
  }

  .logo img {
    width: 150px;
  }

  .menu-toggle {
    display: flex;
  }

  .apply-btn {
    display: none;
  }

  /* ===== MOBILE NAVIGATION ===== */

  .nav-menu {
    position: fixed;

    top: 80px;

    right: -320px; /* disembunyikan di kanan */
    left: auto;

    width: 300px; /* lebar menu */
    max-width: 85%;

    height: auto; /* tinggi mengikuti isi */

    background: #fff;

    border-radius: 15px 0 0 15px;

    box-shadow: -5px 10px 25px rgba(0, 0, 0, 0.15);

    transition: 0.35s ease;

    padding: 25px;

    z-index: 9999;
  }

  .nav-menu.active {
    right: 15px;
  }

  .nav-menu ul {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;
  }

  .nav-menu ul li {
    width: 100%;

    border-bottom: 1px solid #ececec;
  }

  .nav-menu ul li:last-child {
    border-bottom: none;
  }

  .nav-menu ul li a {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 16px 0;

    width: 100%;
  }

  /* ===== Dropdown ===== */

  .dropdown-menu {
    position: static;

    width: 100%;

    opacity: 1;

    visibility: visible;

    display: none;

    box-shadow: none;

    border-radius: 0;

    margin-bottom: 15px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    top: auto;
  }

  /* ===== HERO ===== */

  .hero {
    padding-top: 130px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;

    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
  }

  /* ===== GENERAL ENGLISH ===== */

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card.featured {
    transform: none;
  }

  .program-card.featured:hover {
    transform: translateY(-8px);
  }

  /* ===== HOSPITALITY ===== */

  .hospitality-card {
    padding: 30px;
  }

  .hospitality-content h3 {
    font-size: 30px;
  }

  .hospitality-content h4 {
    font-size: 32px;
  }

  .hospitality-features {
    grid-template-columns: 1fr;
  }

  .hospitality-buttons {
    flex-direction: column;
  }

  .hospitality-buttons a {
    width: 100%;
  }

  /* ===== TEST ===== */

  .test-grid {
    grid-template-columns: 1fr;
  }

  /* ===== CTA ===== */

  .cta-content h2 {
    font-size: 34px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons a {
    width: 100%;
  }

  /* ===== FOOTER ===== */

  .footer-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 25px;
  }

  .footer-social {
    justify-content: center;
  }

  .contact-list li {
    justify-content: center;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {
  section {
    padding: 70px 0;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-label {
    font-size: 12px;

    padding: 8px 16px;
  }

  .program-card {
    padding: 35px 25px;
  }

  .hospitality-card {
    padding: 25px;
  }

  .test-card {
    padding: 35px 25px;
  }
}
