/* -------- Base -------- */
:root{
  --bg:#0a0b10;
  --panel:#0e1018;
  --text:#e6e6e9;
  --muted:#9aa0aa;
/*  --brand:#6EF3A5;
  --brand-2:#3CCBFF; */
  --brand:#1A73E8;   /* Google blue / darker sky blue */
  --brand-2:#0066CC; /* deeper KW3-style blue */  
  --line:linear-gradient(90deg,var(--brand),var(--brand-2));
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.4);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(62,201,255,.15), transparent 60%),
			  radial-gradient(1000px 500px at 10% 110%, rgba(26,115,232,.12), transparent 60%),
           	  var(--bg);
  line-height:1.6;
}

/* Containers */
.container{
  width:min(1100px, 92vw);
  margin-inline:auto;
  padding-inline: 16px;
}

/* Header */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  backdrop-filter:saturate(150%) blur(10px);
  background:rgba(10,11,16,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); font-weight:700}
.brand-name{letter-spacing:.5px}
.logo {
  display: block;
  height: auto;
  max-height: 48px;   /* fits well in the header on desktops */
  width: auto;
  max-width: 20vw;    /* shrink proportionally on small screens */
  filter: drop-shadow(0 6px 14px rgba(60,203,255,.35));
}

.nav{display:flex; gap:22px}
.nav a{
  color:var(--text); text-decoration:none; font-weight:600; opacity:.9;
  padding:8px 10px; border-radius:10px;
}
.nav a:hover, .nav a:focus{ background:rgba(255,255,255,.06)}

/* Hero */
.hero{
  min-height:100vh;
  display:grid; place-items:center;
  padding-top:68px; /* header offset */
  position:relative;
  overflow:hidden;
}
.hero-inner{ text-align:center; padding-block:64px }
.title{
  font-size: clamp(2.2rem, 3.5vw + 1rem, 4rem);
  line-height:1.1;
  margin:0 0 10px;
  font-weight:800;
  letter-spacing:.3px;
}
.subtitle{
  margin:0 auto 28px;
  font-size: clamp(1rem, .9vw + .6rem, 1.25rem);
  color:var(--muted);
  max-width:850px;
}
.hero-cta{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap}
.btn-primary, .btn-outline{
  display:inline-block; text-decoration:none; font-weight:700;
  padding:12px 18px; border-radius:12px;
  border:1px solid transparent;
  box-shadow: var(--shadow);
}
.btn-primary{ background:var(--line); color:#0a0b10 }
.btn-outline{ background:transparent; color:var(--text); border-color:rgba(255,255,255,.2) }
.btn-outline:hover{ border-color:rgba(255,255,255,.35) }

.grid-bg{
  position:absolute; inset:-30% -10% -10% -10%;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  mask-image: radial-gradient(60% 50% at 50% 30%, rgba(0,0,0,.9) 20%, transparent 70%);
  pointer-events:none;
}

/* Sections */
.main{ counter-reset: section }
.section{
  min-height:100vh;
  display:flex; align-items:center;
  padding: 90px 0 60px;
}
.section h2{
  font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem);
  margin:0 0 12px;
}
.section p{ color:var(--muted) }
.bullets{ margin:0; padding-left:18px }
.bullets li{ margin:.4rem 0 }
.bullets code{ background:rgba(255,255,255,.08); padding:.2rem .45rem; border-radius:8px }

.cards{ display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-top:10px}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card h3{ margin-top:0 }

/* Vision section */
.vision-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.vision-text {
  flex: 1 1 50%;
}

.vision-text h2 {
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  margin-bottom: 20px;
}

.vision-text p {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem); /* much bigger */
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}

.vision-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.phone-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,.55));
}


.team{ display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:16px }
.member{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.member .role{ color:var(--brand-2); font-weight:700; margin-top:-4px }

.member-photo {
  width: auto;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.contact-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}

.contact-text { flex: 1 1 52% }
.contact-image { flex: 1 1 38%; display:flex; justify-content:center }

.divider{
  width:100%;
  height:2px;
  border:0;
  background: var(--line);
  opacity:.7;
}

/* Footer */
.footer{ padding: 30px 0; color:var(--muted); text-align:center }

/* Scroll snapping (one-by-one reveal between lines) */
.snap-section{
  scroll-snap-align:start;
  scroll-snap-stop:always;
  opacity:.1;
  transform:translateY(6px);
  transition:opacity .6s ease, transform .6s ease;
}
.snap-section.is-active{ opacity:1; transform:none }
html{ scroll-snap-type:y mandatory }

/* Responsive tweaks */
@media (max-width:900px){
  .nav{ display:none } /* keep header clean on small screens; CTA remains */
}

/* below header */
    z-index:2000;
    flex-direction:column; gap:6px; padding:12px;
    background:#0a0b10; /* solid dark */
    border-top:1px solid rgba(255,255,255,.08);

    /* hidden state */
    opacity:0; visibility:hidden; pointer-events:none;
    transform:translateY(-12px);
    transition:opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  
  .mobile-nav a:hover{
    background:rgba(255,255,255,.12);
  }
}

/* ===== Hamburger toggle (mobile only) ===== */


.menu-icon, .menu-icon::before, .menu-icon::after{
  content:""; display:block; height:2px; width:22px; background:var(--text, #fff);
  border-radius:2px; position:relative; transition:transform .25s ease, opacity .25s ease;
}
.menu-icon::before{ position:absolute; top:-6px; content:"" }
.menu-icon::after{ position:absolute; top:6px; content:"" }
.menu-open .menu-icon{ transform:rotate(45deg) }
.menu-open .menu-icon::before{ transform:rotate(90deg); top:0 }
.menu-open .menu-icon::after{ opacity:0 }

@media (max-width:900px){
  
  .nav{ display:none }
}

/* Hide desktop line menu entirely */
.nav{ display:none !important }

/* Hide hamburger entirely */
.menu-toggle{ display:none !important }


/* ===== Header CTA Button ===== */
.cta-button{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:40px; padding:0 16px;
  font-weight:800; letter-spacing:.2px; text-decoration:none;
  color:#fff;
  background:var(--line);
  border:0; border-radius:12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.cta-button:hover{ transform:translateY(-1px) }
.cta-button:active{ transform:translateY(0) }
.cta-button:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(26,115,232,.45), 0 6px 18px rgba(0,0,0,.25) }

@media (max-width:900px){
  .cta-button{ height:36px; padding:0 14px; font-weight:700 }
}


/* ===== Mobile visual fix: hide hero grid overlay to prevent dark band overlapping sections ===== */
@media (max-width:900px){
  .grid-bg{ display: none !important; }
}


/* ===== Mobile fix: disable snap/fade so sections aren't dimmed ===== */
@media (max-width:900px){
  html{ scroll-snap-type: none; }
  .snap-section{ opacity: 1 !important; transform: none !important; }
}
