:root {
  --primary-color: #1d4ed8;
  --heading-color: #0b1b3a;
  --body-color: #465369;
  --bg-soft: #f4f7ff;
  --card-border: #dbe5ff;
  --accent: #0f766e;
  --bs-primary: var(--primary-color);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--body-color);
  background-color: #ffffff;
}

.navbar {
  backdrop-filter: saturate(150%) blur(10px);
}

.site-navbar {
  background-color: rgba(255, 255, 255, 0.96);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
}

.brand-badge {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: #f47b45;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand-text {
  color: var(--heading-color);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.brand-dot {
  color: var(--primary-color);
}

.site-navbar .nav-link {
  color: #23395b;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
}

.site-navbar .nav-link.active {
  color: #f47b45;
}

.nav-login-link {
  color: #102a56;
}

.btn-start-learning {
  background-color: #f47b45;
  color: #ffffff;
  border-radius: 0.7rem;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
}

.btn-start-learning:hover {
  background-color: #e6672d;
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}

.hero-section {
  background: linear-gradient(120deg, #eaf2ff 0%, #ffffff 58%, #effcf9 100%);
}

.hero-card {
  background-color: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
}

.feature-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5ecff;
}

.feature-item:last-child {
  border-bottom: 0;
}

.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
}

.dashboard-body {
  background-color: var(--bg-soft);
}

.form-control:focus {
  border-color: #8fb2ff;
  box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.16);
}

.professional-card {
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.professional-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(11, 27, 58, 0.12);
}

.section-kicker {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.image-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.home-hero-image {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  box-shadow: 0 1rem 2rem rgba(11, 27, 58, 0.12);
}

.about-feature {
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  background-color: #ffffff;
  padding: 1.25rem;
}

.about-stat {
  border-radius: 0.75rem;
  background: #f8faff;
  border: 1px solid #e3eafe;
  padding: 1rem;
  text-align: center;
}

.about-stat strong {
  color: var(--heading-color);
  font-size: 1.3rem;
  display: block;
}

.site-footer {
  background-color: #0c1f43;
  color: #d5def3;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-brand:hover {
  color: #ffffff;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-link {
  display: inline-block;
  color: #d5def3;
  text-decoration: none;
  margin-bottom: 0.55rem;
}

.footer-link:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-badge {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.6rem;
  border: 1px solid #365187;
  color: #dce6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.social-badge:hover {
  background-color: #17366d;
  color: #ffffff;
}

.footer-newsletter .form-control {
  background-color: #0f2a5a;
  border-color: #365187;
  color: #ffffff;
}

.footer-newsletter .form-control::placeholder {
  color: #b8c7e8;
}

.footer-newsletter .form-control:focus {
  border-color: #6f97ef;
}

.footer-divider {
  border-color: #2a4477;
}

.courses-hero {
  background-color: #fffaf2;
  border-bottom: 1px solid #f1e9da;
}

.courses-hero-title {
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.courses-hero-title em {
  font-style: italic;
}

.course-filter-pill {
  appearance: none;
  border: 1px solid #d8e0ee;
  color: #4c6185;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 500;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.course-filter-pill.active {
  background-color: #11294e;
  color: #ffffff;
  border-color: #11294e;
}

.course-card {
  border: 1px solid #d7e0ef;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #ffffff;
  height: 100%;
}

.course-card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.course-card-body {
  padding: 1.25rem 1.25rem 1.1rem;
}

.course-tag {
  color: #f47b45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.course-title {
  font-size: 2rem;
  max-width: 18ch;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.course-meta {
  border-top: 1px solid #dbe4f3;
  padding-top: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #627189;
}

.course-meta strong {
  margin-left: auto;
  color: #132b52;
  font-size: 1.1rem;
}

.course-link {
  color: #122d57;
  text-decoration: none;
  font-weight: 700;
}

.course-link:hover {
  color: #0f2342;
}

.contact-intro-panel {
  background-color: #1d426d;
  border-radius: 1rem;
  color: #e2eeff;
  padding: 2.2rem;
}

.contact-intro-panel h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.02em;
}

.contact-intro-text {
  color: #b8cae5;
  max-width: 34ch;
  font-size: 1.22rem;
}

.contact-info-stack {
  display: grid;
  gap: 1.25rem;
}

.contact-info-stack h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
}

.contact-info-stack p {
  color: #b8cae5;
  font-size: 1.1rem;
}

.contact-form-card {
  border: 1px solid #dde5f2;
  border-radius: 1rem;
  background: #ffffff;
  padding: 2.2rem;
}

.contact-form-card h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

@media (max-width: 576px) {
  .auth-card {
    padding: 1.5rem;
  }

  .image-cover {
    height: 200px;
  }

  .contact-intro-panel,
  .contact-form-card {
    padding: 1.4rem;
  }

  .course-card-image {
    height: 170px;
  }
}
