/* ===============================
   GLOBAL STYLES
================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3 {
  color: #222;
}

/* ===============================
   HEADER
================================*/
header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin:0;
  padding: 0px;
  padding-left: 30px;
  padding-right: 30px;
  position: relative;
}

header .logo {
  font-size: 1.3rem;
  font-weight: bold;
}

header img {
  display: block;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00aaff;
}

/* ===============================
   HAMBURGER MENU
================================*/
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animated "X" transition */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #333;
    flex-direction: column;
    gap: 0;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    border-bottom: 1px solid #444;
  }
}

/* ===============================
   HERO SECTION
================================*/
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #eee;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 750px;
  margin: 0 auto;
  color: #444;
  font-size: 1.1rem;
}

/* ===============================
   INTRO SECTION (Homepage)
================================*/
.intro {
  background: #fff;
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intro h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.intro p {
  margin-bottom: 1.5rem;
  text-align: center;
}

.features-list {
  list-style-type: none;
  max-width: 700px;
  margin: 0 auto;
}

.features-list li {
  background: #f6f6f6;
  border-left: 4px solid #00aaff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

/* ===============================
   TESTIMONIALS PAGE
================================ */

/* A centred wrapper so text doesn't run edge-to-edge */
.testimonials {
  padding: 2.5rem 1rem;
}

.testimonials .intro {
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.testimonials .intro h1,
.testimonials .intro h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.testimonials .intro p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #444;
}

/* Grid like the FHE example */
.testimonial-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Each testimonial "box" */
.testimonial-card {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-left: 6px solid #000;      /* black edging */
  border-radius: 6px;
  padding: 1.35rem 1.35rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* The quoted text */
.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: #333;
  line-height: 1.7;
  white-space: normal;
}


/* Optional: if you want quotes to look more "testimonial-y" */
.testimonial-card blockquote::before {
  content: "“";
}
.testimonial-card blockquote::after {
  content: "”";
}

/* Author line aligned right like the FHE example */
.testimonial-card .who {
  margin-top: 0.5rem;
  text-align: right;
  font-size: 0.95rem;
  color: #111;
  font-weight: bold;
}

/* If you have a company/extra detail */
.testimonial-card .who span {
  font-weight: normal;
  color: #444;
}

/* Section headings inside the testimonials page */
.testimonials h3.section-title {
  max-width: 1100px;
  margin: 2.25rem auto 1rem auto;
  text-align: center;
  font-size: 1.15rem;
  color: #111;
}

/* Mobile: 1 column */
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   CTA SECTION (Homepage)
================================*/
.cta {
  background: #f2f2f2;
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid #ddd;
}

.cta h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.cta-button {
  display: inline-block;
  background: #00aaff;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #008ecc;
}

/* ===============================
   PRODUCT SECTION
================================*/
.products {
  padding: 2rem;
}

.products h2 {
  margin-bottom: 1rem;
  text-align: center;
}

#product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.buy-btn {
  background: #00aaff;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background: #008ecc;
}

.product-card.selected {
  border: 2px solid #00aaff;
  box-shadow: 0 0 10px rgba(0,170,255,0.3);
}

/* ===============================
   CHECKOUT SECTION
================================*/
.checkout {
  background: #fff;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 700px;
  text-align: center;
}

.checkout h2 {
  margin-bottom: 1rem;
}

#selected-product {
  font-weight: bold;
  margin-bottom: 1rem;
}

/* ===============================
   LEGAL PAGE
================================*/

.legal-wrapper {
  background: #fff;
  padding: 3rem 1rem;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legal-container h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.legal-updated {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}

.legal-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #111;
  font-size: 1.5rem;
}

.legal-container h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.legal-container p {
  margin-bottom: 1rem;
  color: #333;
}

.legal-container ul {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-container ul li {
  margin-bottom: 0.5rem;
}

.legal-container hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid #ddd;
}

/* ===============================
   BEAT MODERN LIFE – SECTIONS
================================*/

/* Generic section styling for content blocks */
.section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.7;
  background: #ffffff;
}

/* Specific styling for the "How the Guides Are Structured" section */
.what-youll-find {
  background: #fafafa;              /* soft neutral background */
  border-left: 5px solid #005b96;   /* brand blue accent line */
}

.what-youll-find ul {
  margin-left: 20px;
}


/* ===============================
   FOOTER
================================*/
footer {
  text-align: center;
  padding: 1.5rem;
  background: #222;
  color: #fff;
  margin-top: auto;
  font-size: 0.9rem;
}

/* ===============================
   COOKIE BANNER
================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-content a {
  color: #00aaff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-buttons button {
  background: #00aaff;
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9rem;
}

.cookie-buttons button#cookie-reject {
  background: #444;
}

.cookie-buttons button:hover {
  opacity: 0.85;
}

