/* RR Academy production foundations: final shared layer for public pages. */
:root {
  --rr-navy: #081225;
  --rr-navy-2: #10264b;
  --rr-blue: #1e40af;
  --rr-blue-dark: #17348f;
  --rr-lime: #dcfd7d;
  --rr-ink: #0f172a;
  --rr-muted: #526277;
  --rr-surface: #f7f9fc;
  --rr-border: #d8e1ee;
  --rr-radius: 14px;
  --rr-shadow: 0 12px 32px rgba(8, 18, 37, 0.08);
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--rr-muted);
  background: var(--rr-surface);
}
body,
button,
input,
select,
textarea {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--rr-ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  
  letter-spacing: -0.025em;
}
img {
  height: auto;
}
.header {
  min-height: 78px;
  background: var(--rr-navy);
  box-shadow: 0 4px 18px rgba(8, 18, 37, 0.14);
}
.header .container,
.header .navbar {
  min-height: 78px;
}
.header .navbar-brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.header .logo img {
  width: auto;
  height: 42px;
  object-fit: contain;
}
.header .navbar-nav {
  align-items: center;
  gap: 4px;
}
.header .navbar-nav .nav-item a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
}
.header .navbar-nav .nav-item a:hover,
.header .navbar-nav .active > a {
  color: var(--rr-navy);
  background: var(--rr-lime);
}
.header .navbar-nav .nav-item.nav-login a {
  color: var(--rr-navy);
  background: #fff;
}
.header .navbar-nav .nav-item.nav-login a:hover,
.header .navbar-nav .nav-item.nav-login.active a {
  color: var(--rr-navy);
  background: var(--rr-lime);
}
.header .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  padding: 8px;
}
.header .navbar-toggler:focus-visible {
  outline: 3px solid var(--rr-lime);
  outline-offset: 3px;
}
.primary_btn,
.secondary_btn,
.submit_now,
.back_home,
.package-cta,
.why-btn,
.btn-primary,
button[type="submit"] {
  min-height: 46px;
  border-radius: 10px;
  font-weight: 700;
}
.btn-primary,
.primary_btn,
.submit_now {
  background: var(--rr-blue);
  border-color: var(--rr-blue);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus-visible,
.primary_btn:hover,
.primary_btn:focus-visible,
.submit_now:hover,
.submit_now:focus-visible {
  background: var(--rr-blue-dark);
  border-color: var(--rr-blue-dark);
}
.form-control,
.form-select,
input.form_style,
select.form_style,
textarea.form_style {
  min-height: 48px;
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  color: var(--rr-ink);
  background: #fff;
}
.form-control:focus,
.form-select:focus,
input.form_style:focus,
select.form_style:focus,
textarea.form_style:focus {
  border-color: var(--rr-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.16);
}
:is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(30, 64, 175, 0.45);
  outline-offset: 2px;
}
.card,
.course-box,
.service-card,
.why-card,
.trust-feature-card,
.pricing-card,
.package-card,
.detail-card,
.contact-card,
.faq-note-card,
.registration-card,
.director-message-card,
.contact-form-card,
.subjects-card,
.blog-card {
  border-color: var(--rr-border);
  border-radius: var(--rr-radius);
  box-shadow: var(--rr-shadow);
}
.footer-con {
  background: var(--rr-navy);
}
.footer-card {
  border-radius: 0;
}
.skip-link {
  z-index: 2000;
}
@media (max-width: 991.98px) {
  .header .navbar-collapse {
    padding: 12px 0 16px;
  }
  .header .navbar-nav {
    align-items: stretch;
  }
  .header .navbar-nav .nav-item a {
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .header,
  .header .container,
  .header .navbar {
    min-height: 70px;
  }
  .header .logo img {
    height: 36px;
  }
  .container {
    width: min(100% - 32px, 680px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
