/* ---------- USER PROVIDED STYLES (kept exactly, cleaned duplicates) ---------- */
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PT Sans", sans-serif;
  line-height: 1.6;
  color: #333;
}

h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

/* HEADER */
.header {
  background: #DA2915;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin-left: 50px;
  min-height: 70px;
  max-height: 70px;
  min-width: 120px;
}

/* Desktop Nav */
.nav ul {
  margin-right: auto;
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover {
  text-decoration: underline;
}

/* Burger Menu */
.burger {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}

/* --- Mobile Styles --- */
@media screen and (max-width: 480px) {

  .burger {
    display: block;
  }

  /* Hide nav by default */
  .nav {
    display: none;
    position: absolute;
    top: 80px; /* Adjust based on header height */
    right: 0;
    width: 100%;
    background: #DA2915;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    flex-direction: column;
    gap: 15px;
  }

  /* Show nav when active */
  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
  }

  .nav a {
    display: block;
    padding: 10px;
    color: #fff;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  background: url("../img/hero-bg.png") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(215, 38, 30, 0.6);
  padding: 60px 50px;
  text-align: center;
  border-radius: 30px;
  color: #fff;
  max-width: 80%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-btn {
  display: inline-block;
  background: #4fa4d1d0;
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
  margin-top: 20px;
}

.cta-btn:hover {
  background: #3c88b0;
}

/* CONTACT BAR */
.contact-bar {
  background: #000;
  color: rgba(215, 38, 30, 1);
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.contact-bar a {
  color: #ffffff;
  text-decoration: none;
}

/* ABOUT US */
.about-us {
  padding: 50px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.badge {
  max-width: 60px;
  margin-bottom: 15px;
}

.about-us h2 {
  color: #d7261e;
  margin-bottom: 20px;
}

.about-us p {
  margin-bottom: 20px;
}

.service-list {
  list-style: disc;
  margin: 20px 0;
  padding-left: 40px;
  text-align: left;
  display: inline-block;
}

/* CORE VALUES */
.core-values {
  background: #f9f9f9;
  padding: 20px 20px;
  text-align: center;
  margin-bottom: 80px;
}

.core-values h3 {
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.value-item img {
  max-width: 200px;
  margin-bottom: 25px;
}

/* MOTIF */
.motif {
  background: url("../img/fix-pipe.png") no-repeat center center/cover;
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motif-overlay {
  background: rgba(215, 38, 30, 0.5);
  text-align: center;
  color: #fff;
  min-width: 100%;
  min-height: 100%;
  align-content: center;
  padding: 20px 20px;
}

.motif-overlay h2 {
  font-size: 2.5rem;
}

/* Service Section Styles */
.service-section {
  background: #b3d0e7;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.service-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-header .badge {
  width: 60px;
  height: 75px;
  margin-bottom: 15px;
}

.section-header h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.section-header p {
  color: #ffffff;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Service Card */
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-badge {
  width: 120px;
  height: 60px;
  margin-bottom: 15px;
}

.service-image {
  margin: 15px 0;
  width: 100%;
}

.service-image img {
  max-width: 100%;
  height: auto;
}

/* Service Content */
.service-title {
  color: #d7261e;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  margin: 15px 0;
  text-transform: uppercase;
}

.service-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* Responsiveness and other media rules (kept as provided) */
/* ... (media queries as provided earlier) ... */

@media screen and (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px;
  }

  .service-section .container {
    padding: 0 30px;
  }
}

@media screen and (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 600px) {
  .service-section {
    padding: 40px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 15px;
  }

  .service-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .service-section .container {
    padding: 0 15px;
  }
}

/* PRICING */
.pricing {
  padding: 60px 20px;
  text-align: center;
}

.pricing .badge {
  max-width: 60px;
  margin-bottom: 15px;
}

.pricing h2 {
  color: #d7261e;
  margin-bottom: 40px;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.pricing-box {
  background: #da2915;
  background: linear-gradient(
    180deg,
    rgba(218, 41, 21, 1) 0%,
    rgb(121, 0, 0) 100%
  );
  color: #fff;
  padding: 30px 50px;
  border-radius: 20px;
  text-align: center;
  min-width: 300px;
  flex: 1;
  max-width: 400px;
}

.pricing-box h3 {
   font-size: 1.5rem;
  margin-bottom: 15px;
}

.price {
  font-size: 3.5rem;
  font-weight: bold;
}

/* CONTACT */
.contact {
  background: #4B4F54;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.contact .badge {
  max-width: 60px;
  margin-bottom: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
  margin-top: 40px;
  text-align: left;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.contact-info img {
  height: auto;
  min-width: 24px;
  max-width: 20px;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}
.contact-info a:hover {
  color: #d7261e;
  text-decoration: none;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#form {
  border: #d7261e 2px solid;
}

#form :focus {
  outline: none;
  border: transparent 2px solid;
}

::-webkit-input-placeholder {
  color: #999;
}

input,
textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px #d7261e solid;
  width: 100%;
  margin-bottom: 20px;
}

textarea {
  min-height: 100px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.reset-btn,
.submit-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.reset-btn {
  background: #999;
  color: #fff;
}

button {
  background: #d7261e;
  border: none;
  border-radius: 8px;
  width: 100px;
  height: 50px;
  color: #fff;
}

/* FOOTER */
.footer {
  background: #4B4F54;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divider {
  height: 2px;
  background: #ffffff;
  width: 80%;
  margin-bottom: 30px;
}

.footer a {
  color: #d7261e;
  text-decoration: none;
}

.sixfoot {
  display: block;
  margin: 18px auto 0;
  max-width: 200px;
}

/* RESPONSIVENESS (kept as provided) */
@media (max-width: 1024px) {
  .header-container {
    justify-content: space-between;
    gap: 20px;
  }

  /* Services */
  .service-content p {
    font-size: 0.9rem;
  }

  /* Pricing */
  .pricing-grid {
    gap: 20px;
  }

  .price {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Services */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }

  .service-content {
    padding: 15px;
  }

  .image-placeholder {
    width: 50px;
    height: 50px;
  }

  /* Pricing */
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-box {
    width: 90%;
    max-width: 350px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-info p {
    justify-content: center;
  }

  .form-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 90vh;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .motif-overlay h2 {
    font-size: 1.3rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-content h4 {
    font-size: 1rem;
  }

  .service-content p {
    font-size: 0.85rem;
  }

  /* Pricing */
  .price {
    font-size: 1.8rem;
  }

  .pricing-box {
    padding: 20px 30px;
  }

  /* Contact */
  .contact {
    padding: 40px 15px;
  }

  .contact-info p {
    justify-content: left;
    margin-left: 8px;
    gap: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 10px;
  }

  .reset-btn,
  .submit-btn {
    width: 48%;
  }
}

/* ---------- TERMS-SPECIFIC STYLES (appended) ---------- */
/* keeps the Terms layout readable without changing site look */
.terms-card {
  font-size: 1rem;
  color: #222;
}

.terms-card h3 {
  color: #222;
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.terms-card p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.toc {
  margin-left: 12px;
}

.toc li {
  margin: 6px 0;
}

.toc a {
  color: #d7261e;
  text-decoration: none;
  font-weight: 600;
}

.contact-list li {
  margin: 6px 0;
}

/* Make sure terms are nicely printed */
@media print {
  .header, .burger, .contact-bar, .cta-btn, .footer { display:none !important; }
  .terms-card { box-shadow:none; padding:0; border-radius:0; }
  body { color:#000; background:#fff; font-size:12pt; }
}
