:root{
  --brand-blue:#1F3A5F;
  --brand-grey:#B4B4B4;

  --bg:#0b0f14;
  --text:#e7eef7;
  --muted:#a9b6c6;
  --line:rgba(255,255,255,0.10);
  --accent:#6ea8fe;
  --accent2:#9ad5ff;
  --radius:18px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  line-height:1.55;
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(110,168,254,0.18), transparent 55%),
    radial-gradient(1000px 700px at 90% 20%, rgba(154,213,255,0.12), transparent 55%),
    var(--bg);
  position:relative;
}

/* Background image: fills screen (no side black columns), slight zoom */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;

  background-image:url("https://img1.wsimg.com/isteam/ip/45e27b22-a0ea-4daf-8831-52ea04014604/20251217_2107_Navy%20Tech%20Gradient_simple_compos.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;

  /* keep opacity as you liked */
  opacity:0.28;

  /* zoom a bit more to eliminate visible side gaps on some screens */
  transform: scale(1.06);
  transform-origin:center;

  filter:saturate(0.95) contrast(1.05);
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.small{font-size:14px}
.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

/* Focus styles */
:focus-visible{
  outline:3px solid rgba(31,58,95,0.85);
  outline-offset:3px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  border:1px solid var(--line);
  cursor:pointer;
  background:rgba(255,255,255,.04);
  color:var(--text);
}
.btn--primary{
  background: linear-gradient(135deg, rgba(110,168,254,0.95), rgba(154,213,255,0.85));
  color:#071018;
  border:0;
}
.btn--secondary{background:rgba(255,255,255,.05)}
.btn--ghost{background:rgba(0,0,0,.16)}
.btn--small{padding:9px 12px; border-radius:12px; font-size:13px}

/* CTA shine */
.btn--shine{
  position:relative;
  overflow:hidden;
}
.btn--shine::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:40%;
  height:180%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity:0;
}
.btn--shine:hover::after{
  animation: shine 0.85s ease;
  opacity:1;
}
@keyframes shine{
  from{ left:-60%; opacity:0; }
  25%{ opacity:0.65; }
  to{ left:140%; opacity:0; }
}

/* Header */
.header{
  position:sticky; top:0; z-index:30;
  background:rgba(11,15,20,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
  transition: padding .2s ease;
}
.header--shrink .header__inner{padding:10px 0}
.logo__img{height:150px; width:auto; display:block; transition: height .2s ease}
.header--shrink .logo__img{height:150px}

.navwrap{display:flex; align-items:center; gap:12px}
.nav__link{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(180,180,180,0.22);
  background:rgba(255,255,255,.03);
  color:rgba(231,238,247,.92);
  font-weight:850;
}
.nav__link:hover{background:rgba(255,255,255,.07)}

/* Dropdown menu */
.menu{position:relative}
.menu__btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  font-weight:800;
}
.menu__btn:hover{background:rgba(255,255,255,.08)}
.menu__panel{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width: 240px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(11,15,20,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  padding:8px;
  opacity:0;
  transform: translateY(6px);
  pointer-events:none;
  transition: opacity .15s ease, transform .15s ease;
}
.menu__panel--open{opacity:1; transform:none; pointer-events:auto}
.menu__panel a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  color:rgba(231,238,247,.90);
  font-size:14px;
}
.menu__panel a:hover{background:rgba(255,255,255,.06)}
.menu__panel a.is-active{
  background: rgba(31,58,95,0.30);
  border:1px solid rgba(31,58,95,0.55);
}
.menu__sep{height:1px; background:rgba(255,255,255,.10); margin:6px 0}

.nav__cta{
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(154,213,255,.35);
  background:rgba(154,213,255,.10);
  font-weight:900;
}
.nav__cta:hover{background:rgba(154,213,255,.14)}

/* Icon buttons & dots */
.icon-btn{
  width:38px; height:38px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-weight:900;
  font-size:18px;
  cursor:pointer;
}
.icon-btn:hover{background:rgba(255,255,255,.08)}
.dots{display:flex; gap:8px; flex-wrap:wrap}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.12);
  cursor:pointer;
}
.dot[aria-current="true"]{background:rgba(154,213,255,.95); border-color:rgba(154,213,255,.95)}

/* Sticky action bar */
.actionbar{
  position:fixed;
  left:0; right:0;
  z-index:25;
  pointer-events:none;
  opacity:0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.actionbar--show{
  pointer-events:auto;
  opacity:1;
  transform:none;
}
.actionbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  position:relative;
  flex-wrap:wrap;
}
.actionbar__inner::before{
  content:"";
  position:absolute;
  left:0; right:0;
  height:62px;
  transform: translateY(-10px);
  background:rgba(11,15,20,.72);
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  z-index:-1;
}
.actionbar__left{
  display:flex;
  gap:12px;
  align-items:center;
  min-width: 0;
}
.actionbar__brand{
  font-weight:950;
  letter-spacing:.2px;
  color: rgba(231,238,247,.90);
  display:none;
}
.actionbar__search{
  display:flex;
  gap:8px;
  align-items:center;
  border:1px solid rgba(180,180,180,0.18);
  background:rgba(0,0,0,.18);
  border-radius:16px;
  padding:8px;
  min-width: min(520px, 60vw);
}
.actionbar__search input{
  flex:1;
  border:0;
  background:transparent;
  color:var(--text);
  outline:none;
  font-size:14px;
  min-width: 0;
}
.actionbar__right{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Desktop placement */
@media (min-width: 781px){
  .actionbar{ top:64px; bottom:auto; }
  .actionbar__brand{display:block}
}

/* Mobile placement */
@media (max-width: 780px){
  .actionbar{
    bottom:0;
    top:auto;
    transform: translateY(10px);
  }
  .actionbar__inner{padding:10px 0 12px}
  .actionbar__inner::before{
    height:76px;
    transform: translateY(8px);
    border-top:1px solid rgba(255,255,255,.10);
    border-bottom:0;
  }
  .actionbar__search{min-width: 0; width: 100%}
  .actionbar__inner{
    flex-direction:column;
    align-items:stretch;
  }
  .actionbar__right{justify-content:space-between}
}

/* Hero */
.hero{position:relative; padding:66px 0 30px; overflow:hidden}
.hero__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.06);
  transition: background-image .6s ease;
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,15,20,.92) 0%, rgba(11,15,20,.65) 55%, rgba(11,15,20,.85) 100%),
              radial-gradient(900px 700px at 20% 30%, rgba(31,58,95,.18), transparent 60%);
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:22px;
  align-items:stretch;
}
h1{font-size:44px; line-height:1.1; margin:0 0 14px}
.lead{font-size:18px; color:var(--muted); margin:0 0 18px}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin:0 0 14px}
.hero__note{color:var(--muted); font-size:13px; margin:8px 0 0}
.hero__carousel-controls{display:flex; align-items:center; gap:12px; margin-top:14px}

.searchbox{
  display:flex; gap:10px; align-items:center;
  padding:10px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  margin:10px 0 0;
}
.searchbox input{
  flex:1;
  border:0;
  background:transparent;
  color:var(--text);
  outline:none;
  font-size:14px;
}

/* Stats */
.hero__stats{display:flex; align-items:stretch}
.statcard{
  width:100%;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
}
.statgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:10px}
.stat{background:rgba(0,0,0,.18); border:1px solid var(--line); border-radius:16px; padding:12px}
.stat__num{font-weight:950; font-size:22px}
.stat__label{color:var(--muted); font-size:12px}

/* Sections */
.section{padding:52px 0}
.section--alt{background:linear-gradient(180deg, transparent, rgba(255,255,255,.03), transparent)}
.section__head{margin-bottom:18px}
h2{margin:0 0 8px; font-size:28px}

/* Featured courses */
.course-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.course{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  min-height:320px;
  transform: translateZ(0);
  transition: transform .18s ease, border-color .18s ease;
}
.course:hover{border-color: rgba(154,213,255,.35); transform: translateY(-2px)}
.course__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  transform: scale(1.02);
  opacity: .90;
}
.course__shade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,14,20,.12) 0%, rgba(10,14,20,.78) 58%, rgba(10,14,20,.92) 100%);
}
.course__body{
  position:relative;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  height:100%;
}
.course h3{margin:0; font-size:16px}
.course__actions{margin-top:auto; display:flex; gap:10px; flex-wrap:wrap; padding-top:8px}

.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:rgba(231,238,247,.86);
}

/* Quick facts */
.facts{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:8px;
  margin-top:4px;
}
.fact{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.14);
  border-radius:14px;
  padding:8px 10px;
}
.fact__k{display:block; font-size:11px; color:rgba(180,180,180,.9)}
.fact__v{display:block; font-size:13px; font-weight:850; margin-top:2px}

.expand{
  margin-top:10px;
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:10px;
}
.course__meta{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap}
.like{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:800;
}
.like--active{border-color: rgba(154,213,255,.40)}
.enroll-count{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  border-radius:12px;
  padding:8px 10px;
  font-size:13px;
}
.course__video{
  width:100%;
  height:auto;
  margin-top:10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.2);
}
.placeholder-video{
  margin-top:10px;
  height:180px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  color:rgba(255,255,255,.55);
  display:flex; align-items:center; justify-content:center;
}

/* Tabs */
.tabs{margin-top:4px}
.tabs__bar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.tab{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.14);
  color:rgba(231,238,247,.9);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  cursor:pointer;
  font-weight:850;
}
.tab:hover{background:rgba(255,255,255,.06)}
.tab.is-active{
  border-color: rgba(154,213,255,.45);
  background: rgba(31,58,95,.25);
}
.pane{display:none}
.pane.is-active{display:block}

.list{
  margin:10px 0 0;
  padding-left:18px;
  color:rgba(231,238,247,.88);
}
.list li{margin:6px 0}

/* Toast */
.toast{
  position:absolute;
  left:16px;
  bottom:14px;
  transform: translateY(10px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(231,238,247,.95);
  border-radius:14px;
  padding:8px 10px;
  font-size:12px;
}
.toast--show{
  opacity:1;
  transform:none;
}

/* Partners */
.partners{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  gap:12px;
  align-items:center;
}
.partners__track{
  display:flex;
  gap:12px;
  overflow:auto;
  scroll-snap-type: x mandatory;
  padding:4px 4px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.partner-logo{
  flex: 0 0 calc((100% - 24px) / 3);
  height:72px;
  width:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  scroll-snap-align:start;
  object-fit:contain;
  padding:6px;
}

/* Video */
.video-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-wrap iframe,
.video-wrap video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.video-wrap video{
  object-fit: cover;
}

/* Testimonials */
.t-slider{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  gap:12px;
}
.t-slider__viewport{
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.t-track{
  display:flex;
  width:100%;
  transform: translateX(0);
  transition: transform .35s ease;
}
.t-slide{flex: 0 0 100%; padding:18px}
.t-row{display:flex; gap:12px; align-items:flex-start}
.avatar{
  width:46px; height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  object-fit:cover;
  flex: 0 0 auto;
}
.t-quote{font-size:18px; margin:0 0 10px}
.center{display:flex; justify-content:center; margin-top:18px}

/* FAQ */
.faq details{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px 16px;
  margin-bottom:10px;
}
.faq summary{cursor:pointer; font-weight:800}
.faq p{margin:10px 0 0; color:rgba(231,238,247,.86)}
.faq-more-btn{margin-top:6px}

/* FAQ controls + feedback */
.faq-controls{
  display:grid;
  gap:10px;
  margin-bottom:12px;
}
.faq-controls input{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:var(--text);
  padding:10px 12px;
  outline:none;
}
.faq-cats{display:flex; gap:8px; flex-wrap:wrap}
.faq-cat{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.16);
  color:rgba(231,238,247,.92);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  cursor:pointer;
  font-weight:850;
}
.faq-cat:hover{background:rgba(255,255,255,.06)}
.faq-cat.is-active{
  border-color: rgba(154,213,255,.45);
  background: rgba(31,58,95,.25);
}
.faq-feedback{
  margin-top:10px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.fb{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:800;
}
.fb:hover{background:rgba(255,255,255,.06)}
.fb-note{margin-left:auto}

/* Forms */
.panel{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}
.form-vert{display:grid; gap:12px}
.form-vert label{display:grid; gap:6px; font-size:14px; color:rgba(231,238,247,.9); font-weight:800}
.form-vert input, .form-vert textarea{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:var(--text);
  padding:10px 12px;
  outline:none;
}
.form-vert input:focus, .form-vert textarea:focus{border-color: rgba(31,58,95,0.65)}
.form-actions{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.form-status{color:rgba(231,238,247,.86); font-size:13px}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  background:rgba(0,0,0,.15);
}
.footer__inner{
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;
  align-items:flex-start;
}
.footer__logo{height:52px; width:auto; display:block; margin-bottom:8px}
.footer__links{display:flex; gap:14px; flex-wrap:wrap; color:var(--muted); font-size:14px}
.footer__links a{padding:8px 10px; border-radius:12px}
.footer__links a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.social{display:flex; gap:10px; margin-top:10px}
.social__btn{
  width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.social__btn:hover{background:rgba(255,255,255,.08)}
.social__btn svg{width:20px; height:20px; fill:rgba(231,238,247,.9)}

/* Reveal (refined directions) */
.reveal{opacity:0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease}
.reveal--in{opacity:1; transform:none}
.reveal--left{transform: translateX(-12px); }
.reveal--right{transform: translateX(12px); }
.reveal--left.reveal--in,
.reveal--right.reveal--in{transform:none}

/* Back-to-top */
.backtotop{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:40;
  width:46px;
  height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.22);
  color:rgba(231,238,247,.92);
  font-weight:950;
  cursor:pointer;
  display:grid;
  place-items:center;
  opacity:0;
  pointer-events:none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.backtotop--show{
  opacity:1;
  pointer-events:auto;
  transform:none;
}

/* Chatbot */
.chatbot{position:fixed; right:18px; bottom:18px; z-index:50}
.chatbot__fab{
  width:56px; height:56px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.22);
  cursor:pointer;
  display:grid; place-items:center;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.chatbot__fab img{width:30px; height:30px}
.chatbot__panel{
  position:absolute;
  right:0;
  bottom:70px;
  width:420px;
  max-width: calc(100vw - 36px);
  height:680px;
  max-height: calc(100vh - 120px);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(10,14,20,.92);
  overflow:hidden;
  transform: translateY(10px);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
}
.chatbot__panel--open{opacity:1; transform:none; pointer-events:auto}
.chatbot__header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.chatbot__title{font-weight:950}
.chatbot__close{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.chatbot__frame{width:100%; height:100%; border:0}

/* Chatbot nudge */
.chatbot-nudge{
  position:fixed;
  right:92px;
  bottom:26px;
  z-index:55;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(10,14,20,.86);
  backdrop-filter: blur(10px);
  border-radius:16px;
  padding:10px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  display:flex;
  gap:10px;
  align-items:center;
  max-width:min(360px, calc(100vw - 120px));
}
.chatbot-nudge__btn{
  border:1px solid rgba(154,213,255,.35);
  background:rgba(154,213,255,.10);
  color:rgba(231,238,247,.95);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:900;
}
.chatbot-nudge__btn:hover{background:rgba(154,213,255,.14)}

/* Responsive */
@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr}
  h1{font-size:36px}
  .course-grid{grid-template-columns:1fr}
  .partner-logo{flex: 0 0 75%}
  .facts{grid-template-columns:1fr}
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  html:focus-within{scroll-behavior:auto}
  .btn--shine::after{display:none !important;}
  .hero__bg{transform: none !important;}
  *{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
    scroll-behavior:auto !important;
  }
}
/* KEEP YOUR EXISTING styles.css EXACTLY AS-IS
   and ADD ONLY the block below at the END of the file. */

/* ------------------------------
   Local DB Search Results UI
   (Hero + Actionbar)
------------------------------ */

.search-results{
  margin-top:10px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,14,20,.88);
  border-radius:16px;
  overflow:hidden;
  display:none;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}

.search-results--bar{
  margin-top:8px;
  width: min(640px, 100%);
}

.search-item{
  display:flex;
  gap:12px;
  padding:12px 12px;
  border-top:1px solid rgba(255,255,255,.08);
  align-items:flex-start;
}

.search-item:first-child{border-top:0}

.search-item:hover,
.search-item.is-active{
  background: rgba(31,58,95,.22);
}

.search-item__main{flex:1; min-width:0}

.search-item__title{
  font-weight:900;
  font-size:14px;
  margin:0;
}

.search-item__meta{
  margin-top:6px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.tag{
  font-size:12px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(231,238,247,.88);
}

.search-item__actions{
  display:flex;
  gap:8px;
  align-items:center;
  flex:0 0 auto;
}

.search-link{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(154,213,255,.35);
  background: rgba(154,213,255,.10);
  font-weight:900;
}

.search-link:hover{background: rgba(154,213,255,.14)}

/* Ensure actionbar results stay aligned on small screens */
@media (max-width: 780px){
  .search-results--bar{width:100%;}
}



/* Footer social centered to avoid overlap with chatbot */
.social{width:100%; justify-content:center;}

.navwrap{flex-wrap:nowrap; white-space:nowrap;}

.brandwrap{display:flex; align-items:center; gap:10px;}
.infrachat-badge{width:44px; height:44px; border-radius:14px; border:1px solid rgba(180,180,180,0.22); background:rgba(255,255,255,.03); display:inline-flex; align-items:center; justify-content:center; cursor:pointer;}
.infrachat-badge:hover{background:rgba(255,255,255,.07)}
.infrachat-badge img{width:26px; height:26px; display:block}


/* Explore Domains */
.domain-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.domain{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  min-height:220px;
  transition: transform .18s ease, border-color .18s ease;
}
.domain:hover{border-color: rgba(154,213,255,.35); transform: translateY(-2px)}
.domain__bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
  opacity:.85;
}
.domain__shade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,14,20,.10) 0%, rgba(10,14,20,.76) 55%, rgba(10,14,20,.92) 100%);
}
.domain__body{
  position:relative;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  height:100%;
}
.domain__actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top:8px;
}

@media (max-width: 980px){
  .domain-grid{grid-template-columns:1fr}
}


/* Domain segments (transparent box) */
.domain__segments-box{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,14,20,.35);
  backdrop-filter: blur(0px);
  border-radius: 16px;
  padding: 10px 12px;
}
.domain__segments-title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(231,238,247,.92);
  margin-bottom: 6px;
}
.domain__segments{
  margin: 0;
  padding-left: 18px;
  color: rgba(231,238,247,.86);
  font-size: 13px;
  line-height: 1.45;
}
.domain__segments li{
  margin: 4px 0;
}

/* VOS logo sizing fix */ 
.logo{ display:flex; align-items:center; } .logo__img.vos-logo-box{ width:180px; height:105px; display:flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:28px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.03); box-sizing:border-box; transition:all .2s ease; } .vos-logo-img{ width:100%; height:auto; max-width:none; display:block; object-fit:contain; } .header--shrink .logo__img.vos-logo-box{ width:180px; height:105px; } .vos-footer-logo{ width:180px; height:auto; display:block; }