:root {
  --primary: #0c2d61;
  --primary-2: #1d6fb9;
  --accent: #1eb8e9;
  --text: #17324d;
  --muted: #5d7187;
  --surface: #ffffff;
  --soft: #f3f8ff;
  --border: #d9e5f3;
  --shadow: 0 18px 45px rgba(10, 58, 123, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f8fd;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, #8ed4ff 0%, #c2edff 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 80, 133, 0.15);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #0a2b63;
  letter-spacing: 0.02em;
  min-width: 0;
}

.brand-badge {
  width: auto;
  max-width: 180px;
  height: 52px;
  border-radius: 0;
  object-fit: contain;
  display: block;
  box-shadow: none;
  border: none;
  background: transparent;
  flex: 0 0 auto;
}

.menu-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.menu-links a {
  color: #0b0674;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
}

.menu-links a:hover,
.menu-links .active {
  background: rgba(255, 255, 255, 0.58);
  color: #045a21;
}

.cta-button {
  background: linear-gradient(135deg, #176be0, #1d6fb9);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(23, 107, 224, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 107, 224, 0.4);
}

.hero {
  background:
    linear-gradient(135deg, rgba(13, 43, 95, 0.88), rgba(29, 111, 185, 0.78)),
    url("assets/images/live/hero-banner.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 24px 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0 0 18px;
  font-size: 0.98rem;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-image {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn,
.btn-secondary {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn {
  background: #176be0;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn:hover,
.btn-secondary:hover,
.hero-file-link:hover {
  transform: translateY(-2px);
}

.hero-file-link {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.hero-stats {
  display: grid;
  gap: 10px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 4px;
}

.hero-stat strong {
  color: #fff;
  font-size: 1rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.93rem;
}

.marquee {
  background: #112f62;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-section {
  background: linear-gradient(135deg, #e6f4ff, #f0f9ff);
  padding: 54px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(10, 58, 123, 0.15);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  height: 60px;
}

.stat-icon svg {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 2px 4px rgba(29, 111, 185, 0.1));
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary-2);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.marquee-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.95rem;
}

section {
  padding: 68px 24px;
}

.section-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--primary);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
  color: var(--muted);
}

.why-grid,
.services-grid,
.gallery-grid,
.testimonials-grid,
.info-grid,
.contact-grid,
.faq-grid {
  display: grid;
  gap: 22px;
}

.why-grid,
.services-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.classroom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.classroom-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.classroom-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(10, 58, 123, 0.15);
}

.classroom-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.faq-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card,
.service-card,
.testimonial,
.gallery-item,
.info-card,
.contact-card,
.split-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.testimonial,
.info-card,
.split-card {
  padding: 24px;
}

.feature-card h3,
.service-card h3,
.testimonial h3,
.info-card h3,
.split-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
}

.feature-card p,
.service-card p,
.testimonial p,
.info-card p,
.split-card p,
.contact-item {
  margin: 0;
  color: var(--muted);
}

.feature-visual {
  height: 190px;
  border-radius: 16px;
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
}

.feature-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #e6f4ff, #f0f9ff);
  border-radius: 16px;
}

.feature-icon svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 2px 4px rgba(29, 111, 185, 0.1));
}

.service-card .service-tag {
  display: inline-block;
  background: #e6f4ff;
  color: var(--primary);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  height: 240px;
  object-fit: cover;
  width: 100%;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d9e6f7;
}

.rating {
  color: #f0a500;
  letter-spacing: 0.18em;
  font-weight: 800;
  margin-top: 12px;
}

.page-banner {
  background: linear-gradient(135deg, rgba(13, 43, 95, 0.9), rgba(29, 111, 185, 0.82));
  color: #fff;
  padding: 78px 24px 48px;
}

.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-banner h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-banner p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-section {
  background: linear-gradient(180deg, #f7fbff, #edf5ff);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  padding: 34px;
}

.contact-card h2 {
  margin: 0 0 8px;
  color: var(--primary);
}

.contact-item {
  margin: 12px 0;
}

.contact-item strong {
  color: var(--text);
}

.form-row {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.field,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.submit-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-2);
  box-shadow: 0 8px 20px rgba(10, 58, 123, 0.1);
}

.faq-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  color: var(--primary-2);
  flex-shrink: 0;
}

.faq-item summary {
  font-weight: 700;
  color: var(--primary);
  padding: 8px 0;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '▼';
  font-size: 0.75rem;
  color: var(--primary-2);
  transition: transform 0.3s ease;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inquiry-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7187' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 36px;
}

footer {
  background: #0b234d;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-inner,
  .why-grid,
  .services-grid,
  .gallery-grid,
  .testimonials-grid,
  .info-grid,
  .contact-grid,
  .stats-grid,
  .classroom-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .menu-links {
    justify-content: center;
  }

  .hero-copy {
    text-align: center;
  }

  .cta-row {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
  }

  .brand {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .brand-badge {
    max-width: 130px;
    height: auto;
  }

  .menu-links {
    gap: 10px;
  }

  .menu-links a {
    width: 100%;
    text-align: center;
  }

  .hero-inner,
  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-secondary {
    text-align: center;
  }

  .hero-card,
  .contact-card,
  .feature-card,
  .service-card,
  .testimonial,
  .info-card,
  .split-card {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item img,
  .feature-visual {
    height: 180px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classroom-item img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .brand {
    flex-wrap: wrap;
  }
}
