/* =========================================================
   SSE Water — Shree Samarth Engineers
   Design System & Stylesheet
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #0A1628;
  --navy-2: #0F2138;
  --ocean: #0066CC;
  --aqua: #00BCD4;
  --aqua-soft: #B6F0F8;
  --white: #FFFFFF;
  --eco: #4CAF50;

  /* Neutrals */
  --gray-900: #0E1B2C;
  --gray-700: #2A3B53;
  --gray-500: #5A6B82;
  --gray-300: #C9D4E2;
  --gray-100: #F2F6FB;
  --gray-50:  #F7FAFD;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-alt: #F4F8FC;
  --surface: #FFFFFF;
  --border: #E2EAF3;

  /* Type */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.05);
  --shadow:    0 10px 30px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.18);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #0A1628 0%, #0F2A4A 45%, #0066CC 100%);
  --grad-aqua: linear-gradient(135deg, #0066CC 0%, #00BCD4 100%);
  --grad-soft: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--aqua); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); }
p  { margin: 0 0 1rem; }

/* ----- Layout helpers ----- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section   { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 1rem;
  padding: .35rem .8rem;
  background: rgba(0, 188, 212, 0.08);
  border-radius: 999px;
}
.section-title {
  max-width: 760px;
}
.section-title p {
  font-size: 1.1rem;
  color: var(--gray-500);
}
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-aqua);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 102, 204, 0.45); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ----- Header / Nav ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--ocean); }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-aqua);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.35);
}
.logo-mark svg { width: 22px; height: 22px; color: var(--white); }
.logo-sub { display: block; font-size: .68rem; font-weight: 500; color: var(--gray-500); letter-spacing: .14em; text-transform: uppercase; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0 auto 0 1rem;
  padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: .55rem .95rem;
  border-radius: 999px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: .96rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-menu a:hover { background: var(--gray-100); color: var(--navy); }
.nav-menu a.active { color: var(--navy); background: rgba(0, 188, 212, 0.12); }

.nav-cta { padding: .7rem 1.3rem; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-menu {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 1rem; border-radius: 12px; font-size: 1.05rem; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--grad-hero);
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(6rem, 12vw, 11rem);
  isolation: isolate;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.hero::before { width: 520px; height: 520px; background: rgba(0, 188, 212, 0.45); top: -120px; right: -100px; animation: float 14s ease-in-out infinite; }
.hero::after  { width: 420px; height: 420px; background: rgba(0, 102, 204, 0.55); bottom: -120px; left: -120px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -30px, 0); }
}
.hero h1 { color: var(--white); }
.hero h1 .accent { background: linear-gradient(90deg, #00BCD4, #B6F0F8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 1vw + .8rem, 1.3rem); color: rgba(255,255,255,0.85); max-width: 620px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: .85rem;
  margin-bottom: 1.4rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--eco); box-shadow: 0 0 0 4px rgba(76,175,80,0.25); }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0,188,212,0.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(0,102,204,0.45), transparent 55%);
}
.hero-visual svg { width: 70%; height: 70%; position: relative; filter: drop-shadow(0 20px 40px rgba(0, 188, 212, 0.4)); }
.hero-floating {
  position: absolute;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  padding: .85rem 1.1rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 600;
  font-size: .92rem;
  animation: bob 5s ease-in-out infinite;
}
.hero-floating.fl-1 { top: 12%; left: -4%; }
.hero-floating.fl-2 { bottom: 14%; right: -2%; animation-delay: -2.5s; }
.hero-floating .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-aqua); color: var(--white); }
.hero-floating .icon svg { width: 18px; height: 18px; }
.hero-floating small { display: block; color: var(--gray-500); font-weight: 500; font-size: .76rem; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Wave divider */
.wave-divider {
  position: absolute;
  inset: auto 0 -1px 0;
  width: 100%;
  height: 80px;
  display: block;
  color: var(--bg);
}

/* ----- Page header (inner pages) ----- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.35), transparent 50%),
              radial-gradient(circle at 10% 90%, rgba(0, 102, 204, 0.4), transparent 55%);
  z-index: -1;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 680px; font-size: 1.15rem; }
.crumbs {
  font-size: .85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem;
  letter-spacing: .05em;
}
.crumbs a { color: rgba(255,255,255,0.9); }
.crumbs a:hover { color: var(--aqua-soft); }

/* ----- Stats strip ----- */
.stats {
  margin-top: -4rem;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat .num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.stat .suffix { color: var(--ocean); }
.stat .label {
  display: block;
  margin-top: .55rem;
  color: var(--gray-500);
  font-weight: 500;
  font-size: .92rem;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----- Card grid ----- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 188, 212, 0.4);
}
.card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,188,212,0.18));
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  color: var(--ocean);
  transition: transform .35s var(--ease);
}
.card:hover .icon-wrap { transform: scale(1.06) rotate(-4deg); }
.card .icon-wrap svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .55rem; }
.card p  { color: var(--gray-500); margin-bottom: 1rem; }
.card .more {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600;
  color: var(--ocean);
  font-size: .92rem;
}
.card .more::after {
  content: "→";
  transition: transform .25s var(--ease);
}
.card:hover .more::after { transform: translateX(4px); }

/* Featured product cards */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #E6F4FA 0%, #B6F0F8 100%);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.product-img svg { width: 50%; height: 50%; color: var(--ocean); transition: transform .4s var(--ease); }
.product-card:hover .product-img svg { transform: scale(1.08); }
.product-img .tag {
  position: absolute;
  top: .9rem; left: .9rem;
  padding: .3rem .7rem;
  background: var(--white);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.product-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.product-meta { color: var(--gray-500); font-size: .92rem; margin-bottom: 1rem; flex: 1; }
.product-price {
  display: flex; align-items: baseline; gap: .35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ocean);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.product-price small { font-size: .78rem; font-weight: 500; color: var(--gray-500); }
.product-card .btn { align-self: flex-start; }

/* ----- Logos strip ----- */
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-block: 1px solid var(--border);
  margin-block: 2rem;
}
.logos span {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  letter-spacing: .06em;
  font-size: .92rem;
  opacity: .75;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.logos span:hover { opacity: 1; color: var(--navy); }
@media (max-width: 800px) { .logos { grid-template-columns: repeat(3, 1fr); } }

/* ----- Testimonials ----- */
.testimonials {
  position: relative;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 3rem) / 3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
@media (max-width: 960px) { .testimonial { flex: 0 0 calc((100% - 1.5rem) / 2); } }
@media (max-width: 640px) { .testimonial { flex: 0 0 100%; } }
.testimonial .stars { color: #F4B400; margin-bottom: .9rem; letter-spacing: 2px; }
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray-700);
}
.testimonial .who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: .85rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-aqua);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: grid; place-items: center;
}
.who strong { display: block; color: var(--navy); font-weight: 600; }
.who small { color: var(--gray-500); }

.slider-controls {
  display: flex;
  gap: .5rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.slider-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: grid; place-items: center;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.slider-controls button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.slider-controls svg { width: 20px; height: 20px; }

/* ----- CTA banner ----- */
.cta-banner {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(0,188,212,.45), transparent 55%),
              radial-gradient(circle at 0% 100%, rgba(0,102,204,.55), transparent 55%);
  z-index: -1;
}
.cta-banner h2 { color: var(--white); max-width: 720px; }
.cta-banner p  { color: rgba(255,255,255,0.8); max-width: 600px; font-size: 1.1rem; margin-bottom: 1.6rem; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ----- Why us / feature list ----- */
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature .ic {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,102,204,.12), rgba(0,188,212,.18));
  color: var(--ocean);
  display: grid; place-items: center;
}
.feature .ic svg { width: 24px; height: 24px; }
.feature h4 { margin: .1rem 0 .25rem; color: var(--navy); font-size: 1.1rem; }
.feature p  { margin: 0; color: var(--gray-500); }

/* ----- Team ----- */
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--grad-aqua);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.3);
}
.team-card h4 { margin-bottom: .2rem; }
.team-card .role { color: var(--ocean); font-size: .9rem; font-weight: 600; }
.team-card .bio { color: var(--gray-500); font-size: .9rem; margin-top: .65rem; }

/* ----- Projects ----- */
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-900);
  cursor: pointer;
}
.project-img {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0F2A4A, #0066CC);
  display: grid; place-items: center;
  transition: transform .5s var(--ease);
}
.project-img svg { width: 35%; height: 35%; color: rgba(255,255,255,0.6); }
.project-card:hover .project-img { transform: scale(1.05); }
.project-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
  background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.92) 100%);
  z-index: 1;
}
.project-overlay h4 { color: var(--white); margin-bottom: .25rem; font-size: 1.2rem; }
.project-overlay .meta { font-size: .85rem; opacity: .85; }
.project-tag {
  align-self: flex-start;
  display: inline-block;
  padding: .25rem .65rem;
  font-size: .7rem;
  letter-spacing: .08em;
  font-weight: 600;
  background: rgba(0, 188, 212, 0.85);
  color: var(--white);
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

/* ----- Forms ----- */
.form {
  display: grid;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  padding: 1rem 1.2rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.35);
  border-radius: 12px;
  color: #2C6E30;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ----- Contact info card ----- */
.info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -50% auto;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, .3), transparent 60%);
}
.info-card h3 { color: var(--white); }
.info-row { display: flex; gap: .9rem; align-items: flex-start; position: relative; }
.info-row .ic {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--aqua);
}
.info-row .ic svg { width: 18px; height: 18px; }
.info-row strong { display: block; color: var(--white); font-weight: 600; }
.info-row a, .info-row span { color: rgba(255,255,255,0.78); font-size: .94rem; }
.info-row a:hover { color: var(--aqua); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  aspect-ratio: 16 / 9;
  position: relative;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ----- Footer ----- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  letter-spacing: .03em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer ul a { color: rgba(255,255,255,0.7); font-size: .94rem; }
.footer ul a:hover { color: var(--aqua); }
.footer .logo { color: var(--white); margin-bottom: 1rem; }
.footer .logo:hover { color: var(--aqua); }
.footer .about { font-size: .94rem; line-height: 1.7; max-width: 320px; }
.socials { display: flex; gap: .55rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { background: var(--aqua); color: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: .88rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--aqua); }

/* ----- WhatsApp float ----- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 40;
  transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--white); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ----- Reveal on scroll ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----- Utility ----- */
.muted { color: var(--gray-500); }
.divider-soft { height: 1px; background: var(--border); margin: 4rem 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.image-block {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0F2A4A 0%, #0066CC 60%, #00BCD4 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.image-block::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 55%);
}
.image-block svg { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 50%; height: 50%; color: var(--white); opacity: .85; }
