:root {
  --primary: #003366;
  --secondary: #D4AF37;
  --light: #F5F7FA;
  --dark: #222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  overflow-x: hidden;
  color: var(--dark);
}

.top-bar {
  background: var(--secondary);
  color: #003366;
  font-size: 15px;
  font-weight: 600;
}

.top-bar a {
  color: #003366;
  text-decoration: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary) !important;
  font-size: 0.95rem;
}

.nav-link {
  font-weight: 600;
  margin-left: 8px;
}

.dropdown-menu {
  border: 0;
  border-radius: 12px;
  padding: 10px 0;
}

.dropdown-item {
  font-weight: 600;
  padding: 8px 18px;
}

.dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
}

.btn-gold {
  background: var(--secondary);
  color: #003366;
  font-weight: 700;
}

.btn-gold:hover {
  background: #c4a030;
  color: #003366;
}

.page-hero {
  background:
    linear-gradient(rgba(0, 51, 102, 0.82), rgba(0, 51, 102, 0.82)),
    url("../images/hero.jpg") center / cover no-repeat;
  color: #fff;
  padding: 90px 0 70px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-item.active {
  color: var(--secondary);
}

.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
}

.hero p {
  font-size: 20px;
}

.hero-btn {
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
}

.stats {
  background: #fff;
  margin-top: -70px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.stat-box {
  padding: 35px;
}

.stat-box h2 {
  font-size: 46px;
  font-weight: 800;
  color: var(--primary);
}

.stat-box p {
  font-weight: 600;
  color: #666;
}

.course-card {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.course-card h3,
.course-card h5 {
  color: var(--primary);
  font-weight: 700;
}

.fact-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.related-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.related-card a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

footer {
  background: #003366;
  color: #fff;
}

.float-fb,
.float-wa {
  position: fixed;
  right: 25px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 9999;
  border-radius: 50%;
}

.float-fb {
  bottom: 100px;
}

.float-wa {
  bottom: 25px;
  width: 65px;
  height: 65px;
  font-size: 28px;
}

@media (max-width: 991px) {
  .hero {
    text-align: center;
    height: auto;
    padding: 130px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .fact-box {
    position: static;
    margin-top: 24px;
  }

  .navbar-brand {
    font-size: 0.8rem;
    max-width: 220px;
  }
}
