/* ===== BASIC RESET ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
}

/* ===== LAYOUT ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  
}

/* ===== HEADER (DESKTOP FIRST) ===== */


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

  max-width: 1200px;   /* 🔥 THIS FIXES ALIGNMENT */
  margin: 0 auto;      /* 🔥 CENTRES HEADER */
   padding: 10px 50px 10px 50px; 
}

/* Logo */
.logo img {
  max-width: 250px;
  height: auto;
  display: block;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #222;
}

nav a.active {
  border-bottom: 2px solid #B20808;
  padding-bottom: 4px;
}

nav a:hover {
  border-bottom: 2px solid #B20808;
}

/* Contact button */
.btn {
  display: inline-block;
  background: #B20808;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
}
/* ===== MOBILE HEADER ===== */
@media (max-width: 768px) {

  header {
    display: block;
    text-align: center;
  }

  .logo {
    margin-bottom: 5px; /* reduced */
  }

  .logo img {
    max-width: 160px;  /* slightly smaller */
    margin: 0 auto;
  }

  /* MENU TIGHTENED */
  nav ul {
    display: block;
    margin-top: 5px;
  }

  nav li {
    margin: 4px 0; /* was bigger */
  }

  nav a {
    display: block;
    padding: 6px 10px;   /*  reduced from 10+ */
    border-top: 1px solid #ddd;
    font-size: 15px;     /* slightly tighter */
  }

}

  .btn {
    display: inline-block;
    width: auto;
    padding: 12px 20px;
    margin-top: 10px;
  }


.hero {
  text-align: center;
  padding: 10px 20px 10px; /* 🔥 extra space at bottom */
  background: #f4f4f4;
}

.hero p {
  max-width: 600px;
  margin: 4px 0; 
  padding: 10px 10px 20px;
}

.hero h1 {
  margin-bottom: 10px;
}

.hero .btn {
  margin-top: 15px;
}

/* ===== TRUST STRIP ===== */
.trust {
  background: #B20808;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.trust p {
  max-width: 900px;
  margin: auto;
}

.trust-note {
  text-align: center;
  font-size: 20px;
  color: #555;
  margin: 15px auto 25px auto;
  max-width: 600px; /*  keeps it visually centred */
}


/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  background: #fff;
  border-radius: 6px; /* subtle modern touch */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* corrected shadow */
}

/* ===== PRODUCT IMAGES FIX ===== */
.card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  border: 2px solid #B20808;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.highlight-card {
  border: 2px solid #B20808;
}

/* Price styling */
.price {
  font-size: 28px;
  color: #B20808;
  font-weight: bold;
}

.price span {
  font-size: 14px;
  color: #666;
}

/* Note text */
.note {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
}

/* Product sections */
.product {
  margin-bottom: 40px;
}

/* Two-column layout for products */
.product .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

/* Mobile friendly product layout */
@media (max-width: 768px) {
  .product .grid {
    grid-template-columns: 1fr;
  }
}

/* Product images */
.product img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}

/* Expandable details */
details {
  margin-top: 10px;
}

/* ===== ABOUT PAGE ===== */

/* Image grid */
.about-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

/* Cleaner image presentation */
.about-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

/* Improve readability */
.container ul {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.container p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


/* Advice list */
.advice {
  list-style: square;
  max-width: 800px;
}

/* ===== HIGHLIGHT (Authority Section) ===== */
.highlight {
  background: #222;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

/* Strong statement styling */
.highlight p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
}

/* ===== FEATURES ===== */
.features {
  list-style: square;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 40px;
  background: #eee;
}

/* ===== DEMO Link ===== */
.demo {
  text-align: center;
  padding: 40px;
  background: #FFFFFF;
  }

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}


/* ===== DEMO PAGE IMAGE ===== */
/* ===== DEMO GRID ===== */

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: center;
}

/* Card */
.demo-card {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
}

/* Title */
.demo-card h3 {
  margin-bottom: 10px;
}

/* Image */
.demo-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
}

/* FULL WIDTH BUTTON */
.demo-btn {
  display: block;
  width: 100%;
  background: #B20808;
  color: #fff;
  padding: 14px;
  text-decoration: none;
  font-weight: bold;
}

/* Hover (nice touch) */
.demo-btn:hover {
  background: #8f0606;
}

/* Mobile */
@media (max-width: 768px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Mobile contact layout */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}