@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --accent: #e94e00;
  --accent2: #ffa225;
  --white: #ffffff;
  --blue-bg: #0b3168;
  --gray-text: #666;

  --bg: #0b3a77;
  --bg2: #0f4c9a;
  --bg3: #0b2f63;
  --card: #0c3f85;
  --ink: #0a2647;
  --muted: #ffffff;
  --muted-ink: #2f5aa6;
  --chip: #133e7f;
  --ring: rgba(255, 255, 255, 0.18);
  --shadow: 0 8px 30px rgba(13, 29, 74, 0.35);


  --font44: 44px;
  --font36: 36px;
  --spacing60: 60px;
  --spacing30: 30px;
}

@media (max-width:1400px) {
  :root {
    --font44: 40px;
    --font36: 30px;
    --spacing60: 45px;
  }
}

@media (max-width:1024px) {
  :root {
    --font44: 36px;
    --font36: 28px;
    --spacing60: 35px;
  }
}

@media (max-width:480px) {
  :root {
    --font44: 30px;
    --font36: 26px;
    --spacing60: 30px;
  }
}



* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: #fff;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
textarea,
input:focus,
textarea:focus {
  outline: 0;
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background-color: var(--blue-bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  letter-spacing: 0.3px;
}

.brand .logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.brand .logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand div span {
  font-size: 26px;
  letter-spacing: 1px;
  color: #fff;
}

.brand div small {
  font-size: 14px;
  font-weight: normal;
  opacity: 1;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  padding: 10px 10px;
  border-radius: 999px;
  color: #fff;
  opacity: 0.95;
}

.nav a:hover {
  color: var(--accent2);
}

.nav a.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(0deg, var(--accent), var(--accent2));
  color: #111;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(0);
  transition: transform 0.2s ease;
  color: var(--white);
  text-transform: uppercase;
}

.nav a.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, var(--accent2), var(--accent));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(0);
  transition: transform 0.2s ease;
  color: var(--white);
  font-size: 16px;
  text-transform: capitalize;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.hero {
  padding: var(--spacing60) 0;
  background: radial-gradient(at 20% 0%, var(--bg2), transparent 60%),
    radial-gradient(1200px 800px at 80% -20%, #0a56c0, transparent 60%),
    linear-gradient(180deg, #092d60, #0b3168 60%, #0a2a58);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.badges {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--white);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 15px;
}

h1 {
  font-size: var(--font44);
  line-height: 1.06;
  margin: 0 0 14px;
  line-height: 1.2;
}

.lead {
  color: var(--white);
  max-width: 680px;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
}

.chip {
  background: var(--chip);
  border: 1px solid var(--white);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
}

section#benefits {
  background: var(--blue-bg);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  background: linear-gradient(180deg, #0b3f87, #072e62);
  border: 1px solid var(--ring);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-card {
  padding: 16px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input {
  background: #fff;
  border: 1px solid #c9dbff;
  border-radius: 12px;
  padding: 12px 14px;
  color: #0a2a58;
}

.input::placeholder {
  color: #999;
}

.select {
  appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill=%22%230a2a58%22 d=%22M7 10l5 5 5-5z%22/></svg>") no-repeat right 10px center/18px;
  border: 1px solid #c9dbff;
  border-radius: 12px;
  padding: 12px 36px 12px 14px;
  color: #0a2a58;
}

.textarea {
    grid-column: 1/-1;
    min-height: 110px;
    background: #fff;
    border: 1px solid #c9dbff;
    border-radius: 12px;
    padding: 12px 14px;
    color: #0a2a58;
    font-family: "Inter", sans-serif;
}

textarea::placeholder,
input::placeholder {
  color: var(--bg) !important;
  font-weight:400;
}

button#submitBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(0deg, var(--accent), var(--accent2));
    color: #111;
    padding: 12px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(0);
    transition: transform 0.2s ease;
    color: var(--white);
    font-size: 16px;
    text-transform: capitalize;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    transition:all 0.5s ease;
}
button#submitBtn:hover {
    background: #0b3168;
    color: #ffa225;
    transition: all 0.5s ease;
    cursor: pointer;
}
.check-form-group {
    display: flex;
    gap:5px;
}
.consent {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 8px 0 4px;
}

.consent label {
  font-size: 14px;
}

.consent input {
    width: 18px;
    height: 18px;
    accent-color: #eb5303;
}

.note {
  font-size: 12px;
  margin-top: 20px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.section {
  padding: var(--spacing60) 0;
}

.section.alt {
  background: #f7faff;
  color: var(--ink);
}

section#mission,
section#testimonials {
  background: var(--blue-bg);
  padding: var(--spacing60) 0 !important;
}

section#mission {
  background: #fffef6;
}

section#testimonials h3.title {
  color: #fff !important;
}

section#mission .tile {
  border: 2px dashed #ffe18a;
  background: #fff;
  transition: all 0.5s ease;
}

.form-group input {
  width: 100%;
}
section#benefits .grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.section .title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font36);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--spacing30);
  justify-content: center;
  text-transform:capitalize;
}

.section.alt .title {
  color: var(--ink);
}

section#how h3.title {
  color: var(--ink);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tile {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 20px;
  color: var(--bg);
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
}



.tile:hover {
  background-color: var(--blue-bg) !important;
  transition: all 0.5s ease;
  color: #fff;
}

section#mission .tile:hover {
  background: #ffe18a !important;
  transition: all 0.5s ease;
}

section#mission .tile:hover h4 {
  color: var(--bg);
  transition: all 0.5s ease;
}

section#mission .tile:hover .small {
  color: var(--bg);
  transition: all 0.5s ease;
}

.invalid-feedback strong {
  font-size: 12px;
  color: red;
}

section {
  scroll-margin-top: 90px;
}

.tile h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--bg);
  border-bottom: 0;
  padding-bottom: 0;
  transition: all 0.5s ease;
  line-height: 1.4;
  text-transform: capitalize;
}


.tile:hover h4 {
  color: #fff;
  border-bottom: 0;
  transition: all 0.5s ease;
}

.small {
  color: #b9cffc;
}

.tile .small {
  color: var(--gray-text);
}

.tile:hover .small {
  color: #fff;
  transition: all 0.5s ease;
}

section#testimonials .tile .small {
  margin-top: 10px;
}

section#testimonials .tile .small {
  margin-top: 10px;
  border-top: 1px solid var(--bg);
  padding-top: 10px;
  transition: all 0.5s ease;
  font-weight: bold;
  color: var(--bg);
}

.tile em {
  color: var(--gray-text);
}

.tile:hover em {
  color: #fff;
}

section#testimonials .tile:hover:hover .small {
  border-top: 1px solid #fff;
  transition: all 0.5s ease;
  color: #fff;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--ring);
  background: #081f46;
  color: #fff;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

#how .tile h4 {
  font-size: 16px;
}

#how .tile .small {
  font-size: 14px;
}

.container.copyright {
  text-align: center;
  border-top: 1px solid #fff;
  padding-top: 20px;
}

.footer ul {
  padding-left: 0;
}

.footer ul li {
  list-style: none;
  margin-bottom: 10px;
}

.footer ul li:last-child {
  margin-bottom: 0;
}

.footer .legal-card {
  border-right: 1px solid #fff;
  padding-right: 15px;
  margin-bottom: 0px;
}

.footer .legal-card strong,
.contact-card strong {
  font-size: 18px;
  border-bottom: 1px solid #fff;
  display: block;
  padding-bottom: 10px;
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  background: rgba(7, 20, 48, 0.75);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--ring);
  padding: 10px 0;
  z-index: 30;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 20px;
  color: #08204c;
  box-shadow: 0 10px 24px rgba(8, 10, 30, 0.2);
}

.store-btn img {
  width: 18px;
  height: 18px;
}



.text-danger {
  color: #ff2a2a !important;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* --- Added for requested mobile header + form stacking --- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ring);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
  color: #fff;
}

.mobile-menu {
  display: none;
  position: absolute;
  right: 20px;
  top: 66px;
  background: rgba(6, 23, 62, 0.98);
  border: 1px solid var(--ring);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 200px;
}

.mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}

.mobile-menu a:hover {
  background: #0f418a;
}


.submit-status {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  background: #06173e;
  color: #fff;
  padding: 10px 14px;
  border: 1px solid var(--ring);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
  font-weight: 600;
}

/* --- Enhancements: mobile spacing, form sizing, store label, validation --- */
.app-prefer {
  display: block;

  margin: 8px 0 6px 0;
  opacity: 0.95;
}



/* Keep inputs from triggering iOS zoom and reduce perceived size */
input.input,
select.select,
textarea {
  font-size: 16px;
}

/* Constrain form width to fit between phone borders */
.form-grid {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Validation styles */
.input-error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.error-text {
  color: #ffb3b3;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.error-text.show {
  display: block;
}

/* Status bar already defined earlier; ensure high z-index */
.submit-status {
  z-index: 9999;
}

/* === Customizable validation theme === */
:root {
  --error-color: #ff6b6b;
  --error-bg: rgba(255, 107, 107, 0.08);
  --error-ring: rgba(255, 107, 107, 0.35);
  --error-text: #ffb3b3;
}

.input-error {
  border-color: var(--error-color) !important;
  background: var(--error-bg);
  box-shadow: 0 0 0 2px var(--error-ring);
}

.error-text {
  color: var(--error-text);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.error-text.show {
  display: block;
}

.form-grid {
  max-width: 100%;
}
section#courses .grid-4 {
    grid-template-columns: repeat(3, 1fr);
}

/* responsive */

@media (max-width:1400px) {
  .tile {
    padding: 15px;
  }

  .footer {
    padding: 20px 0;
  }
}


@media (max-width:1200px) {

  .grid-4,
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  section#courses .grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

  .footer .legal-card:nth-child(2) {
    border: 0;
  }

  .brand div span {
    font-size: 18px;
  }

  .brand div small {
    font-size: 12px;
    opacity: 1;
  }

  .nav a {
    font-size: 14px;
    padding: 5px 5px;
  }
}


@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav .btn {
    margin-left: 6px;
  }

  .nav .desktop {
    display: none;
  }
}

@media (max-width: 767px) {

  .grid-4 {
    grid-template-columns: 1fr;
  }

  section#benefits .grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

  .legal-grid {
    grid-template-columns: 1fr;
  }
section#courses .grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

}


@media (max-width: 767px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav .btn {
    margin-left: 6px;
  }

  .footer .legal-card {
    padding-right: 0;
    margin-bottom: 0px;
    border: 0;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    margin-top: 6px;
    margin-bottom: 10px;
  }

  .hero .lead {
    margin-top: 6px;
  }

  .brand .logo {
    width: 40px;
    height: 40px;
  }

  .brand div span {
    font-size: 14px;
  }
}


@media (max-width:480px) {
  .container {
    padding: 0 15px;
  }

  .form-actions {
    margin-top: 20px;
    flex-direction: column;
  }

  button#submitBtn,
  .btn-secondary {
    justify-content: center;
  }

  .note {
    font-size: 11px;
    margin-top: 15px;
  }

  .badge {
    padding: 10px;
    font-size: 14px;
  }

  .tile h4 {
    margin: 0 0 5px;
    font-size: 16px;
  }

  .footer .legal-card strong,
  .contact-card strong {
    font-size: 16px;
  }

  .tile .small {
    font-size: 14px;
  }

  .container.copyright {
    padding-top: 15px;
    font-size: 12px;
  }
  .nav a.btn {
    padding: 10px 15px; 
    font-size: 14px;
}
.header-inner {
    height: 60px;
}
.hero-grid {
    display: flex;
    flex-direction: column-reverse;
}
}