/* ==========================================================================
   BMS 2026: Engineer-Led Design
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800;900&display=swap');

:root {
  --bms-yellow: #FFC107; 
  --wa-green: #25D366;
  --bms-black: #111111;
  --bms-panel: #1A1A1A;
  --white: #FFFFFF;
  --light-bg: #F9FAFB;
  --text-muted: #6B7280;
  --radius-lg: 12px;
  --radius-md: 6px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--bms-black); background: var(--white); line-height: 1.6;
  overflow-x: hidden;
}

.container { width: 100%; padding: 0 24px; margin: 0 auto; max-width: 1200px; }
.section { padding: 6rem 0; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--bms-black); }
.text-white { color: var(--white); }
.center { text-align: center; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); margin-bottom: 1.5rem; letter-spacing: -1.5px; }
h1 span { color: var(--bms-yellow); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.section-title { margin-bottom: 4rem; }
p { font-size: 1.1rem; color: #555; margin-bottom: 1.5rem; }

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.hide-on-screen { display: none !important; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .nav-call {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 4px; font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer; transition: var(--transition);
}

/* Primary Yellow Button */
.btn-primary, .nav-call { background: var(--bms-yellow); color: #000; }
.btn-primary:hover, .nav-call:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255,193,7,0.3); background: #E0A800; }

/* Solid White Secondary Button */
.btn-secondary { background: var(--white); color: var(--bms-black); box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.btn-secondary:hover { background: #F0F0F0; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255,255,255,0.15); }

/* Black Outline Button */
.btn-outline { border: 2px solid var(--bms-black); color: var(--bms-black); background: transparent; }
.btn-outline:hover { background: var(--bms-black); color: var(--bms-yellow); }

/* Service Section Get Quote Buttons */
.btn-service-quote {
  display: inline-block; background: var(--bms-yellow); color: #000;
  padding: 12px 28px; border-radius: 50px; font-weight: 800;
  margin-top: 15px; font-size: 1.05rem; transition: var(--transition);
}
.btn-service-quote:hover { background: #E0A800; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255,193,7,0.3); }

/* ================= NAVBAR & HAMBURGER MENU ================= */
.navbar { position: fixed; width: 100%; top: 0; background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.05); z-index: 1000; padding: 15px 0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; position: relative; }

/* Image Logo */
.logo { display: block; z-index: 1001; }
.logo img { height: 45px; width: auto; display: block; }

.nav-actions { display: flex; align-items: center; gap: 15px; z-index: 1001; }
.nav-call { border-radius: 4px; }

/* Hamburger Button */
.hamburger { display: flex; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 5px; z-index: 1002; }
.hamburger span { width: 25px; height: 3px; background-color: var(--bms-black); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Dropdown Links */
.nav-links { 
  position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); 
  display: flex; flex-direction: column; padding: 20px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
  transform: translateY(-150%); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999;
}
.nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-links a { padding: 12px 24px; font-weight: 700; color: var(--bms-black); text-align: center; border-bottom: 1px solid #f0f0f0; }
.nav-links a:last-child { border-bottom: none; }

/* Hero */
.hero { background: var(--bms-black); color: var(--white); padding: 9rem 0 6rem; }
.hero p { color: #CCC; font-size: 1.2rem; max-width: 90%; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 2rem; margin-bottom: 2.5rem; }

/* Trust Badges Grid */
.trust-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2rem; }
.trust-badge { 
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); 
  padding: 12px; border-radius: 8px; display: flex; align-items: flex-start; gap: 10px; 
  color: #E2E8F0; font-size: 0.9rem; font-weight: 600; line-height: 1.3; transition: var(--transition);
}
.trust-badge:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--bms-yellow); }
.trust-badge .check { color: var(--bms-yellow); font-weight: 900; font-size: 1rem; margin-top: -1px; }

.hero-img { border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.05); }

/* VS Battle Layout */
.vs-layout { position: relative; display: grid; gap: 20px; align-items: center; }
.vs-layout::after { 
  content: "VS"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); 
  width: 60px; height: 60px; background: var(--bms-yellow); color: #000; 
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; 
  border-radius: 50%; border: 5px solid var(--bms-black); z-index: 10;
}
.bad-card, .good-card { padding: 50px 40px; border-radius: var(--radius-lg); position: relative; }
.bad-card { background: #1C1515; border: 1px solid #331515; opacity: 0.8; filter: grayscale(0.5); transform: scale(0.95); transform-origin: right center; }
.bad-card h2 { color: #FF4D4D; }
.good-card { background: var(--bms-panel); border: 2px solid var(--bms-yellow); z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: scale(1.05); }
.good-card h2 { color: var(--bms-yellow); }
.comparison ul { list-style: none; }
.comparison li { margin-bottom: 15px; font-size: 1.15rem; font-weight: 600; color: #CCC; }
.good-card li { color: var(--white); }

/* Services */
.service-grid { display: grid; gap: 30px; }
.service-card { background: var(--white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid #EAEAEA; transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); border-color: var(--bms-yellow); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

/* Structural Timeline */
.process { background: var(--white); }
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.timeline-container::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bms-yellow); }
.step { position: relative; margin-bottom: 40px; background: var(--light-bg); padding: 30px; border-radius: var(--radius-lg); border: 1px solid #EAEAEA; transition: var(--transition); }
.step:hover { background: var(--white); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--bms-yellow); transform: translateX(5px); }
.step-number { position: absolute; left: -56px; top: 50%; transform: translateY(-50%); width: 35px; height: 35px; background: var(--bms-yellow); color: #000; font-size: 1.2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid var(--white); }
.step h3 { margin-bottom: 5px; color: var(--bms-black); }

/* ================= INFINITE LOOPING SCROLLERS ================= */
.loop-container { overflow: hidden; width: 100%; position: relative; }
.scroll-row { display: flex; gap: 24px; padding-bottom: 20px; width: max-content; }

.scroll-row.is-looping { animation: infiniteMarquee linear infinite; }
.gallery-row.is-looping { animation-duration: 25s; }
.reviews.is-looping { animation-duration: 35s; }

.scroll-row.is-looping:hover, .scroll-row.is-looping:active { animation-play-state: paused; }

@keyframes infiniteMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); } 
}

/* Individual Card Sizing */
.gallery-row img { height: 280px; width: 80vw; max-width: 400px; object-fit: cover; border-radius: var(--radius-lg); }
.review { background: var(--white); padding: 40px; border-radius: var(--radius-lg); min-width: 320px; border: 1px solid #EAEAEA; }
.review p { font-size: 1.1rem; font-weight: 600; color: var(--bms-black); font-style: italic;}
.review strong { color: var(--bms-yellow); display: block; margin-top: 15px; letter-spacing: 1px; }

/* Lead Form Section */
.lead-section { background: #161616; padding: 7rem 0; color: var(--white); }
.lead-split { display: grid; gap: 50px; }
.lead-content-left h2 { font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; color: var(--white); }
.lead-content-left p { color: #CCCCCC; font-size: 1.15rem; margin-bottom: 2rem; max-width: 90%; }
.lead-perks { list-style: none; }
.lead-perks li { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 18px; color: var(--white); font-weight: 600; }
.lead-perks span { color: var(--bms-yellow); }

.modern-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: 700; font-size: 0.95rem; color: #111; margin-bottom: 8px; }
.input-group input, .input-group select, .input-group textarea { 
  width: 100%; padding: 14px 16px; border: 1px solid #E2E8F0; border-radius: 6px; 
  font-family: inherit; font-size: 1rem; color: #333; transition: var(--transition); background: #FAFAFA;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { 
  outline: none; border-color: var(--bms-yellow); background: var(--white); box-shadow: 0 0 0 3px rgba(255,193,7,0.2); 
}
.input-group select { appearance: none; cursor: pointer; }
.input-group textarea { resize: vertical; }

.wa-submit-btn { 
  width: 100%; background: var(--bms-yellow); color: #000; font-weight: 800; font-size: 1.1rem; 
  padding: 16px; border: none; border-radius: 6px; cursor: pointer; transition: var(--transition); margin-top: 10px; 
}
.wa-submit-btn:hover { background: #E0A800; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,193,7,0.3); }

/* Footer */
.site-footer { background: #111111; position: relative; }
.footer-top-line { height: 4px; width: 100%; background: var(--bms-yellow); }
.footer-grid { padding: 5rem 24px 3rem; display: grid; gap: 40px; }

.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 800; }
.footer-desc { color: #A0A0A0; font-size: 1.05rem; margin-bottom: 2rem; max-width: 90%; }

.footer-address strong { color: var(--white); display: block; margin-bottom: 5px; font-weight: 700; }
.footer-address p { color: #A0A0A0; font-size: 1rem; line-height: 1.6; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #A0A0A0; font-size: 1rem; font-weight: 500; }
.footer-links a:hover { color: var(--bms-yellow); }

.social-links a { display: flex; align-items: center; gap: 10px; }
.social-links span { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; background: #222; border-radius: 50%; font-size: 0.8rem; color: #FFF; font-weight: bold; }

.btn-footer-wa { 
  display: inline-block; background: var(--bms-yellow); color: #000; 
  padding: 12px 24px; border-radius: 4px; font-weight: 800; font-size: 1rem; 
  margin-top: 15px; transition: var(--transition);
}
.btn-footer-wa:hover { background: #E0A800; transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid #222; text-align: center; padding: 25px 24px; }
.footer-bottom p { color: #666; font-size: 0.95rem; margin: 0; }

/* Official Full-Color Floating WhatsApp Logo */
.floating-wa { 
  position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; 
  z-index: 9999; transition: transform 0.3s ease, filter 0.3s ease; 
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2)); 
}
.floating-wa img { width: 100%; height: 100%; object-fit: contain; }
.floating-wa:hover { transform: scale(1.1) translateY(-5px); filter: drop-shadow(0 8px 15px rgba(37,211,102,0.4)); }

/* ================= DESKTOP QUERIES ================= */
@media (min-width: 992px) {
  .hamburger { display: none; }
  .nav-links { position: static; transform: none; opacity: 1; visibility: visible; flex-direction: row; background: transparent; box-shadow: none; padding: 0; width: auto; z-index: 1; gap: 35px; }
  .nav-links a { padding: 0; border: none; color: #555; }
  .nav-links a:hover { color: var(--bms-black); }
  
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  
  /* Desktop Trust Bar Row */
  .trust-bar { display: flex; flex-wrap: nowrap; gap: 15px; }
  .trust-badge { padding: 12px 20px; font-size: 0.95rem; white-space: nowrap; }

  .vs-layout { grid-template-columns: 1fr 1fr; }
  .vs-layout::after { left: 50%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  
  .loop-container { overflow: visible; }
  .scroll-row.is-looping { animation: none !important; width: 100%; flex-wrap: wrap; justify-content: center; }
  .scroll-row .clone { display: none !important; } 
  .gallery-row img { width: calc(33.333% - 16px); flex-shrink: 1; }
  .reviews .review { width: calc(50% - 12px); flex-shrink: 1; }
  
  .timeline-container { padding-left: 0; }
  .timeline-container::before { left: 50%; transform: translateX(-50%); }
  .step { width: calc(50% - 40px); margin-bottom: 0; }
  .step:nth-child(odd) { margin-left: auto; }
  .step:nth-child(even) { margin-right: auto; text-align: right; }
  .step:nth-child(even) .step-number { left: auto; right: -56px; }
  .step:nth-child(odd) .step-number { left: -56px; }
  .step:nth-child(2), .step:nth-child(3), .step:nth-child(4) { margin-top: -50px; }

  .lead-split { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
  .lead-content-left { padding-right: 40px; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 991px) {
  .vs-layout::after { display: none; } 
  .bad-card, .good-card { transform: scale(1); margin-bottom: 20px; padding: 30px 20px; }
  .floating-wa { bottom: 20px; right: 20px; width: 55px; height: 55px; }
  .nav-call { display: none; } 
}