/* ===================================================
   WALUFUNO BUILDING CONSTRUCTION — style.css
   =================================================== */

:root {
  --navy:  #060C1F;
  --navy2: #0B1530;
  --navy3: #101E40;
  --blue1: #1A4A9C;
  --blue2: #2563EB;
  --blue3: #3B9EF5;
  --blue4: #7EC8F8;
  --steel: #1E3A6E;
  --white: #F0F6FF;
  --muted: #7A9CC0;
  --dim:   #3A5A80;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ── PARTICLES & CURSOR ─────────────────────────── */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.6; }
.cursor-glow {
  position: fixed; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none; z-index: 1;
  transform: translate(-50%,-50%);
  transition: left 0.15s, top 0.15s;
}

/* ── NAV ────────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  padding: 0 6%; height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,12,31,0.65);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(59,158,245,0.08);
  transition: all 0.4s;
}
nav.scrolled {
  background: rgba(6,12,31,0.97);
  border-bottom-color: rgba(59,158,245,0.18);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

/* Logo + brand name side-by-side */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo img {
  height: 54px; width: auto;
  filter: drop-shadow(0 0 14px rgba(59,158,245,0.45));
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue3), var(--blue4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.7rem; letter-spacing: 2.5px;
  text-transform: uppercase; font-weight: 600;
  transition: color 0.3s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--blue3); transition: width 0.35s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-btn {
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff; padding: 10px 26px;
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700; text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.nav-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue2), var(--blue3));
  opacity: 0; transition: opacity 0.3s;
}
.nav-btn:hover::after { opacity: 1; }
.nav-btn span { position: relative; z-index: 1; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--blue3); }

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  padding: 100px 6% 180px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.22) saturate(0.6);
  animation: bgZoom 28s ease-in-out infinite alternate;
}
@keyframes bgZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(115deg, rgba(6,12,31,0.97) 38%, rgba(6,12,31,0.55) 100%),
    linear-gradient(to top, rgba(6,12,31,1) 0%, transparent 45%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(59,158,245,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,158,245,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
}
.hero-content { position: relative; z-index: 2; max-width: 740px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(59,158,245,0.22);
  padding: 7px 18px; margin-bottom: 28px;
  animation: fadeUp 0.8s both;
}
.eyebrow .dot {
  width: 7px; height: 7px; background: var(--blue3);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(59,158,245,0.5); }
  50%      { opacity: 0.3; box-shadow: 0 0 0 7px rgba(59,158,245,0); }
}
.eyebrow span { font-size: 0.63rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue3); font-weight: 600; }

.hero-logo { animation: fadeUp 0.9s 0.1s both; margin-bottom: 24px; }
.hero-logo img {
  height: 115px; width: auto;
  filter: drop-shadow(0 0 36px rgba(59,158,245,0.55)) drop-shadow(0 0 80px rgba(37,99,235,0.3));
}

.hero-tag {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 2.3vw, 1.55rem);
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
  animation: fadeUp 0.9s 0.2s both; font-weight: 400;
}
.hero-desc {
  font-size: 0.97rem; line-height: 1.95;
  color: var(--muted); max-width: 520px;
  margin-bottom: 44px; font-weight: 300;
  animation: fadeUp 0.9s 0.3s both;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.9s 0.4s both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }

/* Stats Bar */
.stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(11,21,48,0.88);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(59,158,245,0.1);
  padding: 28px 6%;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.hstat {
  display: flex; align-items: center; gap: 18px;
  padding-left: 22px; border-left: 1px solid rgba(59,158,245,0.12);
}
.hstat:first-child { border-left: none; padding-left: 0; }
.hstat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem;
  background: linear-gradient(135deg, var(--blue3), var(--blue4));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hstat small { display: block; font-size: 0.58rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hstat strong { display: block; font-size: 0.82rem; color: var(--white); font-weight: 500; }

/* ── BUTTONS ────────────────────────────────────── */
.btn-g {
  position: relative; padding: 15px 38px;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff; font-size: 0.73rem; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 700;
  text-decoration: none; display: inline-block;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all 0.3s; overflow: hidden;
}
.btn-g::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue2), var(--blue3));
  opacity: 0; transition: opacity 0.3s;
}
.btn-g:hover { transform: translateY(-3px); box-shadow: 0 14px 45px rgba(37,99,235,0.55); }
.btn-g:hover::before { opacity: 1; }
.btn-g span { position: relative; z-index: 1; }

.btn-o {
  padding: 15px 38px;
  border: 1px solid rgba(59,158,245,0.3);
  color: var(--blue3); font-size: 0.73rem; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 700;
  text-decoration: none; display: inline-block;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: all 0.3s;
}
.btn-o:hover { background: rgba(59,158,245,0.07); border-color: var(--blue3); color: #fff; transform: translateY(-3px); }

/* ── TICKER ─────────────────────────────────────── */
.ticker-wrap {
  background: var(--navy2);
  border-top: 1px solid rgba(59,158,245,0.06);
  border-bottom: 1px solid rgba(59,158,245,0.06);
  padding: 16px 0; overflow: hidden; position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--navy2), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--navy2), transparent); }
.ticker { display: flex; width: max-content; animation: tick 32s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ti {
  display: flex; align-items: center; gap: 10px;
  padding: 0 44px; white-space: nowrap;
  font-size: 0.68rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.ti .d { width: 4px; height: 4px; background: var(--blue3); border-radius: 50%; }
.ti strong { color: var(--blue3); }

/* ── SECTION SHARED ─────────────────────────────── */
section { padding: 110px 6%; position: relative; z-index: 2; }

.stag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.6rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--blue3); font-weight: 700; margin-bottom: 16px;
}
.stag::before { content: ''; width: 26px; height: 1px; background: var(--blue3); }
.stitle {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1; letter-spacing: 1px; font-weight: 700; text-transform: uppercase;
}
.stitle em { font-style: normal; color: var(--blue3); }

/* ── ABOUT ──────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p, #about p {
  color: var(--muted); line-height: 1.95; font-size: 0.93rem;
  font-weight: 300; margin-bottom: 18px;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pill {
  border: 1px solid rgba(59,158,245,0.18);
  background: rgba(37,99,235,0.05);
  padding: 8px 18px; font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue4); font-weight: 600;
  transition: all 0.3s; cursor: default;
}
.pill:hover { background: rgba(37,99,235,0.14); border-color: rgba(59,158,245,0.45); color: #fff; }

.about-visual { position: relative; }
.about-img-wrap { overflow: hidden; box-shadow: 0 32px 90px rgba(0,0,0,0.55); position: relative; }
.about-img-wrap img { width: 100%; height: 490px; object-fit: cover; display: block; filter: brightness(0.85); transition: transform 0.8s; }
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,12,31,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.img2 {
  position: absolute; bottom: -28px; left: -28px;
  width: 215px; height: 235px; object-fit: cover;
  filter: brightness(0.82); border: 3px solid var(--navy);
  box-shadow: 0 20px 55px rgba(0,0,0,0.55);
}
.cert-badge {
  position: absolute; top: 24px; right: -20px;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  padding: 26px 22px; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 12px 45px rgba(37,99,235,0.45);
}
.cert-badge .big { font-family: 'Bebas Neue', sans-serif; font-size: 3.2rem; line-height: 1; display: block; color: #fff; }
.cert-badge .sm  { font-size: 0.56rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.65); }

/* ── SERVICES ───────────────────────────────────── */
.svc-section { background: var(--navy2); }
.svc-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,158,245,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,158,245,0.018) 1px, transparent 1px);
  background-size: 50px 50px;
}
.svc-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(59,158,245,0.07); }

.svc-card {
  background: var(--navy2); padding: 46px 36px;
  position: relative; overflow: hidden; transition: all 0.4s;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue1), var(--blue3));
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s;
}
.svc-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(37,99,235,0.07) 0%, transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.svc-card:hover { background: rgba(11,21,52,0.95); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after  { opacity: 1; }
.svc-num { font-family: 'Bebas Neue', sans-serif; font-size: 5.5rem; color: rgba(59,158,245,0.05); line-height: 1; margin-bottom: 4px; transition: color 0.4s; }
.svc-card:hover .svc-num { color: rgba(59,158,245,0.12); }
.svc-icon {
  width: 50px; height: 50px; background: rgba(37,99,235,0.1);
  border: 1px solid rgba(59,158,245,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px; transition: all 0.3s;
}
.svc-card:hover .svc-icon { background: rgba(37,99,235,0.2); border-color: rgba(59,158,245,0.4); box-shadow: 0 0 25px rgba(37,99,235,0.35); }
.svc-title { font-family: 'Oswald', sans-serif; font-size: 1.05rem; letter-spacing: 2px; text-transform: uppercase; color: var(--white); font-weight: 600; margin-bottom: 14px; }
.svc-desc { font-size: 0.82rem; line-height: 1.85; color: var(--muted); font-weight: 300; }

/* ── PROJECTS ───────────────────────────────────── */
.proj-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 290px 290px 290px;
  gap: 3px;
  max-width: 100%;
  overflow: hidden;
}
.pc { position: relative; overflow: hidden; cursor: pointer; background: var(--navy3); }
.pc img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s ease, filter 0.5s; filter: brightness(0.65) saturate(0.75); }
.pc:hover img { transform: scale(1.12); filter: brightness(0.45) saturate(1.1); }
.po {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,12,31,0.92) 0%, transparent 55%);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.ptag  { font-size: 0.58rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue3); font-weight: 700; margin-bottom: 6px; }
.ptitle { font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; }
.pline { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue2), var(--blue3)); transform: scaleX(0); transform-origin: left; transition: transform 0.55s; }
.pc:hover .pline { transform: scaleX(1); }

/* Row 1 */
.pc:nth-child(1) { grid-column: 1 / 8;  grid-row: 1 / 2; }
.pc:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 2; }
/* Row 2 */
.pc:nth-child(3) { grid-column: 1 / 5;  grid-row: 2 / 3; }
.pc:nth-child(4) { grid-column: 5 / 9;  grid-row: 2 / 3; }
.pc:nth-child(5) { grid-column: 9 / 13; grid-row: 2 / 3; }
/* Row 3 */
.pc:nth-child(6) { grid-column: 1 / 7;  grid-row: 3 / 4; }
.pc:nth-child(7) { grid-column: 7 / 13; grid-row: 3 / 4; }

/* ── VIDEO SECTION ──────────────────────────────── */
.video-section {
  background: var(--navy2);
  padding: 90px 6%;
  position: relative; z-index: 2;
}
.video-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,158,245,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,158,245,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}
.video-inner { position: relative; z-index: 1; }
.video-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(59,158,245,0.15);
  box-shadow: 0 32px 90px rgba(0,0,0,0.6);
  overflow: hidden;
}
.video-wrap video {
  width: 100%; display: block;
  background: var(--navy3);
}
.video-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(6,12,31,0.85);
  backdrop-filter: blur(12px);
  padding: 14px 22px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.72rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  border-top: 1px solid rgba(59,158,245,0.1);
  pointer-events: none;
}
.vid-play-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: #fff;
  flex-shrink: 0;
}

/* ── WHY US ─────────────────────────────────────── */
.why-section { background: var(--navy2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap { position: relative; }
.why-img-wrap img { width: 100%; height: 510px; object-fit: cover; filter: brightness(0.78); box-shadow: 0 32px 80px rgba(0,0,0,0.55); }
.why-label {
  position: absolute; bottom: 28px; left: -24px;
  background: var(--navy); border: 1px solid rgba(59,158,245,0.18);
  padding: 20px 26px; display: flex; align-items: center; gap: 16px;
}
.why-label .ic { font-size: 2rem; }
.why-label span { display: block; font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.why-label strong { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--white); }
.why-items { display: flex; flex-direction: column; }
.wi {
  padding: 28px 0; border-bottom: 1px solid rgba(59,158,245,0.07);
  display: flex; gap: 24px; align-items: flex-start;
  transition: padding-left 0.3s;
}
.wi:hover { padding-left: 10px; }
.wnum {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--blue2), var(--blue3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  flex-shrink: 0; line-height: 1; margin-top: 2px;
}
.wi h4 { font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.wi p  { font-size: 0.82rem; line-height: 1.8; color: var(--muted); font-weight: 300; }

/* ── CONTACT ────────────────────────────────────── */
.contact-section { background: var(--navy); position: relative; overflow: hidden; }
.contact-section::before {
  content: 'BUILD'; position: absolute; right: 0%; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif; font-size: 22vw;
  color: rgba(59,158,245,0.018); pointer-events: none; line-height: 1;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; position: relative; }
.ci-list { margin-top: 36px; display: flex; flex-direction: column; }
.ci {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid rgba(59,158,245,0.07);
}
.ci-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(37,99,235,0.09); border: 1px solid rgba(59,158,245,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.3s;
}
.ci:hover .ci-ico { background: rgba(37,99,235,0.18); box-shadow: 0 0 22px rgba(37,99,235,0.3); }
.ci label { display: block; font-size: 0.57rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue3); font-weight: 700; margin-bottom: 4px; }
.ci a, .ci span { font-size: 0.97rem; font-weight: 500; color: var(--white); text-decoration: none; transition: color 0.3s; }
.ci a:hover { color: var(--blue3); }

.form-wrap {
  background: rgba(11,21,48,0.65); border: 1px solid rgba(59,158,245,0.1);
  padding: 46px; backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.form-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue1), var(--blue3), var(--blue1));
}
.fg { margin-bottom: 20px; }
.fg label { display: block; font-size: 0.58rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue3); font-weight: 700; margin-bottom: 8px; }
.fg input, .fg textarea, .fg select {
  width: 100%; background: rgba(6,12,31,0.75);
  border: 1px solid rgba(59,158,245,0.11);
  color: var(--white); padding: 13px 16px;
  font-family: 'Inter', sans-serif; font-size: 0.87rem;
  outline: none; transition: all 0.3s; -webkit-appearance: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: rgba(59,158,245,0.38);
  background: rgba(37,99,235,0.04);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.07);
}
.fg select option { background: var(--navy2); }
.fg textarea { resize: vertical; min-height: 105px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sbtn {
  width: 100%; padding: 16px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff; font-family: 'Oswald', sans-serif;
  font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 600;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.sbtn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue2), var(--blue3)); opacity: 0; transition: opacity 0.3s; }
.sbtn:hover::before { opacity: 1; }
.sbtn:hover { box-shadow: 0 10px 35px rgba(37,99,235,0.55); }
.sbtn span { position: relative; z-index: 1; }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--navy2); border-top: 1px solid rgba(59,158,245,0.07);
  padding: 32px 6%; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px;
}
.foot-l { display: flex; align-items: center; gap: 20px; }
.foot-l img { height: 42px; width: auto; filter: brightness(0.8); }
.foot-l p { font-size: 0.73rem; color: var(--muted); }
.foot-l strong { color: var(--blue3); }
.foot-links { display: flex; gap: 28px; }
.foot-links a { font-size: 0.67rem; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); text-decoration: none; transition: color 0.3s; }
.foot-links a:hover { color: var(--blue3); }

/* ── SCROLL TOP ─────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  border: none; cursor: pointer; color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  opacity: 0; pointer-events: none; transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(37,99,235,0.4);
}
.scroll-top.vis { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 10px 35px rgba(37,99,235,0.6); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-grid  { grid-template-columns: 1fr 1fr; }
  .proj-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .pc:nth-child(n) { grid-column: auto; grid-row: auto; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .img2, .why-label { display: none; }
  .cert-badge { right: 0; }
  .nav-brand-text .brand-name { font-size: 0.95rem; }
  .nav-brand-text .brand-sub { font-size: 0.5rem; }
}
@media (max-width: 600px) {
  section { padding: 70px 5%; }
  .svc-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 20px 5%; }
  .form-wrap { padding: 28px 18px; }
  .fg-row { grid-template-columns: 1fr; }
  .nav-brand-text { display: none; }
}
/* CEO SECTION */
#ceo { padding: 5rem 2rem; }
.ceo-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; }
.ceo-frame { position: relative; }
.ceo-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; display: block; }
.ceo-badge { position: absolute; bottom: 1.5rem; left: 0; background: var(--gold, #C9A84C); color: #0f0f0f; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.5rem 1rem; }
.ceo-name { font-size: 1.8rem; font-weight: 700; margin: 0.5rem 0 0.25rem; }
.ceo-role { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ceo-bio { font-size: 15px; line-height: 1.8; opacity: 0.7; margin-bottom: 1rem; }
.ceo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.ceo-stat { border-left: 2px solid var(--gold, #C9A84C); padding-left: 1rem; }
.ceo-num { display: block; font-size: 1.8rem; font-weight: 700; }
.ceo-lbl { display: block; font-size: 11px; opacity: 0.5; margin-top: 2px; }
.ceo-quote { border-left: 3px solid var(--gold, #C9A84C); padding-left: 1.25rem; font-style: italic; opacity: 0.7; margin-top: 1.5rem; line-height: 1.6; }
@media (max-width: 768px) { .ceo-wrap { grid-template-columns: 1fr; gap: 2rem; } .ceo-stats { grid-template-columns: repeat(2, 1fr); } }
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}
html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

#particles {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}

.cursor-glow {
  max-width: 100vw;
  overflow: hidden;
}

section {
  overflow-x: hidden;
  width: 100%;
}

.hero {
  overflow-x: hidden;
}

.stats-bar {
  overflow-x: hidden;
  width: 100%;
}
.ceo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.ceo-img.active {
  opacity: 1;
}
@media (max-width: 768px) {
  .ceo-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .ceo-img-col {
    width: 100%;
  }

  .ceo-text-col {
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .ceo-frame {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3/4; /* keeps image shape clean */
    overflow: hidden;
  }

  .ceo-img {
    position: absolute; /* ✅ KEEP THIS */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
