/* ============================================================
   JB Construction — Shapoorji Pallonji Style
   Colors from JB Logo: Navy #1C2D5E | Orange #E84E1B
   ============================================================ */
:root {
  --navy:        #1C2D5E;
  --navy-dark:   #0D1A3A;
  --navy-light:  #2B3F7A;
  --orange:      #E84E1B;
  --orange-dark: #C43D12;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --light-grey:  #EAECF0;
  --text-dark:   #1A1A2E;
  --text-muted:  #6B7280;
  --border:      #D1D5DB;
  --shadow:      0 4px 24px rgba(28,45,94,0.10);
  --shadow-lg:   0 8px 48px rgba(28,45,94,0.16);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TOPBAR ─── */
.topbar {
  display: none !important;
}
.topbar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: rgba(255,255,255,0.75); font-weight: 500; transition: var(--transition); }
.topbar-right a:hover { color: var(--orange); }

/* ─── NAVBAR ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  border-bottom-color: var(--light-grey);
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 90px;
  transition: height var(--transition);
}
@media (max-width: 991px) {
  .nav-inner {
    height: 72px;
  }
}
.nav-logo-wrap {
  display: flex;
  align-items: center;
  height: 68px;
  transition: height var(--transition);
}
.nav-logo-wrap img {
  height: 68px !important;
  max-height: 68px !important;
  width: auto !important;
  object-fit: contain;
  transition: transform var(--transition);
}
.nav-logo-wrap img:hover {
  transform: scale(1.02);
}
@media (max-width: 991px) {
  .nav-logo-wrap {
    height: 52px;
  }
  .nav-logo-wrap img {
    height: 52px !important;
    max-height: 52px !important;
  }
}
.nav-logo-wrap .brand-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.nav-logo-wrap .brand-main span { color: var(--orange); }
.nav-logo-wrap .brand-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}
.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links-wrap > a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-links-wrap > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav-links-wrap > a:hover,
.nav-links-wrap > a.active { color: var(--navy); }
.nav-links-wrap > a:hover::after,
.nav-links-wrap > a.active::after { width: 100%; }

/* Custom Dropdown styling */
.nav-links-wrap > .nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-links-wrap > .nav-dropdown > a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 24px;
  margin-bottom: -20px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-links-wrap > .nav-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: 20px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav-links-wrap > .nav-dropdown > a:hover,
.nav-links-wrap > .nav-dropdown > a.active { color: var(--navy); }
.nav-links-wrap > .nav-dropdown > a:hover::after,
.nav-links-wrap > .nav-dropdown > a.active::after { width: 100%; }

/* Dropdown Menu block */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--white);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  border: 1px solid var(--light-grey);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1010;
}
.nav-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark) !important;
  transition: background var(--transition), color var(--transition);
  position: relative;
  border-bottom: none;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover {
  background: rgba(28,45,94,0.05);
  color: var(--orange) !important;
}

/* Submenu trigger and wrapper */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.submenu-menu {
  position: absolute;
  top: -10px;
  left: 100%;
  transform: translateX(15px);
  background: var(--white);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  border: 1px solid var(--light-grey);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1020;
}
.dropdown-submenu:hover > .submenu-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Chevrons */
.chevron::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid var(--text-dark);
  border-bottom: 1.5px solid var(--text-dark);
  transform: rotate(45deg);
  transition: transform var(--transition), border-color var(--transition);
  margin-top: -2px;
  margin-left: 2px;
}
.nav-dropdown:hover .chevron::after {
  transform: rotate(-135deg);
  border-color: var(--orange);
}

.submenu-chevron::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid var(--text-dark);
  border-top: 1.5px solid var(--text-dark);
  transform: rotate(45deg);
  margin-left: 8px;
  transition: border-color var(--transition);
}
.dropdown-submenu:hover .submenu-chevron::after {
  border-color: var(--orange);
}

/* Corporate orange double blink animation */
@keyframes jb-blink-twice {
  0%, 100% {
    outline: 3px solid transparent;
    box-shadow: 0 0 0 rgba(232, 78, 27, 0);
  }
  25%, 75% {
    outline: 3px solid var(--orange);
    box-shadow: 0 0 25px rgba(232, 78, 27, 0.6);
  }
  50% {
    outline: 3px solid transparent;
    box-shadow: 0 0 0 rgba(232, 78, 27, 0);
  }
}

.blink-highlight {
  animation: jb-blink-twice 1.6s ease-in-out;
  border-radius: var(--radius-lg);
}
.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 5% 24px;
  border-top: 1px solid var(--light-grey);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--light-grey);
  transition: color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--orange); }

/* Offset for fixed nav+topbar */
.nav-offset { padding-top: 90px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-outline {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-outline-navy {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 32px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ─── HERO ─── */
/* ─── HERO SLIDER CAROUSEL ─── */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 5% 80px;
  z-index: 1;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 18, 18, 0.75) 0%,
    rgba(18, 18, 18, 0.4) 50%,
    rgba(18, 18, 18, 0.1) 100%
  );
  z-index: -1;
}
.hero-slide-content {
  max-width: 900px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.2s;
  text-align: left;
}
.hero-slide.active .hero-slide-content {
  transform: translateY(0);
  opacity: 1;
}
.hero-slide-content .hero-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-slide-content .hero-category::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.hero-slide-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(13, 26, 58, 0.4);
}
.hero-slide-content .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 36px;
  text-shadow: 0 2px 6px rgba(13, 26, 58, 0.4);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 5%;
  z-index: 10;
  display: flex;
  gap: 12px;
  align-items: center;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.slider-dot.active {
  background: var(--orange);
  transform: scale(1.2);
  border-color: var(--white);
}
.slider-arrows {
  position: absolute;
  bottom: 20px;
  right: 5%;
  z-index: 10;
  display: flex;
  gap: 12px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.slider-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}

/* ─── PAGE HEADER BANNER ─── */
.page-banner {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,26,58,0.9) 0%, rgba(13,26,58,0.5) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 5% 50px;
}
.page-banner-content .category-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-banner-content .category-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
}
.page-banner-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

/* ─── SECTION LABELS ─── */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }
.section-label.center::after {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
}

.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-heading.white { color: var(--white); }
.section-heading span { color: var(--orange); }

/* ─── STATS BAND ─── */
.stats-band {
  background: var(--navy-dark);
  padding: 70px 5%;
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.65);
}

/* ─── SERVICE CARDS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.service-card:hover {
  border-top-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px; height: 56px;
  background: rgba(232,78,27,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ─── PROJECT CARDS ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,26,58,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition);
}
.project-card-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 6px;
}
.project-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}
.project-card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.project-card:hover .project-card-link { color: var(--orange); }

/* ─── SPLIT SECTIONS ─── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  align-items: center;
}
.split-img {
  padding: 40px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-grey);
  transition: transform var(--transition);
}
.split-img:hover img {
  transform: scale(1.02);
}
.split-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─── CHECKLIST ─── */
.check-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}
.check-list li svg { flex-shrink: 0; color: var(--orange); margin-top: 2px; }

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--orange);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(232, 78, 27, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(232, 78, 27, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.cta-band h2 span {
  color: var(--orange);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-band-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ─── CONTACT CARDS ─── */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border-top: 3px solid var(--orange);
  box-shadow: var(--shadow);
}
.contact-card-icon {
  width: 60px; height: 60px;
  background: rgba(232,78,27,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin: 0 auto 20px;
}
.contact-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--orange); }

/* ─── MISSION / VISION CARDS ─── */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: var(--off-white);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--navy);
}
.mv-card .mv-icon { color: var(--orange); margin-bottom: 20px; }
.mv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.mv-card p { color: var(--text-muted); line-height: 1.8; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 70px 5% 0;
}
.footer-logo-wrap {
  display: inline-block;
  margin-bottom: 24px;
}
.footer-logo-wrap img {
  height: 60px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}
.footer-logo-wrap img:hover {
  transform: scale(1.02);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-name span { color: var(--orange); }
.footer-tagline {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ─── UTILITIES ─── */
.section-pad { padding: 90px 5%; }
.section-pad-sm { padding: 60px 5%; }
.bg-white { background: var(--white); }
.bg-offwhite { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.container { max-width: 1280px; margin: 0 auto; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .nav-links-wrap, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-img { min-height: 320px; padding: 24px; }
  .split-content { padding: 50px 5%; }
  .mv-grid { grid-template-columns: 1fr; }
  
  /* Mobile Accordion Dropdowns */
  .mobile-dropdown {
    border-bottom: 1px solid var(--light-grey);
  }
  .mobile-dropdown-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  .mobile-dropdown-btn .chevron::after {
    transform: rotate(45deg);
  }
  .mobile-dropdown.active > .mobile-dropdown-btn .chevron::after {
    transform: rotate(-135deg);
    border-color: var(--orange);
  }
  .mobile-dropdown-menu {
    display: none;
    background: rgba(28,45,94,0.03);
    padding-left: 15px;
    padding-bottom: 10px;
  }
  .mobile-dropdown.active > .mobile-dropdown-menu {
    display: block;
  }
  .mobile-dropdown-menu a {
    display: block;
    font-size: 0.8rem !important;
    padding: 10px 0;
    border-bottom: none !important;
    text-transform: none;
    font-weight: 500;
    color: var(--text-dark) !important;
  }
  
  /* Mobile nested submenu */
  .mobile-submenu {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .mobile-submenu-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  .mobile-submenu.active > .mobile-submenu-btn .chevron::after {
    transform: rotate(-135deg);
    border-color: var(--orange);
  }
  .mobile-submenu-menu {
    display: none;
    background: rgba(28,45,94,0.03);
    padding-left: 15px;
    padding-bottom: 5px;
  }
  .mobile-submenu.active > .mobile-submenu-menu {
    display: block;
  }
  .mobile-submenu-menu a {
    display: block;
    font-size: 0.75rem !important;
    padding: 8px 0;
    border-bottom: none !important;
    color: var(--text-dark) !important;
  }
  
  /* Fix spacing */
  .mobile-nav a {
    border-bottom: 1px solid var(--light-grey);
    padding: 16px 0;
  }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .nav-offset { padding-top: 72px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 60px; }
  .section-pad { padding: 60px 5%; }
  .projects-grid { grid-template-columns: 1fr; }
}

/* Prevent horizontal overflow globally */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Custom Grid Classes for Project Details Page */
.project-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .project-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 400px) {
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Additional layout enhancements for small/extra-small viewports */
@media (max-width: 576px) {
  .nav-logo-wrap .brand-main {
    font-size: 1.15rem !important;
  }
  .nav-logo-wrap .brand-sub {
    font-size: 0.55rem !important;
  }
  .hero h1 {
    font-size: 2rem !important;
  }
  .hero-sub {
    font-size: 0.9rem !important;
    margin-bottom: 24px !important;
  }
  .hero-actions .btn-primary, .hero-actions .btn-outline {
    padding: 10px 20px !important;
    font-size: 0.7rem !important;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .mv-card {
    padding: 30px 20px !important;
  }
  .service-card {
    padding: 30px 20px !important;
  }
  .contact-card {
    padding: 30px 20px !important;
  }
}

/* Center site footer on mobile view only */
@media (max-width: 768px) {
  .site-footer {
    text-align: center !important;
  }
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding-bottom: 40px !important;
  }
  .footer-top > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-logo-wrap {
    margin-inline: auto !important;
    display: flex !important;
    justify-content: center !important;
  }
  .footer-desc {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .footer-addresses {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .footer-col {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .footer-col h5 {
    margin-bottom: 15px !important;
    width: max-content !important;
    margin-inline: auto !important;
  }
  .footer-col a {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 0 !important;
    gap: 12px !important;
  }
}

@media print {
  /* Force all animate/reveal/wow elements to be visible */
  .reveal, .wow, [class*="reveal-"], [class*="wow-"], .fade-in, .fadeIn, .fadeInUp, .wow.fadeInUp, .wow.fadeIn {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Force exact background colors and graphics */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
