﻿/* ==========================================================
   EAST PROWESS LIMITED — Website Design System
   Brand: Navy #1B2D5B | Gold #B8962E
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Tokens ---- */
:root {
  --navy:        #1B2D5B;
  --navy-dark:   #0D1729;
  --navy-mid:    #1F3468;
  --navy-light:  #2D4A8A;
  --gold:        #B8962E;
  --gold-light:  #D4AF37;
  --gold-pale:   #F7F0DC;
  --white:       #FFFFFF;
  --off-white:   #F9FAFB;
  --light:       #F4F6FB;
  --border:      #E2E8F0;
  --text:        #1A2338;
  --text-mid:    #3D4F6B;
  --text-gray:   #526070;   /* was #6B7A99 — now 6.4:1 on white, passes WCAG AA */
  --heading:     'Playfair Display', Georgia, serif;
  --body:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --py:          100px;
  --max-w:       1280px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow:      0 4px 20px rgba(27,45,91,.10);
  --shadow-lg:   0 10px 40px rgba(27,45,91,.15);
  --shadow-xl:   0 20px 60px rgba(27,45,91,.20);
  --ease:        all .3s ease;
}

/* ---- Base ---- */
body { font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--heading); line-height: 1.25; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-gray); line-height: 1.8; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section    { padding: var(--py) 0; }
.section.bg-light  { background: var(--light); }
.section.bg-navy   { background: var(--navy); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--gold);
  margin-bottom: 14px;
}
.section-label::before, .section-label::after { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); }
.section-title  { color: var(--navy); margin-bottom: 16px; }
.section-sub    { font-size: 1.05rem; max-width: 600px; margin: 0 auto; color: var(--text-mid); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-size: .875rem; font-weight: 600;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: var(--ease); text-transform: uppercase; letter-spacing: 1px;
  font-family: var(--body);
}
.btn-gold  { background: var(--gold);  color: #fff; border-color: var(--gold); }
.btn-gold:hover  { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,150,46,.38); }
.btn-navy  { background: var(--navy);  color: #fff; border-color: var(--navy); }
.btn-navy:hover  { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,45,91,.35); }
.btn-outline       { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline-gold  { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0; transition: var(--ease);
}
.navbar.scrolled {
  background: var(--navy-dark); padding: 14px 0;
  box-shadow: 0 4px 30px rgba(13,23,41,.45);
}
.navbar.solid { background: var(--navy-dark); padding: 14px 0; }
.navbar .container { display: flex; align-items: center; }
.nav-logo img { height: 50px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links li a {
  display: block; padding: 8px 16px; font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.82); border-radius: var(--radius);
  transition: var(--ease); text-transform: uppercase; letter-spacing: .5px;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--gold); background: rgba(255,255,255,.08); }
.nav-cta { margin-left: 20px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--ease); }

/* ---- Hero ---- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,23,41,.88) 0%, rgba(27,45,91,.72) 55%, rgba(184,150,46,.12) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,150,46,.15); border: 1px solid rgba(184,150,46,.4);
  color: var(--gold-light); padding: 6px 18px; border-radius: 40px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 28px;
}
.hero h1 { color: #fff; margin-bottom: 24px; font-size: clamp(3rem,6vw,5.2rem); line-height: 1.12; }
.hero h1 em { color: var(--gold); font-style: normal; display: block; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 620px; margin-bottom: 44px; line-height: 1.85; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.70); font-size: .7rem; text-transform: uppercase; letter-spacing: 2px;
  animation: bounce 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 22px; height: 22px; stroke: rgba(255,255,255,.55); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* Page Heroes */
.page-hero { min-height: 520px; display: flex; align-items: flex-end; padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(2.2rem,4.5vw,3.6rem); }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.70); font-size: .83rem; margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.70); transition: var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); }

/* ---- Stats ---- */
.stats-section { background: var(--navy); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { text-align: center; padding: 20px 32px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--heading); font-size: 3.8rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.82); text-transform: uppercase; letter-spacing: 2.5px; }

/* ---- About Preview ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius-xl); }
.about-badge {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--gold); color: #fff; padding: 28px 36px;
  border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-xl);
}
.about-badge .big { font-family: var(--heading); font-size: 3rem; font-weight: 800; line-height: 1; display: block; }
.about-badge .small { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; opacity: .9; }
.about-content .section-label { justify-content: flex-start; }
.about-content .section-label::before { display: none; }
.about-features { display: flex; flex-direction: column; gap: 18px; margin: 32px 0; }
.about-feature { display: flex; gap: 14px; align-items: flex-start; }
.af-icon { flex-shrink: 0; width: 46px; height: 46px; background: var(--gold-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.af-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.af-text h5 { color: var(--navy); font-size: .95rem; margin-bottom: 3px; }
.af-text p  { font-size: .875rem; }

/* ---- Services Grid ---- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 32px; transition: var(--ease); position: relative; overflow: hidden;
}
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--gold); transform: scaleX(0); transition: var(--ease); transform-origin: left; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.svc-icon { width: 66px; height: 66px; background: var(--gold-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; transition: var(--ease); }
.service-card:hover .svc-icon { background: var(--gold); }
.svc-icon svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; stroke-width: 1.5; transition: var(--ease); }
.service-card:hover .svc-icon svg { stroke: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { font-size: .875rem; line-height: 1.75; }

/* ---- Features / Why Us ---- */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.features-img-wrap { position: relative; }
.features-img-wrap img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius-xl); }
.features-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--navy); color: #fff; padding: 28px 36px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); text-align: center;
  border-left: 5px solid var(--gold);
}
.features-badge .num { font-family: var(--heading); font-size: 2.8rem; font-weight: 800; line-height: 1; color: var(--gold); display: block; }
.features-badge .label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.75); }
.features-list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0 40px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.fi-icon { flex-shrink: 0; width: 50px; height: 50px; background: var(--gold-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.fi-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; }
.fi-text h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.fi-text p  { font-size: .875rem; }

/* ---- VMV ---- */
.vmv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.vmv-card {
  background: #fff; border-radius: var(--radius-xl); padding: 52px 40px;
  text-align: center; box-shadow: var(--shadow); transition: var(--ease);
  position: relative; overflow: hidden;
}
.vmv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gold); }
.vmv-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.vmv-icon { width: 84px; height: 84px; background: var(--gold-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; transition: var(--ease); }
.vmv-card:hover .vmv-icon { background: var(--gold); }
.vmv-icon svg { width: 38px; height: 38px; stroke: var(--gold); fill: none; stroke-width: 1.5; transition: var(--ease); }
.vmv-card:hover .vmv-icon svg { stroke: #fff; }
.vmv-card h3 { font-size: 1.6rem; margin-bottom: 16px; }
.vmv-card p { font-size: .9rem; line-height: 1.8; }

/* ---- Projects ---- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px; font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; border-radius: 40px; border: 2px solid var(--border);
  color: var(--text-gray); background: #fff; transition: var(--ease); font-family: var(--body);
}
.filter-btn:hover, .filter-btn.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,23,41,.92) 0%, rgba(13,23,41,.25) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
  transition: var(--ease);
}
.project-tag { display: inline-block; background: var(--gold); color: #fff; padding: 4px 14px; border-radius: 40px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; width: fit-content; }
.project-overlay h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.project-overlay p { color: rgba(255,255,255,.68); font-size: .82rem; }
.project-card .view-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; opacity: 0; transform: translateY(8px); transition: var(--ease); }
.project-card:hover .view-link { opacity: 1; transform: translateY(0); }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.team-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--ease); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.team-photo { aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-body { padding: 26px; }
.team-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { color: var(--gold); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 12px; }
.team-body p { font-size: .82rem; line-height: 1.7; }

/* ---- CTA Banner ---- */
.cta-section { background: var(--navy-dark); padding: 90px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -40%; right: -5%; width: 450px; height: 450px; background: radial-gradient(circle, rgba(184,150,46,.13) 0%, transparent 70%); pointer-events: none; }
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-content h2 { color: #fff; margin-bottom: 18px; }
.cta-content p  { color: rgba(255,255,255,.80); font-size: 1.1rem; max-width: 600px; margin: 0 auto 44px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Timeline ---- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--navy)); }
.timeline-item { display: flex; gap: 0; padding: 0 0 44px 80px; position: relative; }
.timeline-dot { position: absolute; left: 17px; top: 4px; width: 24px; height: 24px; background: var(--gold); border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold); z-index: 1; }
.tl-card { background: #fff; border-radius: var(--radius-lg); padding: 30px 36px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); flex: 1; transition: var(--ease); }
.tl-card:hover { box-shadow: var(--shadow-xl); transform: translateX(4px); }
.tl-year { font-size: .72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.tl-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tl-card p  { font-size: .875rem; }

/* ---- Services Detail ---- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--border); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail.rev { direction: rtl; }
.svc-detail.rev > * { direction: ltr; }
.svc-detail-img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; }
.svc-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-num { font-family: var(--heading); font-size: 5rem; font-weight: 800; color: var(--gold-pale); line-height: 1; margin-bottom: -12px; }
.svc-sub { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.svc-sub li { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text-gray); }
.svc-sub li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

/* ---- Process ---- */
.process-wrap { position: relative; }
.process-line { position: absolute; top: 40px; left: calc(12.5% + 44px); right: calc(12.5% + 44px); height: 2px; background: linear-gradient(to right, var(--gold), var(--navy)); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.process-step { text-align: center; }
.step-num { width: 80px; height: 80px; background: var(--navy); border: 4px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-size: 1.6rem; font-weight: 800; color: var(--gold); margin: 0 auto 24px; position: relative; z-index: 1; transition: var(--ease); }
.process-step:hover .step-num { background: var(--gold); color: #fff; border-color: var(--navy); }
.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: .875rem; }

/* ---- Certifications ---- */
.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cert-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: var(--ease); }
.cert-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-6px); }
.cert-card svg { width: 48px; height: 48px; stroke: var(--gold); fill: none; stroke-width: 1.5; margin: 0 auto 18px; }
.cert-card h4 { font-size: .95rem; margin-bottom: 8px; }
.cert-card p { font-size: .8rem; }

/* ---- Contact ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.cd-item { display: flex; gap: 16px; align-items: flex-start; }
.cd-icon { flex-shrink: 0; width: 50px; height: 50px; background: var(--gold-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.cd-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; }
.cd-text span { display: block; font-size: .72rem; font-weight: 700; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.cd-text p { font-size: .95rem; color: var(--text); font-weight: 500; line-height: 1.6; }
.contact-form-card { background: #fff; border-radius: var(--radius-xl); padding: 52px; box-shadow: var(--shadow-xl); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; font-family: var(--body); font-size: .9rem;
  color: var(--text); background: var(--light); border: 2px solid var(--border);
  border-radius: var(--radius); outline: none; transition: var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184,150,46,.1); }
.form-group textarea { height: 145px; resize: vertical; }

/* ---- Footer ---- */
.footer { background: var(--navy-dark); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 52px; padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand-logo { height: 46px; filter: brightness(0) invert(1); margin-bottom: 22px; }
.footer-brand p { color: rgba(255,255,255,.68); font-size: .875rem; line-height: 1.75; max-width: 290px; }
.footer-social { display: flex; gap: 10px; margin-top: 28px; }
.social-btn { width: 40px; height: 40px; background: rgba(255,255,255,.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: var(--ease); }
.social-btn:hover { background: var(--gold); }
.social-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.7); fill: none; }
.social-btn:hover svg { stroke: #fff; }
.footer-col h4 { font-family: var(--body); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold); margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .875rem; transition: var(--ease); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact-row svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; flex-shrink: 0; margin-top: 3px; }
.footer-contact-row p { color: rgba(255,255,255,.65); font-size: .875rem; line-height: 1.65; }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: rgba(255,255,255,.48); font-size: .78rem; }

/* ---- Back to Top ---- */
.back-top { position: fixed; bottom: 32px; right: 32px; width: 50px; height: 50px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); cursor: pointer; transition: var(--ease); opacity: 0; pointer-events: none; z-index: 999; border: none; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--navy); transform: translateY(-4px); }
.back-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; }

/* ---- Animations ---- */
.fade-up     { opacity: 0; transform: translateY(36px); transition: opacity .75s ease, transform .75s ease; }
.fade-left   { opacity: 0; transform: translateX(-40px); transition: opacity .75s ease, transform .75s ease; }
.fade-right  { opacity: 0; transform: translateX(40px);  transition: opacity .75s ease, transform .75s ease; }
.fade-up.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .10s; } .d2 { transition-delay: .20s; } .d3 { transition-delay: .30s; }
.d4 { transition-delay: .40s; } .d5 { transition-delay: .50s; } .d6 { transition-delay: .60s; }

/* ---- Utilities ---- */
.text-gold { color: var(--gold); }
.gold-line { display: block; width: 56px; height: 3px; background: var(--gold); margin-bottom: 28px; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  :root { --py: 80px; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .team-grid     { grid-template-columns: repeat(3,1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .cert-grid     { grid-template-columns: repeat(2,1fr); }
  .process-line  { display: none; }
  .process-grid  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  :root { --py: 60px; }

  /* ---- Mobile nav ---- */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* When nav is open — full-screen slide-down menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--navy-dark);
    padding: 20px 24px 80px;
    z-index: 996;
    gap: 2px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open > li > a {
    font-size: .95rem;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  /* Show CTA button at bottom of open mobile nav */
  .nav-links.open ~ .nav-cta {
    display: flex !important;
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    z-index: 997;
    justify-content: center;
  }

  /* ---- Layout collapses ---- */
  .about-grid, .features-grid, .svc-detail, .contact-wrap, .vmv-grid,
  .split-section, .split-section.rev { grid-template-columns: 1fr; direction: ltr; }
  .svc-detail.rev { direction: ltr; }
  .about-badge { bottom: 0; left: 0; display: inline-block; }
  .features-badge { position: static; margin-top: 16px; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }

  /* ---- Typography ---- */
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }

  /* ---- Contact page ---- */
  .contact-form-card { padding: 32px 24px 36px; }
  .contact-wrap { gap: 32px; }

  /* ---- Footer ---- */
  .footer-top { gap: 36px; padding: 52px 0 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 520px) {
  :root { --py: 52px; }
  .container { padding: 0 18px; }
  .services-grid, .projects-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-section .stat-number { font-size: 2.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cert-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 18px 28px; }
  .contact-wrap { gap: 28px; }
  .section-header { margin-bottom: 44px; }
  .vmv-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { gap: 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
}

@media (max-width: 380px) {
  :root { --py: 40px; }
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.9rem; }
  .btn { padding: 12px 22px; font-size: .82rem; }
  .contact-form-card { padding: 20px 14px 24px; }
  .stats-section .stat-number { font-size: 2rem; }
  .footer-top { padding: 40px 0 32px; }
}
