/* ==================================================
   GLOBAL STYLES
   ================================================== */

/* Reset default browser spacing and sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base page styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #111111;
  line-height: 1.6;
}

/* Remove default link styling */
a {
  text-decoration: none;
  color: inherit;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Keep the main content from becoming too wide */
section {
  width: 100%;
}
/* ==================================================
   NAVBAR
   ================================================== */

header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

nav {
  width: 90%;
  max-width: 1200px;
  min-height: 80px;
  margin: 0 auto;

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

/* ---------- Logo ---------- */

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #111111;
}

/* ---------- Navigation Links ---------- */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222222;

  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #c8102e;
}

/* ---------- Get a Quote Button ---------- */

.nav-cta a {
  display: inline-block;

  padding: 0.75rem 1.4rem;

  background-color: #c8102e;
  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 600;

  border-radius: 4px;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.nav-cta a:hover {
  background-color: #a50d25;
  transform: translateY(-2px);
}
/* ==================================================
   HERO SECTION
   ================================================== */

.hero {
  min-height: 75vh;
  width: 100%;

  display: flex;
  align-items: center;

  background-color: #111111;
  color: #ffffff;
}

/* ---------- Hero Content ---------- */

.hero-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

  padding: 6rem 0;
}

.hero-subtitle {
  margin-bottom: 1rem;

  color: #c8102e;

  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  max-width: 750px;

  margin-bottom: 1.5rem;

  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero-text {
  max-width: 600px;

  margin-bottom: 2rem;

  color: #dddddd;

  font-size: 1.1rem;
}

/* ---------- Hero Buttons ---------- */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;

  flex-wrap: wrap;
}

.btn {
  display: inline-block;

  padding: 0.85rem 1.6rem;

  border-radius: 4px;

  font-size: 0.95rem;
  font-weight: 600;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

/* Primary Button */

.btn-primary {
  background-color: #c8102e;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #a50d25;
  transform: translateY(-2px);
}

/* Secondary Button */

.btn-secondary {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #111111;
  transform: translateY(-2px);
}
/* ==================================================
   ABOUT SECTION
   ================================================== */

.about {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

  padding: 7rem 0;
}

/* ---------- About Content ---------- */

.about-content {
  max-width: 800px;
}

.section-label {
  margin-bottom: 0.8rem;

  color: #c8102e;

  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about h2 {
  margin-bottom: 1.5rem;

  color: #111111;

  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.about p:not(.section-label) {
  margin-bottom: 1.2rem;

  color: #555555;

  font-size: 1.05rem;
}

.about .btn {
  margin-top: 1rem;
}
/* ==================================================
   INSURANCE SOLUTIONS SECTION
   ================================================== */

.insurance {
  padding: 7rem 5%;
  background-color: #f7f7f7;
}

/* ---------- Section Heading ---------- */

.section-heading {
  max-width: 750px;
  margin: 0 auto 4rem;

  text-align: center;
}

.section-heading h2 {
  margin-bottom: 1rem;

  color: #111111;

  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.section-heading > p:not(.section-label) {
  color: #666666;
  font-size: 1.05rem;
}

/* ---------- Insurance Grid ---------- */

.insurance-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- Insurance Cards ---------- */

.insurance-card {
  padding: 2rem;

  background-color: #ffffff;

  border-top: 4px solid #c8102e;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.insurance-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.insurance-card h3 {
  margin-bottom: 1rem;

  color: #111111;

  font-size: 1.35rem;
}

.insurance-card p {
  margin-bottom: 1.5rem;

  color: #666666;

  font-size: 0.95rem;
}

/* ---------- Learn More Link ---------- */

.insurance-card a {
  color: #c8102e;

  font-size: 0.9rem;
  font-weight: 700;

  transition: color 0.3s ease;
}

.insurance-card a:hover {
  color: #111111;
}

/* ---------- View All Products ---------- */

.section-action {
  margin-top: 3rem;

  text-align: center;
}
/* ==================================================
   WHY MOET SECTION
   ================================================== */

.why-moet {
  padding: 7rem 5%;
  background-color: #ffffff;
}

/* ---------- Why Moet Grid ---------- */

.why-moet-grid {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---------- Why Moet Cards ---------- */

.why-card {
  padding: 2rem;

  background-color: #111111;
  color: #ffffff;

  border-radius: 4px;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  background-color: #c8102e;
}

.why-card h3 {
  margin-bottom: 1rem;

  font-size: 1.25rem;
}

.why-card p {
  color: #cccccc;

  font-size: 0.95rem;
}

.why-card:hover p {
  color: #ffffff;
}
/* ==================================================
   HOW IT WORKS SECTION
   ================================================== */

.how-it-works {
  padding: 7rem 5%;
  background-color: #f7f7f7;
}

/* ---------- Steps Container ---------- */

.steps-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* ---------- Individual Step ---------- */

.step {
  padding: 1rem 0;

  border-top: 1px solid #dddddd;
}

/* ---------- Step Number ---------- */

.step-number {
  display: block;

  margin-bottom: 1.5rem;

  color: #c8102e;

  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- Step Heading ---------- */

.step h3 {
  margin-bottom: 1rem;

  color: #111111;

  font-size: 1.3rem;
}

/* ---------- Step Description ---------- */

.step p {
  max-width: 300px;

  color: #666666;

  font-size: 0.95rem;
}
/* ==================================================
   GET A QUOTE CTA
   ================================================== */

.quote-cta {
  padding: 7rem 5%;

  background-color: #111111;
  color: #ffffff;

  text-align: center;
}

/* ---------- CTA Content ---------- */

.quote-cta-content {
  max-width: 750px;
  margin: 0 auto;
}

.quote-cta h2 {
  margin-bottom: 1rem;

  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.quote-cta p:not(.section-label) {
  margin-bottom: 2rem;

  color: #cccccc;

  font-size: 1.05rem;
}

/* ---------- CTA Button ---------- */

.quote-cta .btn {
  margin-top: 0.5rem;
}
/* ==================================================
   CONTACT SECTION
   ================================================== */

.contact {
  padding: 7rem 5%;
  background-color: #ffffff;
}

/* ---------- Contact Layout ---------- */

.contact-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* ---------- Contact Information ---------- */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ---------- Individual Contact Item ---------- */

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* ---------- Contact Icons ---------- */

.contact-icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #f7f7f7;

  color: #c8102e;

  border-radius: 50%;

  font-size: 1.1rem;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.contact-icon:hover {
  background-color: #c8102e;
  color: #ffffff;

  transform: translateY(-2px);
}

/* ---------- Contact Text ---------- */

.contact-item h3 {
  margin-bottom: 0.3rem;

  color: #111111;

  font-size: 1.05rem;
}

.contact-item div > a {
  color: #666666;

  font-size: 0.95rem;

  transition: color 0.3s ease;
}

.contact-item div > a:hover {
  color: #c8102e;
}

/* ---------- Social Media ---------- */

.social-media {
  padding-left: 2rem;

  border-left: 1px solid #dddddd;
}

.social-media h3 {
  margin-bottom: 1.5rem;

  color: #111111;

  font-size: 1.1rem;
}

/* ---------- Social Links ---------- */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 1rem;

  color: #555555;

  font-size: 1.05rem;
  font-weight: 500;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social-links a i {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #dddddd;

  border-radius: 50%;

  color: #c8102e;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.social-links a:hover {
  color: #c8102e;

  transform: translateX(4px);
}

.social-links a:hover i {
  background-color: #c8102e;

  border-color: #c8102e;

  color: #ffffff;
}
/* ==================================================
   FOOTER
   ================================================== */

footer {
  padding: 4rem 5% 0;

  background-color: #111111;
  color: #ffffff;
}

/* ---------- Footer Content ---------- */

.footer-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;

  padding-bottom: 3rem;
}

/* ---------- Company ---------- */

.footer-company h2 {
  margin-bottom: 0.8rem;

  font-size: 1.6rem;
  letter-spacing: 2px;
}

.footer-company p {
  color: #aaaaaa;

  font-size: 0.95rem;
}

/* ---------- Footer Headings ---------- */

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  margin-bottom: 1.2rem;

  font-size: 1rem;
}

/* ---------- Footer Links ---------- */

.footer-links,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a,
.footer-contact a,
.footer-social a {
  color: #aaaaaa;

  font-size: 0.9rem;

  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: #ffffff;
}

/* ---------- Footer Bottom ---------- */

.footer-bottom {
  padding: 1.5rem 0;

  border-top: 1px solid #333333;

  text-align: center;
}

.footer-bottom p {
  color: #777777;

  font-size: 0.8rem;
}

/* ==================================================
   PRODUCTS PAGE
   ================================================== */

/* ---------- Products Introduction ---------- */

.products-intro {
  padding: 7rem 5%;

  background-color: #111111;
  color: #ffffff;

  text-align: center;
}

.products-intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.products-intro h1 {
  margin-bottom: 1.2rem;

  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}

.products-intro p:not(.section-label) {
  color: #cccccc;

  font-size: 1.05rem;
}

/* ---------- Product Category ---------- */

.product-category {
  padding: 7rem 5%;

  background-color: #ffffff;
}

.product-category:nth-of-type(even) {
  background-color: #f7f7f7;
}

/* ---------- Product Category Heading ---------- */

.product-category-heading {
  width: 100%;
  max-width: 750px;
  margin: 0 auto 4rem;

  text-align: center;
}

.product-category-heading h2 {
  margin-bottom: 1rem;

  color: #111111;

  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.product-category-heading p:not(.section-label) {
  color: #666666;

  font-size: 1.05rem;
}

/* ---------- Product Grid ---------- */

.product-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* ---------- Product Card ---------- */

.product-card {
  width: calc((100% - 3rem) / 3);

  padding: 2rem;

  background-color: #ffffff;

  border-top: 4px solid #c8102e;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
  margin-bottom: 1rem;

  color: #111111;

  font-size: 1.25rem;
}

.product-card p {
  margin-bottom: 1.5rem;

  color: #666666;

  font-size: 0.95rem;
}

/* ---------- Product Quote Link ---------- */

.product-quote {
  margin-top: auto;

  color: #c8102e;

  font-size: 0.9rem;
  font-weight: 700;

  transition: color 0.3s ease;
}

.product-quote:hover {
  color: #111111;
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */

/* ---------- Tablets ---------- */

@media (max-width: 900px) {
  /* ---------- Navbar ---------- */

  .nav-links {
    gap: 1rem;
  }

  /* ---------- Insurance Grid ---------- */

  .insurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- Why Moet ---------- */

  .why-moet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- How It Works ---------- */

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---------- Products ---------- */

  .product-card {
    width: calc((100% - 1.5rem) / 2);
  }

  /* ---------- Footer ---------- */

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Mobile Phones ---------- */

@media (max-width: 600px) {
  /* ---------- Navbar ---------- */

  nav {
    width: 90%;
    min-height: auto;

    padding: 1.2rem 0;

    display: flex;
    flex-wrap: wrap;

    gap: 1rem;
  }

  /* ---------- Logo ---------- */

  .logo {
    order: 1;
  }

  /* ---------- Get a Quote Button ---------- */

  .nav-cta {
    order: 2;
    margin-left: auto;
  }

  /* ---------- Navigation Links ---------- */

  .nav-links {
    order: 3;

    width: 100%;

    justify-content: center;

    gap: 1rem;

    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  /* ---------- Hero ---------- */

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 5rem 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  /* ---------- About ---------- */

  .about {
    padding: 5rem 5%;
  }

  /* ---------- Section Headings ---------- */

  .section-heading {
    margin-bottom: 3rem;
  }

  /* ---------- Insurance ---------- */

  .insurance {
    padding: 5rem 5%;
  }

  .insurance-grid {
    grid-template-columns: 1fr;
  }

  /* ---------- Why Moet ---------- */

  .why-moet {
    padding: 5rem 5%;
  }

  .why-moet-grid {
    grid-template-columns: 1fr;
  }

  /* ---------- How It Works ---------- */

  .how-it-works {
    padding: 5rem 5%;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ---------- Quote CTA ---------- */

  .quote-cta {
    padding: 5rem 5%;
  }

  /* ---------- Contact ---------- */

  .contact {
    padding: 5rem 5%;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .social-media {
    padding-left: 0;

    padding-top: 2rem;

    border-left: none;
    border-top: 1px solid #dddddd;
  }

  /* ---------- Products ---------- */

  .product-card {
    width: 100%;
  }

  .products-intro {
    padding: 5rem 5%;
  }

  .product-category {
    padding: 5rem 5%;
  }

  /* ---------- Footer ---------- */

  footer {
    padding: 3rem 5% 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
