/* ==========================================================
   Academio808 — Bootstrap 5 theme overrides
   ========================================================== */
:root{
  --ac-bg:#0e1628;          /* page background */
  --ac-surface:#050913;     /* deep cards */
  --ac-surface-2:#0f172a;   /* contact cards */
  --ac-border:#1c2538;
  --ac-primary:#6b7fe0;
  --ac-primary-hover:#5a6fd6;
  --ac-heading:#ffffff;
  --ac-text:#9aa3b5;
  --ac-text-soft:#c3c9d6;
  --ac-font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
html,body{background:var(--ac-bg);}
body{font-family:var(--ac-font);color:var(--ac-text);font-size:16px;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;}
main{flex:1 0 auto;}
a{color:var(--ac-primary);text-decoration:none;}
a:hover{color:#8b9bf0;}
h1,h2,h3,h4,h5{color:var(--ac-heading);font-weight:700;letter-spacing:-.02em;}
.container-ac{max-width:1280px;}

/* ---------- Navbar ---------- */
.ac-nav{background:var(--ac-bg);border-bottom:1px solid var(--ac-border);height:64px;position:sticky;top:0;z-index:1030;}
.ac-brand{display:flex;align-items:center;gap:8px;color:#fff;font-weight:800;font-size:20px;letter-spacing:-.02em;}
.ac-brand:hover{color:#fff;}
.ac-logo{width:32px;height:32px;border-radius:7px;background:var(--ac-primary);display:grid;place-items:center;}
.ac-logo svg{width:20px;height:20px;}
.ac-pill{margin-left:40px;padding:8px 20px;border:1px solid var(--ac-border);border-radius:999px;background:#111a2d;color:#a3abbd;font-size:14px;font-weight:500;}
.ac-pill:hover{color:#fff;}
.ac-nav-right{display:flex;align-items:center;gap:0;}
.ac-icon-btn{color:#cbd2df;background:none;border:0;padding:6px;margin-right:30px;line-height:0;}
.ac-icon-btn svg{width:16px;height:16px;}
.ac-link-sm{font-size:12px;font-weight:500;color:#a3abbd;margin-right:32px;}
.ac-link-sm:hover{color:#fff;}
.ac-login{font-size:12px;font-weight:600;color:#fff;margin-right:20px;}
.ac-login:hover{color:#dfe3ff;}
.btn-ac{background:var(--ac-primary);color:#fff;border:0;border-radius:999px;font-weight:600;}
.btn-ac:hover,.btn-ac:focus{background:var(--ac-primary-hover);color:#fff;}
.btn-ac-sm{font-size:12px;padding:8px 20px;}
.navbar-toggler{border-color:var(--ac-border);}
.navbar-toggler-icon{filter:invert(1);}
@media (max-width:991.98px){
  .ac-nav{height:auto;min-height:64px;}
  .ac-pill{margin-left:0;}
  .ac-mobile-menu{padding:12px 0 18px;display:flex;flex-direction:column;gap:14px;align-items:flex-start;}
  .ac-mobile-menu .ac-link-sm,.ac-mobile-menu .ac-login,.ac-mobile-menu .ac-icon-btn{margin:0;}
}

/* ---------- Footer ---------- */
.ac-footer{border-top:1px solid var(--ac-border);padding:52px 0 50px;}
.ac-footer-inner{max-width:1248px;margin:0 auto;padding:0 16px;}
.ac-footer-brand{color:var(--ac-primary);font-weight:800;font-size:20px;letter-spacing:-.02em;margin-bottom:4px;}
.ac-footer small{font-size:14px;color:var(--ac-text);}
.ac-footer-links{display:flex;flex-wrap:wrap;gap:32px;}
.ac-footer-links a{color:#a3abbd;font-size:14px;font-weight:500;}
.ac-footer-links a:hover{color:#fff;}

/* ---------- Legal pages ---------- */
.ac-page{padding:76px 0 80px;}
.ac-narrow{max-width:864px;margin:0 auto;}
.ac-page-title{font-size:52px;font-weight:800;letter-spacing:-.035em;margin-bottom:14px;}
.ac-updated{font-size:18px;color:var(--ac-text);margin-bottom:52px;}
.ac-doc{background:var(--ac-surface);border-radius:12px;padding:64px 40px 30px;}
.ac-doc h2{font-size:20px;font-weight:700;letter-spacing:-.015em;margin-bottom:16px;}
.ac-doc p{font-size:16px;line-height:1.65;margin-bottom:44px;}
.ac-doc strong{color:#c3c9d6;}

/* ---------- Section headings (About / Contact) ---------- */
.ac-hero-title{font-size:52px;font-weight:800;letter-spacing:-.035em;margin-bottom:22px;}
.ac-lead{font-size:20px;line-height:1.45;color:var(--ac-text);max-width:680px;margin:0 auto;}
.ac-h2{font-size:32px;font-weight:700;letter-spacing:-.025em;margin-bottom:24px;}
.ac-block{background:var(--ac-surface);border-radius:12px;padding:32px;}
.ac-block p{font-size:18px;line-height:1.65;margin:0;}

/* About offer cards */
.ac-offer{background:var(--ac-surface);border-radius:12px;padding:24px 24px 26px;height:100%;}
.ac-num{width:48px;height:48px;border-radius:9px;background:#151d36;color:var(--ac-primary);font-weight:700;font-size:20px;display:grid;place-items:center;margin-bottom:26px;}
.ac-offer h3{font-size:20px;font-weight:700;margin-bottom:10px;}
.ac-offer p{font-size:16px;line-height:1.65;margin:0;}
.ac-list{list-style:disc;padding-left:20px;margin:22px 0 0;}
.ac-list li{font-size:16px;color:var(--ac-text-soft);margin-bottom:16px;}
.ac-list li::marker{color:var(--ac-text);font-size:12px;}

/* Contact */
.ac-contact-card{background:var(--ac-surface-2);border:1px solid var(--ac-border);border-radius:12px;padding:32px 24px 34px;text-align:center;height:100%;}
.ac-contact-icon{width:64px;height:64px;border-radius:50%;background:#1a2440;display:grid;place-items:center;margin:0 auto 26px;color:var(--ac-primary);}
.ac-contact-icon svg{width:30px;height:30px;}
.ac-contact-card h3{font-size:24px;font-weight:700;margin-bottom:14px;}
.ac-contact-card p{font-size:16px;margin-bottom:22px;}
.ac-contact-card a{font-size:18px;font-weight:500;}
.ac-help{background:var(--ac-surface);border-radius:12px;padding:32px;}
.ac-help h2{font-size:24px;font-weight:700;display:flex;align-items:center;gap:10px;margin-bottom:22px;}
.ac-help h2 svg{width:24px;height:24px;color:var(--ac-primary);}
.ac-help > p{font-size:16px;line-height:1.65;margin-bottom:26px;}
.ac-cat{border:1px solid var(--ac-border);border-radius:8px;padding:16px 16px 16px 16px;display:flex;gap:14px;height:100%;}
.ac-cat-num{flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#1a2133;color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center;margin-top:1px;}
.ac-cat h4{font-size:16px;font-weight:600;margin:0 0 4px;color:#fff;letter-spacing:-.01em;}
.ac-cat p{font-size:14px;line-height:1.45;margin:0;}

/* ---------- Home ---------- */
.ac-hero{position:relative;min-height:1000px;display:flex;align-items:flex-start;justify-content:center;text-align:center;overflow:hidden;background:var(--ac-bg);isolation:isolate;}
/* Layer 1: the photo — large, slightly soft, faded out toward the bottom */
.ac-hero::before{content:"";position:absolute;inset:-24px;z-index:-2;
  background:url("../img/main-1.avif") center 30%/cover no-repeat;
  filter:blur(1.5px) saturate(.85) brightness(.9);
  transform:scale(1.04);
  opacity:.55;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 40%,rgba(0,0,0,.55) 65%,transparent 92%);
          mask-image:linear-gradient(180deg,#000 0%,#000 40%,rgba(0,0,0,.55) 65%,transparent 92%);}
/* Layer 2: navy tint + bottom fade into the page background */
.ac-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 52%,rgba(14,22,40,.55) 0%,transparent 70%),
    linear-gradient(180deg,rgba(14,22,40,.30) 0%,rgba(14,22,40,.50) 35%,rgba(14,22,40,.80) 70%,var(--ac-bg) 100%);}
.ac-hero-inner{padding-top:332px;position:relative;z-index:1;}
.ac-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border:1px solid rgba(107,127,224,.45);background:rgba(20,30,60,.55);border-radius:999px;color:var(--ac-primary);font-size:14px;font-weight:500;margin-bottom:32px;}
.ac-badge svg{width:16px;height:16px;}
.ac-display{font-size:72px;line-height:1;font-weight:800;letter-spacing:-.045em;margin-bottom:38px;}
.ac-display .ac-brand-word{color:var(--ac-primary);}
.ac-hero-sub{font-size:20px;line-height:1.4;color:#a9b1c2;max-width:600px;margin:0 auto 40px;}
.ac-btn-lg{padding:15px 32px;font-size:18px;font-weight:600;border-radius:999px;display:inline-flex;align-items:center;gap:12px;}
.ac-btn-lg svg{width:16px;height:16px;}
.btn-ac-ghost{background:rgba(5,9,19,.75);border:1px solid var(--ac-border);color:#fff;}
.btn-ac-ghost:hover{background:#0b1120;color:#fff;}
.btn-ac-dark{background:#1b2436;border:1px solid #1b2436;color:#fff;}
.btn-ac-dark:hover{background:#242f45;color:#fff;}
.ac-features{padding:110px 0 98px;}
.ac-feature{background:var(--ac-surface);border-radius:14px;padding:32px;height:100%;}
.ac-feature-icon{width:56px;height:56px;border-radius:9px;display:grid;place-items:center;margin-bottom:34px;}
.ac-feature-icon svg{width:26px;height:26px;}
.ac-feature h3{font-size:20px;font-weight:700;margin-bottom:14px;}
.ac-feature p{font-size:16px;line-height:1.65;margin:0;}
.fi-blue{background:#0f1a36;color:#3b6ff0;}
.fi-purple{background:#1b1030;color:#9b4dff;}
.fi-green{background:#06201b;color:#17b884;}

@media (max-width:991.98px){
  .ac-display{font-size:52px;}
  .ac-hero{min-height:760px;}
  .ac-hero-inner{padding-top:180px;}
}
@media (max-width:575.98px){
  .ac-display{font-size:40px;}
  .ac-page-title,.ac-hero-title{font-size:38px;}
  .ac-doc{padding:40px 22px 10px;}
  .ac-features{padding:60px 0;}
}
:focus-visible{outline:2px solid var(--ac-primary);outline-offset:2px;}
