:root {
  --primary-blue: #165a92;
  --primary-blue-dark: #0f416d;
  --accent-yellow: #ffc94a;
  --accent-yellow-dark: #f2b91f;
  --success-green: #00a676;
  --bg-light: #f4f7fb;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --card-border: #e5e7eb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

.navbar {
  background: var(--primary-blue);
  padding: 0.7rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.site-logo,
.logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.navbar-brand {
  font-size: 0.92rem;
  gap: 0.35rem;
}

.navbar-nav .nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.84rem;
  margin-left: 0.8rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--accent-yellow);
  transform: translateY(-1px);
}

.banner {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 3rem 1rem;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3') center/cover no-repeat;
}

.banner h1 {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.banner p,
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.banner p {
  color: #f3f4f6;
}

h2, h3, h5, h6 {
  font-weight: 700;
}

.btn-main {
  background: var(--accent-yellow);
  border: none;
  color: #111827;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.62rem 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-main:hover {
  background: var(--accent-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.card {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.card-img-top {
  height: 160px;
  object-fit: cover;
}

.level-card {
  min-height: 145px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

iframe {
  width: 100%;
  min-height: 140px;
  border: 0;
  border-radius: 6px;
}

.quick-access-section {
  margin-bottom: 1.5rem;
}

.quick-card {
  display: block;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.6rem 1.2rem;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  color: var(--text-dark);
}

.quick-icon {
  font-size: 2.6rem;
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
}

.quick-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.quick-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.progress-large {
  height: 18px;
}

.progress-0 { width: 0%; }
.progress-30 { width: 30%; }
.progress-50 { width: 50%; }
.progress-70 { width: 70%; }

.site-footer,
footer {
  margin-top: 3rem;
  background: var(--primary-blue-dark);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}

.site-footer p,
footer p {
  margin: 0;
}

@media (max-width: 991px) {
  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 0.7rem 0;
  }
}

@media (max-width: 767px) {
  .card-img-top {
    height: 190px;
  }

  .banner {
    min-height: 230px;
  }
}


html {
  scroll-behavior: smooth;
}

.navbar .dropdown-menu {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  padding: 0.4rem;
}

.navbar .dropdown-item {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--bg-light);
  color: var(--primary-blue);
}

.navbar-brand span {
  white-space: normal;
  line-height: 1.15;
}

.btn-main:focus,
.nav-link:focus,
.dropdown-item:focus,
.quick-card:focus {
  outline: 3px solid rgba(255, 201, 74, 0.55);
  outline-offset: 2px;
}
