/**
 * assets/css/main.css
 * DIEC — Mixed Navy/White Theme
 * Dark bookends: nav, hero, why-us, contact, footer
 * Light content: about, services, projects, credentials
 */

/* ── TOKENS ── */
:root {
  --navy:    #0B2255;
  --navy-d:  #071540;
  --blue:    #1B4F8A;
  --green:   #00C65E;
  --green-d: #009E4A;
  --orange:  #E84E0F;

  /* Dark-section tokens (default — hero, nav, why-us, contact, footer) */
  --white:   #F5F8FF;
  --muted:   #8899BB;
  --glass:   rgba(255,255,255,0.04);
  --gb:      rgba(255,255,255,0.09);

  /* Light-section tokens (paper backgrounds, navy ink) */
  --paper:        #F8FAFD;
  --paper-alt:    #EDF2FA;
  --ink:          var(--navy);
  --ink-soft:     #55678C;
  --card-bg-light: rgba(11,34,85,0.035);
  --card-border-light: rgba(11,34,85,0.12);

  --ease:    cubic-bezier(.4,0,.2,1);
  --radius:  12px;
  --gap:     20px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body { background: var(--navy-d); color: var(--white); font-family: 'DM Sans', sans-serif; overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy-d); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* ── LAYOUT ── */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px,5vw,64px); }
.section-pad { padding: clamp(72px,9vw,120px) 0; }
.glow-div { width: 100%; height: 1px; background: linear-gradient(to right,transparent,rgba(0,198,94,.35),transparent); }

/* ── TYPOGRAPHY HELPERS ── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .26em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.section-label::before { content: ''; width: 22px; height: 1px; background: var(--green); flex-shrink: 0; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,5vw,68px); line-height: 1.05; }
.section-title .c { color: var(--green); }

/* ═══════════════════════════════════════════════
   LIGHT-SECTION SYSTEM
   Add .theme-light or .theme-light-alt to any
   <section> to flip it to the white/paper palette.
   Components below read var(--muted)/var(--gb)/
   var(--glass) so they adapt automatically.
═══════════════════════════════════════════════ */
.theme-light,
.theme-light-alt,
#about,
#projects,
#services,
#credentials {
  color: var(--ink);
  --muted: var(--ink-soft);
  --gb:    var(--card-border-light);
  --glass: var(--card-bg-light);
}
.theme-light,     #about,    #projects   { background: var(--paper); }
.theme-light-alt, #services, #credentials { background: var(--paper-alt); }

.theme-light .c, .theme-light-alt .c,
.theme-light .view-all, .theme-light-alt .view-all,
#about .c, #projects .c, #services .c, #credentials .c,
#about .view-all, #projects .view-all, #services .view-all, #credentials .view-all {
  color: var(--green-d);
}

.theme-light .tag, .theme-light-alt .tag,
#about .tag, #projects .tag, #services .tag, #credentials .tag {
  background: rgba(11,34,85,.05);
}

/* ═══════════════════════
   NAV  (always dark)
═══════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 68px;
  background: rgba(7,21,64,.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gb);
  transition: background .3s;
}
#nav.scrolled { background: rgba(7,21,64,.98); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img,
.nav-logo .custom-logo { height: 40px; width: auto; }
.nav-logo-text { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; color: var(--white); }
.nav-logo-text span { color: var(--green); display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); transition: color .25s; white-space: nowrap; padding-bottom: 2px; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--green); transition: width .3s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: border-color .25s, background .25s; flex-shrink: 0; }
.lang-toggle:hover { border-color: rgba(0,198,94,.35); background: rgba(0,198,94,.08); }
.lang-toggle__label { color: var(--green); }
.lang-toggle__slash { opacity: .7; }
.lang-toggle__target { opacity: .85; }
.lang-toggle--mobile { margin-top: 4px; align-self: flex-start; }
.mobile-menu .lang-toggle { font-family: inherit; font-size: 10px; letter-spacing: .16em; color: var(--white); }
.mobile-menu .lang-toggle:hover { color: var(--white); }
.btn-nav { padding: 9px 20px; border: 1.5px solid var(--green); color: var(--green); font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 5px; white-space: nowrap; transition: background .25s, color .25s; flex-shrink: 0; display: inline-block; }
.btn-nav:hover { background: var(--green); color: var(--navy-d); }
.ham { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; z-index: 910; }
.ham span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: rgba(7,21,64,.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 800; flex-direction: column; padding: 40px clamp(20px,8vw,64px); gap: 28px; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu .mob-links { display: flex; flex-direction: column; gap: 28px; list-style: none; }
.btn-mobile { margin-top: 8px; padding: 16px 28px; background: var(--green); color: var(--navy-d); font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 8px; text-align: center; display: block; }
body.lang-ar { direction: rtl; text-align: right; }
body.lang-ar .nav-inner { flex-direction: row-reverse; }
body.lang-ar .nav-actions { flex-direction: row-reverse; }
body.lang-ar .nav-links { flex-direction: row-reverse; }
body.lang-ar .mobile-menu { direction: rtl; text-align: right; }
body.lang-ar .mobile-menu .lang-toggle--mobile { align-self: flex-end; }
@media (max-width: 900px) { .nav-links, .btn-nav { display: none; } .ham { display: flex; } .mobile-menu { display: flex; } }

/* ═══════════════════════
   HERO  (always dark)
═══════════════════════ */
#hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 68px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 70% 40%,rgba(27,79,138,.38) 0%,transparent 60%), radial-gradient(ellipse at 15% 80%,rgba(0,198,94,.07) 0%,transparent 50%), var(--navy-d); }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(0,198,94,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(0,198,94,.04) 1px,transparent 1px); background-size: 52px 52px; animation: gridMove 18s linear infinite; will-change: transform; }
#pcanvas { position: absolute; right: 0; top: 0; width: 55%; height: 100%; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: clamp(40px,6vh,80px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; animation: fadeUp .7s .2s both; }
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--green); }
.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(54px,8vw,110px); line-height: .95; letter-spacing: .02em; animation: fadeUp .7s .4s both; color: var(--white); }
.hero-title .c-g { color: var(--green); }
.hero-sub { font-size: clamp(14px,1.6vw,16px); font-weight: 300; line-height: 1.75; color: var(--muted); max-width: 500px; margin-top: 24px; animation: fadeUp .7s .6s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; animation: fadeUp .7s .8s both; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; background: var(--green); color: var(--navy-d); font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 5px; box-shadow: 0 0 28px rgba(0,198,94,.35); transition: transform .25s, box-shadow .25s; white-space: nowrap; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(0,198,94,.5); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; background: transparent; color: var(--white); font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid rgba(255,255,255,.22); border-radius: 5px; transition: border-color .25s, background .25s; white-space: nowrap; }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.hero-stats { display: flex; gap: clamp(24px,4vw,48px); flex-wrap: wrap; margin-top: clamp(36px,5vh,60px); padding-top: 32px; border-top: 1px solid var(--gb); animation: fadeUp .7s 1s both; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px,4.5vw,54px); line-height: 1; color: var(--white); }
.stat-num .u { color: var(--green); font-size: .65em; }
.stat-lbl { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; animation: fadeUp 1s 1.4s both; z-index: 1; }
.scroll-cue span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--green),transparent); animation: pulse 2s ease-in-out infinite; }

/* ═══════════════════════
   MARQUEE  (always green strip)
═══════════════════════ */
.marquee-wrap { background: var(--green); padding: 13px 0; overflow: hidden; }
.marquee-track { display: flex; flex-wrap: nowrap; animation: marquee 28s linear infinite; will-change: transform; }
.marquee-track:hover { animation-play-state: paused; }
.m-item { flex-shrink: 0; display: inline-flex; align-items: center; gap: 26px; padding: 0 26px; white-space: nowrap; font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .18em; color: var(--navy-d); }
.m-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(7,21,64,.4); flex-shrink: 0; }
@media (max-width: 768px) {
  .marquee-track { animation-duration: 20s; }
}

/* ═══════════════════════
   ABOUT  → .theme-light
═══════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.about-card { border-radius: 16px; border: 1px solid rgba(255,255,255,.09); overflow: hidden; position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px,3vw,40px); }
.about-card-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,79,138,.55) 0%, var(--navy-d) 100%); }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .13; }
.about-card-inner { position: relative; z-index: 1; }
.about-card-tag { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.about-card-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px,3vw,40px); line-height: 1.05; margin-bottom: 10px; color: #F5F8FF; }
.about-card-body { font-size: 13px; color: #AEC0E8; line-height: 1.65; }
.about-visual { position: relative; }
.float-badge { position: absolute; background: rgba(0,198,94,.1); border: 1px solid rgba(0,198,94,.3); border-radius: 100px; padding: 9px 16px; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fb1 { top: -18px; right: -16px; animation: floatY 4s ease-in-out infinite; }
.fb2 { bottom: 28px; right: -24px; animation: floatY 4s ease-in-out infinite; animation-delay: -2s; }
.fb-lbl { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--green-d); white-space: nowrap; }
.about-heading { font-family: 'Bebas Neue', sans-serif; font-size: clamp(34px,4vw,58px); line-height: 1.05; margin-bottom: 18px; }
.about-heading .c { color: var(--green-d); }
.about-body { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.feat-list { display: flex; flex-direction: column; gap: 10px; }
.feat-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--gb); border-radius: 8px; background: var(--glass); transition: border-color .25s, background .25s; min-height: 56px; }
.feat-row:hover { border-color: rgba(0,198,94,.35); background: rgba(0,198,94,.06); }
.feat-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: rgba(0,198,94,.12); }
.feat-text { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-visual { order: -1; } .about-card { min-height: 260px; } .fb1,.fb2 { display: none; } }

/* ═══════════════════════
   SERVICES  → .theme-light-alt
═══════════════════════ */
.services-hd { text-align: center; margin-bottom: clamp(40px,5vw,64px); }
.services-sub { font-size: 15px; color: var(--muted); max-width: 500px; margin: 14px auto 0; line-height: 1.75; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.svc-card { position: relative; border-radius: var(--radius); border: 1px solid var(--gb); padding: clamp(24px,3vw,40px); background: var(--glass); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); border-color: rgba(0,198,94,.4); box-shadow: 0 12px 32px rgba(11,34,85,.08); }
.svc-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 0 0,rgba(0,198,94,.09),transparent 65%); opacity: 0; transition: opacity .3s; }
.svc-card:hover::before { opacity: 1; }
.svc-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,40px); align-items: start; }
.svc-card.featured .svc-body { display: flex; flex-direction: column; }
.svc-num { position: absolute; top: 16px; right: 20px; font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: rgba(11,34,85,.06); line-height: 1; pointer-events: none; }
.svc-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; flex-shrink: 0; position: relative; z-index: 1; }
.ic-g { background: rgba(0,198,94,.14); } .ic-o { background: rgba(232,78,15,.14); } .ic-b { background: rgba(27,79,138,.18); } .ic-p { background: rgba(139,92,246,.14); }
.svc-title { font-family: 'Syne', sans-serif; font-size: clamp(16px,1.6vw,20px); font-weight: 700; margin-bottom: 12px; line-height: 1.3; position: relative; z-index: 1; color: var(--ink); }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; position: relative; z-index: 1; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; margin-top: auto; }
.tag { font-size: 11px; font-weight: 500; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--gb); white-space: nowrap; }
.svc-visual { border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg,var(--navy),var(--navy-d)); display: flex; align-items: center; justify-content: center; position: relative; align-self: stretch; min-height: 180px; }
.wave-wrap { display: flex; align-items: center; justify-content: center; gap: 3px; width: 100%; height: 100%; padding: 20px; }
.wbar { width: 4px; border-radius: 4px; background: var(--green); animation: wave 1.2s ease-in-out infinite; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } .svc-card.featured { grid-column: span 1; display: flex; flex-direction: column; } .svc-visual { margin-top: 20px; } }

/* ═══════════════════════
   WHY US  (always dark)
═══════════════════════ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.why-heading { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,4.5vw,64px); line-height: 1.05; margin-bottom: 18px; color: var(--white); }
.why-heading .c { color: var(--green); }
.why-body { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.str-list { display: flex; flex-direction: column; }
.str-item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--gb); transition: padding-left .25s var(--ease); }
.str-item:hover { padding-left: 6px; }
.str-item:last-child { border-bottom: none; }
.s-n { font-family: 'Bebas Neue', sans-serif; font-size: 12px; color: var(--green); padding-top: 3px; }
.s-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--white); }
.s-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }
.why-visual { display: flex; align-items: center; justify-content: center; height: 380px; }
.ring-sys { position: relative; width: 320px; height: 320px; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,198,94,.15); animation: spin 22s linear infinite; }
.ring2 { inset: 32px; border-color: rgba(27,79,138,.25); animation-duration: 16s; animation-direction: reverse; }
.ring3 { inset: 64px; border-color: rgba(232,78,15,.12); animation-duration: 28s; }
.rdot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--green); top: 50%; right: -4px; transform: translateY(-50%); box-shadow: 0 0 16px var(--green); }
.rdot2 { background: var(--blue); top: -4px; right: 50%; box-shadow: 0 0 16px var(--blue); }
.rdot3 { background: var(--white); top: 50%; right: -4px; transform: translateY(-50%); box-shadow: 0 0 18px rgba(245,248,255,.95); border: 1px solid rgba(255,255,255,.55); }
.rcenter { position: absolute; inset: 88px; border-radius: 50%; background: radial-gradient(circle,rgba(27,79,138,.7),var(--navy-d)); border: 1px solid var(--gb); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rc-num { font-family: 'Bebas Neue', sans-serif; font-size: 44px; line-height: 1; color: var(--white); }
.rc-lbl { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: 4px; }
.orb-icon { position: absolute; width: 40px; height: 40px; background: var(--navy); border: 1px solid var(--gb); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.oi1{top:0;right:10%} .oi2{bottom:8%;left:0} .oi3{top:40%;right:-10%}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-visual { height: 260px; } .ring-sys { width: 230px; height: 230px; } .rcenter { inset: 64px; } .rc-num { font-size: 34px; } }

/* ═══════════════════════
   PROJECTS  → .theme-light
═══════════════════════ */
.proj-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(32px,4vw,52px); flex-wrap: wrap; gap: 16px; }
.proj-heading { font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px,5vw,68px); line-height: 1.05; color: var(--ink); }
.proj-heading .c { color: var(--green-d); }
.view-all { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 7px; transition: gap .25s; white-space: nowrap; }
.view-all:hover { gap: 13px; }
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.proj-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gb); background: var(--glass); transition: transform .3s, border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.proj-card:hover { transform: translateY(-4px); border-color: rgba(0,198,94,.35); box-shadow: 0 14px 34px rgba(11,34,85,.1); }
.proj-card:hover .proj-img { transform: scale(1.06); }
.proj-card.featured { grid-column: span 2; }
.proj-thumb { position: relative; overflow: hidden; flex-shrink: 0; height: 200px; }
.proj-card.featured .proj-thumb { height: 260px; }
.proj-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); filter: brightness(.72) saturate(.9); }
.proj-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,21,64,.85) 0%, rgba(7,21,64,.1) 55%, transparent 100%); }
.proj-badge { position: absolute; top: 12px; left: 12px; background: rgba(0,198,94,.14); border: 1px solid rgba(0,198,94,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 100px; padding: 5px 13px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #BFFFDB; white-space: nowrap; }
.proj-info { padding: clamp(16px,2vw,24px); flex: 1; display: flex; flex-direction: column; }
.proj-client { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--green-d); margin-bottom: 6px; }
.proj-name { font-family: 'Syne', sans-serif; font-size: clamp(14px,1.4vw,16px); font-weight: 700; margin-bottom: 8px; line-height: 1.35; color: var(--ink); }
.proj-desc { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: 1fr 1fr; } .proj-card.featured { grid-column: span 2; } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } .proj-card.featured { grid-column: span 1; } .proj-card.featured .proj-thumb { height: 200px; } }

/* ═══════════════════════
   CREDENTIALS  → .theme-light-alt
═══════════════════════ */
.cred-hd { text-align: center; margin-bottom: clamp(36px,5vw,56px); }
.cred-sub { font-size: 15px; color: var(--muted); max-width: 500px; margin: 14px auto 0; line-height: 1.75; }
.cred-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.cred-card { border: 1px solid var(--gb); border-radius: var(--radius); padding: clamp(24px,3vw,36px) clamp(20px,2.5vw,32px); background: var(--glass); text-align: center; transition: border-color .3s, transform .3s, box-shadow .3s; display: flex; flex-direction: column; align-items: center; }
.cred-card:hover { border-color: rgba(0,198,94,.35); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,34,85,.1); }
.cred-icon { font-size: 34px; margin-bottom: 14px; line-height: 1; }
.cred-name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; color: var(--ink); }
.cred-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
@media (max-width: 700px) { .cred-grid { grid-template-columns: 1fr; } }
@media (min-width: 701px) and (max-width: 900px) { .cred-grid { grid-template-columns: 1fr 1fr; } }

/* ═══════════════════════
   CONTACT  (always dark)
═══════════════════════ */
#contact { background: linear-gradient(to bottom,transparent,rgba(11,34,85,.5)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: start; }
.contact-heading { font-family: 'Bebas Neue', sans-serif; font-size: clamp(42px,5.5vw,76px); line-height: 1.05; margin-bottom: 18px; color: var(--white); }
.contact-heading .c { color: var(--green); }
.contact-body { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--gb); border-radius: 10px; background: var(--glass); transition: border-color .25s; }
.info-row:hover { border-color: rgba(0,198,94,.3); }
.info-icon { width: 36px; height: 36px; flex-shrink: 0; background: rgba(0,198,94,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.info-content { min-width: 0; }
.info-lbl { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.info-val { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; line-height: 1.5; word-break: break-word; color: var(--white); }
.info-val a { color: var(--green); }
.info-val a:hover { text-decoration: underline; }
.cform { display: flex; flex-direction: column; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fg input, .fg textarea, .fg select { background: var(--glass); border: 1px solid var(--gb); border-radius: 8px; padding: 13px 16px; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 14px; outline: none; transition: border-color .25s, background .25s; -webkit-appearance: none; appearance: none; width: 100%; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--green); background: rgba(0,198,94,.04); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
.fg select option { background: var(--navy); }
.fg textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-notice { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-top: 4px; }
.form-notice.success { background: rgba(0,198,94,.12); border: 1px solid rgba(0,198,94,.4); color: var(--green); }
.form-notice.error   { background: rgba(232,78,15,.12); border: 1px solid rgba(232,78,15,.4); color: #ff8c6b; }
.btn-submit { padding: 15px 32px; width: 100%; background: var(--green); color: var(--navy-d); font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: none; border-radius: 8px; box-shadow: 0 0 28px rgba(0,198,94,.3); transition: transform .25s, box-shadow .25s, background .25s; margin-top: 6px; cursor: pointer; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(0,198,94,.5); }
.btn-submit.sent { background: var(--green-d); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ═══════════════════════
   FOOTER  (always dark)
═══════════════════════ */
footer { border-top: 1px solid var(--gb); padding: clamp(48px,6vw,72px) 0 clamp(28px,3vw,40px); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(28px,4vw,56px); margin-bottom: clamp(36px,4vw,52px); }
.foot-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-logo img,
.foot-logo .custom-logo { height: 36px; width: auto; }
.foot-logo-txt { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; color: var(--white); }
.foot-tagline { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; max-width: 280px; }
.foot-socials { display: flex; gap: 10px; }
.soc { width: 34px; height: 34px; border: 1px solid var(--gb); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); transition: border-color .25s, color .25s, background .25s; }
.soc:hover { border-color: var(--green); color: var(--green); background: rgba(0,198,94,.07); }
.foot-col-t { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; color: var(--white); }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-links a { font-size: 13px; color: var(--muted); transition: color .2s; line-height: 1.4; }
.foot-links a:hover { color: var(--green); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--gb); flex-wrap: wrap; gap: 10px; }
.foot-copy, .foot-reg { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; text-align: center; } }.foot-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-logo img,
.foot-logo .custom-logo { height: 36px; width: auto; }
.foot-logo-txt { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.foot-tagline { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; max-width: 280px; }
.foot-socials { display: flex; gap: 10px; }
.soc { width: 34px; height: 34px; border: 1px solid var(--gb); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); transition: border-color .25s, color .25s, background .25s; }
.soc:hover { border-color: var(--green); color: var(--green); background: rgba(0,198,94,.07); }
.foot-col-t { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; color: var(--white); }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-links a { font-size: 13px; color: var(--muted); transition: color .2s; line-height: 1.4; }
.foot-links a:hover { color: var(--green); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--gb); flex-wrap: wrap; gap: 10px; }
.foot-copy, .foot-reg { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; text-align: center; } }



