:root {
  --primary: #1e3a8a;
  --secondary: #16a34a;
  --dark: #0f172a;
  --dark2: #1e293b;
  --light: #f9fafb;
  --text: #374151;
  --muted: #6b7280;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
}

.brand .logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav a {
  color: var(--text);
  font-weight: 500;
}

.nav .btn {
  padding: 10px 16px;
  background: var(--secondary);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 12px;
}

.hero p {
  font-size: clamp(18px, 3vw, 24px);
  margin: 0 0 24px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn, .btn-outline {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn {
  background: var(--secondary);
  color: #fff;
  border: none;
}

.btn:hover {
  filter: brightness(0.95);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.section {
  padding: 70px 0;
}

.light-bg {
  background: var(--light);
}

.dark-bg {
  background: var(--dark);
  color: #e2e8f0;
}

.dark-bg2 {
  background: var(--dark2);
  color: #94a3b8;
}

.section h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--primary);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.pricing-table th, .pricing-table td {
  border: 1px solid #d1d5db;
  padding: 10px 14px;
  text-align: left;
}

.pricing-table th {
  background: var(--primary);
  color: #fff;
}

.pricing-table tbody tr:nth-child(odd) {
  background: #f3f4f6;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

blockquote {
  margin: 0;
  padding: 20px;
  background: #fff;
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
}

blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: var(--muted);
}

.quote-form {
  margin-top: 20px;
}

.quote-form .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* Custom hero background: Use the company logo as the hero background image. The logo is
 * centered and scaled to contain within the hero area while
 * preserving its aspect ratio. A dark navy colour is applied
 * behind the image to ensure readability of the hero text. */
.hero {
  background: #0f172a url('logo.jpg') center/contain no-repeat !important;
  min-height: 70vh;
}

@media (max-width: 640px) {
  .hero {
    min-height: 56vh;
  }
}

.quote-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  margin-bottom: 12px;
}

.quote-form input,
.quote-form textarea {
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 16px;
}

.quote-form textarea {
  resize: vertical;
}

.fine-print {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.site-footer {
  padding: 40px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-col a {
  display: block;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.footer-col strong {
  color: #fff;
}

.legal {
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav ul {
    display: none;
  }
}

/* Hero slideshow styles */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  will-change: opacity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.35));
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

@media (max-width: 640px) {
  .hero {
    min-height: 58vh;
  }
}