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

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body,
button,
input,
select,
textarea {
  font-family: 'Roboto', Arial, sans-serif;
}
body { background: var(--navy-dark); color: #222; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --navy: #0a1f44;
  --navy-dark: #061430;
  --navy-mid: #122b5e;
  --orange: #f07c1a;
  --orange-dark: #d96b0e;
  --orange-light: #ffa940;
  --white: #ffffff;
  --gray-light: #f5f6fa;
  --gray: #888;
  --border: #e0e4ef;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --shadow: 0 4px 24px rgba(10,31,68,0.10);
  --shadow-lg: 0 8px 40px rgba(10,31,68,0.18);
}

/* ===== CONTAINER ===== */
.container { max-width: 1440px; margin: 0 auto; padding: 0 28px; }

/* ===== BUTTONS ===== */
.btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; font-weight: 700;
  padding: 14px 32px; border-radius: 6px; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-outline-orange {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 2px solid var(--orange); color: var(--orange); font-weight: 600;
  padding: 10px 22px; border-radius: 6px; font-size: 0.9rem;
  transition: all 0.2s; background: transparent; cursor: pointer;
}
.btn-outline-orange:hover { background: var(--orange); color: #fff; }

.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy); color: var(--navy); font-weight: 700;
  padding: 12px 28px; border-radius: 6px; font-size: 0.95rem;
  transition: all 0.2s; background: transparent; cursor: pointer;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-sm { padding: 7px 16px; font-size: 0.82rem; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.73rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.topbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left strong { color: #fff; font-weight: 800; letter-spacing: 0.1px; }
.topbar-icon {
  color: #fff;
  font-size: 0.72rem;
  width: 12px;
  text-align: center;
  flex-shrink: 0;
}
.topbar-sep { opacity: 0.22; color: rgba(255,255,255,0.35); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-social {
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent;
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: transform 0.2s, opacity 0.2s;
}
.topbar-social i { font-size: 1.08rem; }
.topbar-social-facebook { color: #1877f2; }
.topbar-social-instagram { color: #e1306c; }
.topbar-social-youtube { color: #ff0000; }
.topbar-social-tiktok { color: #ffffff; }
.topbar-social:hover { transform: translateY(-1px); opacity: 0.9; }
.topbar-handle { color: rgba(255,255,255,0.9); font-weight: 700; font-size: 0.72rem; margin-left: 2px; }

/* ===== HEADER ===== */
.header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(10,31,68,0.25);
}
.header-inner {
  display: flex; align-items: center; gap: 0; padding: 0 20px;
  max-width: 1440px; margin: 0 auto;
  height: 72px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 0px; margin-right: 12px;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-image-frame,
.sidebar-logo-image-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 6px 11px;
  box-shadow: 0 8px 20px rgba(6,20,48,0.18);
}
.logo-image {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.logo-icon-wrap,
.logo-text {
  display: none;
}

/* Header divider */
.header-divider {
  width: 1px; background: rgba(255,255,255,0.15);
  height: 40px; margin: 0 28px;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.88); font-weight: 700; font-size: 1.06rem;
  padding: 10px 18px; border-radius: 6px;
  transition: color 0.2s, background 0.2s; cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--orange-light); background: rgba(255,255,255,0.07); }
.nav-link .fa-chevron-down { font-size: 0.65rem; opacity: 0.7; transition: transform 0.25s; }
.nav-item:hover .nav-link .fa-chevron-down { transform: rotate(180deg); }
.nav-plus { color: var(--orange-light); font-weight: 900; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(10,31,68,0.18);
  min-width: 220px; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  border-top: 3px solid var(--orange);
  overflow: hidden;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; color: var(--text-dark); font-size: 0.88rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: var(--gray-light); color: var(--orange); }
.dropdown-item i { color: var(--orange); width: 16px; text-align: center; }

/* ===== SIDEBAR ===== */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(6,20,48,0.6); z-index: 300;
  transition: opacity 0.3s;
}
.sidebar-overlay.active { display: block; }

.sidebar {
  position: fixed; top: 0; left: -320px; width: 300px; height: 100vh;
  background: var(--navy); z-index: 400;
  overflow-y: auto; transition: left 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 32px rgba(10,31,68,0.35);
}
.sidebar.open { left: 0; }

.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo {
  display: flex;
  align-items: center;
}
.sidebar-logo-image-frame {
  border-radius: 12px;
  padding: 5px 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
}
.sidebar-logo-image {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.sidebar-logo .logo-icon,
.sidebar-logo .logo-title,
.sidebar-logo .logo-sub {
  display: none;
}
.sidebar-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.1rem; cursor: pointer; padding: 6px; }
.sidebar-close:hover { color: var(--orange); }

.sidebar-nav { flex: 1; padding: 12px 0; }
.sidebar-section { margin-bottom: 8px; }
.sidebar-section-title {
  padding: 10px 20px 6px; font-size: 0.72rem; font-weight: 700;
  color: var(--orange-light); text-transform: uppercase; letter-spacing: 1px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; color: rgba(255,255,255,0.82); font-size: 0.9rem;
  transition: background 0.15s, color 0.15s; border-left: 3px solid transparent;
}
.sidebar-link:hover { background: rgba(255,255,255,0.07); color: var(--orange-light); border-left-color: var(--orange); }
.sidebar-link i { width: 16px; text-align: center; color: var(--orange); }

.sidebar-contact {
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 8px;
}
.sidebar-contact a {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
}
.sidebar-contact a i { color: var(--orange); }

/* ===== HERO ===== */
.hero {
  background: #102754;
  padding: 72px 0 56px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.08), transparent 18%),
    radial-gradient(circle at 92% 82%, rgba(240,124,26,0.08), transparent 20%);
  pointer-events: none;
}
.hero .container,
.hero-inner,
.hero-content,
.hero-images {
  position: relative;
  z-index: 1;
}
.hero-inner { display: flex; align-items: start; gap: 48px; }

.hero-content { flex: 1; min-width: 0; }
.hero-title {
     font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900;
    color: #f07c1a;
    line-height: 1;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-orange { color: var(--orange); }
.hero-sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.hero-list {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
}
.hero-list li {
  position: relative;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.32;
  padding-left: 18px;
}
.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,124,26,0.18);
}
.hero-content .hero-sub,
.hero-content .hero-list li {
  color: #ffffff !important;
}
.hero-btn { font-size: 1.05rem; }

.hero-images {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: visible;
}
.hero-images::before {
  content: "";
  position: absolute;
  top: 6%;
  left: -8%;
  right: -4%;
  bottom: 4%;
  background: radial-gradient(ellipse 72% 84% at 58% 52%,
    rgba(240,124,26,0.22) 0%,
    rgba(31,71,138,0.16) 38%,
    transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-images::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    var(--navy) 0%,
    rgba(10,31,68,0.62) 16%,
    rgba(10,31,68,0.18) 30%,
    transparent 44%);
  pointer-events: none;
  z-index: 3;
}
.hero-img-grid {
  display: flex;
  gap: 12px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.hero-img-main {
  flex: 2;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  min-height: 280px;
  box-shadow: 0 24px 48px rgba(4, 15, 40, 0.28);
}
.hero-img-main img,
.hero-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 74%,
    rgba(0,0,0,0.72) 88%,
    rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 74%,
    rgba(0,0,0,0.72) 88%,
    rgba(0,0,0,0) 100%);
}
.hero-img-side { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.hero-img-sm {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  min-height: 130px;
  box-shadow: 0 18px 36px rgba(4, 15, 40, 0.2);
}
.hero-img-main img { object-position: center; }
.hero-img-sm:first-child img { object-position: center; }
.hero-img-sm:last-child img { object-position: center top; }

/* ===== FEATURES BAR ===== */
.features-bar {
  padding: 24px 0 40px;
  background: linear-gradient(180deg, #0c234d 0%, #102b61 100%);
}
.features-oval {
  display: flex; align-items: center; justify-content: space-between;
  border: 2px solid rgba(255,255,255,0.18); border-radius: 60px;
  padding: 20px 32px; gap: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 20px 40px rgba(3, 12, 34, 0.26);
  backdrop-filter: blur(12px);
}
.feature-item { display: flex; align-items: center; gap: 14px; flex: 1; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.feature-text { display: flex; flex-direction: column; }
.feature-text strong { font-size: 0.9rem; color: #fff; }
.feature-text span { font-size: 0.77rem; color: rgba(255,255,255,0.72); margin-top: 2px; }
.feature-sep { width: 1px; height: 44px; background: rgba(255,255,255,0.14); margin: 0 24px; flex-shrink: 0; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 24px; }
.section-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 900;
  color: #fff; text-transform: uppercase; letter-spacing: 1px;
  position: relative; display: inline-block; padding-bottom: 14px;
}
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3.5px; background: var(--orange); border-radius: 2px;
}

/* ===== CLASSES SECTION ===== */
.classes-section {
  padding: 0px 0 40px;
  background: #f0f3fa;
}
.classes-section .container {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 46px 40px 0px;
  background: #f0f3fa;
  box-shadow: none;
}
.classes-section .section-title {
  color: var(--navy);
}
.classes-section .container::before {
  content: none;
  pointer-events: none;
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px; margin-bottom: 30px;
  align-items: start;
}
.class-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px; padding: 14px 12px 12px;
  box-shadow: 0 10px 24px rgba(10,31,68,0.10);
  transition: transform 0.18s, border-color 0.18s, background 0.18s, box-shadow 0.18s;
  border: 1.5px solid #dfe6f2;
  display: flex; flex-direction: column; gap: 8px;
}
.class-card::before {
  content: none;
  pointer-events: none;
}
.class-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: #cfd9ea;
  box-shadow: 0 14px 32px rgba(10,31,68,0.14);
}
.class-card-head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.class-code-box {
  min-width: 92px;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.class-code-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: #7e8aa5;
  letter-spacing: 0.5px;
}
.class-code-value {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--navy);
}
.class-progress-box {
  flex: 0 0 auto;
  border-radius: 10px;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}
.class-progress-box.status-done {
  background: var(--orange);
  color: #fff;
}
.class-progress-box.status-open {
  background: #193872;
  color: #dce8ff;
  border: 1px solid rgba(255,255,255,0.12);
}
.class-progress-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
}
.class-progress-text strong {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.class-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.8rem;
  line-height: 1.35;
}
.class-info-row i {
  width: 14px;
  color: var(--orange);
  text-align: center;
  flex-shrink: 0;
}
.class-info-label {
  min-width: 58px;
  color: #7f8aa3;
  font-weight: 600;
}
.class-info-value {
  color: var(--navy);
  font-weight: 700;
}
.class-fee {
  color: var(--navy);
  font-weight: 900;
}
.class-card .btn-outline-orange {
  width: 100%;
  padding: 8px 12px;
  border-width: 1px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  background: #fff;
  margin-top: 2px;
}
.class-card .btn-outline-orange:hover {
  background: var(--orange);
  color: #fff;
}
.classes-more { text-align: center; margin-top: 8px; }
.tutors-section .classes-more{
  margin-top: 30px;
}
.classes-section .btn-outline-navy {
  border-color: rgba(10,31,68,0.16);
  color: var(--navy);
  background: #fff;
}
.tutors-section .classes-more .btn-outline-navy{
  border-color: rgba(10,31,68,0.16);
  color: var(--navy);
  background: #fff;
}
.classes-section .btn-outline-navy:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.tutors-section .classes-more .btn-outline-navy:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

/* ===== TUTORS SECTION ===== */
.tutors-section {
  padding: 18px 0 40px;
  background: #f0f3fa;
}
.tutors-section .section-title { color: var(--navy); }
.tutors-slider-wrap { display: flex; align-items: center; gap: 12px; }
.tutors-slider {
  overflow: hidden; flex: 1;
}
.tutors-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.tutor-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  flex: 0 0 calc(25% - 12px);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
 
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid #dfe6f2;
}
.tutor-card:hover { transform: translateY(-3px); border-color: #cfd9ea; }
.tutor-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0px;
  overflow: hidden;
  flex-shrink: 0;
}
.tutor-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tutor-body { min-width: 0; }
.tutor-name { font-weight: 800; color: var(--navy); font-size: 1rem; line-height: 1.25; }
.tutor-degree { font-size: 0.86rem; color: var(--orange); font-weight: 800; margin-top: 6px; }
.tutor-school { font-size: 0.78rem; color: #6f7c97; margin-top: 6px; line-height: 1.45; }
.tutor-location {
  font-size: 0.8rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.tutor-location i { color: var(--orange); width: 12px; text-align: center; }
.tutor-profile-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid #cfd9ea;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.tutor-profile-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

/* ===== SLIDER ARROWS ===== */
.slider-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(10,31,68,0.08); background: rgba(255,255,255,0.55); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem; flex-shrink: 0;
  transition: all 0.2s; box-shadow: var(--shadow);
}
.slider-arrow:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 20px 0 30px;
  background: #132d62;
}
.reviews-section .section-title { color: #fff; }
.reviews-slider-wrap { display: flex; align-items: center; gap: 10px; }
.reviews-slider {
  overflow: hidden; flex: 1;
}
.reviews-track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.review-card {
  background: rgba(11, 31, 74, 0.96);
  border-radius: 10px;
  padding: 14px 16px 12px;
  flex: 0 0 calc(33.33% - 8px);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(6,15,36,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}
.review-stars { color: #f59e0b; font-size: 0.8rem; margin-bottom: 8px; }
.review-text { font-size: 0.77rem; color: rgba(255,255,255,0.72); line-height: 1.5; font-style: italic; margin-bottom: 12px; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.18);
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-name { font-weight: 700; color: #fff; font-size: 0.8rem; }
.review-loc { font-size: 0.68rem; color: rgba(255,255,255,0.55); }
.reviews-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.28); cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--orange); transform: scale(1.3); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy);
  padding: 28px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-text h3 { font-size: 1.1rem; font-weight: 800; color: #fff; text-transform: uppercase; margin-bottom: 6px; }
.cta-text p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 28px; border-radius: 8px; font-weight: 800;
  font-size: 0.88rem; text-transform: uppercase; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s; text-align: center;
}
.cta-btn span { font-size: 0.72rem; font-weight: 400; text-transform: none; margin-top: 3px; opacity: 0.85; }
.cta-btn-orange { background: var(--orange); color: #fff; }
.cta-btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,124,26,0.4); }
.cta-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.cta-btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo-text { display: flex; flex-direction: column; }
.footer-logo-title { font-size: 1.05rem; font-weight: 900; color: #fff; line-height: 1; }
.footer-logo-sub { font-size: 0.56rem; color: rgba(255,255,255,0.56); text-transform: uppercase; margin-top: 3px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.8rem; transition: background 0.2s;
}
.footer-socials a:hover { background: var(--orange); }
.footer-heading { font-size: 0.9rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li, .footer-links a { font-size: 0.85rem; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-light); }
.footer-links i { color: var(--orange); font-size: 0.8rem; width: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0; text-align: center; font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 52px 0 40px; text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 900; color: #f07c1a; text-transform: uppercase; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ===== PAGE 2 - LỚP MỚI ===== */
.page-content { padding: 56px 0; background: var(--gray-light); min-height: 60vh; }
.filter-bar {
  background: #fff; border-radius: 12px; padding: 20px 24px;
  box-shadow: var(--shadow); margin-bottom: 32px;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.filter-bar label { font-size: 0.85rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.filter-bar select {
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 0.87rem; color: var(--text-dark); background: #fff; cursor: pointer;
  min-width: 140px;
}
.filter-bar select:focus { outline: none; border-color: var(--orange); }
.filter-search {
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 0.87rem; flex: 1; min-width: 200px;
}
.filter-search:focus { outline: none; border-color: var(--orange); }

.classes-list { display: flex; flex-direction: column; gap: 16px; }
.class-row {
  background: #fff; border-radius: 12px; padding: 22px 28px;
  box-shadow: var(--shadow); display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap;
  transition: box-shadow 0.2s; border-left: 5px solid var(--orange);
}
.class-row:hover { box-shadow: var(--shadow-lg); }
.class-row-left { flex: 1; min-width: 180px; }
.class-row-badge { margin-bottom: 8px; }
.class-row-name { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.class-row-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.class-row-meta span { font-size: 0.82rem; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.class-row-meta i { color: var(--orange); }
.class-row-price { font-size: 1.2rem; font-weight: 800; color: var(--orange); white-space: nowrap; }
.class-row-action { flex-shrink: 0; }

/* ===== PAGE 3 - GIA SƯ ===== */
.tutors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.tutor-card-full {
  background: #fff; border-radius: 14px; padding: 28px 22px;
  box-shadow: var(--shadow); text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--orange);
}
.tutor-card-full:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tutor-card-full .avatar-circle { width: 80px; height: 80px; font-size: 2.2rem; margin: 0 auto 14px; }
.tutor-card-full .tutor-name { font-size: 1.05rem; margin-bottom: 4px; }
.tutor-tag {
  display: inline-block; background: rgba(240,124,26,0.12);
  color: var(--orange-dark); font-size: 0.78rem; font-weight: 600;
  padding: 3px 12px; border-radius: 12px; margin: 6px 0;
}
.tutor-detail { font-size: 0.82rem; color: var(--gray); margin: 3px 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.tutor-detail i { color: var(--orange); }
.tutor-rate { font-size: 1rem; font-weight: 800; color: var(--orange); margin: 8px 0; }
.tutor-card-full .tutor-stars { font-size: 0.92rem; margin-bottom: 6px; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; font-weight: 700;
  padding: 9px 22px; border-radius: 6px; font-size: 0.85rem;
  margin-top: 12px; transition: background 0.2s;
}
.contact-btn:hover { background: var(--orange-dark); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 0; font-size: 0.83rem; color: var(--gray);
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 0.65rem; }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(240,124,26,0.4);
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 99; font-size: 1rem; border: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .classes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tutors-track .tutor-card { flex: 0 0 calc(33.33% - 11px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .features-oval { flex-direction: column; border-radius: 16px; padding: 20px; gap: 16px; }
  .feature-sep { width: 100%; height: 1px; margin: 0; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-images { width: 100%; }
  .hero-img-grid { height: 260px; }
  .classes-section .container { padding: 38px 24px 30px; border-radius: 24px; }
  .reviews-slider .review-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
    justify-content: flex-start;
    padding: 0 12px 0 0;
  }
  .reviews-section {
    padding-top: 0 !important;
  }
  .hamburger {
    display: flex;
    position: relative;
    z-index: 2;
    margin-right: 0;
  }
  .main-nav, .header-divider { display: none; }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .topbar-left span:last-child, .topbar-sep { display: none; }
  .topbar-left > span:first-child {
    gap: 8px;
    font-size: 0;
  }
  .topbar-left > span:first-child::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url('../images/zalo.svg') center/contain no-repeat;
    flex-shrink: 0;
  }
  .topbar-left > span:first-child .topbar-icon {
    display: none;
  }
  .topbar-left > span:first-child strong {
    font-size: 0.8rem;
  }
  .logo-image { height: 40px; }

  .tutors-slider-wrap {
    display: block;
  }
  .tutors-slider-wrap .slider-arrow {
    display: none;
  }
  .tutors-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tutors-slider::-webkit-scrollbar {
    display: none;
  }
  .tutors-track {
    gap: 12px;
    padding-right: 12px;
    transition: none;
  }
  .tutors-track .tutor-card {
    flex: 0 0 82%;
    width: auto;
    max-width: 82%;
    min-width: 0;
    padding: 12px;
    gap: 12px;
    scroll-snap-align: start;
  }
  .tutors-track .tutor-card .tutor-avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }
  .tutors-track .tutor-card .tutor-body {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
  .reviews-slider-wrap {
    display: block;
  }
  .reviews-slider-wrap .slider-arrow {
    display: none;
  }
  .reviews-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews-slider::-webkit-scrollbar {
    display: none;
  }
  .reviews-track {
    gap: 10px;
    padding-right: 10px;
    transition: none;
  }
  .reviews-track .review-card {
    flex: 0 0 88%;
    width: auto;
    display: flex;
    max-width: none;
    min-width: 0;
    scroll-snap-align: start;
  }
  .reviews-track .review-text {
    display: block;
    width: 100%;
    max-width: none;
    overflow-wrap: break-word;
  }
  .reviews-track .review-author {
    display: flex;
    width: 100%;
    max-width: none;
  }
  .reviews-track .review-author > div {
    width: auto;
    max-width: none;
  }
  .classes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons {
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
  }
  .cta-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 16px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .container{
    padding: 0 13px !important;
  }
  .hero{
    padding-top: 20px !important;
  }
  .header-inner { padding: 0 14px 0 0; }
  .logo-image-frame { padding: 6px 9px; }
  .logo-image { height: 34px; }
  .classes-section { padding: 20px 0 15px; }
  .classes-section .container { padding: 30px 18px 24px; border-radius: 20px; }
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .class-card {
    padding: 14px 12px 12px;
    gap: 8px;
  }
  .class-card-head {
    gap: 8px;
  }
  .class-code-box {
    min-width: 86px;
  }
  .class-code-value {
    font-size: 0.86rem;
  }
  .class-progress-box {
    min-width: 92px;
    padding: 7px 8px;
  }
  .class-progress-text strong {
    font-size: 0.62rem;
  }
  .class-info-row {
    font-size: 0.76rem;
    gap: 7px;
  }
  .class-info-label {
    min-width: 54px;
  }
  .class-card .btn-outline-orange {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
  .cta-buttons {
    gap: 10px;
  }
  .cta-btn {
    padding: 11px 10px;
    font-size: 0.76rem;
  }
  .cta-btn span {
    font-size: 0.64rem;
  }
  .classes-more .btn-outline-navy {
    padding: 9px 18px;
    font-size: 0.78rem;
    border-width: 1px;
    border-radius: 8px;
    max-width: 240px;
  }
  .tutors-track .tutor-card {
    flex: 0 0 86%;
    width: auto;
    max-width: 86%;
    padding: 12px;
  }
  .reviews-track .review-card {
    flex: 0 0 90%;
    width: auto;
    max-width: none;
    padding: 13px 14px 12px;
  }
  .reviews-track .review-text {
    width: 100%;
    max-width: none;
  }
  .reviews-track .review-author > div {
    width: auto;
    max-width: none;
  }
  .tutor-name { font-size: 0.88rem; }
  .tutor-school,
  .tutor-exp { font-size: 0.66rem; }
  .tutor-profile-btn {
    width: auto;
    min-width: 112px;
    padding: 9px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .tutor-subject { font-size: 0.68rem; }
  .tutor-stars { font-size: 0.76rem; }
  .tutor-stars span { font-size: 0.7rem; }
  .reviews-slider .review-card { flex: 0 0 calc(100%); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .filter-bar { flex-direction: column; }
  .class-row { flex-direction: column; align-items: flex-start; }
  .tutors-grid { grid-template-columns: repeat(2, 1fr); }
  #header .container{
    padding-left: 13px !important ;
  }
  
}

@media (max-width: 380px) {
  .tutors-grid { grid-template-columns: 1fr; }
}

/* ===== FLOATING CONTACT BUTTONS ===== */
.float-contacts {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}
.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); }
.float-btn img {
  width: 56px; height: 56px;
  display: block; border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
  animation: float-pulse 2.8s ease-in-out infinite;
}
.float-zalo img { animation-delay: 1.4s; }
@keyframes float-pulse {
  0%,100% { box-shadow: 0 4px 18px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 6px 28px rgba(0,0,0,0.45), 0 0 0 6px rgba(255,255,255,0.08); }
}


@media (max-width: 820px) {
  .float-contacts { right: 14px; bottom: 70px; gap: 10px; }
  .float-btn img { width: 50px; height: 50px; }
}
@media (max-width: 540px) {
  .float-contacts { right: 10px; bottom: 60px; gap: 8px; }
  .float-btn img { width: 46px; height: 46px; }
}
