* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #ffffff;
  color: #333;
}

/* Header */
header {
  background-color: #ffffff;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.header-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 56px;
  margin: 0;
  text-align: center;
}

.header-quote {
  color: #0A3A71;
}

.header-patriot {
  color: #F83A21;
}

/* Hero Section */
.hero-banner {
  position: relative;
  text-align: center;
  padding: 3rem 1rem;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://quotepatriot.com/Auto/Images/Quote Patriot Flag Sky (1).jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}

.hero-banner h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #000000;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-subtext {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #000000;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.hero-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 400px;
}

.hero-form input[type="text"] {
  padding: 0.75rem;
  font-size: 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 15px;
  width: 100%;
}

.hero-form button {
  padding: 0.75rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  background-color: #F83A21;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid #ff0000;
}

/* Our Partners Section */
.partners-section {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #ffffff;
}

.partners-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #C7C8CA;
  margin-bottom: 1.5rem;
}

.partners-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.partners-logos img {
  max-width: 200px;
  height: auto;
}

/* Steps Section */
.quote-section {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.step {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step img {
  width: 322px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.step p {
  margin: 0;
}

/* Tablet Layout */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .hero-logo {
    max-width: 300px;
  }

  .steps {
    flex-direction: row;
    justify-content: space-around;
  }

  .step {
    flex: 1;
    margin: 0 0.5rem;
  }

  .partners-logos {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  .partners-logos img {
    max-width: 160px;
  }

  }

/* Desktop Layout */
@media (min-width: 1024px) {
  .hero-form input[type="text"] {
    font-size: 26px;
  }

  .hero-form button {
    font-size: 24px;
  }

  footer {
    font-size: 1rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step p {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 600;
  }
}

/* Updated Footer Styles */

@media (min-width: 768px) {
  
  }

/* Updated Footer Bottom Row */

.footer-container {
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-title {
  font-size: 56px;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
}

.footer-quote {
  color: #0A3A71;
}

.footer-patriot {
  color: #F83A21;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  text-align: right;
  padding-left: 50px;
}

.footer-nav a {
  text-decoration: none;
  color: #0077cc;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 0.2rem;
}

.footer-disclaimer {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #6f6f6f;
  line-height: 1.4;
  flex: 1;
  text-align: left;

  margin-top: 0px;
}

.footer-cta-button {
  background-color: #F83A21;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 15px;
  white-space: nowrap;
}

.footer-link {
    text-decoration: none;
  }

@media (max-width: 768px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
    text-align: center;
    flex-wrap: nowrap;
    padding-top: 15px;
  }

  .footer-disclaimer {
    text-align: left;
    width: 100%;
  
  margin-top: 0px;
}

  .footer-cta-button {
    align-self: flex-start;
  }

    .footer-title { text-align: center; }


@media (max-width: 768px) {
  .header-title {
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 40px;
    text-align: center;
    white-space: nowrap;
    font-weight: 900;
  }
.footer-title {
    font-size: 40px;
    text-align: center;
    white-space: nowrap;
    font-weight: 900;
  }
}

@media (max-width: 768px) {
  .hero-banner h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .hero-subtext {
    font-size: 16px;
  }
}
/* Mobile: put the form above the logo */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
  }
  .footer-container {
  max-width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
 }
 .footer-top {
  justify-content: space-between;
  flex-wrap: wrap;
 }
 .footer-nav {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  text-align: right;
  padding-left: 0px;
 }
}
