/* ═══════════════════════════════════════════════
   EVACODE — Complete Stylesheet
   Theme: Dark Space · Teal Accent
═══════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --cyan:        #479489;
  --cyan-light:  #7EB4AC;
  --cyan-dim:    rgba(71,148,137,0.15);
  --navy:        #050d1a;
  --navy-2:      #0a1628;
  --navy-3:      #0d1f38;
  --navy-4:      #0f2545;
  --border:      rgba(71,148,137,0.14);
  --text:        #e8f4ff;
  --text-muted:  #7ab3d4;
  --white:       #ffffff;
  --green:       #18ae92;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --shadow-glow: 0 0 30px rgba(71,148,137,0.18);
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

/* ── Light Theme Overrides ─────────────────── */
body.light {
  --navy:        #f0f6ff;
  --navy-2:      #e4eef9;
  --navy-3:      #ffffff;
  --navy-4:      #d6e8f7;
  --border:      rgba(71,148,137,0.18);
  --text:        #0d1f38;
  --text-muted:  #3a6080;
  --shadow-glow: 0 0 30px rgba(55,135,124,0.14);
}

/* ambient gradient — lighter in light mode */
body.light::before {
  background:
    radial-gradient(ellipse at 15% 40%, rgba(55,135,124,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(71,148,137,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 85%, rgba(38,110,100,0.06) 0%, transparent 50%);
}

/* particles dimmer in light mode */
body.light #particles-canvas { opacity:0.22; }

/* nav */
body.light #site-header {
  background:rgba(240,246,255,0.88);
  border-bottom-color:rgba(45,122,112,0.15);
}
body.light #site-header.scrolled {
  box-shadow:0 4px 30px rgba(30,95,86,0.12);
}
body.light .nav-link { color:#3a6080; }
body.light .nav-link:hover { color:#0d1f38; background:rgba(45,122,112,0.07); }
body.light .nav-link.nav-cta { color:var(--cyan); border-color:rgba(55,135,124,0.4); }
body.light .nav-link.nav-cta:hover { background:rgba(55,135,124,0.08); color:#18ae92; }
body.light .nav-toggle span { background:#0d1f38; }

/* mobile nav dropdown */
body.light .nav-links.active {
  background:rgba(240,246,255,0.97);
  border-bottom-color:rgba(45,122,112,0.15);
}

/* hero glows */
body.light .hero-glow-1 {
  background:radial-gradient(circle, rgba(55,135,124,0.12), transparent 70%);
}
body.light .hero-glow-2 {
  background:radial-gradient(circle, rgba(71,148,137,0.08), transparent 70%);
}

/* hero text */
body.light .hero-text h1 { color:#0d1f38; }
body.light .hero-eyebrow { color:#3a6080; }
body.light .hero-text > p { color:#3a6080; }
body.light .hstat p { color:#3a6080; }
body.light .hstat-divider { background:rgba(45,122,112,0.2); }
body.light .hero-scroll-hint { color:#3a6080; }

/* rings */
body.light .ring { border-color:rgba(55,135,124,0.2); }
body.light .ring-3 { border-color:rgba(55,135,124,0.3); }

/* section labels */
body.light .section-label {
  background:rgba(55,135,124,0.08);
  border-color:rgba(55,135,124,0.2);
}
body.light .section-title { color:#0d1f38; }
body.light .section-sub { color:#3a6080; }

/* about cards */
body.light .about-card {
  background:#ffffff;
  border-color:rgba(45,122,112,0.15);
  box-shadow:0 4px 20px rgba(30,95,86,0.06);
}
body.light .about-card:hover {
  border-color:rgba(55,135,124,0.4);
  box-shadow:0 8px 30px rgba(38,110,100,0.12);
}
body.light .about-card h3 { color:#0d1f38; }
body.light .about-card p  { color:#3a6080; }

/* product cards */
body.light .product-card {
  background:#ffffff;
  border-color:rgba(45,122,112,0.15);
  box-shadow:0 4px 20px rgba(30,95,86,0.06);
}
body.light .product-card:hover {
  border-color:rgba(55,135,124,0.4);
  box-shadow:0 16px 40px rgba(30,95,86,0.12);
}
body.light .product-image { background:rgba(38,110,100,0.05); }
body.light .product-info h3 { color:#0d1f38; }
body.light .shimmer { background:#f0f6ff; }

/* team */
body.light .team-member {
  background:#ffffff;
  border-color:rgba(45,122,112,0.15);
  box-shadow:0 4px 20px rgba(30,95,86,0.06);
}
body.light .team-member:hover {
  border-color:rgba(55,135,124,0.4);
  box-shadow:0 8px 30px rgba(38,110,100,0.12);
}
body.light .member-info h3 { color:#0d1f38; }
body.light .member-avatar { box-shadow:0 0 18px rgba(55,135,124,0.2); }
body.light .member-avatar img { border-color:#f0f6ff; }
body.light .member-social a {
  background:rgba(55,135,124,0.07);
  border-color:rgba(55,135,124,0.18);
  color:#3a6080;
}
body.light .member-social a:hover { background:rgba(55,135,124,0.15); color:#18ae92; }

/* contact */
body.light .contact-glow-1 {
  background:radial-gradient(circle, rgba(55,135,124,0.1), transparent 70%);
}
body.light .contact-glow-2 {
  background:radial-gradient(circle, rgba(71,148,137,0.07), transparent 70%);
}
body.light .contact-intro { color:#3a6080; }
body.light .cinfo-item {
  background:#ffffff;
  border-color:rgba(45,122,112,0.15);
}
body.light .cinfo-item:hover { border-color:rgba(55,135,124,0.4); }
body.light .cinfo-value { color:#0d1f38; }
body.light .contact-socials-label { color:#3a6080; }
body.light .csocial {
  background:rgba(55,135,124,0.07);
  border-color:rgba(55,135,124,0.18);
  color:#3a6080;
}
body.light .csocial:hover { background:rgba(55,135,124,0.15); color:#18ae92; }
body.light .contact-form-col {
  background:#ffffff;
  border-color:rgba(45,122,112,0.15);
  box-shadow:0 16px 50px rgba(30,95,86,0.1);
}
body.light .cfield label { color:#3a6080; }
body.light .cfield input,
body.light .cfield textarea {
  background:rgba(38,110,100,0.04);
  border-color:rgba(45,122,112,0.2);
  color:#0d1f38;
}
body.light .cfield input::placeholder,
body.light .cfield textarea::placeholder { color:rgba(58,96,128,0.5); }
body.light .cfield input:focus,
body.light .cfield textarea:focus {
  background:rgba(38,110,100,0.06);
  border-color:var(--cyan);
  box-shadow:0 0 0 3px rgba(55,135,124,0.1);
}

/* footer */
body.light .footer {
  background:#ddeaf7;
  border-top-color:rgba(45,122,112,0.15);
}
body.light .footer-tagline { color:#3a6080; }
body.light .footer-links a { color:#3a6080; }
body.light .footer-links a:hover { color:#18ae92; }
body.light .footer-socials a {
  background:rgba(55,135,124,0.07);
  border-color:rgba(55,135,124,0.18);
  color:#3a6080;
}
body.light .footer-socials a:hover { background:rgba(55,135,124,0.15); color:#18ae92; }
body.light .footer-copy { color:rgba(58,96,128,0.5); }

/* contact badge */
body.light .contact-badge {
  background:rgba(55,135,124,0.08);
  border-color:rgba(55,135,124,0.2);
}

/* ── Theme Toggle Button ───────────────────── */
.theme-toggle {
  width:38px; height:38px;
  border-radius:var(--radius-sm);
  background:rgba(71,148,137,0.08);
  border:1.5px solid rgba(71,148,137,0.25);
  color:var(--cyan);
  font-size:0.95rem;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:all var(--transition);
  flex-shrink:0;
}
.theme-toggle:hover {
  background:rgba(71,148,137,0.16);
  border-color:var(--cyan);
  transform:rotate(20deg) scale(1.08);
}
body.light .theme-toggle {
  background:rgba(45,122,112,0.08);
  border-color:rgba(45,122,112,0.3);
  color:#18ae92;
}
body.light .theme-toggle:hover {
  background:rgba(45,122,112,0.15);
  border-color:#18ae92;
}

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ambient bg gradient */
body::before {
  content:'';
  position:fixed; inset:0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(25,90,80,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(71,148,137,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 55% 85%, rgba(15,60,55,0.12) 0%, transparent 50%);
  pointer-events:none; z-index:0;
}

/* ── Particle Canvas ───────────────────────── */
#particles-canvas {
  position:fixed; inset:0;
  width:100%; height:100%;
  pointer-events:none;
  z-index:0;
  opacity:0.5;
}

/* all content above canvas */
header, section, footer { position:relative; z-index:1; }

/* ── Shared helpers ────────────────────────── */
.section-inner {
  max-width:1160px;
  margin:0 auto;
  padding:7rem 1.5rem;
}

.section-label {
  display:inline-block;
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:var(--cyan);
  background:rgba(71,148,137,0.08);
  border:1px solid var(--cyan-dim);
  padding:0.3rem 0.9rem;
  border-radius:50px;
  margin-bottom:1.1rem;
}

.section-title {
  font-family:'Space Grotesk', sans-serif;
  font-size:clamp(2rem, 4vw, 3rem);
  font-weight:700;
  color:var(--white);
  line-height:1.18;
  margin-bottom:1.1rem;
}

.section-sub {
  font-size:1.05rem;
  color:var(--text-muted);
  max-width:620px;
  margin-bottom:3.5rem;
}

.gradient-text {
  background:linear-gradient(120deg, var(--cyan), var(--cyan-light));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display:inline-flex;
  align-items:center;
  gap:0.55rem;
  padding:0.8rem 1.7rem;
  border-radius:var(--radius-sm);
  font-size:0.95rem;
  font-weight:600;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:all var(--transition);
  white-space:nowrap;
}
.btn-primary {
  background:linear-gradient(135deg, #18ae92, var(--cyan));
  color:var(--white);
  box-shadow:0 4px 22px rgba(71,148,137,0.32);
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 32px rgba(71,148,137,0.48);
}
.btn-ghost {
  background:rgba(71,148,137,0.07);
  color:var(--cyan);
  border:1.5px solid rgba(71,148,137,0.35);
}
.btn-ghost:hover {
  background:rgba(71,148,137,0.14);
  border-color:var(--cyan);
  transform:translateY(-2px);
}
.btn-lg { padding:1rem 2.2rem; font-size:1rem; }

/* ── Navigation ────────────────────────────── */
#site-header {
  position:fixed; top:0; left:0; right:0;
  z-index:1000;
  background:rgba(5,13,26,0.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  transition:box-shadow var(--transition);
}
#site-header.scrolled {
  box-shadow:0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 1.5rem;
  height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nav-logo {
  display:flex; align-items:center; gap:0.65rem;
  text-decoration:none;
}
.nav-logo img { width:36px; height:36px; object-fit:contain; }
.nav-logo span {
  font-family:'Space Grotesk', sans-serif;
  font-size:1.45rem; font-weight:700;
  color:var(--cyan);
  text-shadow:0 0 18px rgba(71,148,137,0.45);
}

.nav-links {
  display:flex; list-style:none; gap:0.25rem;
  align-items:center;
}
.nav-link {
  text-decoration:none;
  color:var(--text-muted);
  font-size:0.9rem; font-weight:500;
  padding:0.45rem 0.9rem;
  border-radius:var(--radius-sm);
  transition:all var(--transition);
}
.nav-link:hover { color:var(--white); background:rgba(255,255,255,0.05); }
.nav-link.nav-cta {
  color:var(--cyan);
  border:1.5px solid rgba(71,148,137,0.35);
  padding:0.45rem 1.1rem;
}
.nav-link.nav-cta:hover {
  background:rgba(71,148,137,0.1);
  border-color:var(--cyan);
  color:var(--white);
}

.nav-toggle {
  display:none;
  flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:4px;
}
.nav-toggle span {
  display:block; width:24px; height:2px;
  background:var(--text); border-radius:2px;
  transition:all var(--transition);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height:100vh;
  display:flex; flex-direction:column;
  justify-content:center;
  padding-top:68px;
  overflow:hidden;
  position:relative;
}

.hero-glow {
  position:absolute; border-radius:50%;
  filter:blur(90px); pointer-events:none;
}
.hero-glow-1 {
  width:600px; height:600px;
  background:radial-gradient(circle, rgba(38,110,100,0.2), transparent 70%);
  top:-150px; right:-100px;
  animation:glowPulse 8s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width:400px; height:400px;
  background:radial-gradient(circle, rgba(71,148,137,0.12), transparent 70%);
  bottom:-100px; left:-80px;
  animation:glowPulse 10s ease-in-out infinite alternate-reverse;
}
@keyframes glowPulse {
  0%   { transform:scale(1) translate(0,0); opacity:0.7; }
  100% { transform:scale(1.15) translate(20px,-20px); opacity:1; }
}

.hero-inner {
  max-width:1160px; margin:0 auto;
  padding:4rem 1.5rem;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem; align-items:center;
}

/* eyebrow */
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:0.6rem;
  font-size:0.8rem; font-weight:600;
  letter-spacing:1.5px; text-transform:uppercase;
  color:var(--text-muted);
  margin-bottom:1.2rem;
}
.dot-pulse {
  width:8px; height:8px; border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 8px var(--cyan);
  animation:dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}

.hero-text h1 {
  font-family:'Space Grotesk', sans-serif;
  font-size:clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight:800; line-height:1.1;
  color:var(--white);
  margin-bottom:1.3rem;
}
.hero-highlight {
  background:linear-gradient(120deg, var(--cyan), var(--cyan-light), #8eccc2);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 0 25px rgba(71,148,137,0.35));
}

.hero-text > p {
  font-size:1.1rem; color:var(--text-muted);
  max-width:480px; margin-bottom:2.2rem;
}

.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:3rem; }

/* stats row */
.hero-stats {
  display:flex; align-items:center; gap:1.5rem;
}
.hstat span {
  display:block;
  font-family:'Space Grotesk', sans-serif;
  font-size:1.6rem; font-weight:700;
  color:var(--cyan);
  line-height:1;
}
.hstat p { font-size:0.78rem; color:var(--text-muted); margin-top:0.2rem; }
.hstat-divider {
  width:1px; height:36px;
  background:var(--border);
}

/* logo ring visual */
.hero-visual {
  display:flex; justify-content:center; align-items:center;
}
.hero-logo-ring {
  position:relative;
  width:340px; height:340px;
  display:flex; justify-content:center; align-items:center;
}
.ring {
  position:absolute; border-radius:50%;
  border:1px solid rgba(71,148,137,0.18);
  animation:ringRotate 20s linear infinite;
}
.ring-1 { width:100%; height:100%; animation-duration:25s; }
.ring-2 { width:72%; height:72%; animation-duration:18s; animation-direction:reverse; border-color:rgba(71,148,137,0.12); }
.ring-3 { width:46%; height:46%; animation-duration:12s; border-color:rgba(71,148,137,0.22); }
@keyframes ringRotate {
  to { transform:rotate(360deg); }
}
.hero-logo-img {
  width:160px; height:160px; object-fit:contain;
  animation:floatY 6s ease-in-out infinite;
  filter:drop-shadow(0 0 30px rgba(71,148,137,0.5));
  position:relative; z-index:2;
}
@keyframes floatY {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-18px); }
}

/* scroll hint */
.hero-scroll-hint {
  position:absolute; bottom:2rem; left:50%;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:0.5rem;
  color:var(--text-muted); font-size:0.72rem; letter-spacing:2px;
  text-transform:uppercase;
}
.scroll-line {
  width:1px; height:40px;
  background:linear-gradient(to bottom, var(--cyan), transparent);
  animation:scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform:scaleY(0); transform-origin:top; opacity:1; }
  50%  { transform:scaleY(1); transform-origin:top; opacity:1; }
  100% { transform:scaleY(1); transform-origin:bottom; opacity:0; }
}

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
.about { background:var(--navy-2); }
.about .section-sub { margin-bottom:3rem; }

.about-cards {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.25rem;
}
.about-card {
  background:var(--navy-3);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:2rem 1.5rem;
  transition:all var(--transition);
  position:relative; overflow:hidden;
}
.about-card::before {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(45,122,112,0.05), transparent);
  opacity:0; transition:opacity var(--transition);
}
.about-card:hover { transform:translateY(-6px); border-color:rgba(71,148,137,0.35); box-shadow:var(--shadow-glow); }
.about-card:hover::before { opacity:1; }

.about-card-icon {
  width:48px; height:48px;
  border-radius:var(--radius-md);
  background:linear-gradient(135deg, #18ae92, var(--cyan));
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; color:var(--white);
  margin-bottom:1.2rem;
  box-shadow:0 0 18px rgba(71,148,137,0.3);
}
.about-card h3 { font-size:1rem; font-weight:600; color:var(--white); margin-bottom:0.5rem; }
.about-card p  { font-size:0.88rem; color:var(--text-muted); line-height:1.6; }

/* ═══════════════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════════════ */
.products { background:var(--navy); }
.products .section-sub { margin-bottom:3rem; }

.products-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.4rem;
}

.product-card {
  background:var(--navy-3);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  display:flex; flex-direction:column;
  transition:all var(--transition);
}
.product-card:hover {
  transform:translateY(-5px);
  border-color:rgba(71,148,137,0.38);
  box-shadow:0 20px 50px rgba(0,0,0,0.45), 0 0 20px rgba(71,148,137,0.1);
}

.product-image {
  width:100%; height:160px;
  background:transparent;
  display:flex; align-items:center; justify-content:center;
  padding:1.5rem; flex-shrink:0; overflow:hidden;
}
.product-image img {
  width:100%; height:100%; object-fit:contain;
  transition:transform var(--transition);
}
.product-card:hover .product-image img { transform:scale(1.06); }
.product-image.fill { padding:0; }
.product-image.fill img { object-fit:cover; }

.product-info {
  padding:1.1rem 1.2rem 1rem;
  display:flex; flex-direction:column; gap:0.5rem;
  flex:1; overflow:hidden;
}
.product-info h3 { 
  font-size:1rem; 
  font-weight:600; 
  color:var(--white); 
  margin:0; 
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  word-break:break-word;
}
.product-info .tagline {
  color:var(--text-muted) !important;
  font-size:0.82rem !important;
  line-height:1.4 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.visit-link {
  display:inline-flex; align-items:center; gap:0.4rem;
  text-decoration:none; color:var(--cyan);
  font-size:0.85rem; font-weight:500;
  margin-top:auto;
  transition:gap var(--transition);
}
.visit-link:hover { gap:0.7rem; }
.visit-link i { font-size:0.8rem; transition:transform var(--transition); }
.visit-link:hover i { transform:translateX(3px); }

/* flex variant */
.product-card.flex { aspect-ratio:auto; }
.product-card.flex .product-image { height:180px; }
.product-card.flex .product-info { height:auto; overflow:visible; }

/* shimmer */
.shimmer { position:relative; overflow:hidden; background:var(--navy-3); }
.shimmer::after {
  content:''; position:absolute; inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(71,148,137,0.07), transparent);
  animation:shimmer 1.3s infinite;
}
@keyframes shimmer { 100% { transform:translateX(100%); } }

/* ═══════════════════════════════════════════════
   PROJECTS (Horizontal Auto-Scroll)
═══════════════════════════════════════════════ */
.projects { 
  background:var(--navy-2); 
  padding:5rem 0;
  overflow:hidden;
}

.projects-scroll-container {
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  position:relative;
  margin-top:3rem;
  scrollbar-width:none; /* Firefox */
  -ms-overflow-style:none; /* IE/Edge */
}

.projects-scroll-container::-webkit-scrollbar {
  display:none; /* Chrome/Safari */
}

/* Gradient overlays removed for cleaner card display */

.projects-scroll {
  display:flex;
  gap:1.5rem;
  width:max-content;
  cursor:grab;
  user-select:none;
  scroll-behavior:smooth;
}

.projects-scroll.dragging {
  cursor:grabbing;
  scroll-behavior:auto;
}

.projects-scroll:hover {
  animation-play-state:paused;
}

/* Light theme */
body.light .projects { background:var(--navy-2); }

.project-card {
  background:var(--navy-3);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  width:320px;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  transition:all var(--transition);
}

.project-card:hover {
  transform:translateY(-8px);
  border-color:rgba(71,148,137,0.38);
  box-shadow:0 20px 50px rgba(0,0,0,0.45), 0 0 20px rgba(71,148,137,0.1);
}

.project-card .product-image {
  width:100%;
  height:180px;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.5rem;
  overflow:hidden;
}

.project-card .product-image img {
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform var(--transition);
}

.project-card:hover .product-image img {
  transform:scale(1.08);
}

.project-card .product-info {
  padding:1.2rem;
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}

.project-card .product-info h3 {
  font-size:1.05rem;
  font-weight:600;
  color:var(--white);
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  word-break:break-word;
}

.project-card .product-info .tagline {
  color:var(--text-muted);
  font-size:0.85rem;
  line-height:1.4;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}

.project-card .meta {
  display:flex;
  gap:8px;
  color:#888;
  font-size:0.85rem;
  margin-top:8px;
  align-items:center;
}

/* Light theme */
body.light .projects { background:var(--navy-2); }
body.light .projects-scroll-container::before {
  background:linear-gradient(to right, var(--navy-2), transparent);
}
body.light .projects-scroll-container::after {
  background:linear-gradient(to left, var(--navy-2), transparent);
}

/* ═══════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════ */
.team { background:var(--navy); }
.team .section-sub { margin-bottom:3rem; }

.team-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(200px,1fr));
  gap:2rem;
}

.team-member {
  background:var(--navy-3);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:2rem 1.5rem;
  text-align:center;
  transition:all var(--transition);
}
.team-member:hover {
  transform:translateY(-6px);
  border-color:rgba(71,148,137,0.35);
  box-shadow:var(--shadow-glow);
}

.member-avatar {
  width:110px; height:110px;
  border-radius:50%;
  margin:0 auto 1.2rem;
  padding:3px;
  background:linear-gradient(135deg, #18ae92, var(--cyan-light));
  box-shadow:0 0 22px rgba(71,148,137,0.25);
  cursor:zoom-in;
  transition:all var(--transition);
}
.team-member:hover .member-avatar {
  box-shadow:0 0 35px rgba(71,148,137,0.4);
}
.member-avatar img {
  width:100%; height:100%;
  object-fit:cover; border-radius:50%;
  border:2px solid var(--navy-3);
  transition:transform 0.5s ease;
}
.team-member:hover .member-avatar img { transform:scale(1.07); }

.member-info h3 { font-size:1rem; font-weight:600; color:var(--white); margin-bottom:0.25rem; }
.position { font-size:0.8rem; color:var(--cyan); font-weight:500; margin-bottom:0.8rem; display:block; }

.member-social { display:flex; justify-content:center; gap:0.6rem; }
.member-social a {
  width:32px; height:32px; border-radius:8px;
  background:rgba(71,148,137,0.08);
  border:1px solid rgba(71,148,137,0.15);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); font-size:0.8rem;
  text-decoration:none;
  transition:all var(--transition);
}
.member-social a:hover {
  background:rgba(71,148,137,0.18);
  border-color:var(--cyan); color:var(--cyan);
  transform:translateY(-2px);
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact { background:var(--navy-2); overflow:hidden; }

.contact-glow-1, .contact-glow-2 {
  position:absolute; border-radius:50%;
  filter:blur(80px); pointer-events:none;
}
.contact-glow-1 {
  width:450px; height:450px;
  background:radial-gradient(circle, rgba(38,110,100,0.16), transparent 70%);
  top:-120px; left:-120px;
  animation:glowPulse 9s ease-in-out infinite alternate;
}
.contact-glow-2 {
  width:300px; height:300px;
  background:radial-gradient(circle, rgba(71,148,137,0.1), transparent 70%);
  bottom:-80px; right:-80px;
  animation:glowPulse 12s ease-in-out infinite alternate-reverse;
}

.contact-layout {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:3.5rem;
  align-items:stretch;
}

/* left col */
.contact-info-col {
  display:flex;
  flex-direction:column;
}
.contact-intro {
  font-size:1rem; color:var(--text-muted);
  line-height:1.7; margin-bottom:2rem;
}

.cinfo-list { display:flex; flex-direction:column; gap:0.85rem; margin-bottom:2rem; flex:1; }

.cinfo-item {
  display:flex; align-items:center; gap:1rem;
  background:var(--navy-3);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:1rem 1.2rem;
  text-decoration:none; color:var(--text);
  transition:all var(--transition);
  position:relative; overflow:hidden;
}
.cinfo-item::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(45,122,112,0.06), transparent);
  opacity:0; transition:opacity var(--transition);
}
.cinfo-item:hover::after { opacity:1; }
.cinfo-item:hover {
  border-color:rgba(71,148,137,0.38);
  transform:translateX(5px);
  box-shadow:0 8px 28px rgba(0,0,0,0.3);
}
.cinfo-item.no-hover:hover { transform:none; cursor:default; }

.cinfo-icon {
  width:42px; height:42px; flex-shrink:0;
  border-radius:var(--radius-sm);
  background:linear-gradient(135deg, #18ae92, var(--cyan));
  display:flex; align-items:center; justify-content:center;
  color:var(--white); font-size:0.95rem;
  box-shadow:0 0 14px rgba(71,148,137,0.25);
}
.cinfo-item > div:not(.cinfo-icon) {
  display:flex; flex-direction:column; flex:1; min-width:0;
}
.cinfo-label {
  font-size:0.7rem; font-weight:600;
  text-transform:uppercase; letter-spacing:1px;
  color:var(--text-muted);
}
.cinfo-value {
  font-size:0.9rem; font-weight:500; color:var(--white);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.cinfo-ext {
  font-size:0.7rem; color:var(--cyan);
  opacity:0; transform:translateX(-4px);
  transition:all var(--transition);
}
.cinfo-item:hover .cinfo-ext { opacity:1; transform:translateX(0); }

.contact-socials { margin-top:0.5rem; }
.contact-socials-label {
  display:block; font-size:0.72rem; font-weight:600;
  text-transform:uppercase; letter-spacing:1.5px;
  color:var(--text-muted); margin-bottom:0.8rem;
}
.contact-socials-row { display:flex; gap:0.65rem; }
.csocial {
  width:40px; height:40px; border-radius:var(--radius-sm);
  background:rgba(71,148,137,0.07);
  border:1px solid rgba(71,148,137,0.15);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); font-size:0.9rem;
  text-decoration:none; transition:all var(--transition);
}
.csocial:hover {
  background:rgba(71,148,137,0.18);
  border-color:var(--cyan); color:var(--cyan);
  transform:translateY(-3px);
  box-shadow:0 6px 18px rgba(71,148,137,0.2);
}

/* right col — form */
.contact-form-col {
  background:var(--navy-3);
  border:1px solid var(--border);
  border-radius:var(--radius-xl);
  padding:2.5rem;
  box-shadow:0 24px 60px rgba(0,0,0,0.4);
  display:flex;
  flex-direction:column;
}

.cform { display:flex; flex-direction:column; gap:1.3rem; flex:1; }
.cform-row { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }

.cfield { display:flex; flex-direction:column; gap:0.45rem; }
.cfield label {
  font-size:0.8rem; font-weight:600;
  color:var(--text-muted); letter-spacing:0.3px;
}
.cfield input, .cfield textarea {
  background:rgba(0,20,55,0.55);
  border:1px solid rgba(71,148,137,0.14);
  border-radius:var(--radius-sm);
  padding:0.85rem 1rem;
  color:var(--white);
  font-family:inherit; font-size:0.93rem;
  outline:none; resize:none;
  transition:all var(--transition);
}
.cfield input::placeholder, .cfield textarea::placeholder { color:rgba(122,179,212,0.5); }
.cfield input:focus, .cfield textarea:focus {
  border-color:var(--cyan);
  background:rgba(0,30,70,0.65);
  box-shadow:0 0 0 3px rgba(71,148,137,0.1);
}

/* send button */
.send-btn {
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center; gap:0.7rem;
  padding:1rem 2rem;
  background:linear-gradient(135deg, #18ae92, var(--cyan));
  color:var(--white); border:none;
  border-radius:var(--radius-sm);
  font-family:inherit; font-size:0.97rem; font-weight:600;
  cursor:pointer; letter-spacing:0.3px;
  box-shadow:0 4px 22px rgba(71,148,137,0.3);
  transition:all var(--transition);
}
.send-btn:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(71,148,137,0.45); }
.send-btn:active { transform:translateY(0); }

.send-btn-icon {
  width:30px; height:30px; border-radius:6px;
  background:rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center;
  transition:transform var(--transition);
}
.send-btn:hover .send-btn-icon { transform:rotate(15deg) scale(1.1); }

.send-btn-ripple {
  position:absolute; inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform:translateX(-100%); transition:transform 0.55s ease;
}
.send-btn:hover .send-btn-ripple { transform:translateX(100%); }

.send-btn.sending { pointer-events:none; opacity:0.75; }
.send-btn.sending .send-btn-icon i { animation:spin 0.8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.send-btn.sent {
  background:linear-gradient(135deg, #139678, var(--green));
  box-shadow:0 4px 20px rgba(24,174,146,0.35);
  pointer-events:none;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background:#020810;
  border-top:1px solid var(--border);
  padding:3.5rem 1.5rem;
}
.footer-inner {
  max-width:1160px; margin:0 auto;
  display:flex; flex-direction:column;
  align-items:center; gap:1.2rem;
  text-align:center;
}
.footer-brand { display:flex; align-items:center; gap:0.6rem; }
.footer-logo-img { width:32px; height:32px; object-fit:contain; }
.footer-logo-text {
  font-family:'Space Grotesk', sans-serif;
  font-size:1.3rem; font-weight:700;
  color:var(--cyan);
  text-shadow:0 0 14px rgba(71,148,137,0.4);
}
.footer-tagline { font-size:0.88rem; color:var(--text-muted); }
.footer-links { display:flex; gap:1.5rem; flex-wrap:wrap; justify-content:center; }
.footer-links a {
  font-size:0.88rem; color:var(--text-muted);
  text-decoration:none; transition:color var(--transition);
}
.footer-links a:hover { color:var(--cyan); }
.footer-socials { display:flex; gap:0.75rem; }
.footer-socials a {
  width:36px; height:36px; border-radius:8px;
  background:rgba(71,148,137,0.07);
  border:1px solid rgba(71,148,137,0.14);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); font-size:0.85rem;
  text-decoration:none; transition:all var(--transition);
}
.footer-socials a:hover {
  background:rgba(71,148,137,0.16);
  border-color:var(--cyan); color:var(--cyan);
  transform:translateY(-2px);
}
.footer-copy { font-size:0.8rem; color:rgba(122,179,212,0.45); }

/* ═══════════════════════════════════════════════
   IMAGE MODAL
═══════════════════════════════════════════════ */
.image-modal {
  position:fixed; inset:0;
  background:rgba(0,0,0,0.92);
  display:flex; align-items:center; justify-content:center;
  z-index:10000;
  animation:fadeIn 0.25s ease;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.image-modal-content {
  position:relative; max-width:90%; max-height:90%;
  animation:zoomIn 0.25s ease;
}
@keyframes zoomIn { from{transform:scale(0.75)} to{transform:scale(1)} }
.image-modal-content img {
  max-width:100%; max-height:85vh;
  object-fit:contain; border-radius:12px;
  box-shadow:0 10px 60px rgba(0,0,0,0.6);
}
.image-modal-close {
  position:absolute; top:-38px; right:0;
  color:var(--white); font-size:36px; font-weight:700;
  cursor:pointer; transition:color var(--transition);
}
.image-modal-close:hover { color:var(--cyan); }
.image-modal-caption {
  text-align:center; color:var(--white);
  font-size:1rem; margin-top:0.8rem; font-weight:500;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width:1100px) {
  .about-cards { grid-template-columns:repeat(2,1fr); }
  .products-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px) {
  .hero-inner { grid-template-columns:1fr; text-align:center; gap:2.5rem; }
  .hero-text > p { margin-left:auto; margin-right:auto; }
  .hero-actions { justify-content:center; }
  .hero-stats { justify-content:center; }
  .hero-visual { order:-1; }
  .hero-logo-ring { width:240px; height:240px; }
  .hero-logo-img { width:110px; height:110px; }
  .appstore-inner { grid-template-columns:1fr; text-align:center; }
  .appstore-actions { justify-content:center; }
  .appstore-mockup { display:none; }
  .contact-layout { grid-template-columns:1fr; }
  .products-grid { grid-template-columns:repeat(2,1fr); }
  .product-card { aspect-ratio:auto; min-height:240px; }
  .product-image { height:160px; padding:1.2rem; }
  .product-info { height:auto; overflow:visible; }
  .project-card { width:280px; }
}

@media (max-width:640px) {
  .section-inner { padding:5rem 1.2rem; }
  .about-cards { grid-template-columns:1fr; }
  .products-grid { grid-template-columns:repeat(2,1fr); gap:0.9rem; }
  .product-card { aspect-ratio:auto; min-height:200px; }
  .product-image { height:130px; padding:0.9rem; }
  .product-info { height:auto; overflow:visible; padding:0.9rem; }
  .product-info h3 { font-size:0.9rem; }
  .project-card { width:240px; }
  .project-card .product-image { height:140px; padding:1rem; }
  .project-card .product-info { padding:1rem; }
  .cform-row { grid-template-columns:1fr; }
  .contact-form-col { padding:1.8rem 1.3rem; }
  .hero-stats { flex-direction:column; gap:1rem; }
  .hstat-divider { width:40px; height:1px; }
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
  .nav-links.active {
    display:flex; flex-direction:column;
    position:absolute; top:68px; left:0; right:0;
    background:rgba(5,13,26,0.97);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border);
    padding:1rem 1.5rem 1.5rem;
    gap:0.25rem;
  }
  .nav-link { padding:0.7rem 0.9rem; }
}
@media (min-width:641px) {
  .nav-toggle { display:none; }
}
@media (max-width:1200px) {
  /* absorbed into 1100px rule above */
}

/* AOS hint */
[data-aos] { will-change:transform,opacity; }
