/* ============================================
   NATIONAL TECH HYDRO & ELECTRIC (P.) LTD
   Premium Corporate Website Styles
   ============================================ */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

ul {
  list-style: none;
}

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

/* ---------- ROOT VARIABLES ---------- */
:root {
  --navy: #0B1F3A;
  --hydro-blue: #0F4C81;
  --cyan: #00AEEF;
  --green: #2BA84A;
  --white: #ffffff;
  --light-gray: #F4F6F9;
  --gray-100: #E5E9EF;
  --gray-200: #CBD3DE;
  --gray-400: #8893A4;
  --gray-600: #4B5563;
  --charcoal: #1A2233;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.12);
  --radius: 6px;
  --radius-lg: 12px;
  --container: 1240px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--gray-600);
  font-size: 1rem;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-tight {
  padding: 70px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--hydro-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--cyan);
  transform: translateY(-50%);
}

.section-title {
  margin-bottom: 18px;
  max-width: 760px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 720px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.center .section-tag,
.section-header.center .section-title,
.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section-header.center .section-tag {
  padding-left: 0;
  padding-right: 0;
}

.section-header.center .section-tag::before {
  display: none;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--hydro-blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 76, 129, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--hydro-blue);
}

.btn-ghost {
  color: var(--hydro-blue);
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-ghost::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.25s ease;
  display: inline-block;
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--cyan);
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

.topbar-right a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
}

.topbar-right a:hover {
  background: var(--hydro-blue);
  border-color: var(--hydro-blue);
  color: var(--white);
}

.topbar-right svg {
  width: 12px;
  height: 12px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hydro-blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--cyan);
  opacity: 0.85;
  clip-path: polygon(0 50%, 15% 30%, 30% 60%, 50% 20%, 70% 50%, 85% 30%, 100% 60%, 100% 100%, 0 100%);
}

.logo-mark svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.6875rem;
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--hydro-blue);
}

.header-cta {
  margin-left: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--light-gray);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: all var(--transition);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../imgs/hydro-dam-2.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 31, 58, 0.92) 0%, rgba(15, 76, 129, 0.82) 55%, rgba(11, 31, 58, 0.7) 100%);
  z-index: 2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-container {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 80px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-content {
  max-width: 820px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(0, 174, 239, 0.12);
  border: 1px solid rgba(0, 174, 239, 0.35);
  color: var(--cyan);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(0, 174, 239, 0.05); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--cyan) 0%, #4DD4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-sub {
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-actions .btn-primary {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.35);
}

.hero-actions .btn-primary:hover {
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 780px;
}

.hero-stat .num {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: baseline;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat .suffix {
  color: var(--cyan);
  margin-left: 2px;
}

.hero-stat .label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}

.scroll-indicator::after {
  content: "";
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  margin-top: 8px;
  animation: scrolldown 1.8s infinite;
}

@keyframes scrolldown {
  0% { opacity: 0; transform: translateY(-6px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================
   TRUST STATS STRIP
   ============================================ */
.trust-strip {
  background: var(--white);
  padding: 0;
  position: relative;
  margin-top: -70px;
  z-index: 10;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.trust-card {
  padding: 40px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-right: 1px solid var(--gray-100);
  transition: background var(--transition);
}

.trust-card:last-child { border-right: none; }
.trust-card:hover { background: var(--light-gray); }

.trust-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hydro-blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
}

.trust-content .num {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust-content .label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--light-gray);
  padding-top: 140px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

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

.about-image-accent {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 60%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 8px solid var(--light-gray);
  box-shadow: var(--shadow-lg);
}

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

.about-badge {
  position: absolute;
  top: -28px;
  left: -28px;
  width: 130px;
  height: 130px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-badge .big {
  font-family: 'Manrope', sans-serif;
  font-size: 2.25rem;
  line-height: 1;
}

.about-badge .small {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  text-align: center;
  font-weight: 700;
}

.about-content h2 {
  margin-bottom: 22px;
}

.about-content p {
  margin-bottom: 22px;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0 36px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 174, 239, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hydro-blue);
  flex-shrink: 0;
}

.about-feature-icon svg { width: 22px; height: 22px; }

.about-feature-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 2px;
  font-weight: 700;
}

.about-feature-text span {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-100);
}

.about-signature-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hydro-blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.about-signature-text strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
}

.about-signature-text span {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hydro-blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.1), rgba(0, 174, 239, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hydro-blue);
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--hydro-blue), var(--cyan));
  color: var(--white);
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 22px;
  color: var(--gray-600);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-100);
  letter-spacing: -0.02em;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.projects .section-title { color: var(--white); }
.projects .section-tag { color: var(--cyan); }
.projects .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--navy);
  color: inherit;
  text-decoration: none;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.1) 30%, rgba(11, 31, 58, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  z-index: 2;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.project-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-meta svg { width: 14px; height: 14px; color: var(--cyan); }

.project-status {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 3;
}

.project-status.ongoing { background: #f59e0b; }
.project-status.planned { background: var(--hydro-blue); }

/* ============================================
   CAPABILITIES
   ============================================ */
.capabilities {
  background: var(--light-gray);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.capabilities-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.capability {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.capability:hover {
  transform: translateX(6px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.capability-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--hydro-blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.capability-icon svg { width: 26px; height: 26px; }

.capability h4 {
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.capability p {
  font-size: 0.9375rem;
  margin: 0;
}

.capabilities-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

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

.capabilities-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 31, 58, 0.7) 100%);
}

.capabilities-spec {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 22px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  z-index: 2;
}

.spec-item .num {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.spec-item .label {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--hydro-blue) 0%, var(--cyan) 50%, var(--green) 100%);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--hydro-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hydro-blue);
  transition: all var(--transition);
  position: relative;
}

.process-step:hover .process-num {
  background: var(--hydro-blue);
  color: var(--white);
  transform: scale(1.06);
}

.process-step h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-step p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 180px;
}

/* ============================================
   LEADERSHIP MESSAGE
   ============================================ */
.leadership {
  background: linear-gradient(135deg, var(--navy) 0%, var(--hydro-blue) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.leadership::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1473773508845-188df298d2d1?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  opacity: 0.08;
  background-position: center;
}

.leadership-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
  align-items: center;
}

.leadership-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

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

.leadership-img::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.leadership-quote {
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 7rem;
  color: var(--cyan);
  line-height: 1;
  opacity: 0.6;
  margin-bottom: -30px;
  font-weight: 700;
}

.leadership-quote p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  margin-bottom: 30px;
  font-weight: 300;
}

.leadership-sign {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.leadership-sign strong {
  display: block;
  font-size: 1.125rem;
  color: var(--white);
  font-weight: 700;
}

.leadership-sign span {
  color: var(--cyan);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.why-item {
  background: var(--light-gray);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.why-item:hover {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--white);
  color: var(--hydro-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.why-item-icon svg { width: 24px; height: 24px; }

.why-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.why-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.why-checklist {
  margin-top: 30px;
}

.why-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.why-check:last-child { border: none; }

.check-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}

.why-check span {
  font-size: 0.9375rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* ============================================
   PARTNERS / CLIENTS
   ============================================ */
.partners {
  background: var(--light-gray);
  padding: 70px 0;
}

.partners-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

.partner-logo {
  height: 70px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--gray-400);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  text-align: center;
  padding: 10px;
}

.partner-logo:hover {
  color: var(--navy);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--hydro-blue) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  opacity: 0.12;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin: 0;
}

.cta-banner .btn-primary {
  background: var(--cyan);
  color: var(--navy);
}

.cta-banner .btn-primary:hover { background: var(--white); }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  background: var(--light-gray);
  padding: 26px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.contact-item:hover {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hydro-blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 24px; height: 24px; }

.contact-item-text h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.contact-item-text a:hover { color: var(--hydro-blue); }

.contact-form {
  background: var(--light-gray);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.contact-form h3 {
  margin-bottom: 8px;
}

.contact-form > p {
  margin-bottom: 30px;
  font-size: 0.9375rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-100);
  font-size: 0.9375rem;
  font-family: inherit;
  background: var(--white);
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--hydro-blue);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 10px;
  font-size: 0.9375rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  position: relative;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 22px;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 14px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--cyan);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-links a::before {
  content: "→";
  color: var(--cyan);
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

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

/* ============================================
   PAGE HEADER (Inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(120deg, var(--navy) 0%, var(--hydro-blue) 100%);
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../imgs/hydro-dam-2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-header-inner {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.4); }
.breadcrumb .current { color: var(--cyan); }

/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */
.project-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.55) 0%, rgba(11, 31, 58, 0.55) 40%, rgba(11, 31, 58, 0.92) 100%);
  z-index: 2;
}

.project-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 100px 0 60px;
}

.project-hero .breadcrumb {
  margin-bottom: 28px;
}

.project-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 18px;
  max-width: 900px;
  line-height: 1.1;
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}

.project-hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.project-hero-meta .pill svg {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.project-hero-meta .pill.status {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.project-hero-meta .pill.status.ongoing { background: #f59e0b; border-color: #f59e0b; }
.project-hero-meta .pill.status.planned { background: var(--hydro-blue); border-color: var(--hydro-blue); }

/* SPEC BAR */
.spec-bar {
  background: var(--white);
  padding: 0;
  position: relative;
  margin-top: -50px;
  z-index: 10;
}

.spec-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.spec-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-cell:last-child { border-right: none; }

.spec-cell .label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.spec-cell .value {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.spec-cell .value small {
  font-size: 0.6em;
  color: var(--cyan);
  font-weight: 700;
  margin-left: 2px;
}

/* PROJECT OVERVIEW */
.project-overview {
  background: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: start;
}

.overview-body h2 {
  margin-bottom: 22px;
}

.overview-body p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 1rem;
}

.overview-body p:first-of-type {
  font-size: 1.0625rem;
  color: var(--charcoal);
  font-weight: 500;
}

.overview-body ul {
  list-style: none;
  margin: 24px 0;
}

.overview-body ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gray-100);
}

.overview-body ul li:last-child { border-bottom: none; }

.overview-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.info-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  position: sticky;
  top: 100px;
}

.info-card h3 {
  font-size: 1.125rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--cyan);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--gray-100);
  gap: 16px;
}

.info-row:last-child { border-bottom: none; }

.info-row .key {
  font-size: 0.8125rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.info-row .val {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.info-cta {
  display: block;
  text-align: center;
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--hydro-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.info-cta:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

/* PROJECT GALLERY */
.project-gallery {
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 600px;
}

.gallery-grid > a:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 31, 58, 0.5) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

.gallery-item .caption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }

/* SCOPE OF WORK */
.scope {
  background: var(--white);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.scope-item {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--light-gray);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.scope-item:hover {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.scope-item-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  color: var(--hydro-blue);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.scope-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.scope-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

/* MILESTONES TIMELINE */
.milestones {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.milestones::before {
  content: "";
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.milestones .section-title { color: var(--white); }
.milestones .section-tag { color: var(--cyan); }
.milestones .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.timeline {
  position: relative;
  padding-left: 0;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 174, 239, 0.1));
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 70px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 3px solid var(--cyan);
  z-index: 2;
}

.timeline-item.done .timeline-dot {
  background: var(--cyan);
}

.timeline-item.done .timeline-dot::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
}

.timeline-date {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

/* RELATED PROJECTS */
.related-projects {
  background: var(--light-gray);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-page {
  background: var(--light-gray);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.gallery-filters .filter-btn {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--gray-100);
}

.gallery-filters .filter-btn:hover,
.gallery-filters .filter-btn.active {
  background: var(--hydro-blue);
  color: var(--white);
  border-color: var(--hydro-blue);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy);
  display: block;
}

.gallery-tile.size-wide { grid-column: span 2; }
.gallery-tile.size-tall { grid-row: span 2; }
.gallery-tile.size-large { grid-column: span 2; grid-row: span 2; }

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-tile:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 31, 58, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.gallery-tile:hover .gallery-tile-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tile-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.gallery-tile-title {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.gallery-tile-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--transition);
  z-index: 3;
}

.gallery-tile-zoom svg { width: 18px; height: 18px; }

.gallery-tile:hover .gallery-tile-zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9375rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--gray-200);
  display: none;
}

.gallery-empty.show { display: block; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
  animation: lightboxFade 0.3s ease;
}

@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-inner {
  position: relative;
  max-width: 1100px;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lightboxZoom 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes lightboxZoom {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-caption {
  margin-top: 18px;
  color: var(--white);
  text-align: center;
  font-size: 0.9375rem;
  max-width: 700px;
}

.lightbox-caption .tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.lightbox-caption .title {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
}

.lightbox-counter {
  position: absolute;
  top: -36px;
  left: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  transform: rotate(90deg);
}

.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-nav svg { width: 22px; height: 22px; }

body.lightbox-open { overflow: hidden; }

/* ============================================
   TEAM PAGE
   ============================================ */
.team-page {
  background: var(--light-gray);
}

.team-tier {
  margin-bottom: 70px;
}

.team-tier:last-child { margin-bottom: 0; }

.team-tier-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.team-tier-header::before,
.team-tier-header::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--gray-200);
}

.team-tier-header::before { left: calc(50% - 200px); }
.team-tier-header::after { right: calc(50% - 200px); }

.team-tier-label {
  display: inline-block;
  background: var(--light-gray);
  padding: 0 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--hydro-blue);
  text-transform: uppercase;
  position: relative;
}

.team-tier-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}

.team-tier-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--navy);
  margin-top: 8px;
  font-weight: 700;
}

/* Grid variations */
.team-grid {
  display: grid;
  gap: 24px;
}

.team-grid.cols-1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.team-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Card */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-card-photo {
  position: relative;
  aspect-ratio: 4/4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--hydro-blue));
}

.team-grid.cols-1 .team-card-photo { aspect-ratio: 16/10; }

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.04);
}

.team-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 31, 58, 0.55) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card:hover .team-card-photo::after { opacity: 1; }

.team-social {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 2;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

.team-social a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.team-social a:hover {
  background: var(--cyan);
  color: var(--navy);
}

.team-social svg { width: 14px; height: 14px; }

.team-card-info {
  padding: 22px 22px 24px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.team-card-position {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hydro-blue);
  margin-bottom: 12px;
}

.team-card-creds {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

/* Featured (top-tier) card — Chairman */
.team-card.featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--hydro-blue), var(--cyan)) border-box;
  border: 2px solid transparent;
}

.team-card.featured .team-card-info {
  padding: 28px 28px 30px;
}

.team-card.featured .team-card-name {
  font-size: 1.375rem;
}

.team-card.featured .team-card-position {
  font-size: 0.8125rem;
  color: var(--cyan);
  margin-bottom: 16px;
}

.team-card.featured .team-card-creds {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* Quote (Chairman blurb) */
.chairman-quote {
  font-style: italic;
  color: var(--charcoal);
  font-size: 0.9375rem;
  line-height: 1.7;
  padding: 0 12px;
  border-left: 3px solid var(--cyan);
  text-align: left;
  margin: 14px 0 0;
}

/* TEAM STATS BAR */
.team-stats {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 70px;
  position: relative;
  overflow: hidden;
}

.team-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.team-stat {
  text-align: center;
  position: relative;
  z-index: 2;
}

.team-stat .num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.team-stat .num .suffix { color: var(--cyan); margin-left: 2px; }

.team-stat .label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-cards { grid-template-columns: repeat(2, 1fr); }
  .trust-card:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid::before { display: none; }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .spec-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .spec-cell:nth-child(3) { border-right: none; }
  .spec-cell:nth-child(n+4) { border-top: 1px solid var(--gray-100); }
  .overview-grid { grid-template-columns: 1fr; gap: 50px; }
  .info-card { position: static; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { height: 500px; }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
  .team-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .team-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 880px) {
  .section { padding: 70px 0; }
  .about { padding-top: 100px; }

  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    border-top: 1px solid var(--gray-100);
  }

  .nav.mobile-open .nav-link {
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .about-grid,
  .capabilities-grid,
  .why-grid,
  .leadership-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image-accent { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }

  .topbar-left { gap: 16px; font-size: 0.75rem; }
  .topbar-item:nth-child(3) { display: none; }

  .hero { min-height: auto; padding: 60px 0; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; min-width: 0; padding: 14px 16px; font-size: 0.875rem; }

  .project-hero { min-height: auto; padding: 0; }
  .project-hero-inner { padding: 80px 0 50px; }
  .spec-bar-inner { grid-template-columns: 1fr 1fr; }
  .spec-cell { border-right: 1px solid var(--gray-100) !important; border-bottom: 1px solid var(--gray-100); }
  .spec-cell:nth-child(2n) { border-right: none !important; }
  .spec-cell:nth-last-child(-n+2) { border-bottom: none; }
  .scope-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
    height: auto;
  }
  .gallery-grid > a:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  .timeline-item { padding-left: 60px; }
  .timeline::before { left: 19px; }

  .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-tile.size-large { grid-column: span 2; grid-row: span 2; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-image { max-height: 70vh; }

  .team-grid.cols-2,
  .team-grid.cols-3,
  .team-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid.cols-2 { max-width: 100%; }
  .team-tier-header::before,
  .team-tier-header::after { display: none; }
  .team-stats { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
}

@media (max-width: 580px) {
  .section { padding: 60px 0; }
  .container, .hero-container { padding-left: 18px; padding-right: 18px; }

  .topbar-left { font-size: 0.6875rem; }
  .topbar-item:nth-child(2) { display: none; }
  .topbar-right { gap: 8px; }

  .logo-mark { width: 42px; height: 42px; }
  .logo-name { font-size: 0.9375rem; }
  .logo-sub { font-size: 0.625rem; }

  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust-cards { grid-template-columns: 1fr; }
  .trust-card { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .trust-card:last-child { border-bottom: none; }

  .services-grid,
  .projects-grid,
  .partners-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }

  .contact-form { padding: 30px 22px; }
  .capabilities-spec { grid-template-columns: 1fr; gap: 14px; }
  .leadership-img::after { display: none; }
  .about-badge { width: 100px; height: 100px; }
  .about-badge .big { font-size: 1.75rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
