/* ============================================================
   BASE.CSS — Sage Titans  v1.0
   Replaces: main-eng.css (Bootstrap 4 foundation layer)
   Loads on: EVERY PAGE — keep lean, no page-specific rules
   ============================================================ */
/* sora-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/sora-v17-latin-regular.woff2') format('woff2');
  size-adjust: 97%;
  ascent-override: 105%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* sora-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/sora-v17-latin-500.woff2') format('woff2');
  size-adjust: 97%;
  ascent-override: 105%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* sora-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/sora-v17-latin-600.woff2') format('woff2');
  size-adjust: 97%;
  ascent-override: 105%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* sora-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/sora-v17-latin-700.woff2') format('woff2');
  size-adjust: 97%;
  ascent-override: 105%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --brand-color:         #29abe2;
  --brand-color-inverse: #ffffff;
  --bg-gray:             #f4f5fa;
  --bg-white:            #fff;
  --bg-white-inverse:    #000;
  --border-color:        #ced9e2;
  --brand-primary:       #207DE9;
  --brand-primary-soft:  #eef4ff;
}

/* ── RESETS ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

article, footer, header, main, nav, section { display: block; }

body {
  margin: 0;
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0,0,0,0.87);
  background-color: #fff;
  /* Critical: prevents horizontal scroll on mobile */
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
p   { margin-top: 0; margin-bottom: 1rem; }
ol, ul, dl { margin-top: 0; margin-bottom: 1rem; }
ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; }
b, strong { font-weight: bolder; }
small     { font-size: 80%; }

a { color: #29abe2; text-decoration: none; background-color: transparent; }
a:hover { color: #177da8; text-decoration: underline; }

img { vertical-align: middle; border-style: none; max-width: 100%; height: auto; }
svg { overflow: hidden; vertical-align: middle; }

table { border-collapse: collapse; }
th    { text-align: inherit; }
label { display: inline-block; margin-bottom: .5rem; }

button        { border-radius: 0; }
button:focus  { outline: 1px dotted; outline: 5px auto -webkit-focus-ring-color; }

input, button, select, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button, input  { overflow: visible; }
button, select { text-transform: none; }
select         { word-wrap: normal; }

button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button:not(:disabled), [type="button"]:not(:disabled),
[type="reset"]:not(:disabled), [type="submit"]:not(:disabled) { cursor: pointer; }

textarea { overflow: auto; resize: vertical; }

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"]  { outline-offset: -2px; -webkit-appearance: none; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; }
[hidden] { display: none !important; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left:  15px;
  margin-right:  auto;
  margin-left:   auto;
  max-width:     1382px;
}
@media (min-width: 576px)  { .container { max-width: 540px;  } }
@media (min-width: 768px)  { .container { max-width: 720px;  } }
@media (min-width: 992px)  { .container { max-width: 960px;  } }
@media (min-width: 1200px) { .container { max-width: 1350px; } }

/* ── GRID ── */
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }

.col,
.col-md-5, .col-md-6, .col-md-8, .col-md-9, .col-md-10,
.col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-10, .col-lg-11 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left:  15px;
}

.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.order-1 { order: 1; }
.order-2 { order: 2; }

@media (min-width: 768px) {
  .col-md-5  { flex: 0 0 41.66667%; max-width: 41.66667%; }
  .col-md-6  { flex: 0 0 50%;       max-width: 50%;       }
  .col-md-8  { flex: 0 0 66.66667%; max-width: 66.66667%; }
  .col-md-9  { flex: 0 0 75%;       max-width: 75%;       }
  .col-md-10 { flex: 0 0 83.33333%; max-width: 83.33333%; }
  .order-md-1 { order: 1; }
  .order-md-2 { order: 2; }
}

@media (min-width: 992px) {
  .col-lg-4  { flex: 0 0 33.33333%; max-width: 33.33333%; }
  .col-lg-5  { flex: 0 0 41.66667%; max-width: 41.66667%; }
  .col-lg-6  { flex: 0 0 50%;       max-width: 50%;       }
  .col-lg-7  { flex: 0 0 58.33333%; max-width: 58.33333%; }
  .col-lg-8  { flex: 0 0 66.66667%; max-width: 66.66667%; }
  .col-lg-10 { flex: 0 0 83.33333%; max-width: 83.33333%; }
  .col-lg-11 { flex: 0 0 91.66667%; max-width: 91.66667%; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-weight: 600;
  color: rgba(0,0,0,0.87);
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 50px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out,
              border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.btn:hover   { color: rgba(0,0,0,0.87); text-decoration: none; }
.btn:focus   { outline: 0; box-shadow: 0 0 0 .2rem rgba(41,171,226,0.25); }
.btn.disabled, .btn:disabled { opacity: .65; }

.btn-primary { color: #fff; background-color: #29abe2; border-color: #29abe2; }
.btn-primary:hover { color: #fff; background-color: #1b96c9; border-color: #1a8dbe; }
.btn-primary:focus { box-shadow: 0 0 0 .2rem rgba(73,184,230,0.5); }
.btn-primary:not(:disabled):not(.disabled):active { color: #fff; background-color: #1a8dbe; }

.btn-brand   { color: #131313; background: #29abe2; }
.btn-brand:is(.active) { background-color: #11395e; color: #fff; }

.btn-wide    { padding-left: 2rem; padding-right: 2rem; }
.btn-sm      { padding: .25rem .5rem; font-size: .875rem; line-height: 1.5; border-radius: .2rem; }

.btn-outline-brand {
  background-color: transparent;
  color: #29abe2;
  border-color: #29abe2;
  border-width: 2px;
}
.btn-outline-brand:hover { border-color: #29abe2; background: #29abe2; color: #131313; }

.btn-arrows { display: inline-flex; align-items: center; }
.btn-arrows .svg { width: 1rem; height: 1rem; margin-left: 10px; fill: currentColor; }
.btn-submit { padding: 1rem 2.5rem; font-weight: 600; }

/* ── FORMS ── */
.form-group  { margin-bottom: 1rem; }

.field {
  display: block;
  width: 100%;
  padding: .5rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(0,0,0,0.87);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  margin-bottom: .5rem;
}
.field:focus { border-color: #80bdff; outline: 0; box-shadow: 0 0 0 .2rem rgba(0,123,255,.25); }

.label { font-weight: 500; margin-bottom: .35rem; display: block; }
.textarea { height: auto; }

.packages_required_field { color: #dc3545; margin-left: 2px; font-size: 14px; }

.invalid-feedback { display: none; width: 100%; margin-top: .25rem; font-size: 80%; color: #dc3545; }

.error { display: block; font-size: 13px; color: #dc3545; margin-top: 4px; }

.form-loader { display: inline-block; vertical-align: middle; margin-left: 10px; width: 24px; height: 24px; }

/* ── ALERTS ── */
.alert { position: relative; padding: .75rem 1.25rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: .25rem; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-danger  { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }

/* ── MODAL ── */
.modal-open        { overflow: hidden; }
.modal-open .modal { overflow-x: hidden; overflow-y: auto; }

.modal {
  position: fixed; top: 0; left: 0;
  z-index: 1050; display: none;
  width: 100%; height: 100%;
  overflow: hidden; outline: 0;
}

.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1040;
}

.modal-dialog { position: relative; width: auto; margin: .5rem; pointer-events: none; }
.modal.fade  .modal-dialog { transition: transform .3s ease-out; transform: translate(0,-50px); }
.modal.show  .modal-dialog { transform: none; }

.modal-content {
  position: relative; display: flex; flex-direction: column; width: 100%;
  pointer-events: auto; background-color: #fff; background-clip: padding-box;
  border: 1px solid rgba(0,0,0,0.2); border-radius: .3rem; outline: 0;
}

.modal-backdrop      { position: fixed; top: 0; left: 0; z-index: 1040; width: 100vw; height: 100vh; background-color: #000; }
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: .5; }

.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1rem; border-bottom: 1px solid var(--border-color);
}
.modal-title { margin-bottom: 0; line-height: 1.5; }
.modal-body  { position: relative; flex: 1 1 auto; padding: 1rem; }

.close-btn {
  background: transparent; border: none;
  font-size: 1.5rem; font-weight: 700; line-height: 1;
  color: #000; cursor: pointer; opacity: .5; padding: 0;
}
.close-btn:hover { opacity: .75; }

@media (min-width: 576px) { .modal-dialog { max-width: 500px; margin: 1.75rem auto; } }

/* ── COLLAPSE / FADE ── */
.collapse:not(.show) { display: none; }
.collapsing { position: relative; height: 0; overflow: hidden; transition: height .35s ease; }
.fade           { transition: opacity .15s linear; }
.fade:not(.show){ opacity: 0; }
.show           { display: block !important; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  max-width: 1000px; margin: 0 auto; text-align: left; padding: 1rem;
  position: fixed; bottom: -460px; z-index: 25;
  transition: bottom .3s ease; background: #fff;
  border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.cookie-banner.active  { bottom: 25px; left: 0; right: 0; }
.cookie-banner-inner   { display: flex; justify-content: space-between; margin: 0 auto; }
.cookie-banner .cookie-content-wrapper { display: flex; max-width: 960px; position: relative; margin: 0 auto; }
.cookie-banner .cookie-text-wrapper    { display: flex; justify-content: space-between; width: 100%; }
.cookie-banner p     { font-size: 14px; line-height: 19px; margin: 0; max-width: 85%; }
.cookie-banner .cookie-link { text-decoration: underline; }
@media only screen and (max-width: 480px) {
  .cookie-banner        { border-radius: 0; padding: 30px; left: 0; max-width: 100%; }
  .cookie-banner.active { left: 0; bottom: 0; }
}

/* ── SHARED CTA BUTTONS ── */
.raq-cta-btn {
  background-color: #caef45; border: none; color: #121212;
  padding: 10px 25px; text-align: center; text-decoration: none;
  display: inline-block; border-radius: 50px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease;
}
.raq-cta-btn:hover { background-color: #aedd05; color: #000; text-decoration: none; }

.growth-cta-btn {
  background-color: #caef45; color: #121212;
  padding: 10px 25px; text-align: center; text-decoration: none;
  display: inline-block; border-radius: 50px;
  font-size: 16px; font-weight: 600;
  transition: background-color .2s ease;
}
.growth-cta-btn:hover { background-color: #aedd05; color: #000; text-decoration: none; }

.arw-btn-wht {
  background-color: #fff; color: #121212;
  padding: 10px 25px; text-align: center; text-decoration: none;
  display: inline-flex; align-items: center; border-radius: 50px;
  margin-right: 10px; font-size: 16px; font-weight: 500;
  border: 1px solid #e0e0e0; transition: background-color .2s ease, color .2s ease;
}
.arw-btn-wht svg { margin-top: -1px; width: 16px; height: 14px; vertical-align: middle; margin-left: 9px; transition: fill .2s ease; }
.arw-btn-wht:hover     { background-color: #121212; color: #fff; text-decoration: none; }
.arw-btn-wht:hover svg { fill: #fff; }

.ic-fx-arrow-right::after { content: " →"; font-style: normal; }

/* ── IMAGE UTILITIES ── */
.img-fluid      { max-width: 100%; height: auto; }
.img-responsive { max-width: 100%; height: auto; display: block; }

/* ── UTILITY CLASSES ── */
.text-center             { text-align: center; }
.justify-content-center  { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center      { align-items: center; }
.flex-wrap               { flex-wrap: wrap; }
.sticky-top  { position: sticky; top: 0; z-index: 1020; }
.fixed-top   { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
.visible     { visibility: visible; }
.invisible   { visibility: hidden; }

/* Spacing */
.mt-3  { margin-top:    1rem !important; }
.mt-4  { margin-top:    1.5rem !important; }
.mt-5  { margin-top:    3rem !important; }
.mt-8  { margin-top:    4rem !important; }
.mt-10 { margin-top:    5rem !important; }
.mb-4  { margin-bottom: 1.5rem !important; }
.mb-5  { margin-bottom: 3rem !important; }
.mb-6  { margin-bottom: 3.5rem !important; }
.mb-8  { margin-bottom: 4rem !important; }
.my-8  { margin-top: 4rem !important; margin-bottom: 4rem !important; }
.pt-5  { padding-top: 3rem !important; }
.py-3  { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5  { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-0   { padding: 0 !important; }
.px-4  { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.p-0   { padding: 0 !important; }

/* Background utilities */
.bg-light { background-color: #f4f5fa !important; }
.bg-core  { background-color: #f4f5fa !important; }
