:root {
  --primary: #e53935;
  --primary-dark: #1a223a;
  --white: #fff;
  --nav-bg: #1a223a;
  --bg: #f8fafd;
  --shadow: 0 4px 24px #0002;
  --radius: 12px;
  --transition: 0.18s;
}
body {
  background: var(--bg);
  color: var(--primary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
  padding-top: 112px; /* 40px for topbar + 72px for navbar */
}
/* Top bar */
.topbar {
  background: var(--primary-dark, #1a223a);
  color: #fff;
  font-size: 0.97rem;
  padding: 0.35rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.5px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1100;
  box-shadow: 0 1px 6px #0001;
}
.topbar .left, .topbar .right {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.topbar a:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.92rem;
    padding: 0.4rem 0.5rem;
    gap: 0.5rem;
  }
  .topbar .left, .topbar .right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0 0.5rem;
  }
  .topbar .right {
    padding-bottom: 0.3rem;
  }
  .topbar a, .topbar span {
    font-size: 1rem;
    word-break: break-all;
  }
}
/* Navbar */
header {
  position: fixed;
  top: 30px; /* Height of the topbar */
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff; /* or var(--nav-bg) for dark */
  box-shadow: 0 2px 12px #0001;
  transition: background 0.2s;
}
nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height:90px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-dark);
  text-decoration: none;
  gap: 12px;
  font-family: 'Fira Mono', monospace;
}
.logo img {
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0002;
  background: #fff2;
  padding: 2px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: #fff;
}
.get-quote-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 32px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px var(--primary-dark);
  letter-spacing: 1px;
  outline: none;
}
.get-quote-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: scale(1.04) translateY(-2px);
}
.mobile-menu { display: none; }
/* HERO SECTION */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  background: none;
  overflow: hidden;
  margin-top: 0;
}
/* Zoom-in animation for hero background */
@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('bg.jpeg') center/cover no-repeat;
  z-index: 1;
  animation: heroZoom 18s ease-in-out forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,34,58,0.7) 0%, rgba(26,34,58,0.2) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  padding: 64px 40px 64px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-inner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 1px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero-sub {
  font-size: 1.18rem;
  margin-bottom: 32px;
  color: #f3f3f3;
  opacity: 0.95;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  max-width: 480px;
}
.hero-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px var(--primary-dark);
  letter-spacing: 1px;
  outline: none;
  text-decoration: none;
  margin-top: 10px;
}
.hero-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: scale(1.04) translateY(-2px);
}
/* ABOUT BLOCK */
.about-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #f8fafd;
  padding: 64px 0 48px 0;
  gap: 48px;
  flex-wrap: wrap;
}
.about-inner {
  max-width: 540px;
  padding: 0 32px;
}
.about-label {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.about-block h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 18px 0;
  line-height: 1.2;
}
.about-block p {
  color: #222b45;
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.about-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.about-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 4px;
}
.about-stat-label {
  font-size: 1rem;
  color: #555;
  display: block;
}
.about-img {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}
.about-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 32px #0002;
  object-fit: cover;
  aspect-ratio: 4/3;
  background: #fff1;
}
.logo-bar {
  background: #fff;
  padding: 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5e7eb;
}
.logo-bar img {
  height: 38px;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}
.logo-bar img:hover {
  opacity: 1;
  filter: none;
}
/* Contact Section */
.contact-section {
  background: linear-gradient(120deg,#f8fafd 60%,#f3f6fb 100%);
  padding: 56px 0;
}
.contact-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}
.contact-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 40px 0;
  text-align: center;
  letter-spacing: 1px;
}
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}
.contact-form {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px #1a223a14;
  border: 1.5px solid #e5eaf2;
  padding: 32px 22px;
}
.contact-input,
.contact-textarea {
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid #c4cdde;
  font-size: 1rem;
  background: #f8fafd;
}
.contact-textarea {
  resize: vertical;
}
.contact-info {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--primary-dark);
  background: #f8fafd;
  border-radius: 10px;
  padding: 14px 10px;
}
.contact-info a {
  color: var(--primary);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}
.social-icons a {
  display: inline-block;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #1a223a10;
  padding: 6px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.social-icons a:hover {
  box-shadow: 0 4px 16px #e5393533;
  transform: translateY(-2px) scale(1.08);
}
.social-icons img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.contact-map {
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 18px;
  min-width: 220px;
  max-width: 400px;
  box-shadow: 0 6px 32px #1a223a14;
}
@media (max-width: 900px) {
  nav.container {
    flex-direction: row;
    height: auto;
    padding: 0 12px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    box-shadow: var(--shadow);
    padding: 18px 0;
    z-index: 1001;
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .mobile-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.2s;
  }
  .get-quote-btn {
    margin-left: 0;
    margin-top: 12px;
  }
  .hero-inner {
    padding: 40px 12px 40px 12px;
  }
  .about-inner, .about-img {
    padding: 0 12px;
    max-width: 98vw;
  }
  .contact-flex {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }
  .contact-map, .contact-form {
    max-width: 100%;
    min-width: 0;
  }
  .contact-map iframe {
    min-width: 0;
    max-width: 100%;
    height: 220px;
  }
  /* Fix for social icons on mobile */
  .social-icons {
    justify-content: center;
    gap: 18px;
    margin-bottom: 8px;
  }
  .contact-form {
    padding: 18px 8px;
  }
}
@media (max-width: 600px) {
  header {
    top: 56px; /* Adjust if topbar height changes */
    height: auto;
  }
  nav.container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 8px;
    height: auto;
  }
  .logo {
    font-size: 1.3rem;
    gap: 6px;
  }
  .nav-links {
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  .get-quote-btn {
    margin: 10px 0 0 0;
    width: 100%;
    font-size: 1rem;
    padding: 10px 0;
  }
}
section {
  scroll-margin-top: 90px;
}
#contact .social-icons a:hover,
#contact form div[style*="display:flex"] a:hover {
  box-shadow: 0 4px 16px #e5393533;
  transform: translateY(-2px) scale(1.08);
}