/* ============================================================
   AL SHAFAR NATIONAL CONTRACTING CO. L.L.C.
   Main Stylesheet — Brand-Compliant, Corporate, Premium
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --primary:        #C0392B;
  --primary-dark:   #a93226;
  --primary-light:  #e74c3c;
  --secondary:      #1A1A2E;
  --secondary-mid:  #2d2d4e;
  --accent:         #F0F0F0;
  --white:          #FFFFFF;
  --gray-50:        #fafafa;
  --gray-100:       #f8f9fa;
  --gray-200:       #e9ecef;
  --gray-400:       #ced4da;
  --gray-600:       #6c757d;
  --gray-700:       #495057;
  --gray-800:       #343a40;
  --font-h:         'Montserrat', sans-serif;
  --font-b:         'Open Sans', sans-serif;
  --transition:     all 0.35s ease;
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.07);
  --shadow:         0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.14);
  --shadow-hover:   0 12px 40px rgba(192,57,43,0.18);
  --radius:         10px;
  --radius-lg:      16px;
}

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

body {
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

/* ── Custom Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-h); font-weight: 700; color: var(--secondary); line-height: 1.25; }
p { line-height: 1.75; color: var(--gray-700); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ── Section Common ─────────────────────────────────────── */
.section-padding { padding: 96px 0; }
.section-padding-sm { padding: 64px 0; }
.section-bg { background: var(--accent); }
.section-bg-white { background: var(--white); }

.section-label {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--secondary);
  position: relative;
}

.section-title.centered { text-align: center; }

.title-underline {
  width: 56px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 28px;
}
.title-underline.centered { margin-left: auto; margin-right: auto; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
}
.section-subtitle.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  border-radius: 6px;
  padding: 12px 28px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary-red {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary-red:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.btn-white {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--accent);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--secondary);
}

.btn-quote {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 9px 22px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--primary);
  transition: var(--transition);
}
.btn-quote:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}

/* ── Page Loader ────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}
.loader-inner { text-align: center; }
.loader-logo { animation: loaderPulse 1.2s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.06);} }
.loader-bar {
  width: 160px;
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  margin: 16px auto 0;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: loaderFill 1.8s ease forwards;
}
@keyframes loaderFill { from{width:0} to{width:100%} }

/* ── Navigation ─────────────────────────────────────────── */
#mainNav {
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-transparent { background: transparent; box-shadow: none; }
.nav-solid       { background: var(--white); box-shadow: var(--shadow-sm); padding-top: 10px; padding-bottom: 10px; }
.nav-scrolled    { background: var(--white) !important; box-shadow: var(--shadow-sm) !important; padding-top: 8px !important; padding-bottom: 8px !important; }

.nav-logo-svg { height: 44px; width: auto; }

.navbar-nav .nav-link {
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--secondary) !important;
  padding: 6px 12px !important;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.nav-transparent .navbar-nav .nav-link { color: var(--white) !important; }
.nav-transparent .navbar-brand .logo-text-main { fill: white !important; }
.nav-transparent .navbar-brand .logo-text-micro { fill: rgba(255,255,255,0.7) !important; }

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: calc(100% - 24px); }
.navbar-nav .nav-link.active { color: var(--primary) !important; }
.navbar-nav .nav-link:hover  { color: var(--primary) !important; }

/* Hamburger */
.navbar-toggler { border: none; padding: 4px; background: none; box-shadow: none; }
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger-icon span { display: block; width: 24px; height: 2px; background: var(--secondary); border-radius: 1px; transition: var(--transition); }
.nav-transparent .hamburger-icon span { background: var(--white); }

/* ── Hero Section ────────────────────────────────────────── */
.hero-swiper { width: 100%; height: 100vh; min-height: 620px; position: relative; }

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.78) 0%, rgba(192,57,43,0.42) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 8%;
  padding-top: 80px;
}

.hero-label {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,255,255,0.12);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(192,57,43,0.4);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span { color: var(--primary); }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Swiper hero navigation */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--white);
  background: rgba(255,255,255,0.15);
  width: 48px; height: 48px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover { background: var(--primary); border-color: var(--primary); }
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 1rem; font-weight: 900; }

.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; width: 8px; height: 8px; transition: var(--transition); }
.hero-swiper .swiper-pagination-bullet-active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ── About Snapshot ─────────────────────────────────────── */
.about-snapshot { background: var(--white); }

.about-intro-text { font-size: 1.05rem; line-height: 1.85; color: var(--gray-700); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.stat-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-left-color: var(--primary);
  background: var(--white);
}

.stat-number {
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.stat-label {
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray-600);
  text-transform: uppercase;
}

/* ── Developers / Clients ───────────────────────────────── */
.developers-section { background: var(--accent); }

.swiper-developers { padding: 20px 0 40px; }

.developer-logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 20px 30px;
  transition: var(--transition);
  cursor: default;
}
.developer-logo-slide:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.developer-logo-slide img {
  max-height: 50px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}
.developer-logo-slide:hover img { filter: grayscale(0%); opacity: 1; }

/* Text logo fallback */
.dev-logo-text {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 1px;
  text-align: center;
  transition: var(--transition);
}
.developer-logo-slide:hover .dev-logo-text { color: var(--primary); }

/* ── Project Cards ──────────────────────────────────────── */
.projects-section { background: var(--white); }

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.project-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }

.project-card-img .card-type-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-h);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(26,26,46,0.85);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.project-card-body { padding: 22px 22px 18px; }

.project-name {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.project-meta i { color: var(--primary); width: 14px; }

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--gray-200);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
}
.status-badge.ongoing  { background: rgba(192,57,43,0.1);  color: var(--primary); }
.status-badge.completed { background: rgba(39,174,96,0.1); color: #27ae60; }
.status-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge.ongoing .dot { animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.card-link-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 0.8rem;
  transition: var(--transition);
}
.project-card:hover .card-link-icon {
  background: var(--primary);
  color: var(--white);
}

/* ── Services Section ───────────────────────────────────── */
.services-section { background: var(--accent); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.service-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(192,57,43,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.7rem;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }

/* ── GM Message ─────────────────────────────────────────── */
.gm-section { background: var(--secondary); position: relative; overflow: hidden; }
.gm-section::before {
  content: '"';
  position: absolute;
  top: -30px; left: 30px;
  font-size: 280px;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.gm-photo-wrap {
  position: relative;
  display: inline-block;
}
.gm-photo-wrap img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.gm-photo-placeholder {
  width: 320px;
  height: 400px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(255,255,255,0.4);
  font-size: 3rem;
}

.gm-accent-line {
  width: 4px;
  height: 56px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 24px;
}

.gm-label {
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.gm-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.gm-message-text {
  color: rgba(255,255,255,0.75);
  font-size: 0.98rem;
  line-height: 1.9;
  font-style: italic;
}

.gm-name {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.gm-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ── Why Choose Us ──────────────────────────────────────── */
.why-section { background: var(--white); }

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

.why-item {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.why-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: rgba(192,57,43,0.2);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.why-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
}

.why-item p { font-size: 0.83rem; color: var(--gray-600); line-height: 1.65; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: #111827; }

.footer-top { padding: 72px 0 56px; }

.footer-logo-svg { height: 52px; width: auto; }

.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 0.84rem;
  line-height: 1.5;
}
.footer-contact-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-contact-list a { color: rgba(255,255,255,0.55); }
.footer-contact-list a:hover { color: var(--primary); }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  transition: var(--transition);
}
.social-icons a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary); }

/* ── Page Hero Banner (inner pages) ────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(192,57,43,0.9) 100%);
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(192,57,43,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,26,46,0.5) 0%, transparent 50%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: rgba(255,255,255,0.65); }
.breadcrumb-nav a { color: rgba(255,255,255,0.65); }
.breadcrumb-nav a:hover { color: var(--white); }
.breadcrumb-nav .sep { color: var(--primary); }
.breadcrumb-nav .current { color: var(--primary); font-weight: 600; }

/* ── About Page ─────────────────────────────────────────── */
.vmv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}
.vmv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vmv-icon { font-size: 2.2rem; color: var(--primary); margin-bottom: 18px; }
.vmv-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.vmv-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.75; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(192,57,43,0.1));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-event {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.55;
}

/* Group Companies */
.group-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.group-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.group-card-icon { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.group-card h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.group-card p { font-size: 0.82rem; color: var(--gray-600); }

/* Targets section */
.target-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.target-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.target-item i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.target-item p { margin: 0; font-size: 0.9rem; line-height: 1.55; }

/* ── Projects Page ──────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.filter-btn {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 9px 22px;
  border-radius: 30px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover  { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

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

.project-item { transition: var(--transition); }
.project-item.hidden { display: none; }

/* Pagination */
.pagination-wrap { display: flex; justify-content: center; margin-top: 56px; }
.pagination .page-link {
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  border: 2px solid var(--gray-200);
  padding: 8px 16px;
  margin: 0 3px;
  border-radius: 6px;
  transition: var(--transition);
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── Project Detail ─────────────────────────────────────── */
.detail-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.swiper-gallery { border-radius: var(--radius-lg); overflow: hidden; }
.swiper-gallery .swiper-slide img { width: 100%; height: 400px; object-fit: cover; }

.swiper-thumbs { margin-top: 12px; }
.swiper-thumbs .swiper-slide {
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.5;
  cursor: pointer;
  transition: var(--transition);
}
.swiper-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-thumbs .swiper-slide-thumb-active { opacity: 1; box-shadow: 0 0 0 2px var(--primary); }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:not(:last-child) { border-bottom: 1px solid var(--gray-200); }
.spec-table td { padding: 14px 16px; font-size: 0.9rem; }
.spec-table td:first-child { font-family: var(--font-h); font-weight: 600; color: var(--gray-600); width: 40%; }
.spec-table td:last-child { color: var(--gray-800); font-weight: 500; }
.spec-table tr:hover { background: var(--gray-50); }

/* ── Careers Page ───────────────────────────────────────── */
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.job-card:hover::before { transform: scaleY(1); }

.job-title { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.job-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--gray-600); }
.job-meta-item i { color: var(--primary); }

.job-type-badge {
  font-family: var(--font-h);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(192,57,43,0.08);
  color: var(--primary);
}

/* Apply Modal */
.modal-content { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal-header { background: var(--secondary); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 20px 28px; }
.modal-header .modal-title { color: var(--white); font-family: var(--font-h); font-size: 1rem; }
.modal-header .btn-close { filter: invert(1); }
.modal-body { padding: 28px; }

/* ── Contact Page ───────────────────────────────────────── */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(192,57,43,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text h6 { font-size: 0.82rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-text p,
.contact-info-text a { margin: 0; font-size: 0.95rem; color: var(--gray-700); }
.contact-info-text a:hover { color: var(--primary); }

.map-embed {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius-lg);
  margin-top: 28px;
}

/* Tabs for general / supplier */
.contact-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 28px; }
.contact-tab-btn {
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  background: none;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.contact-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.contact-tab-btn:hover  { color: var(--primary); }

/* ── Form Styles ────────────────────────────────────────── */
.form-label {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.form-control, .form-select {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 11px 16px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
  outline: none;
}
.form-control::placeholder { color: var(--gray-400); font-size: 0.87rem; }

/* ── Toast / Alert ──────────────────────────────────────── */
.form-alert {
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  display: none;
  margin-top: 16px;
}
.form-alert.success { background: rgba(39,174,96,0.1); color: #27ae60; border: 1px solid rgba(39,174,96,0.3); }
.form-alert.error   { background: rgba(192,57,43,0.1); color: var(--primary); border: 1px solid rgba(192,57,43,0.3); }

/* ── Decorative Dividers ────────────────────────────────── */
.red-divider { width: 56px; height: 4px; background: var(--primary); border-radius: 2px; margin: 20px 0; }
.red-divider.center { margin-left: auto; margin-right: auto; }

/* ── Hover Utilities ────────────────────────────────────── */
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* ── Back-to-top ────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .section-padding { padding: 72px 0; }
  .hero-content { padding: 0 24px; padding-top: 80px; }
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .gm-photo-wrap img,
  .gm-photo-placeholder { width: 240px; height: 300px; }

  /* Mobile nav fix */
  .navbar-collapse .navbar-nav { padding: 16px 0; }
  .navbar-collapse .nav-link { padding: 10px 16px !important; border-radius: 0; }
  .navbar-collapse .btn-quote { margin: 12px 16px 4px; display: block; text-align: center; }
  .nav-transparent.navbar-collapse-open { background: var(--white) !important; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 56px 0; }
  .hero-swiper { min-height: 500px; }
  .hero-title { font-size: 1.8rem; }
  .hero-tagline { font-size: 0.95rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-number { font-size: 1.9rem; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .projects-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 7px; }
  .filter-btn { padding: 7px 16px; font-size: 0.75rem; }
  .gm-photo-wrap { display: block; text-align: center; margin-bottom: 32px; }
  .gm-photo-wrap img,
  .gm-photo-placeholder { width: 100%; max-width: 320px; height: 280px; }
  .page-hero { padding: 120px 0 60px; }
  .detail-hero-img { height: 260px; }
  #backToTop { bottom: 20px; right: 20px; }
}

@media (max-width: 575.98px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 24px 20px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ── AOS override ───────────────────────────────────────── */
[data-aos] { pointer-events: auto !important; }
