/* ============================================================
   FAHIM CONSTRUCTION CO. LTD. — Global Stylesheet
   ============================================================ */

/* TOKENS */
:root {
  --copper:    #B5520B;
  --copper-lt: #D4682A;
  --copper-dk: #8B3D08;
  --sand:      #D4A96A;
  --charcoal:  #1C1C1C;
  --dark:      #111111;
  --mid:       #2C2C2C;
  --warm-white:#F8F5F0;
  --off-white: #EDE9E3;
  --concrete:  #6B7280;
  --light-grey:#C9C4BC;

  --font-display: 'Georgia', serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-cond:    'Montserrat', sans-serif;

  --nav-h: 72px;
  --max-w: 1200px;
  --radius: 4px;
}

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

/* CONTAINER */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(181,82,11,0.25);
  transition: background 0.3s;
}

.nav.scrolled {
  background: rgba(17,17,17,0.98);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.logo-image {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.06em;
}

.logo-sub {
  font-family: var(--font-cond);
  font-size: 9px;
  color: var(--sand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active {
  color: var(--sand);
}

.nav-cta {
  background: var(--copper) !important;
  color: #fff !important;
  margin-left: 8px;
  padding: 8px 18px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--copper-lt) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,0.95) 55%, rgba(181,82,11,0.15) 100%);
  z-index: 1;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(181,82,11,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,82,11,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  padding-top: 60px; padding-bottom: 100px;
}
.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 13px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 40px; height: 1px;
  background: var(--copper);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--warm-white);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.accent { color: var(--copper); }
.hero-body {
  max-width: 560px;
  color: rgba(248,245,240,0.65);
  font-size: 17px; line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--copper); color: #fff; border-color: var(--copper); }
.btn-primary:hover { background: var(--copper-lt); border-color: var(--copper-lt); }
.btn-ghost { background: transparent; color: var(--warm-white); border-color: rgba(248,245,240,0.35); }
.btn-ghost:hover { border-color: var(--warm-white); background: rgba(248,245,240,0.06); }
.btn-ghost-light { background: transparent; color: var(--charcoal); border-color: rgba(28,28,28,0.4); }
.btn-ghost-light:hover { border-color: var(--charcoal); }
.btn-copper { background: var(--copper); color: #fff; border-color: var(--copper); }
.btn-copper:hover { background: var(--copper-lt); border-color: var(--copper-lt); }
.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: var(--mid); }

.hero-badges { display: flex; align-items: center; gap: 0; }
.badge { display: flex; flex-direction: column; gap: 2px; padding: 0 28px 0 0; }
.badge:first-child { padding-left: 0; }
.badge-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--copper); }
.badge-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248,245,240,0.5); }
.badge-divider { width: 1px; height: 48px; background: rgba(248,245,240,0.12); margin-right: 28px; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, var(--copper)); animation: scrollPulse 2s infinite; }
.hero-scroll span { font-size: 10px; letter-spacing: 0.2em; color: rgba(248,245,240,0.4); text-transform: uppercase; }

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  background: var(--copper);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 32px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-cond); font-size: 15px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.marquee-track .dot { color: rgba(255,255,255,0.4); font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-cond);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--copper); }
.section-eyebrow.light { color: var(--sand); }
.section-eyebrow.light::before { background: var(--sand); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.section-title.light { color: var(--warm-white); }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-eyebrow { justify-content: center; }
.section-header.center .section-eyebrow::before { display: none; }

/* ============================================================
   INTRO
   ============================================================ */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-body { color: var(--concrete); line-height: 1.8; margin-bottom: 16px; }
.intro-body:last-of-type { margin-bottom: 24px; }
.text-link {
  font-size: 14px; font-weight: 600; color: var(--copper);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.text-link:hover { gap: 12px; }

/* ============================================================
   ANGLE DIVIDERS
   ============================================================ */
.angle-divider { height: 80px; position: relative; overflow: hidden; }
.angle-dark { background: var(--warm-white); }
.angle-dark::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 80px solid var(--charcoal);
  border-right: 100vw solid transparent;
}
.angle-light { background: var(--charcoal); }
.angle-light::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 80px solid var(--warm-white);
  border-right: 100vw solid transparent;
}

/* ============================================================
   DARK SECTION
   ============================================================ */
.dark-section { background: var(--charcoal); }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--off-white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--light-grey);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--copper-lt);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-plus { color: var(--charcoal); }
.stat-label { font-size: 13px; font-weight: 500; color: var(--concrete); letter-spacing: 0.04em; max-width: 150px; }

/* ============================================================
   VALUES
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value-item { display: flex; flex-direction: column; gap: 16px; }
.value-icon {
  width: 52px; height: 52px;
  color: var(--copper);
}
.value-icon svg { width: 100%; height: 100%; }
.value-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.2; }
.value-body { font-size: 14px; color: var(--concrete); line-height: 1.7; }

/* ============================================================
   CENTER VALUES SECTION
   ============================================================ */
.values {
  text-align: center;
}

/* center header already handled, but ensure consistency */
.section-header.center {
  text-align: center;
}

/* center grid items */
.values-grid {
  justify-items: center;
}

/* align each card nicely */
.value-item {
  align-items: center;
  text-align: center;
  max-width: 320px;
}

/* keep icons centered visually */
.value-icon {
  margin: 0 auto;
}



/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--copper-dk) 0%, var(--copper) 60%, var(--copper-lt) 100%);
  padding: 96px 24px;
}
.cta-banner-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-primary { background: #fff; color: var(--copper); border-color: #fff; }
.cta-actions .btn-primary:hover { background: var(--warm-white); }
.cta-actions .btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.45); }
.cta-actions .btn-ghost-light:hover { border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(248,245,240,0.6);
  padding-top: 80px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}

/* BRAND */
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-image {
  height: 120px;
  width: auto;
  display: block;
  max-width: 100%;
  border-radius:10px;
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(248,245,240,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248,245,240,0.5);
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
  border-color: var(--copper);
  color: var(--copper);
}

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

/* HEADINGS */
.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 20px;
}

/* LINKS */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(248,245,240,0.55);
  transition: color 0.2s;
}

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

/* CONTACT */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(248,245,240,0.55);
  transition: color 0.2s;
}

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

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(248,245,240,0.06);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(248,245,240,0.3);
  flex-wrap: wrap;
  gap: 8px;
}
/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center; /* ✅ centers text */
}

/* GRID BACKGROUND */
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181,82,11,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,82,11,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* INNER WRAPPER */
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;

  display: flex;              /* ✅ center vertically */
  flex-direction: column;
  align-items: center;        /* ✅ horizontal center */
  justify-content: center;
  text-align: center;         /* ✅ text center */
}

/* EYEBROW */
.page-hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}

/* TITLE */
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--warm-white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* ACCENT */
.page-hero h1 span {
  color: var(--copper);
}

/* DESCRIPTION */
.page-hero p {
  max-width: 560px;
  font-size: 17px;
  color: rgba(248,245,240,0.6);
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-split { 
  display: grid; 
  grid-template-columns: 1fr 1.2fr; 
  gap: 50px;
  align-items: start;
}
.about-img-placeholder {
  width: 100%;
  padding-bottom: 120%;
  background: var(--mid); /* fallback */
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-block {
  position: relative;
}

.about-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(181,82,11,0.05) 0px, rgba(181,82,11,0.05) 1px, transparent 1px, transparent 20px);
}
.about-img-text {
  font-family: var(--font-display); font-size: 80px; font-weight: 900;
  color: rgba(181,82,11,0.15); letter-spacing: -0.05em;
  position: relative;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;

  background: var(--copper);
  color: #fff;

  padding: 20px 24px;
  border-radius: var(--radius);

  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.about-badge strong { display: block; font-size: 32px; line-height: 1; }
.about-text p { color: var(--concrete); line-height: 1.8; margin-bottom: 20px; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.info-table td { padding: 14px 0; border-bottom: 1px solid var(--off-white); font-size: 14px; vertical-align: top; }
.info-table td:first-child { color: var(--concrete); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; width: 40%; }
.info-table td:last-child { color: var(--charcoal); font-weight: 500; }

/* Vision Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vm-card { padding: 48px 40px; border-radius: var(--radius); }
.vm-card.vision { background: var(--charcoal); }
.vm-card.mission { background: var(--off-white); }
.vm-label { font-family: var(--font-cond); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; }
.vm-card.vision .vm-label { color: var(--sand); }
.vm-card.mission .vm-label { color: var(--copper); }
.vm-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.vm-card.vision .vm-title { color: var(--warm-white); }
.vm-body { font-size: 15px; line-height: 1.8; }
.vm-card.vision .vm-body { color: rgba(248,245,240,0.65); }
.vm-card.mission .vm-body { color: var(--concrete); }

/* ============================================================
   HYBRID SERVICES LAYOUT (FINAL)
   ============================================================ */

.service-full {
  padding: 80px 0;
}

.service-full-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* TEXT */
.service-full-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 10px;
}

.service-full-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-full-desc {
  color: var(--concrete);
  line-height: 1.7;
}

/* MAIN IMAGE */
.service-media {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-media:hover img {
  transform: scale(1.05);
}

/* MINI GALLERY */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.service-gallery img {
  height: 90px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* FEATURES */
.service-features {
  display: grid;
  gap: 16px;
}

.service-feature,
.service-feature-2 {
  padding: 20px;
  border-radius: var(--radius);
}

.service-feature {
  background: var(--off-white);
  border-left: 3px solid var(--copper);
}

.service-feature-2 {
  background: var(--copper-lt);
  color: white;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .service-full-grid {
    grid-template-columns: 1fr;
  }

  .service-media {
    height: 260px;
  }
}


/* ==========================================
   SERVICES PREVIEW
   ========================================== */

.services-preview {
  background: var(--charcoal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  border-radius: 8px;
  color: var(--warm-white);
}

.service-card.featured {
  border-color: var(--copper);
  transform: translateY(-8px);
}

.service-tag {
  color: var(--sand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.service-list li {
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: "•";
  color: var(--copper);
  position: absolute;
  left: 0;
}

.service-link {
  color: var(--sand);
  font-weight: 600;
}

.services-cta {
  text-align: center;
  margin-top: 50px;
}


/* ============================================================
   PROJECTS PAGE (IMAGE VERSION UPGRADE)
   ============================================================ */

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

/* CARD */
.project-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s;
}

.project-card:hover {
  transform: translateY(-6px);
}

/* ============================================================
   UPDATED THUMB (IMAGE BASED)
   ============================================================ */
.project-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #111; /* fallback if image missing */
}

/* REAL IMAGE */
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* HOVER ZOOM */
.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

/* REMOVE OLD GRID EFFECT (optional cleanup) */
.project-thumb::before {
  display: none;
}

/* LABEL (kept same style but improved visibility) */
.project-thumb-label {
  position: absolute;
  bottom: 12px;
  right: 12px;

  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.05em;
  z-index: 2;
}

/* TYPE TAG */
.project-type {
  position: absolute;
  top: 16px;
  left: 16px;

  background: rgba(181,82,11,0.9);
  color: #fff;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  padding: 4px 10px;
  border-radius: 3px;
  z-index: 3;
}

/* INFO */
.project-info {
  padding: 24px;
}

.project-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-location {
  font-size: 13px;
  color: var(--concrete);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-location::before {
  content: "📍";
  font-size: 11px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  background: var(--light-grey);
  border-radius: 2px;
  color: var(--charcoal);
}
/* ============================================================
   HSE PAGE (CLEAN FINAL VERSION)
   ============================================================ */

.hse-hero-bar {
  background: var(--copper);
  padding: 12px 0;
  text-align: center;
}

.hse-hero-bar p {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

/* GRID */
.hse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* CARD */
.hse-card {
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius);
  border-top: 4px solid var(--copper);
}

.hse-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.hse-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hse-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hse-card li {
  font-size: 14px;
  color: var(--concrete);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.hse-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}

/* MANDATE */
.hse-mandate {
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 64px;
  text-align: center;
  border-radius: var(--radius);
  margin-top: 32px;
}

.hse-mandate-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--copper);
  margin-bottom: 16px;
}

.hse-mandate p {
  font-size: 17px;
  color: rgba(248,245,240,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   PPE SECTION (FIXED + PREMIUM)
   ============================================================ */

.ppe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

/* CARD */
.ppe-card {
  background: var(--charcoal);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ppe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* 🔥 FIXED IMAGE (IMPORTANT) */
.ppe-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* TITLE */
.ppe-card .service-title {
  font-size: 18px;
  margin: 16px 0 8px;
  color: var(--warm-white);
}

/* TEXT */
.ppe-card p {
  font-size: 13px;
  color: rgba(248,245,240,0.65);
  line-height: 1.5;
  padding: 0 16px 20px;
  margin: 0;
}

/* FEATURE IMAGE */
.hse-feature-image {
  margin: 48px 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.hse-feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {

  .hse-grid {
    grid-template-columns: 1fr;
  }

  .hse-feature-image img {
    height: 260px;
  }

  .ppe-photo {
    height: 200px;
  }

  .hse-mandate {
    padding: 40px 20px;
  }

  .hse-mandate-title {
    font-size: 30px;
  }
}
/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.contact-info > p { color: var(--concrete); line-height: 1.8; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-item-text strong { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); margin-bottom: 4px; }
.contact-item-text p, .contact-item-text a { font-size: 15px; color: var(--concrete); line-height: 1.7; }
.contact-item-text a:hover { color: var(--copper); }

/* Trust badges row */
.contact-trust {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--off-white);
  border-bottom: 1px solid var(--off-white);
  margin-bottom: 24px;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-badge {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--copper); color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
}
.trust-item span { font-size: 12px; color: var(--concrete); line-height: 1.4; }

.contact-social-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--concrete); }
.contact-social-row .social-link:hover { border-color: var(--copper) !important; color: var(--copper) !important; }

/* Contact form */
.contact-form-wrap { position: sticky; top: calc(var(--nav-h) + 24px); }
.contact-form { background: var(--light-grey); padding: 48px; border-radius: var(--radius); border: 1px solid var(--light-grey); }
.contact-form h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.contact-form-sub { font-size: 14px; color: var(--concrete); margin-bottom: 32px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  background: #fff;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  min-height: 48px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(181,82,11,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%; padding: 16px 24px; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 8px;
  min-height: 52px;
  transition: all 0.2s;
}
.form-note { font-size: 13px; color: var(--concrete); text-align: center; margin-top: 16px; }
.form-note a { color: var(--copper); font-weight: 600; }
.form-note a:hover { text-decoration: underline; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item { display: flex; flex-direction: column; gap: 12px; }
.why-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 900;
  color: var(--copper); line-height: 1; opacity: 0.35;
}
.why-item h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.2; }
.why-item p { font-size: 14px; color: var(--concrete); line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid, .about-split, .vm-grid, .service-full-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { position: static; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .hse-grid { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--dark); padding: 24px;
    gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: rgba(255,255,255,0.75); padding: 12px 16px; width: 100%; min-height: 48px; display: flex; align-items: center; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 52px; }
  .hero-badges { flex-wrap: wrap; gap: 20px; }
  .badge-divider { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--light-grey); }
  .stat:last-child, .stat:nth-child(even) { border-right: none; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .hse-mandate { padding: 40px 24px; }
  .page-hero { padding: 120px 0 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 16px; display: inline-block; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-trust { gap: 12px; }
  .btn { min-height: 48px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-line { animation: none; }
  * { transition: none !important; }
}

/* ============================================================
   HERO BACKGROUND
   ============================================================ */
.hero {
  background-image: linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px;
  background: #25D366; color: #fff;
  padding: 12px 18px;
  border-radius: 40px;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  animation: waPulse 3s ease-in-out infinite;
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(37,211,102,0.5); animation: none; }
.whatsapp-float span { white-space: nowrap; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.55); }
}

/* ============================================================
   HOVER LIFT
   ============================================================ */
.project-card, .service-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-card:hover, .service-card:hover { transform: translateY(-6px); }
