:root {
  --brand-primary: #1f4b99;
  --brand-secondary: #e9f1ff;
  --text-dark: #1b1f2a;
  --text-muted: #5c6470;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #f6f7fb;
}

.page-main {
  min-height: 70vh;
}

.site-header .navbar-brand span {
  letter-spacing: 0.2px;
}

.navbar .nav-link.active {
  font-weight: 600;
  color: var(--brand-primary);
}

.hero {
  background: linear-gradient(115deg, rgba(16, 32, 66, 0.85), rgba(31, 75, 153, 0.6)),
    url("../images/bg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 6rem 0 5rem;
}

.hero .hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero .hero-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.hero .hero-card li {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 680px;
}

.section-spacing {
  padding: 4.5rem 0;
}

.course-card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(26, 38, 60, 0.08);
  overflow: hidden;
  height: 100%;
}

.course-card img {
  height: 220px;
  object-fit: cover;
}

.course-card .card-body {
  padding: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(26, 38, 60, 0.08);
}

.cta-section {
  background: var(--brand-secondary);
  border-radius: 24px;
  padding: 2.5rem;
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(26, 38, 60, 0.08);
  padding: 2rem;
}

.form-control,
.form-select {
  border-radius: 12px;
}

.site-footer .footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer .footer-link:hover {
  color: #fff;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(26, 38, 60, 0.08);
}

.gallery-card img {
  height: 220px;
  object-fit: cover;
}

.privacy-content h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.privacy-content p,
.privacy-content li,
.privacy-content div {
  color: var(--text-muted);
  line-height: 1.7;
}

.privacy-content a {
  color: var(--brand-primary);
}

.admin-shell {
  min-height: 100vh;
  background: #f5f7fb;
}

.admin-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(26, 38, 60, 0.08);
}

.admin-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .hero {
    padding: 4.5rem 0 4rem;
  }
}
