/* ============================================================
   Steel Power Co. — Main Stylesheet
   ============================================================ */

/* Google Fonts — loaded in header */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --primary:      #1c1c1c;
  --accent:       #8f1b1d;
  --accent-dark:  #6d1416;
  --accent-light: #b52224;
  --white:        #ffffff;
  --off-white:    #f9f9f9;
  --light:        #f4f4f4;
  --dark:         #111111;
  --gray:         #7a7a7a;
  --border:       #e5e5e5;
  --font:         'Inter', 'Poppins', sans-serif;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.16);
  --radius:       4px;
  --transition:   all 0.3s ease;
  --container:    1280px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Sections ───────────────────────────────────────────────── */
section { width: 100%; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.section-tag {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 16px;
  border-radius: 2px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-tag { margin: 0 auto 16px; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(143, 27, 29, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 24px; font-size: 0.875rem; }

/* ── Accent line ────────────────────────────────────────────── */
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 16px;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════════════ */

.header-topbar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 9px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition);
}
.topbar-item svg { flex-shrink: 0; }
.topbar-item:hover { color: var(--accent); }
.topbar-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.12);
}
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  transition: var(--transition);
}
.topbar-social a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════════════ */

#site-header {
  position: fixed;
  top: 37px; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(17,17,17,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
}

#site-header.scrolled {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-bottom-color: rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(1.5) drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 11px;
  letter-spacing: 0.2px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 11px; right: 11px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.3px;
  margin-left: 8px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}
.lang-btn {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav.open { opacity: 1; }
.mobile-nav .nav-link { font-size: 1.5rem; font-weight: 700; padding: 12px 24px; color: var(--white); }

/* ── WhatsApp Floating ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── Back-to-top ────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 997;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  font-size: 1.2rem;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--accent-dark); transform: translateY(-4px); }

/* ══════════════════════════════════════════════════════════════
   HERO CAROUSEL
   ══════════════════════════════════════════════════════════════ */

.hero-carousel {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-bg.no-image {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c0506 40%, #3b3b3b 100%);
}
.slide-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  padding: 0 40px;
  margin: 0 auto;
}

.slide-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease 0.2s;
}

.slide-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease 0.4s;
}

.slide-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.6s;
}

.slide-cta {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease 0.8s;
}

.slide.active .slide-tag,
.slide.active .slide-title,
.slide.active .slide-subtitle,
.slide.active .slide-cta {
  opacity: 1;
  transform: none;
}

/* Carousel Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.2rem;
}
.carousel-arrow:hover { background: var(--accent); border-color: var(--accent); }
.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }

.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: var(--transition);
  cursor: pointer;
}
.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Carousel scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   STATS COUNTER
   ══════════════════════════════════════════════════════════════ */

.stats-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  margin: 0;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 40px,
    rgba(255,255,255,0.018) 40px,
    rgba(255,255,255,0.018) 80px
  );
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 70px 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: background 0.35s ease;
  cursor: default;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(255,255,255,0.04); }
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}
.stat-card:hover::after { transform: scaleX(1); }

.stat-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(143,27,29,0.12);
  border: 1px solid rgba(143,27,29,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
  transition: all 0.35s ease;
}
.stat-card:hover .stat-icon-wrap {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* stat-item — used in page stats rows (shares visual style with stat-card) */
.stat-item {
  text-align: center;
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: background 0.35s ease;
  cursor: default;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}
.stat-item:hover::after { transform: scaleX(1); }

/* Equipment Card with Image header */
.equip-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.equip-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}
.equipment-card:hover .equip-card-img img {
  transform: scale(1.07);
  filter: brightness(0.68);
}
.equip-card-img-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}
.equip-card-body {
  padding: 20px 24px 26px;
}

/* Project modal gallery strip */
.pm-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.pm-gallery::-webkit-scrollbar { height: 4px; }
.pm-gallery::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.pm-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pm-thumb:hover { opacity: 0.85; transform: scale(1.04); }
.pm-thumb.active { opacity: 1; border-color: var(--accent); transform: scale(1); }

/* ══════════════════════════════════════════════════════════════
   ABOUT TEASER
   ══════════════════════════════════════════════════════════════ */

.about-teaser {
  background: var(--white);
  overflow: hidden;
}

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

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

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
}

.about-img-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(160deg, #111 0%, #1c1c1c 50%, #2c0506 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0, transparent 20px,
    rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px
  );
}
.about-img-placeholder::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.experience-badge .years { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.experience-badge .years-label { font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.9; }

.about-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 700; margin-bottom: 20px; }
.about-content p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }

.about-features { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.about-feature .check {
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES GRID
   ══════════════════════════════════════════════════════════════ */

.services-section { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  counter-reset: service-counter;
}

.service-card {
  background: var(--white);
  padding: 44px 36px;
  transition: box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
  counter-increment: service-counter;
}
/* Dark curtain slides up from bottom on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateY(101%);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 0;
}
.service-card:hover::before { transform: translateY(0); }
/* Large background number watermark */
.service-card::after {
  content: counter(service-counter, decimal-leading-zero);
  position: absolute;
  top: 10px; right: 18px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  z-index: 1;
  transition: color 0.4s ease;
  pointer-events: none;
}
.service-card:hover::after { color: rgba(255,255,255,0.04); }
/* Elevate all content above the curtain */
.service-card > * { position: relative; z-index: 2; }
.service-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.22); }

.service-icon {
  width: 62px;
  height: 62px;
  background: rgba(143,27,29,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 1.6rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.service-card:hover .service-icon { background: var(--accent); color: var(--white); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.35s ease;
}
.service-card:hover h3 { color: var(--white); }
.service-card p { color: var(--gray); font-size: 0.875rem; line-height: 1.75; transition: color 0.35s ease; flex: 1; }
.service-card:hover p { color: rgba(255,255,255,0.55); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 24px;
  transition: var(--transition);
}
.service-card:hover .service-link { color: rgba(255,255,255,0.7); gap: 10px; }
.service-link svg { transition: transform 0.3s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════
   PROJECTS GRID
   ══════════════════════════════════════════════════════════════ */

.projects-section { background: var(--white); }

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}
.projects-header .section-title { margin-bottom: 0; }

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

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--primary);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.project-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 3rem;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.25) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 1;
  transition: background 0.4s ease;
}
.project-card:hover .project-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.1) 100%
  );
}
.project-card:hover .project-cover,
.project-card:hover .project-cover-placeholder { transform: scale(1.07); }

.project-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}
.project-card:hover .project-overlay h3 { transform: translateY(0); }

.project-overlay .meta {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  display: flex;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease 0.05s, margin-top 0.3s ease;
}
.project-card:hover .project-overlay .meta {
  max-height: 50px;
  opacity: 1;
  margin-top: 6px;
}
.project-overlay .meta span::before { margin-right: 4px; }

/* View prompt appears on hover */
.project-view-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}
.project-card:hover .project-view-hint {
  opacity: 1;
  transform: translateY(0);
}

.project-status {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 24px;
  border: 2px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  color: var(--primary);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Project Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box { transform: scale(1); }

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}
.modal-header h2 { font-size: 1.3rem; font-weight: 700; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--accent); color: var(--white); }

.modal-body { padding: 28px; }

.modal-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.modal-image-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 3rem;
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.meta-item label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); display: block; margin-bottom: 4px; }
.meta-item span { font-weight: 600; font-size: 0.95rem; }

/* ══════════════════════════════════════════════════════════════
   WHY CHOOSE US
   ══════════════════════════════════════════════════════════════ */

.why-us-section { background: var(--light); }

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  counter-reset: why-counter;
}

.why-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  counter-increment: why-counter;
}
/* Red top border draws left to right on hover */
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
/* Large number watermark in bottom-right */
.why-card::after {
  content: counter(why-counter, decimal-leading-zero);
  position: absolute;
  right: 14px; bottom: -14px;
  font-size: 6.5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease, transform 0.4s ease;
}
.why-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
  border-color: transparent;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover::after {
  color: rgba(143,27,29,0.07);
  transform: scale(1.04);
}

.why-card-icon {
  width: 58px; height: 58px;
  background: rgba(143,27,29,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
  transition: all 0.35s ease;
}
.why-card:hover .why-card-icon {
  background: var(--accent);
  color: var(--white);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.why-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════════
   CLIENTS STRIP
   ══════════════════════════════════════════════════════════════ */

.clients-section {
  background: var(--white);
  padding: 72px 0 60px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-heading {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
}
.clients-heading span {
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.clients-heading span::before,
.clients-heading span::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.clients-track-wrap {
  overflow: hidden;
  position: relative;
}
.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--white), transparent); }
.clients-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }

.clients-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 12px 0;
  animation: scrollClients 38s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }

.client-logo {
  flex-shrink: 0;
  height: 90px;
  min-width: 190px;
  padding: 0 28px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.045);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  cursor: default;
}
.client-logo:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.client-logo img {
  max-width: 144px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(55%) opacity(0.6);
  transition: filter 0.35s ease;
}
.client-logo:hover img { filter: grayscale(0%) opacity(1); }

.client-logo-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(0,0,0,0.3);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.4;
  white-space: nowrap;
}
.client-logo:hover .client-logo-text { color: var(--accent); }

@keyframes scrollClients {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════════ */

.cta-section {
  background: var(--dark);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0, transparent 40px,
      rgba(143,27,29,0.04) 40px, rgba(143,27,29,0.04) 80px
    );
}
.cta-section::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
  position: relative;
}

.cta-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-section p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-white {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline-white:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 60px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-contact-icon {
  width: 48px; height: 48px;
  background: rgba(143,27,29,0.15);
  border: 1px solid rgba(143,27,29,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.cta-contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

.cta-contact-value {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}
.cta-contact-value:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   PAGE HERO BANNER
   ══════════════════════════════════════════════════════════════ */

.page-hero {
  height: 400px;
  background: linear-gradient(135deg, #111 0%, #2c0506 50%, #1c1c1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 117px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.4; }

/* ══════════════════════════════════════════════════════════════
   TEAM CARDS
   ══════════════════════════════════════════════════════════════ */

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

.team-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 30px 70px rgba(0,0,0,0.14); }

.team-card-photo {
  width: 100%;
  height: 240px;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  border: none;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-photo { transform: scale(1.05); }

.team-card-photo-placeholder {
  width: 100%;
  height: 240px;
  border-radius: 0;
  margin: 0;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 3.5rem;
  font-weight: 800;
  position: relative;
}
.team-card-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0, transparent 20px,
    rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 40px
  );
}

.team-card-body {
  padding: 22px 24px 26px;
  text-align: left;
  border-top: 3px solid transparent;
  transition: border-color 0.35s ease;
}
.team-card:hover .team-card-body { border-top-color: var(--accent); }
.team-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.team-card .title {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}
.team-card p { color: var(--gray); font-size: 0.875rem; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   CERTIFICATIONS
   ══════════════════════════════════════════════════════════════ */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cert-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0;
  border-left: 4px solid var(--accent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.cert-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.cert-card:hover { transform: translateY(-8px); box-shadow: 0 28px 70px rgba(0,0,0,0.12); }
.cert-card:hover::after { transform: scaleX(1); }

.cert-img-wrap {
  width: 120px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 2rem;
  transition: width 0.4s ease, background 0.4s ease;
}
.cert-card:hover .cert-img-wrap { width: 130px; }

.cert-body { padding: 24px; }
.cert-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.cert-body p  { color: var(--gray); font-size: 0.875rem; line-height: 1.6; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(143,27,29,0.08);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

/* Certificate Document Gallery */
.cert-docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.cert-doc-card {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.cert-doc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
  border-color: var(--accent);
}
.cert-doc-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.cert-doc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.cert-doc-card:hover .cert-doc-thumb img { transform: scale(1.04); }
.cert-doc-zoom {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.38);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cert-doc-card:hover .cert-doc-zoom { opacity: 1; }
.cert-doc-label {
  padding: 16px 18px 20px;
  border-top: 3px solid transparent;
  transition: border-color 0.35s ease;
}
.cert-doc-card:hover .cert-doc-label { border-top-color: var(--accent); }
.cert-doc-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 6px;
}
.cert-doc-label h4 { font-size: 0.875rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; line-height: 1.4; }
.cert-doc-label p { font-size: 0.72rem; color: var(--gray); line-height: 1.5; }

/* Certificate Lightbox */
#cert-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
#cert-lightbox.active { opacity: 1; pointer-events: all; }
.cert-lb-inner {
  position: relative;
  max-width: min(720px, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-lb-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
.cert-lb-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}
.cert-lb-close:hover { color: white; }

/* ══════════════════════════════════════════════════════════════
   CAREERS
   ══════════════════════════════════════════════════════════════ */

.careers-grid { display: flex; flex-direction: column; gap: 20px; }

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 4px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(143,27,29,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.job-card:hover::before { opacity: 1; }
.job-card:hover { border-left-color: var(--accent); transform: translateX(8px); box-shadow: var(--shadow-lg); }

.job-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Apply Modal */
.apply-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
}

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: var(--transition);
  color: var(--primary);
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143,27,29,0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

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

.info-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-card h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 4px; }
.info-card p  { color: var(--gray); font-size: 0.875rem; line-height: 1.5; }

.map-embed {
  width: 100%;
  height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  margin-top: 16px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* Success/Error alert */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #93c5fd; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

.site-footer {
  background: #0f0f0f;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
  border-top: 3px solid var(--accent);
}

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

.footer-logo { margin-bottom: 24px; }
.footer-logo-img {
  width: 150px;
  height: auto;
  display: block;
  filter: brightness(1.6) drop-shadow(0 0 1px rgba(255,255,255,0.08));
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; color: rgba(255,255,255,0.6); }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}
.footer-link::before { content: '—'; font-size: 0.7rem; color: var(--accent); opacity: 0; transition: var(--transition); }
.footer-link:hover { color: var(--white); }
.footer-link:hover::before { opacity: 1; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE SPECIFICS
   ══════════════════════════════════════════════════════════════ */

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.vm-card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.vm-card::before {
  content: '';
  position: absolute;
  right: -20px; bottom: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(143,27,29,0.04);
  transition: transform 0.5s ease;
}
.vm-card:hover { transform: translateY(-8px); box-shadow: 0 28px 70px rgba(0,0,0,0.11); }
.vm-card:hover::before { transform: scale(1.5); }
.vm-card .vm-icon {
  width: 60px; height: 60px;
  background: rgba(143,27,29,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background 0.35s ease, transform 0.35s ease;
}
.vm-card:hover .vm-icon { background: var(--accent); color: white; transform: scale(1.1); }
.vm-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.vm-card p  { color: var(--gray); line-height: 1.7; }

.welcome-section {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.welcome-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 20px; }
.welcome-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* ══════════════════════════════════════════════════════════════
   EQUIPMENT PHOTO GALLERY
   ══════════════════════════════════════════════════════════════ */

.equip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.equip-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--primary);
  cursor: default;
}

.equip-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.equip-card:hover .equip-photo { transform: scale(1.07); }

.equip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.15) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: background 0.35s ease;
}
.equip-card:hover .equip-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.1) 100%
  );
}

.equip-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  transform: translateY(-4px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.equip-card:hover .equip-tag { transform: translateY(0); opacity: 1; }

.equip-name {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
  transform: translateY(4px);
  transition: transform 0.35s ease;
}
.equip-card:hover .equip-name { transform: translateY(0); }

.equip-spec {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease 0.05s;
}
.equip-card:hover .equip-spec { max-height: 40px; opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   EQUIPMENT SECTION
   ══════════════════════════════════════════════════════════════ */

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

.equipment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
.equipment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.equipment-card:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.equipment-card:hover::before { transform: scaleX(1); }

.equipment-icon {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: transform 0.4s ease;
}
.equipment-card:hover .equipment-icon { transform: scale(1.1) rotate(-5deg); }
.equipment-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.equipment-card p  { color: var(--gray); font-size: 0.875rem; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .services-grid,
  .projects-grid,
  .equipment-grid,
  .equip-gallery-grid,
  .cert-docs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card, .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .why-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid { gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-contacts { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 40px; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .main-nav, .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .header-topbar { display: none; }
  #site-header { top: 0; }
  .about-grid,
  .contact-grid,
  .vision-mission-grid,
  .cert-grid { grid-template-columns: 1fr; }
  .about-img-placeholder,
  .about-img { height: 300px; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .experience-badge { bottom: -10px; right: -10px; width: 96px; height: 96px; }
  .experience-badge .years { font-size: 1.8rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-meta { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section-pad { padding: 60px 0; }
  .container { padding: 0 16px; }
  .services-grid,
  .projects-grid,
  .equipment-grid,
  .equip-gallery-grid,
  .team-grid,
  .cert-grid,
  .cert-docs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-cards-grid { grid-template-columns: 1fr; }
  .hero-carousel { height: 100svh; }
  .slide-content { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .cta-contacts { flex-direction: column; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { text-align: center; justify-content: center; }
}

/* ── Why-Us Feature Cards ───────────────────────────────────── */
.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.why-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.why-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: transform 0.35s ease;
}
.why-feature:hover .why-icon { transform: scale(1.1) rotate(-5deg); }
.why-feature h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.why-feature p  { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }

/* ── Placeholder icon brightness fix ───────────────────────── */
.about-img-placeholder i,
.why-image-placeholder i { font-size: 4rem; }

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-accent { color: var(--accent); }
.text-gray   { color: var(--gray); }
.bg-light    { background: var(--light); }
.bg-dark     { background: var(--primary); }
.mt-auto     { margin-top: auto; }
.hidden      { display: none !important; }

/* Honeypot field */
.hp-field { display: none !important; }
