/* ===== Global Styles ===== */
body, h1, h2, h3, p, ul, ol {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111827;
  background: #f9fafb; /* page background */
}

a {
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1e40af;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  background: none !important; /* REMOVE any inherited white */
}

/* ===== Header ===== */
.header {
  background: #2e2e2e;
  color: #fff;
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav a {
  margin-left: 28px;
  font-weight: 600;
  color: #fff;
}

.nav a:hover {
  color: #2f6fed;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 12px;
  transition: all 0.2s ease;
  text-align: center;
}

.btn.primary {
  background-color: #c8102e;
  color: #fff;
}

.btn.primary:hover {
  background-color: #a60d26;
}

.btn.secondary {
  background-color: #2f6fed;
  color: #fff;
}

.btn.secondary:hover {
  background-color: #244fb8;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.85), rgba(31,41,51,0.85));
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1; /* ensures text is above gradient overlay */
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero-sub {
  font-size: 1.2rem;
  color: #d1d5db;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.hero-buttons {
  margin-top: 20px;
}

.hero-buttons a {
  margin-bottom: 10px;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: inline-block;
  text-align: left;
  color: #f9fafb;
}

.hero-features li {
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ===== Sections ===== */
.services-overview,
.why-choose-us {
  padding: 30px 0;
  background: #f9fafb; /* keep page background consistent */
}

.services-overview h2,
.why-choose-us h2 {
  color: #c8102e;
  margin-bottom: 12px;
}

.services-overview ul,
.why-choose-us ul {
  line-height: 1.5;
  list-style: disc inside;
  margin-left: 10px;
}

/* ===== Certifications Grid ===== */
.cert-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0;
}

.cert-grid img {
  height: 70px;
  max-width: 160px;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background-color: #1f2933;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.site-footer .container {
  background: none !important; /* remove white boxes behind text */
}

.site-footer p {
  color: #ffffff; /* white text */
  margin-bottom: 10px;
  font-size: 0.9rem;
}


.site-footer a {
  color: #2f6fed;
}

.site-footer a:hover {
  color: #244fb8;
}

.site-footer .btn-footer {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  background-color: #2f6fed;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 8px;
}

.site-footer .btn-footer:hover {
  background-color: #244fb8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-buttons a {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .cert-grid {
    justify-content: center;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav a {
    margin-left: 0;
    margin-top: 8px;
  }
}
/* ===== Hero Section Text Transparency ===== */
.hero p,
.hero ul,
.hero li,
.hero h1,
.hero h2 {
  background: transparent !important; /* only text blocks */
}

/* ===== Footer Text Transparency ===== */
.site-footer p,
.site-footer ul,
.site-footer li,
.site-footer h1,
.site-footer h2 {
  background: transparent !important;
}
/* ===== Services Page Styling ===== */
.services-overview h1 {
  color: #c8102e; /* brand red for main title */
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.services-overview h2 {
  color: #c8102e; /* brand red for section headers */
  font-size: 1.5rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.services-overview ul {
  list-style: none; /* remove default bullets */
  padding-left: 0;
  margin-left: 0;
}

.services-overview ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.services-overview ul li::before {
  content: "✔"; /* checkmark bullet */
  position: absolute;
  left: 0;
  color: #c8102e; /* red checkmark */
}

.services-overview ul li:hover {
  color: #2f6fed; /* change text color on hover */
}

.services-overview p {
  margin-bottom: 15px;
  color: #111827; /* dark gray for readability */
  text-align: center;
}

/* ===== Rates Page ===== */
.rates-overview h1 {
  color: #c8102e; /* brand red */
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.rates-overview h2 {
  color: #c8102e; /* brand red */
  font-size: 1.5rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.rates-overview ul {
  list-style: none; /* remove default bullets */
  padding-left: 0;
}

.rates-overview ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.rates-overview ul li::before {
  content: "✔"; /* red checkmark */
  position: absolute;
  left: 0;
  color: #c8102e;
}

.rates-overview p {
  color: #111827;
  margin-bottom: 15px;
  text-align: left;
}

.contact-overview h1, .contact-overview h2 {
  color: #c8102e; /* brand red */
}

.contact-overview ul li {
  line-height: 1.5;
  margin-bottom: 8px;
}

.policies-overview h1, .policies-overview h2 {
  color: #c8102e; /* brand red headers */
}

.policies-overview p {
  margin-bottom: 12px;
  line-height: 1.5;
  color: #111827;
}
