/* ============================================================
   RASTEC ENGINEERING — Main Stylesheet
   Design: Navy + White + Copper/Orange accent
   ============================================================ */

:root {
  --navy:       #1F4E79;
  --navy-dark:  #163759;
  --blue:       #2E75B6;
  --blue-light: #D6E4F0;
  --copper:     #C55A11;
  --copper-dark:#9C4710;
  --text:       #1A1A1A;
  --text-muted: #555;
  --bg:         #F8FAFD;
  --white:      #FFFFFF;
  --border:     #D0DCE8;
  --success:    #375623;
  --radius:     6px;
  --shadow:     0 2px 16px rgba(31,78,121,0.10);
  --shadow-lg:  0 8px 40px rgba(31,78,121,0.15);
  --transition: 0.22s ease;
  --max-w:      1200px;
  --header-h:   72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--copper); }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-copper { color: var(--copper); }
.text-navy   { color: var(--navy); }
.text-center { text-align: center; }

/* ── LAYOUT HELPERS ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 10px 0 56px; }
.section-sm { padding: 36px 0; }
.section-lg { padding: 72px 0; }
.section-bg { background: var(--bg); }
.testimonials-section { background: var(--navy-dark); }
.testimonials-section .section-header h2,
.testimonials-section .section-header p { color: var(--white); }
.section + .section {
  /* Reduce vertical gap when two sections are adjacent */
  padding-top: 10px;
}
.section + .section.section-bg {
  /* Slightly tighter top padding for backgrounded sections */
  padding-top: 10px;
}

/* Reduce bottom spacing on the final page section (before footer) */
.section:last-of-type {
  padding-bottom: 24px;
}

/* Tighten spacing when a section is followed by the CTA area */
.section + .cta-section {
  padding-top: 24px;
}

/* CTA section uses a tighter padding to avoid large footer gap */
.cta-section {
  padding: 32px 0;
}
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.btn-primary:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197,90,17,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--text-muted); max-width: 620px; font-size: 1.05rem; }
.section-header.center p { margin: 0 auto; }

/* Tighter spacing for the leadership block (Ravi Singh heading) */
.about-leader .section-header { margin-bottom: 12px; }

/* ── HEADER / NAV ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.header .main-nav { margin: 0 12px; flex: 1 1 auto; display: flex; justify-content: center; }
.header-cta { margin-left: 12px; flex-shrink: 0; }
.logo { margin-right: 12px; }

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.logo-tag {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Logo image placeholders */
.site-logo {
  display: inline-block;
  width: 72px;
  height: auto;
  max-height: 88px;
  flex-shrink: 0;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 6px;
}
.site-logo--footer { width: 84px; height: auto; max-height: 104px; margin-right: 14px; }

/* When a real logo image is used, keep logo text aligned */
.logo .logo-name { display: inline-block; vertical-align: middle; }
.logo .logo-tag { display: inline-block; vertical-align: middle; }

/* Responsive: stack logo above text on small screens */
@media (max-width: 640px) {
  .logo { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-logo { margin-right: 0; }
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header-phone a { color: var(--navy); }
.header-phone a:hover { color: var(--copper); }

nav.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav.main-nav > ul li { position: relative; }
nav.main-nav > ul li a {
  display: block;
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
}
nav.main-nav > ul li a:hover,
nav.main-nav > ul li a.active {
  color: var(--navy);
  background: var(--blue-light);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  z-index: 200;
  padding: 6px 0;
}
.has-dropdown:hover .dropdown-menu { display: block; }
/* Keep dropdown open when hovering the menu itself or when focused (keyboard) */
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown .dropdown-menu:hover {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.dropdown-menu a:hover { background: var(--bg); color: var(--navy); }

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

/* Ensure button-style links in the nav keep their button appearance */
nav.main-nav > ul li.nav-cta { display: flex; align-items: center; }
nav.main-nav > ul li.nav-cta .btn {
  display: inline-flex;
  padding: 9px 18px;
  border-radius: var(--radius);
  margin-left: 6px;
}
nav.main-nav > ul li.nav-cta .btn {
  color: var(--white);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
nav.main-nav > ul li.nav-cta .btn:hover {
  color: var(--navy);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a5f8a 100%);
  color: var(--white);
  padding: 56px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #BDD7EE;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
}
.hero h1 span { color: #FFB347; }
.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.hero-trust-item .icon { color: #FFB347; font-size: 1.1rem; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-card-item:last-child { margin-bottom: 0; }
.hero-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(197,90,17,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-card-text { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.4; }
.hero-card-text strong { color: var(--white); display: block; font-size: 0.92rem; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-item .badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #BDD7EE;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.2);
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  transition: all var(--transition);
}

/* Make cards in 3-column grids stretch and align action buttons to bottom */
.grid-3 > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.grid-3 > .card .btn {
  margin-top: auto !important;
  align-self: flex-start;
}

/* Apply same bottom-alignment behavior to other grid variants */
.grid-2 > .card,
.grid-4 > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.grid-2 > .card .btn,
.grid-4 > .card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.card p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.card .card-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card .card-link:hover { gap: 8px; }

/* Service card accent */
.card-accent-top {
  border-top: 3px solid var(--copper);
}

/* ── STAT / METRIC BOX ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--copper); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ── WHY CHOOSE ── */
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-num {
  width: 36px;
  height: 36px;
  background: var(--copper);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.why-content h4 { margin-bottom: 4px; color: var(--navy); }
.why-content p  { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue-light);
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 28px;
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }
.stars { color: #F4A000; font-size: 0.85rem; letter-spacing: 2px; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  padding: 32px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--copper);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── CONTACT FORM ── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,117,182,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; }
.form-note a { color: var(--blue); }

/* Contact info sidebar */
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-value { font-weight: 600; color: var(--navy); margin-top: 2px; }
.contact-info-value a { color: var(--navy); }
.contact-info-value a:hover { color: var(--copper); }

.credentials-list { display: flex; flex-direction: column; gap: 10px; }
.cred-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.cred-badge .icon { font-size: 1rem; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 60px 0 52px;
  border-bottom: 3px solid var(--copper);
}
.page-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #BDD7EE;
  margin-bottom: 10px;
}
/* Force CTA spacing to desired values (important to override duplicates) */
.section + .cta-section { padding-top: 24px !important; }
.cta-section { padding: 32px 0 !important; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.page-hero p  { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 640px; margin-bottom: 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── SERVICE PAGE ── */
.service-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--copper);
}
.highlight-item .hi-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.highlight-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.highlight-item p strong { color: var(--navy); display: block; margin-bottom: 2px; }

.scope-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 32px;
  margin: 32px 0;
}
.scope-box h3 { color: var(--white); margin-bottom: 16px; font-size: 1.05rem; }
.scope-list { display: flex; flex-direction: column; gap: 10px; }
.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.88);
}
.scope-list li::before {
  content: '✓';
  color: #FFB347;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.acca-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  border-top: 3px solid var(--blue);
  margin-bottom: 20px;
}
.acca-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.acca-card p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ── PROJECTS GRID ── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.project-img {
  height: 180px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--blue);
  position: relative;
  overflow: hidden;
}
.project-img .project-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-body { padding: 22px; }
.project-body h3 { font-size: 1rem; margin-bottom: 6px; }
.project-body p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ── ABOUT PAGE ── */
.about-leader {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.leader-photo {
  aspect-ratio: 3/4;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--navy);
  border: 3px solid var(--border);
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.leader-meta { margin-top: 16px; }
.leader-meta .name { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.leader-meta .title { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }
.leader-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.leader-badge {
  background: var(--blue-light);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue-light);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--copper);
}
.timeline-year { font-size: 0.8rem; font-weight: 700; color: var(--copper); margin-bottom: 4px; }
.timeline-title { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.timeline-desc { font-size: 0.9rem; color: var(--text-muted); }

/* ── GEOGRAPHY SECTION ── */
.geo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.geo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.geo-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.geo-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.geo-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.geo-list li::before { content: '📍'; font-size: 0.85rem; }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-name {
  font-family: 'Montserrat', sans-serif; color: var(--white); font-size: 1.3rem; }
.footer-brand .logo-tag  { color: rgba(255,255,255,0.5); }
.footer-tagline { font-size: 0.88rem; margin-top: 12px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-license {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-license span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-license span::before { content: '✓'; color: #FFB347; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--white); }

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

/* ── FAQ ACCORDION ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  font-family: inherit;
}
.faq-question:hover { background: var(--bg); }
.faq-question.open { background: var(--blue-light); }
.faq-chevron { font-size: 1.1rem; transition: transform var(--transition); }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--bg);
}
.faq-answer.open { display: block; }

/* ── ALERT / INFO BOX ── */
.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.93rem;
  color: var(--navy);
}
.info-box strong { display: block; margin-bottom: 4px; }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--bg); }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .testimonial-grid, .projects-grid, .geo-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .service-highlights { grid-template-columns: 1fr; }
  .about-leader { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 20px; }
  .trust-divider { display: none; }

  nav.main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn:not(.btn-sm) { display: none; }

  nav.main-nav.open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    padding: 20px;
    z-index: 999;
  }
  nav.main-nav.open > ul { flex-direction: column; gap: 0; }
  nav.main-nav.open > ul li a { padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid var(--border); }

/* allow nav to take remaining space so CTA stays visible */
header .main-nav { flex: 1 1 auto; }
.header-cta { flex-shrink: 0; }
  nav.main-nav.open > ul .has-dropdown .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg);
    padding: 0 0 0 16px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
}
