:root {
  --primary-color: #b23333;
  --secondary-color: #f4f4f4;
  --tertiary-color: #000000;
  --fourth-color: #ffffff;
  --fifth-color: #777777;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.site-header {
  background-color: var(--primary-color);
  color: var(--fourth-color);
  position: fixed;
  width: 100%;
  z-index: 10;
}



.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px; /* Shrinked padding */
  height: 50px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--fourth-color);
  font-size: 14px;
}

.logo img {
  height: 30px;
  margin-right: 8px;
}

.desktop-nav {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--fourth-color);
  text-decoration: none;
  margin-left: 16px;
  font-weight: bold;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--fourth-color);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 50px; /* Height of the header */
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  background-color: var(--primary-color);
  z-index: 9;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.mobile-nav ul li {
  margin: 20px 0;
}

.mobile-nav ul li a {
  color: var(--fourth-color);
  text-decoration: none;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .fullscreen-hero {
    flex-direction: column;
    padding: 24px 8px;
    gap: 20px;
    min-height: unset;
  }

  .fullscreen-hero .hero-text,
  .fullscreen-hero .hero-image {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem !important;
  }

  .hero-text p {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }
}


.fullscreen-hero {
  background-color: var(--primary-color); /* Match header background */
  color: var(--fourth-color);             /* White text for contrast */
  min-height: calc(100vh - 0px); /* Assuming header is 60px tall */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  gap: 40px;
  flex-wrap: wrap;
}

.fullscreen-hero .hero-text,
.fullscreen-hero .hero-image {
  flex: 1 1 400px;
  max-width: 600px;
}


.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--fourth-color);
}

.get-quote-btn {
  padding: 12px 28px;
  border: 2px solid var(--fourth-color);
  background: transparent;
  color: var(--fourth-color);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.get-quote-btn:hover {
  background-color: var(--fourth-color);
  color: var(--primary-color);
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}


/* FOOTER  */
footer {
  background-color: var(--secondary-color); /* Secondary color */
  color: var(--fifth-color); /* Fifth color for text */
  text-align: center;
  padding: 1rem;
 /* margin-top: 1rem; */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer a {
  color: var(--fifth-color);
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: bold;
  transition: color 0.3s;
}

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

footer .social-icons {
  margin-top: 0.5rem;
}

footer .social-icons a img {
  vertical-align: middle;
  margin: 0 5px;
}

/* SECTION */
.services-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 60px;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background-color: var(--secondary-color);
  border-radius: 16px;
  padding: 60px 20px 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: visible;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(178, 51, 51, 0.2);
}

.icon-wrapper {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper img {
  width: 48px;
  height: 48px;
}

.card-content {
  margin-top: 50px;
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* LEGAL LINKS STYLE */
.legal-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
  color: #333;
}

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

.legal-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.legal-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.legal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 30px 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.legal-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.legal-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 20px;
}

.legal-cta {
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.legal-cta:hover {
  border-color: var(--primary-color);
}


/* BLOG STYLE */
.blog-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: var(--secondary-color);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(178, 51, 51, 0.2);
}

.blog-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}

/* Enhanced Free Audit Section - Brand Matching */
.free-audit-section {
  background-color: var(--primary-color);
  color: var(--fourth-color);
  padding: 80px 20px;
  text-align: center;
  border-top: 6px solid #a12b2b;
}

.free-audit-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.free-audit-heading {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.free-audit-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: var(--fourth-color);
}

/* Branded Form Styling */
.free-audit-form {
  background-color: var(--fourth-color); /* white */
  color: var(--tertiary-color);          /* black */
  padding: 40px 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--tertiary-color);
}

.form-group input {
  width: 90%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.submit-button {
  display: block;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--fourth-color);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #911f1f;
}

/* Branded and Responsive Dropdown for Free Audit Form */
.form-group select {
  width: 95%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  background-color: var(--fourth-color);
  color: var(--tertiary-color);
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 2px 8px rgba(178, 51, 51, 0.04);
}

.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(178, 51, 51, 0.15);
}

.form-group option, .form-group optgroup {
  font-size: 1rem;
  color: var(--tertiary-color);
  background: var(--fourth-color);
}

.form-group optgroup {
  font-weight: bold;
  color: var(--primary-color);
  background: #f8eaea;
}

@media (max-width: 600px) {
  .form-group select {
    font-size: 0.98rem;
    padding: 12px 10px;
    width: 100%;
  }
}


