/* assets/css/style.css
   Theme: White + Navy + Orange Accent
   Responsive, refined spacing and mobile menu fixes
*/

:root{
  --primary:#0b2a55;
  --primary-600:#153867;
  --accent:#f57c00;
  --muted:#5a6478;
  --bg:#f6f8fc;
  --card:#ffffff;
  --radius:12px;
  --shadow:0 8px 24px rgba(11,42,85,0.06);
  --max-width:1140px;
  --pad:18px;
  --text:#17202a;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  font-size:15px;
}

/* container */
.container{max-width:var(--max-width);margin:0 auto;padding:18px}

/* header */
header{background:#fff;position:sticky;top:0;z-index:1100;border-bottom:1px solid rgba(15,23,42,0.04)}
.navbar{display:flex;align-items:center;justify-content:space-between;padding:10px 0;gap:12px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:58px;display:block}
.brand .title-big{font-weight:800;color:var(--primary);font-size:18px;line-height:1}
.brand .subtitle{font-size:12px;color:var(--muted);margin-top:2px}

/* nav */
.nav-links{display:flex;gap:18px;align-items:center}
.nav-links a{color:var(--muted);font-weight:700;text-decoration:none;padding:8px 10px;border-radius:8px}
.nav-links a.active{color:var(--primary);background:rgba(11,42,85,0.03)}
.hamburger{display:none;cursor:pointer;background:transparent;border:0;padding:6px}
.hamburger span{display:block;width:24px;height:3px;background:var(--primary);border-radius:3px;margin:4px 0}

/* mobile overlay */
.nav-overlay{display:none;position:fixed;top:72px;right:16px;background:#fff;padding:12px;border-radius:12px;box-shadow:var(--shadow);width:240px;flex-direction:column;z-index:1095}
header.nav-open .nav-overlay{display:flex}
.nav-overlay a{display:block;padding:8px 6px;border-radius:8px;color:var(--muted);text-decoration:none}
.nav-overlay a:hover{color:var(--primary);background:rgba(11,42,85,0.03)}

/* hero */
.hero{display:flex;gap:28px;align-items:center;padding:36px 0}
.hero-left{flex:1;min-width:260px}
.h1{font-size:30px;color:var(--primary);margin:4px 0 12px}
.lead{color:var(--muted);margin-bottom:18px}

/* lead form */
.hero-right{width:420px;max-width:100%}
.lead-form{background:var(--card);padding:18px;border-radius:14px;box-shadow:var(--shadow)}
.lead-form h3{color:var(--primary);margin:0 0 8px;font-size:18px}
.lead-form label{display:block;font-size:13px;color:var(--muted);margin-top:8px}
.lead-form input, .lead-form select, .lead-form textarea{
  width:100%;padding:10px;border-radius:10px;border:1px solid #e6e9ee;font-size:14px;margin-top:6px;
}
.lead-form textarea{resize:none}
.lead-form .btn-submit{width:100%;padding:12px;border-radius:999px;border:none;background:var(--primary);color:#fff;font-weight:700;margin-top:12px;cursor:pointer}
.lead-form .btn-submit:hover{background:var(--primary-600)}
.form-message{font-size:13px;margin-top:8px;color:var(--muted)}

/* sections */
.section{padding:36px 0}
.section-title{display:flex;align-items:baseline;gap:12px;justify-content:space-between;flex-wrap:wrap}
h1,h2,h3{color:var(--primary);margin:0 0 8px}
.small{font-size:14px;color:var(--muted)}

/* cards & grid */
.grid{display:grid;gap:18px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--card);padding:16px;border-radius:12px;box-shadow:var(--shadow);border:1px solid rgba(10,20,40,0.03)}
.card h3{margin:0 0 8px;color:var(--primary);font-size:16px}

/* testimonials */
.testimonials{display:grid;gap:12px}

/* footer */
footer{background:var(--primary);color:#fff;padding:22px 0;margin-top:28px}
footer .container{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.footer-links a{color:rgba(255,255,255,0.95);margin-right:12px;text-decoration:none;font-weight:600}

/* floating */
.fab-wrap{position:fixed;right:16px;bottom:18px;display:flex;flex-direction:column;gap:10px;z-index:999}
.fab{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;box-shadow:0 6px 18px rgba(245,124,0,0.18);text-decoration:none;font-weight:700}
.fab.call{background:var(--primary)}

/* responsive */
@media(max-width:980px){
  .hero{flex-direction:column-reverse}
  .nav-links{display:none}
  .hamburger{display:block}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .brand img{height:50px}
  .lead-form{width:100%}
}
@media(max-width:520px){
  .grid-3{grid-template-columns:1fr}
  .lead-form{padding:14px}
  .h1{font-size:22px}
  header .container{padding:8px}
  .brand .title-big{font-size:16px}
  .container{padding-left:14px;padding-right:14px}
  h1,h2,h3{padding-left:4px;padding-right:4px}
}
/* --- ADDITIONS (paste near the end of your existing CSS) --- */

/* Contact page grid helper */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

/* make contact grid stack on mobile */
@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure header nav overlay appears on top */
header .nav-overlay {
  z-index: 1200; /* ensure overlay is above other elements */
}

/* small tweak to ensure header content not covered */
header.nav-open {
  position: relative; /* keeps overlay positioned relative to header */
}

