:root {
  --bg:#0b1220;
  --bg-2:#0f1b33;
  --accent:#2ea8ff;
  --accent-2:#66d1ff;
  --text:#eaf2ff;
  --muted:#a7b7d9;
  --card:#121b2e;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial,Noto Sans,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 10% -10%, #17305a 0%, transparent 50%),
    radial-gradient(900px 700px at 110% 10%, #112446 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height:1.5;
}

/* DO NOT override Bootstrap .row globally. If it exists in your file, DELETE it.
   If you can’t, put this reset AFTER it to restore Bootstrap behavior. */
.row{
  display:flex;
  flex-wrap:wrap;
  margin-right:calc(-.5 * var(--bs-gutter-x, 1.5rem));
  margin-left:calc(-.5 * var(--bs-gutter-x, 1.5rem));
}

/* Header */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.2) blur(8px);
  background:rgba(11,18,32,.6);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* Optional: let Bootstrap handle .container widths (don’t override .container) */

/* Hero / Slideshow (unchanged) */
/* Hero / Slideshow */
.hero{ padding:28px 0 16px; }

.slideshow{
  position:relative;
  height:56vh; min-height:360px;
  border-radius:var(--radius);
  overflow:hidden;
  background:#091225;
  box-shadow:var(--shadow);
  outline:none;               /* for keyboard focus styling below */
}

.slide{
  position:absolute; inset:0;
  background-position:center;
  background-size:cover;
  opacity:0;
  transform:scale(1.04);
  transition:opacity .8s ease, transform 1.2s ease;
  z-index:0;
}
.slide.active{
  opacity:1;
  transform:scale(1);
}
.slide::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(6,12,24,0) 0%, rgba(6,12,24,.35) 55%, rgba(6,12,24,.85) 100%);
}

/* Overlay sits above slides but does not block arrows/dots */
.hero-overlay{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  padding:24px;
  pointer-events:none;   /* let clicks pass through */
  z-index:2;
}
.hero-overlay .btn,
.hero-overlay a { pointer-events:auto; }  /* re-enable on interactive content */

.hero-copy{ max-width:720px; }
.badge{
  display:inline-block;
  font-size:.78rem; letter-spacing:.3px;
  color:#001427;
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
  padding:6px 10px; border-radius:999px; font-weight:700;
}
h1{ margin:.6rem 0 .3rem; font-size:clamp(1.8rem, 3.4vw + 1rem, 3rem); line-height:1.1; }
.lead{ color:#d2def7; font-size:clamp(.98rem, .6vw + .7rem, 1.15rem); max-width:60ch; }
.cta-row{ margin-top:14px; display:flex; gap:12px; flex-wrap:wrap; }
.btn{ cursor:pointer; border:0; padding:12px 16px; border-radius:12px; font-weight:700; }
.btn-primary{ background:linear-gradient(120deg, var(--accent), var(--accent-2)); color:#001427; }
.btn-ghost{ background:rgba(255,255,255,.08); color:var(--text); }

/* Controls */
.ctrl{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; display:grid; place-items:center;
  border-radius:50%;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  z-index:3;                /* above overlay */
}
.ctrl:hover{ background:rgba(0,0,0,.5); }
.ctrl-left{ left:12px; }
.ctrl-right{ right:12px; }

/* Dots */
.dots{
  position:absolute; bottom:14px; left:0; right:0;
  display:flex; gap:8px; justify-content:center; align-items:center;
  z-index:3;                /* above overlay */
}
.dot{
  width:9px; height:9px; border-radius:50%;
  background:rgba(255,255,255,.5);
  border:1px solid rgba(255,255,255,.6);
  cursor:pointer;
}
.dot.active{ background:white; }

/* Accessibility / motion */
.slideshow:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
  .slide{ transition:none; }
}


/* Highlight cards */
.cards{ margin:26px 0 10px; display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:16px; }
.card{ background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.08); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow); }
.card h3{ margin:8px 0 6px; font-size:1.1rem; color:white }
.card p{ color:var(--muted); font-size:.95rem; margin:0; }

/* Sections */
section{ padding:64px 0; }
.section-title{ font-size:clamp(1.4rem, 1.4vw + 1rem, 2rem); margin:0 0 12px; }
.section-lead{ color:var(--muted); max-width:70ch; margin-bottom:26px; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:24px; align-items:start; }
form{ background:var(--card); border:1px solid rgba(255,255,255,.08); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); }
label{ display:block; margin:10px 0 6px; font-weight:600; }
input,textarea{ width:100%; padding:12px 12px; border-radius:12px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.03); color:var(--text); }
input::placeholder,textarea::placeholder{ color:#8da6cf; }
textarea{ min-height:140px; resize:vertical; }
.info{ background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.08); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); }
.info p{ margin:.5rem 0; color:var(--muted); }

/* Footer */
footer{ margin-top:40px; padding:24px 0 36px; border-top:1px solid rgba(255,255,255,.08); color:var(--muted); }
.foot-row{ display:flex; align-items:center; gap:10px; justify-content:space-between; flex-wrap:wrap; }

/* Sticky header spacing */
html{ scroll-padding-top:86px; }
header{ position:fixed; top:0; left:0; right:0; z-index:100; }
body{ padding-top:86px; }


/* About section styling */
#about .about-card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)), var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}
#about .about-pill{
  background:linear-gradient(120deg, var(--accent), var(--accent-2));
  color:#001427;
  font-weight:700;
  letter-spacing:.2px;
  margin-bottom:10px;
}
#about .text-accent{ color:var(--accent); }
#about .text-muted-acc{ color:var(--muted); }

/* Responsive tweaks */
@media (max-width: 900px){
  .contact-grid{ grid-template-columns:1fr; }
}


/* Contact section layout */
#contact .contact-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;            /* Ensures equal heights */
}

@media (min-width: 992px) {        /* Desktop: two columns */
  #contact .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

#contact .contact-grid > form,
#contact .contact-grid > .info {
  background: #0f2136;             /* on-brand dark card */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  color: #eaf2ff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;          /* so inner content stacks nicely */
  height: 100%;                    /* stretch to equal height */
}

/* Tweak form elements for dark card */
#contact label { color: #bcd3ff; margin-top: 10px; }
#contact input, #contact textarea {
  background: #0b1a2a;
  color: #eaf2ff;
  border: 1px solid rgba(255,255,255,0.15);
}
#contact input::placeholder, #contact textarea::placeholder { color: #94abd6; }

/* Info panel lists */
#contact .contact-list,
#contact .socials {
  list-style: none;
  padding: 0;
  margin: 0;
}

#contact .contact-list li,
#contact .socials li {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .6rem 0;
}

#contact .contact-list i, 
#contact .socials i {
  font-size: 1.1rem;
  color: #67b7ff;
}

#contact .socials a {
  color: #eaf2ff;
  text-decoration: none;
}

#contact .socials a:hover { text-decoration: underline; }
