/* ============================================================
   HITECH Plumbing & Hydro Solutions — style.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a3c6e;
  --primary-dark: #122b52;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --white: #ffffff;
  --light: #f8f9fa;
  --grey: #6c757d;
  --dark: #1e1e2e;
  --border: #dee2e6;
  --shadow: 0 4px 24px rgba(26, 60, 110, 0.10);
  --radius: 12px;
  --transition: 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }

/* ---------- Utilities ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.section-subtitle {
  text-align: center;
  color: var(--grey);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: background var(--transition);
}
#header .container {
  max-width: 100%;
  padding: 0 2rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.1;
}
.nav-logo-text .brand-tag {
  font-size: 0.65rem;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--dark);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(26,60,110,0.07);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta {
  margin-left: 0.75rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10, 25, 50, 0.93) 0%, rgba(26, 60, 110, 0.88) 55%, rgba(30, 87, 153, 0.82) 100%),
    url('../images/gallery/hero-bg-90.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(245,166,35,0.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,166,35,0.18);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--accent); }
.hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-graphic {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 520px;
  opacity: 0.07;
  pointer-events: none;
}

/* ============================================================
   SERVICES CARDS (Home quick overview + Services page)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(26,60,110,0.15);
}
.service-card-img {
  height: 175px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--light);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}
.service-card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.service-card p { color: var(--grey); font-size: 0.93rem; margin: 0; }

/* Full services page cards */
.service-full-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 2.5rem;
}
.service-full-card.reverse { direction: rtl; }
.service-full-card.reverse > * { direction: ltr; }
.service-full-img {
  min-height: 280px;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: var(--white);
  overflow: hidden;
}
.service-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-full-body { padding: 2.5rem; }
.service-full-body h3 { color: var(--primary); margin-bottom: 1rem; }
.service-full-body ul { padding-left: 1.25rem; list-style: disc; }
.service-full-body ul li { color: var(--grey); margin-bottom: 0.4rem; font-size: 0.93rem; }

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(222, 226, 230, 0.6);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(26, 60, 110, 0.12);
}
.feature-icon-badge {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--transition);
}
.feature-item:hover .feature-icon-badge {
  transform: scale(1.1) rotate(3deg);
}
.feature-icon-badge svg {
  width: 34px;
  height: 34px;
  stroke: #ffffff;
  fill: none;
}
.feature-icon-badge.gold {
  background: linear-gradient(135deg, #f5a623 0%, #ff8008 100%);
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.35);
}
.feature-icon-badge.blue {
  background: linear-gradient(135deg, #0984e3 0%, #00cec9 100%);
  box-shadow: 0 8px 22px rgba(9, 132, 227, 0.35);
}
.feature-icon-badge.green {
  background: linear-gradient(135deg, #00b894 0%, #05c46b 100%);
  box-shadow: 0 8px 22px rgba(0, 184, 148, 0.35);
}
.feature-icon-badge.navy {
  background: linear-gradient(135deg, #1a3c6e 0%, #2a5298 100%);
  box-shadow: 0 8px 22px rgba(26, 60, 110, 0.35);
}
.feature-item h4 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.feature-item p {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   GALLERY / PROJECTS
   ============================================================ */
.gallery-filter {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--grey);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a3c6e 0%, #2a5298 100%);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,60,110,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.2rem; }
.gallery-overlay p { color: rgba(255,255,255,0.75); font-size: 0.8rem; margin: 0; }
.gallery-zoom {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Gallery placeholder (no real image) */
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 3rem;
}
.gallery-placeholder span { font-size: 0.85rem; margin-top: 0.5rem; }

/* Project Cards (list view) */
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,60,110,0.15); }
.project-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.7);
  overflow: hidden;
}
.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.project-card:hover .project-card-thumb img {
  transform: scale(1.05);
}
.project-card-body { padding: 1.25rem; }
.project-card-body h4 { color: var(--primary); margin-bottom: 0.3rem; }
.project-card-body .project-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  background: rgba(26,60,110,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.project-card-body p { color: var(--grey); font-size: 0.88rem; margin: 0; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-inner img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-caption {
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 1.25rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
}
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: background var(--transition);
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 120px 0 60px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); margin: 0.5rem 0 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--accent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-box {
  background: linear-gradient(135deg, var(--primary), #2a5298);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  font-size: 5rem;
}
.about-badge-box {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge-box .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.about-badge-box .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.about-content h2 { color: var(--primary); margin-bottom: 1rem; }
.about-content p { color: var(--grey); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); }
.value-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,60,110,0.08), rgba(245,166,35,0.15));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--primary);
}
.value-card .icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  fill: none;
}
.value-card h4 { color: var(--primary); margin-bottom: 0.4rem; font-size: 1.05rem; }
.value-card p { color: var(--grey); font-size: 0.88rem; margin: 0; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.6);
}
.team-body { padding: 1.25rem; }
.team-body h4 { color: var(--primary); margin-bottom: 0.2rem; }
.team-body .role { color: var(--accent); font-size: 0.85rem; font-weight: 600; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { color: var(--primary); margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}
.contact-item-text h5 { color: var(--primary); margin-bottom: 0.2rem; font-size: 0.95rem; }
.contact-item-text p { color: var(--grey); font-size: 0.9rem; margin: 0; }
.contact-item-text a { color: var(--grey); }
.contact-item-text a:hover { color: var(--primary); }
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--grey);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { color: var(--primary); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--dark);
  background: var(--light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,60,110,0.1);
  background: var(--white);
}
.form-group textarea { min-height: 130px; }
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 4rem;
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25d366;
  animation: pulse-wa 2s infinite;
  z-index: -1;
}
@keyframes pulse-wa {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  z-index: 998;
}
.back-top.show { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-3px); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1.6fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-name { color: var(--white); font-size: 1.2rem; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.4); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 1rem; line-height: 1.6; }
.footer-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
}
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 0.4rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.55;
}
.footer-contact li a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.footer-contact li a:hover {
  color: var(--accent);
}
.footer-contact .fi {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact .fi svg {
  width: 17px;
  height: 17px;
  display: block;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.45); margin: 0; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--primary), #2a5298);
  padding: 3rem 0;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-item .lbl {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #f5c842 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--primary-dark); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(26,60,110,0.8); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* About Photo Strip */
.about-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.about-photo-strip-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  box-shadow: var(--shadow);
}
.about-photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.about-photo-strip-item:hover img {
  transform: scale(1.06);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-full-card { grid-template-columns: 1fr; }
  .service-full-card.reverse { direction: ltr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap { max-width: 480px; margin: 0 auto; }
  .about-photo-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  #header .container { padding: 0 1.25rem; }
  .section { padding: 50px 0; }
  .nav-logo img { height: 46px; }
  .nav-menu {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    align-items: stretch;
    gap: 0.5rem;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .hamburger { display: flex; }
  .nav-cta { margin: 0.75rem 0 0; text-align: center; }
  .nav-link { padding: 0.75rem 1rem; border-radius: 8px; }
  .nav-link:hover { background: var(--light); }
  .hero { min-height: auto; padding: 110px 0 60px; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    background: rgba(255,255,255,0.06);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
  }
  .hero-graphic { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-full-img { min-height: 220px; }
  .service-full-body { padding: 1.75rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .about-photo-strip-item { height: 150px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-badge { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .btn { justify-content: center; width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-photo-strip { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .about-photo-strip-item { height: 130px; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-item .num { font-size: 2rem; }
  .stat-item .lbl { font-size: 0.78rem; }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 5rem;
    right: 1.25rem;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   CLIENT LOGOS GRID (Major Project Contributions)
   ============================================================ */
.clients-section {
  padding: 70px 0;
  background: #0f1c2e;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.client-logo-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}
.client-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.25);
  border-color: var(--accent);
}
.client-logo-card img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.client-logo-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .client-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .client-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .client-logo-card {
    height: 76px;
    padding: 0.6rem 0.8rem;
  }
  .client-logo-card img {
    max-height: 44px;
  }
}
@media (max-width: 480px) {
  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .client-logo-card {
    height: 70px;
    padding: 0.5rem 0.65rem;
  }
  .client-logo-card img {
    max-height: 38px;
  }
}

/* ============================================================
   ABOUT PAGE ENHANCED COMPONENTS
   ============================================================ */
.formula-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(26,60,110,0.18);
  border: 1px solid rgba(245,166,35,0.3);
  margin: 2.5rem 0;
}
.formula-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.formula-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}
.formula-plus {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.expertise-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.expertise-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(26,60,110,0.12);
}
.expertise-card-img {
  height: 170px;
  width: 100%;
  overflow: hidden;
  background: var(--light);
  position: relative;
}
.expertise-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.expertise-card:hover .expertise-card-img img {
  transform: scale(1.08);
}
.expertise-card-body {
  padding: 1.5rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.expertise-card h4 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.expertise-card p {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.approach-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.approach-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.approach-step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.approach-card h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.approach-card p {
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.service-catalog-box {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.service-catalog-box h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-catalog-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-catalog-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.93rem;
  color: #444;
}
.service-catalog-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.presence-box {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3c6e 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}
.presence-states {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 1.75rem 0;
}
.state-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--accent);
  color: #ffffff;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

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


