/* ============================================
   PECPVT Design System — Engineering & Construction
   Pothigai Engineering & Construction Pvt Ltd
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --blue: #2E5BFE;
  --blue-deep: #1a3fc4;
  --blue-light: rgba(46, 91, 254, 0.12);
  --orange: #FEAE01;
  --orange-deep: #d99200;
  --orange-light: rgba(254, 174, 1, 0.14);
  --magenta: #FE01CE;
  --magenta-deep: #c800a2;
  --magenta-light: rgba(254, 1, 206, 0.10);

  /* Neutrals */
  --ink: #0B1426;
  --ink-soft: #162040;
  --slate: #374869;
  --muted: #6B7A9E;
  --silver: #A0AECB;
  --line: #E2E8F4;
  --bg: #F5F6FA;
  --bg-warm: #FAFAF7;
  --surface: #FFFFFF;

  /* Typography */
  --font-heading: 'Sora', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: clamp(3.5rem, 6vw, 6rem);
  --container-max: 1220px;

  /* Radii */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 20, 38, 0.06);
  --shadow: 0 8px 32px rgba(11, 20, 38, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 20, 38, 0.12);
  --shadow-glow-blue: 0 4px 30px rgba(46, 91, 254, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.35s;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul { list-style: none; margin: 0; padding: 0; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Container --- */
.container {
  width: min(var(--container-max), calc(100% - 2rem));
  margin-inline: auto;
}

/* --- Top Bar --- */
.topbar {
  background: var(--ink);
  color: var(--silver);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.topbar a:hover { color: var(--orange); }

.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.topbar-social a img {
  width: 16px;
  height: 16px;
  opacity: 0.85;
  transition: opacity var(--duration) var(--ease), filter var(--duration) var(--ease);
}

.topbar-social a:hover img {
  opacity: 1;
  filter: invert(68%) sepia(97%) saturate(1467%) hue-rotate(11deg) brightness(101%) contrast(101%);
}

/* --- Header / Nav --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

.header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  color: var(--slate);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  position: relative;
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
  font-weight: 700;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: var(--shadow-glow-blue);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 35px rgba(46, 91, 254, 0.35) !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)) !important;
  color: #fff !important;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: background var(--duration) var(--ease);
}
.menu-btn:hover { background: var(--bg); }

/* --- Hero Section (Home Page) --- */
.hero-scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #0B1426 0%, #0F1C38 40%, #142448 70%, #1C3468 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Stars background */
.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 90% 15%, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}

/* Sun Element */
.hero-sun {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: clamp(100px, 18vw, 200px);
  height: clamp(100px, 18vw, 200px);
  border-radius: 50%;
  background: radial-gradient(circle, #FFD93D 0%, var(--orange) 50%, #FF8C00 100%);
  box-shadow:
    0 0 60px rgba(255, 174, 0, 0.6),
    0 0 120px rgba(255, 174, 0, 0.3),
    0 0 200px rgba(255, 174, 0, 0.15);
  transition: transform 0.1s linear;
  z-index: 2;
}

/* Mountain SVG */
.hero-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  transition: transform 0.1s linear;
}

.hero-mountain svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero Content (above mountain) */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 2rem 1rem;
  max-width: 800px;
}

.hero-logo {
  width: clamp(120px, 22vw, 260px);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.hero-company {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--orange) 60%, #FFD93D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

/* --- Stats Band --- */
.stats-band {
  background: var(--ink);
  border-top: 3px solid var(--blue);
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--ink);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-number .accent { color: var(--orange); }

.stat-label {
  display: block;
  color: var(--silver);
  font-size: 0.85rem;
  margin-top: 0.4rem;
  font-weight: 500;
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
}

.section-light { background: var(--surface); }
.section-warm { background: var(--bg-warm); }
.section-grey { background: var(--bg); }

.section-dark {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #fff;
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p,
.section-dark li { color: var(--silver); }

.section-head {
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.section-dark .section-label { color: var(--orange); }

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-dark .section-head p { color: var(--silver); }

/* --- Grid System --- */
.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); }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Dark card variant */
.card-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--silver); }

/* Icon card */
.card-icon {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card-icon-symbol {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-blue { background: var(--blue-light); color: var(--blue); }
.icon-orange { background: var(--orange-light); color: var(--orange-deep); }
.icon-magenta { background: var(--magenta-light); color: var(--magenta); }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.b-blue { background: var(--blue-light); color: var(--blue-deep); }
.b-orange { background: var(--orange-light); color: var(--orange-deep); }
.b-magenta { background: var(--magenta-light); color: var(--magenta-deep); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: var(--shadow-glow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(46, 91, 254, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg);
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--ink);
  font-weight: 800;
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(254, 174, 1, 0.35);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- Project Cards --- */
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,20,38,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.project-card:hover .project-thumb-overlay { opacity: 1; }

.project-info {
  padding: 1.2rem;
}

.project-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.project-info p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* --- Filter Tabs --- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filters button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: var(--radius-pill);
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  transition: all var(--duration) var(--ease);
}

.filters button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filters button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* --- Process Timeline --- */
.process-list {
  counter-reset: process-step;
}

.process-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
}

.process-item + .process-item {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.process-number {
  counter-increment: process-step;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  flex-shrink: 0;
}

.process-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

/* --- Testimonials --- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.testimonial-quote::before { content: '\201C'; font-size: 2rem; color: var(--blue); line-height: 0; vertical-align: -0.4em; margin-right: 0.2em; }

.testimonial-author {
  font-weight: 700;
  color: var(--ink);
}

.testimonial-role {
  font-size: 0.88rem;
  color: var(--muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.testimonial-dot.active { background: var(--blue); }

/* --- Client Logo Marquee --- */
.marquee-wrap {
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}
.marquee-item:hover { opacity: 1; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- CTA Band --- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #1a3fc4 50%, #0f2d8c 100%);
  color: #fff;
  text-align: center;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(254, 174, 1, 0.15);
  filter: blur(50px);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Hero Banner --- */
.page-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 60%, #1a3058 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(46, 91, 254, 0.15);
  filter: blur(60px);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(254, 174, 1, 0.1);
  filter: blur(50px);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--silver);
  font-size: 1.1rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--silver);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a { color: var(--orange); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* --- Forms --- */
form { display: grid; gap: 1rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--slate);
}

input, textarea, select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.78rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

textarea { min-height: 120px; resize: vertical; }

input::placeholder, textarea::placeholder {
  color: var(--silver);
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* --- About Page Specific --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Leadership cards */
.leader-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--orange-light));
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--line);
}

/* --- Values Page Specific --- */
.value-card {
  padding: 2rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: var(--silver);
  padding: 4rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--magenta));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer p, .footer li, .footer a {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer a:hover { color: var(--orange); }

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-brand-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-style: italic;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.footer-social a img {
  width: 16px;
  height: 16px;
  transition: transform var(--duration) var(--ease);
}

.footer-social a:hover img {
  transform: scale(1.15);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-contact-icon {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.subfooter {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0;
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.subfooter a { color: var(--silver); }
.subfooter a:hover { color: var(--orange); }

/* --- WhatsApp Floating Button --- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* WhatsApp pulse animation */
.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease);
  pointer-events: none;
  font-size: 1.1rem;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Text List Style --- */
.text-list {
  padding-left: 0;
}

.text-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.text-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .menu-btn { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    display: none;
    z-index: 200;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }

  .nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    border: 1px solid var(--line);
  }

  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }

  .hero-content { padding: 1.5rem 0.5rem; }
  .hero-tagline { font-size: clamp(1.5rem, 8vw, 2.2rem); }

  .btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; }

  .whatsapp-fab { width: 54px; height: 54px; bottom: 20px; right: 20px; }
  .whatsapp-fab svg { width: 28px; height: 28px; }
  .scroll-top { bottom: 84px; right: 24px; }

  .subfooter {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-magenta { color: var(--magenta); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-sm { gap: 0.8rem; }
