/* Reset & Variables */
:root {
  --color-primary: #1e3a8a;
  --color-text: #000000;
  --color-bg: #ffffff;
  --color-emergency: #e53e3e;
  --color-footer: #1e1e1e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: Arial, sans-serif; }
body { background: var(--color-bg); color: var(--color-text); line-height: 1.6; }
img { max-width: 100%; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Emergency Banner */
#emergency-banner {
  background: var(--color-emergency);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Header */
#site-header { position: sticky; top: 0; background: var(--color-bg); z-index: 1000; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
#site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--color-primary); }

.logo span { margin-left: 8px; font-weight: bold; font-size: 1.1rem; }
#nav-menu ul { list-style: none; display: flex; gap: 0; align-items: center; }
#nav-menu ul li { position: relative; }
#nav-menu ul li > a { text-decoration: none; color: var(--color-text); font-weight: 600; font-size: .85rem; padding: 6px 8px; border-radius: 6px; display: block; white-space: nowrap; transition: background .15s, color .15s; }
#nav-menu ul li > a:hover { color: var(--color-primary); background: #f0f4ff; }

/* Dropdown */
#nav-menu ul li .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.12); min-width: 210px; z-index: 999; padding: 8px 0; border: 1px solid #e5e7eb; }
#nav-menu ul li:hover .dropdown { display: block; }
#nav-menu ul li .dropdown li { display: block; }
#nav-menu ul li .dropdown li a { padding: 10px 18px; color: #374151; font-weight: 500; font-size: .93rem; border-radius: 0; display: block; }
#nav-menu ul li .dropdown li a:hover { background: #f0f4ff; color: var(--color-primary); }
#nav-menu ul li > a.has-dropdown::after { content: " ▾"; font-size: .75rem; opacity: .7; }

#phone-button { background: var(--color-primary); color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; font-weight: 700; white-space: nowrap; margin-left: 20px; }
#menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Mobile Nav */
@media (max-width: 768px) {
  #nav-menu { display: none; position: absolute; top: 60px; left: 0; width: 100%; background: var(--color-bg); z-index: 999; }
  #nav-menu.active { display: block; }
  #nav-menu ul { flex-direction: column; padding: 10px 0; gap: 0; }
  #nav-menu ul li { text-align: left; margin: 0; }
  #nav-menu ul li > a { padding: 12px 20px; border-radius: 0; }
  #nav-menu ul li .dropdown { display: block; position: static; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 20px; background: #f8f9fa; }
  #nav-menu ul li .dropdown li a { padding: 10px 20px; font-size: .88rem; }
  #menu-toggle { display: block; color: var(--color-text); }
}

/* Hero */
.hero { position: relative; height: 90vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.50); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; color: #fff; text-align: left; display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 60px; width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 60px; box-sizing: border-box; }
.hero-content h1 { font-size: 2.6rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.2; }
.hero-content > div:first-child { flex: 1; min-width: 0; }
.hero-content > div:first-child p { font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255,255,255,0.9); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn { text-decoration: none; padding: 12px 24px; border-radius: 4px; transition: background 0.3s, color 0.3s; font-weight: bold; }
.btn.primary { background: #fff; color: var(--color-primary); }
.btn.primary:hover { background: #f0f0f0; }
.btn.outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn.outline:hover { background: rgba(255,255,255,0.2); }

/* Trust Bar */
.trust-bar { background: var(--color-primary); color: #fff; padding: 20px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: space-around; text-align: center; gap: 10px; }
.trust-item { font-weight: bold; }

/* Services */
.services { padding: 60px 0; }
.services h2 { text-align: center; margin-bottom: 40px; color: var(--color-primary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; }
.service-card { background: #fff; border-top: 4px solid var(--color-primary); padding: 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.service-icon { font-size: 2rem; margin-bottom: 10px; }

/* Two-column layout */
.two-col { display: flex; align-items: center; gap: 20px; }
.two-col .why-image, .two-col .contact-info { flex: 1; }
.two-col .why-list, .two-col .contact-form { flex: 1; }
@media (max-width: 768px) { .two-col { flex-direction: column; } }

/* Why Choose Us */
.why-choose { padding: 60px 0; }
.why-list h2 { color: var(--color-primary); margin-bottom: 20px; }
.why-list ul { list-style: none; }
.why-list li { margin: 10px 0; font-size: 1rem; }
.check-icon { width: 16px; height: 16px; vertical-align: middle; margin-right: 8px; }

/* Reviews */
.reviews { background: #f9f9f9; padding: 60px 0; }
.reviews h2 { text-align: center; margin-bottom: 40px; color: var(--color-primary); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.stars { color: #f5a623; margin-bottom: 10px; }
.reviewer { margin-top: 10px; font-weight: bold; font-size: 0.9rem; }

/* Features */
.features { padding: 60px 0; }
.features h2 { text-align: center; margin-bottom: 40px; color: var(--color-primary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; }
.feature-card { background: #fff; padding: 20px; border: 1px solid #e0e0e0; border-radius: 4px; text-align: center; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card h3 { margin-bottom: 10px; color: var(--color-primary); }

/* Service Areas */
.areas { background: #f9f9f9; padding: 60px 0; }
.areas h2 { text-align: center; margin-bottom: 20px; color: var(--color-primary); }
.areas-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.areas-grid button { background: #fff; border: 1px solid var(--color-primary); color: var(--color-text); padding: 8px 12px; border-radius: 20px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.areas-grid button:hover { background: var(--color-primary); color: #fff; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, #0d214a, #1e3a8a); color: #fff; text-align: center; padding: 40px 0; }
.cta-banner h2 { margin-bottom: 20px; font-size: 2rem; }

/* Contact Form */
.contact { padding: 60px 0; }
.contact-info h2, .contact-form h2 { color: var(--color-primary); margin-bottom: 20px; }
.contact-form form { display: grid; gap: 15px; }
.contact-form label { font-weight: bold; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.contact-form button { width: 100%; }

/* Chat Widget */
#chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 1000; }
#chat-toggle { background: var(--color-primary); color: #fff; border: none; padding: 12px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
#chat-box { width: 300px; background: #fff; border: 1px solid #ccc; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.1); margin-top: 10px; }
#chat-box.hidden { display: none; }
.chat-header { background: var(--color-primary); color: #fff; padding: 10px; display: flex; justify-content: space-between; align-items: center; }
.chat-content { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.chat-content textarea { resize: none; height: 80px; }
.chat-content button { align-self: flex-end; }

/* Footer */
footer { background: var(--color-footer); color: #fff; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; padding: 40px 0; }
.footer-col h3, .footer-col h4 { margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin: 8px 0; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { background: #111; text-align: center; padding: 10px 0; font-size: 0.9rem; }

/* Hero form responsive */
@media (max-width: 900px) {
  .hero-content.container {
    grid-template-columns: 1fr !important;
  }
}
/* Glass form placeholder color */
.hero input::placeholder,
.hero textarea::placeholder,
.hero select option {
  color: rgba(255,255,255,0.6);
}
.hero select {
  color: rgba(255,255,255,0.9);
}
.hero select option {
  background: #1e3a8a;
  color: white;
}