/* =============================================
   SELFTRAX — Main Stylesheet
   Palette: #fcb81f (amber), #004d7b (navy), white, black
   ============================================= */

:root {
  --amber: #fcb81f;
  --amber-dark: #e0a010;
  --navy: #004d7b;
  --navy-dark: #003558;
  --navy-light: #0a6199;
  --white: #ffffff;
  --black: #111111;
  --gray-100: #f5f6f8;
  --gray-200: #e8eaee;
  --gray-400: #9aa0ac;
  --gray-600: #5a6270;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 4px;
  --shadow: 0 4px 20px rgba(0,77,123,0.12);
  --shadow-lg: 0 12px 40px rgba(0,77,123,0.18);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: var(--navy-dark);
  color: var(--gray-200);
  font-size: 0.78rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 7px 1.5rem;
  flex-wrap: wrap;
}
.topbar span { letter-spacing: 0.02em; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  transition: background var(--transition);
}
.navbar.scrolled { background: var(--navy-dark); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}
.brand-icon { font-size: 1.4rem; }
.brand-accent { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--amber);
  background: rgba(252,184,31,0.1);
}
.nav-links li a.nav-cta {
  background: var(--amber);
  color: var(--navy-dark);
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius);
}
.nav-links li a.nav-cta:hover { background: var(--amber-dark); color: var(--navy-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 2.5rem 60px;
}




.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(252,184,31,0.08) 0%, transparent 70%),
    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");
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(252,184,31,0.15);
  border: 1px solid rgba(252,184,31,0.3);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--amber); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 1.5rem;
  transition: transform var(--transition), background var(--transition);
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }
.stat-card:first-child { grid-column: span 2; background: rgba(252,184,31,0.12); border-color: rgba(252,184,31,0.25); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-dark);
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 80px 2.5rem; }
.section-sm { padding: 50px 2.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(252,184,31,0.1);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.section-title span { color: var(--amber); }
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 560px;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px;
  background: rgba(0,77,123,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.service-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--amber); font-size: 0.85rem; font-weight: 600;
  margin-top: 1rem; text-transform: uppercase; letter-spacing: 0.05em;
}

/* =============================================
   WHY CHOOSE US / FEATURES
   ============================================= */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.features-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.feature-item { display: flex; gap: 1rem; }
.feature-bullet {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--amber);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 3px;
}
.feature-item p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* Visual block for split sections */
.visual-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.visual-block::after {
  content: '⚡';
  position: absolute; bottom: -20px; right: -10px;
  font-size: 10rem; opacity: 0.05;
  line-height: 1;
}
.visual-block h3 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 800;
  margin-bottom: 1rem; color: var(--amber);
}
.visual-block ul { display: flex; flex-direction: column; gap: 0.75rem; }
.visual-block ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: rgba(255,255,255,0.85);
}
.visual-block ul li::before { content: '✔'; color: var(--amber); font-weight: 700; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid var(--amber);
}
.testimonial-card p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; font-style: italic; margin-bottom: 1rem; }
.testimonial-card p::before { content: '"'; color: var(--amber); font-size: 1.5rem; font-weight: 700; }
.testimonial-author { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray-400); }
.stars { color: var(--amber); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 2px; }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: var(--amber);
  padding: 60px 2.5rem;
}
.cta-band-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--navy-dark);
  line-height: 1.1;
}
.cta-band p { color: var(--navy); font-size: 1rem; margin-top: 0.5rem; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 80px 2.5rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: attr(data-icon);
  position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%);
  font-size: 12rem; opacity: 0.05; pointer-events: none;
}
.page-hero .breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  margin-bottom: 1rem; letter-spacing: 0.08em;
}
.page-hero .breadcrumb a { color: var(--amber); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: -0.01em;
  line-height: 1.05;
}
.page-hero h1 span { color: var(--amber); }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 560px; margin: 1rem auto 0; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--navy); margin-bottom: 1rem;
}
.contact-info p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-detail h5 { font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 2px; }
.contact-detail p { font-size: 0.88rem; color: var(--gray-600); margin: 0; }
.emergency-box {
  background: var(--amber);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}
.emergency-box h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-dark); font-weight: 800; margin-bottom: 0.4rem; }
.emergency-box p { font-size: 0.9rem; color: var(--navy); margin: 0; }

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--navy); font-weight: 800;
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(252,184,31,0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

.form-success {
  display: none;
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-radius: var(--radius); padding: 1rem;
  color: #2e7d32; font-size: 0.95rem; text-align: center;
  margin-top: 1rem;
}
.form-error { color: #c0392b; font-size: 0.78rem; margin-top: 4px; }

/* =============================================
   PROJECTS GRID
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.project-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
  background: var(--white);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

/* Thumbnail wrapper */
.project-thumb {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
/* Actual image */
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.05); }

/* Dark overlay on hover for readability */
.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,53,88,0.55) 0%, rgba(0,0,0,0.05) 60%);
  pointer-events: none;
}

/* Category badge floating over image */
.project-thumb-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--navy-dark);
  padding: 4px 10px;
  border-radius: 2px;
  line-height: 1;
  display: inline-block;
  width: auto;
  white-space: nowrap;
}

/* Fallback when image is missing */
.project-thumb-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-thumb-fallback span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-body { padding: 1.5rem; }
.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}
.project-body p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }
.project-meta {
  display: flex; gap: 1rem; margin-top: 1rem;
  font-size: 0.8rem; color: var(--gray-400);
  flex-wrap: wrap;
}

/* =============================================
   TEAM CARDS
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--amber);
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-weight: 800;
}
.team-card h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.team-card span { font-size: 0.82rem; color: var(--amber); font-weight: 600; }
.team-card p { font-size: 0.85rem; color: var(--gray-600); margin-top: 0.5rem; }

/* =============================================
   ACCORDION (FAQ)
   ============================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 700; color: var(--navy); letter-spacing: 0.01em;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--amber-dark); }
.faq-icon { font-size: 1.2rem; color: var(--amber); transition: transform 0.3s; flex-shrink: 0; }
.faq-answer {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer p {
  font-size: 0.9rem; color: var(--gray-600); line-height: 1.7;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-answer { max-height: 300px; }

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(to right, var(--amber), var(--navy-light));
}
.process-step { text-align: center; padding: 1rem; position: relative; }
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--amber);
  position: relative; z-index: 1;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.3rem;
}
.process-step p { font-size: 0.82rem; color: var(--gray-600); }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--navy);
  padding: 50px 2.5rem;
  color: var(--white);
}
.stats-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.stats-bar-item h3 {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: var(--amber); line-height: 1;
}
.stats-bar-item p { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-top: 4px; letter-spacing: 0.03em; }

/* =============================================
   MAP PLACEHOLDER
   ============================================= */
.map-placeholder {
  width: 100%; height: 350px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white); gap: 0.5rem;
  font-family: var(--font-display); font-size: 1.2rem;
}
.map-placeholder span:first-child { font-size: 3rem; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 2.5rem 0;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--white); margin-bottom: 1rem;
}
.footer-logo span { color: var(--amber); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-badges {
  display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap;
}
.footer-badges span {
  background: rgba(252,184,31,0.15);
  border: 1px solid rgba(252,184,31,0.2);
  color: var(--amber);
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 2px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--amber); }
.footer-col address p { font-size: 0.88rem; margin-bottom: 0.6rem; }
.footer-col address a { transition: color var(--transition); }
.footer-col address a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  font-size: 0.82rem; text-align: center;
  color: rgba(255,255,255,0.4);
  margin-top: 2.5rem;
}

/* =============================================
   ABOUT PAGE SPECIFICS
   ============================================= */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.mission-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border-top: 4px solid var(--amber);
  box-shadow: var(--shadow);
  text-align: center;
}
.mission-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mission-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.mission-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }

.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute; left: -2.2rem; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--amber);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 800;
  color: var(--amber); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.25rem;
}
.timeline-item h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.timeline-item p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; margin-top: 0.25rem; }

/* =============================================
   SCOPE OF WORK CARDS
   ============================================= */
.scope-card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.scope-card-header {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.scope-icon {
  font-size: 2rem;
  background: rgba(252,184,31,0.15);
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.scope-card-header .scope-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2px;
}
.scope-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}
.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: scope-counter;
}
.scope-list li {
  counter-increment: scope-counter;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.scope-list li:last-child { border-bottom: none; }
.scope-list li::before {
  content: counter(scope-counter);
  display: flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px;
  background: var(--amber);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 1px;
  flex-shrink: 0;
}
.scope-list li:hover { background: var(--gray-100); }

@media (max-width: 768px) {
  .scope-list li { padding: 0.75rem 1rem; }
  .scope-card-header { padding: 1rem; }
}

/* =============================================
   LABOUR CHARGES TABLE
   ============================================= */
.labour-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}
.labour-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.labour-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.labour-table thead th:nth-child(3) { text-align: center; color: var(--amber); }
.labour-table tbody tr { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.labour-table tbody tr:hover { background: #fffbf0; }
.labour-table tbody td { padding: 16px 18px; color: var(--gray-600); }
.labour-table tbody td strong { color: var(--navy); font-size: 1rem; }
.labour-table .rate-cell {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  background: rgba(252,184,31,0.08);
}
.labour-table tfoot .labour-note {
  background: rgba(252,184,31,0.1);
  border-top: 2px solid var(--amber);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.labour-table tfoot .labour-note strong { color: var(--navy); }

/* =============================================
   TERMS & CONDITIONS
   ============================================= */
.tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.tc-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.tc-card:hover { box-shadow: var(--shadow); }
.tc-card-wide {
  grid-column: span 2;
}
.tc-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--amber);
  background: rgba(252,184,31,0.1);
  min-width: 52px; height: 52px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.tc-num-warn {
  color: #c05000;
  background: rgba(192,80,0,0.08);
}
.tc-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tc-badge-excl {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #ffe5e5;
  color: #c0392b;
  padding: 3px 10px;
  border-radius: 2px;
  font-family: var(--font-body);
}
.tc-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }
.tc-card p strong { color: var(--navy); }

/* Extra works sub-grid */
.extra-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.extra-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 6px 10px;
  background: var(--gray-100);
  border-radius: 4px;
  line-height: 1.5;
}
.extra-letter {
  font-weight: 700;
  color: var(--amber-dark);
  min-width: 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* T&C enquiry nudge */
.tc-enquiry-box {
  background: var(--navy);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.tc-enquiry-box strong { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: 0.3rem; }
.tc-enquiry-box p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

@media (max-width: 768px) {
  .tc-grid { grid-template-columns: 1fr; }
  .tc-card-wide { grid-column: span 1; }
  .extra-works-grid { grid-template-columns: 1fr; }
  .tc-enquiry-box { flex-direction: column; align-items: flex-start; }
  .labour-table { font-size: 0.82rem; }
  .labour-table thead th, .labour-table tbody td { padding: 10px 12px; }
}

/* =============================================
   ALERTS / NOTICES
   ============================================= */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.alert-success { background: #e8f5e9; border-left: 4px solid #4caf50; color: #2e7d32; }
.alert-error { background: #ffebee; border-left: 4px solid #e53935; color: #c62828; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats .stat-card:first-child { grid-column: span 4; }
  .features-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.25rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 12px 16px; border-radius: var(--radius); }
  .hero { padding: 60px 1.25rem 50px; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat-card:first-child { grid-column: span 2; }
  .section, .section-sm { padding: 50px 1.25rem; }
  .cta-band { padding: 40px 1.25rem; }
  .cta-band-inner { flex-direction: column; gap: 1.25rem; }
  .topbar { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .page-hero::after { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat-card:first-child { grid-column: span 1; }
  .projects-grid { grid-template-columns: 1fr; }
}