/* =========================================================
   Quake Technology – Global Theme
   ========================================================= */

:root{
  /* BRAND PALETTE */
  --brand-red:#801313;
  --dark-magenta:#801a86;
  --amber-earth:#e28413;
  --lavender-mist:#f8f1ff;
  --thistle:#decdf5;

  /* APP VARIABLES */
  --brand-dark:#0a1a2e;
  --brand-light:var(--lavender-mist);
  --cta:var(--amber-earth);

  --radius:18px;
  --shadow: 0 10px 25px rgba(0,0,0,.12);
  --shadow-soft: 0 8px 18px rgba(0,0,0,.10);

  --nav-h:72px;
}

/* =========================================================
   RESET + BASE
   ========================================================= */

*{ box-sizing:border-box; }

html, body{
  height:100%;
}

body{
  margin:0;
  font-family:"PT Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--brand-dark);
  background:var(--brand-light);
}

/* =========================================================
   NAVBAR – FULLY TRANSPARENT (see-through)
   ========================================================= */

.bg-brand-red{
  background-color: rgba(0, 0, 0, 0) !important; /* fully transparent */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* When scrolled – subtle dark tint appears */
.navbar.scrolled {
  background-color: rgba(80, 10, 10, 0.82) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar{
  z-index: 1035;
  transition: background-color 0.35s ease;
}

.brand-logo{
  letter-spacing:.3px;
  font-weight:700;
}

.navbar-dark .navbar-nav .nav-link{
  color:rgba(255,255,255,.88);
}
.navbar-dark .navbar-nav .nav-link:hover{
  color:#fff;
}
.navbar-dark .navbar-nav .nav-link.active{
  color:#fff;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:6px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-cta{
  background:var(--cta)!important;
  border-color:var(--cta)!important;
  color:#1a1206!important;
  font-weight:700;
}
.btn-cta:hover{
  filter:brightness(.95);
}

.btn-soft{
  background:var(--thistle)!important;
  border-color:var(--thistle)!important;
  color:#2b1635!important;
  font-weight:700;
}
.btn-soft:hover{
  filter:brightness(.97);
}

.btn-outline-light{
  border-color:rgba(222,205,245,.95)!important;
  color:#fff!important;
}
.btn-outline-light:hover{
  background:rgba(222,205,245,.18)!important;
  border-color:var(--thistle)!important;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section-pad{
  padding:70px 0;
}

.section-title{
  max-width:720px;
}

.section-muted{
  background:rgba(222,205,245,.35);
  border-radius:var(--radius);
}

/* =========================================================
   PAGE HERO WITH VIDEO BANNER
   ========================================================= */

.page-hero-video {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #000;
}

.page-hero-video__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.page-hero-video__media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  display: block;
  pointer-events: none;
}

.page-hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,26,46,.70), rgba(128,19,19,.40));
  z-index: 1;
}

.page-hero-video__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 50px;
}

/* =========================================================
   HERO VIDEO – TRUE FULL SCREEN (homepage main hero)
   ========================================================= */

.hero-video{
  position:relative;
  width:100%;
  height:100vh;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  background:#000;
}

.hero-video__media{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:0;
}

.hero-video__media iframe{
  position:absolute;
  top:50%;
  left:50%;
  width:177.77vh;
  height:100vh;
  min-width:100vw;
  min-height:56.25vw;
  transform:translate(-50%, -50%);
  border:0;
  display:block;
  pointer-events:none;
}

.hero-video__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(10,26,46,.55),
    rgba(128,19,19,.25)
  );
  z-index:1;
}

.hero-video__content{
  position:relative;
  z-index:2;
  width:100%;
  padding-top: calc(var(--nav-h) + 38px);
  padding-bottom: 72px;
}

.text-white-75{
  color:rgba(255,255,255,.78)!important;
}

/* =========================================================
   PAGE HERO (static gradient fallback)
   ========================================================= */

.page-hero{
  background:
    linear-gradient(135deg, rgba(10,26,46,.65), rgba(10,26,46,.25)),
    linear-gradient(90deg, var(--brand-red), var(--dark-magenta));
  padding-top: var(--nav-h);
}

/* =========================================================
   AI CLASS BANNER SECTION
   ========================================================= */

.ai-class-banner {
  background: linear-gradient(135deg, #6b0000 0%, #801313 35%, #a01a1a 60%, #5a0d5a 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.ai-class-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(226,132,19,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(128,26,134,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 80%, rgba(255,255,255,.05) 0%, transparent 50%);
  z-index: 0;
}

.ai-class-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.02) 60px,
      rgba(255,255,255,.02) 61px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.02) 60px,
      rgba(255,255,255,.02) 61px
    );
  z-index: 0;
}

.ai-class-banner .container {
  position: relative;
  z-index: 1;
}

/* Video preview box */
.ai-class-video-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 5/7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 3px rgba(226,132,19,.6),
    0 0 0 6px rgba(226,132,19,.2),
    0 35px 60px rgba(0,0,0,.55);
  margin: 0 auto;
  background: #000;
}

.ai-class-video-frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.ai-class-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(226,132,19,.22);
  border: 1px solid rgba(226,132,19,.5);
  color: #f0a830;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ai-class-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.ai-class-title span {
  background: linear-gradient(90deg, #e28413, #f5c842);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-class-sub {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 460px;
}

.ai-class-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.ai-class-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.ai-class-perk i {
  color: #e28413;
  font-size: 14px;
}

.ai-class-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
}

.ai-class-price {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.ai-class-price-sub {
  color: rgba(255,255,255,.6);
  font-size: 0.95rem;
}

.ai-class-form {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.ai-class-form .form-control {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
}

.ai-class-form .form-control::placeholder {
  color: rgba(255,255,255,.45);
}

.ai-class-form .form-control:focus {
  background: rgba(255,255,255,.15);
  border-color: rgba(226,132,19,.7);
  box-shadow: 0 0 0 3px rgba(226,132,19,.18);
  color: #fff;
}

.btn-class-enroll {
  background: linear-gradient(135deg, #e28413, #f5c842) !important;
  border: none !important;
  color: #1a0e00 !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  box-shadow: 0 6px 24px rgba(226,132,19,.45);
}

.btn-class-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(226,132,19,.55);
  filter: brightness(1.05);
}

.ai-class-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  margin-top: 14px;
}

.ai-class-guarantee i {
  color: #4caf7a;
  font-size: 14px;
}

/* =========================================================
   CARDS
   ========================================================= */

.card{
  border-radius:var(--radius)!important;
}

.card.border-0.shadow-sm{
  box-shadow:0 14px 30px rgba(10,26,46,.12)!important;
}

.service-card img{
  height:220px;
  object-fit:cover;
}

.icon-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  background:rgba(226,132,19,.18);
  color:var(--amber-earth);
  font-size:18px;
}

.feature-card{
  background:#fff;
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow-soft);
  height:100%;
}

.feature-icon{
  width:46px;
  height:46px;
  border-radius:14px;
  background:rgba(128,26,134,.14);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
  font-size:20px;
}

.service-tile{
  background:#fff;
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.tile-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:rgba(128,19,19,.15);
  color:var(--brand-red);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  margin-bottom:10px;
}

/* =========================================================
   CTA BAND
   ========================================================= */

.cta-band{
  background:#fff;
}

/* =========================================================
   FOOTER – SOLID DARK CHERRY RED
   ========================================================= */

.footer{
  background-color: var(--brand-red) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.footer.text-white{
  color: #fff;
}

.footer .text-white-75{
  color: rgba(255,255,255,.78) !important;
}

.footer-link{
  color: rgba(255,255,255,.86);
  text-decoration: none;
}
.footer-link:hover{
  color: #ffffff;
  text-decoration: underline;
}

.footer .social-link{
  color: rgba(255,255,255,.9);
  font-size: 22px;
}
.footer .social-link:hover{
  color: #ffffff;
}

/* =========================================================
   ESTIMATOR
   ========================================================= */

.estimate-box{
  background:rgba(222,205,245,.35);
  border-radius:var(--radius);
  padding:18px;
}

.estimate-value{
  font-weight:700;
  font-size:28px;
  color:var(--brand-dark);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(128,19,19,.15);
  color:var(--brand-red);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

/* =========================================================
   LEGAL
   ========================================================= */

.legal-text p{
  line-height:1.75;
}

/* =========================================================
   AI CHAT WIDGET
   ========================================================= */

.chat-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:999px;
  border:none;
  background:var(--brand-red);
  color:#fff;
  box-shadow:var(--shadow);
  z-index:1050;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}
.chat-fab:hover{ filter:brightness(.95); }

.chat-header{
  background:var(--brand-red);
}

.chat-messages{
  background:#f7f7fb;
  overflow-y:auto;
}

.chat-bubble{
  max-width:85%;
  padding:10px 12px;
  border-radius:14px;
  margin-bottom:10px;
  font-size:15px;
  line-height:1.35;
}

.chat-bubble.user{
  margin-left:auto;
  background:rgba(226,132,19,.25);
}

.chat-bubble.bot{
  margin-right:auto;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}
