:root {
  --color-blue: #004AAD;
  --color-blue-primary: #528FD8;
  --color-gray: #F3F4F6;
  --color-white: #FFFFFF;
  --color-green: #4CAF50;
  --color-text: #222222;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  height: 600px;
  overflow: hidden;
}

.header-img {
  width: 50%;
}

.header-img img {
  width: 100%;
  border-radius: 80px 0 0 80px;
  height: 100%;
  object-fit: cover;
}

.header-content {
  width: 50%;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-blue-primary);
  padding: 2rem;
}

.logo {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
  margin-bottom: 1rem;
}

.logo img {
  max-width: 350px;
}

/* .logo h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
} */

.header-content h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
  max-width: 48rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Benefits Section */
.benefits {
  background-color: var(--color-gray);
  padding: 4rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.benefits h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.benefits-grid {
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

.benefit-item {
  max-width: 350px;
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
  color: var(--color-blue);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

/* Testimonials section */
.testimonials {
  background-color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.testimonials h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--color-blue);
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial-item {
  max-width: 350px;
  background-color: var(--color-gray);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-item span {
  font-size: 0.9rem;
  color: #666;
}

/* Contact Form Section */
.contact {
  padding: 4rem 0;
  background-color: var(--color-white);
}

.form-header {
  text-align: center;
  /* max-width: 48rem; */
  margin: 0 auto 2.5rem;
}

.form-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.lead-form {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--color-gray);
  border-radius: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.form-turnstile {
  width: 100%;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form-turnstile .error-message {
  align-self: flex-start;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

button, .cta-button {
  background-color: var(--color-blue-primary);
  color: var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  transition: all 0.3s ease;
}

button:hover {
  /* background-color: rgba(76, 175, 80, 0.9); */
  background-color: var(--color-blue);
}

.cta-button:hover {
  background-color: var(--color-blue);
}

.success-message {
  text-align: center;
  padding: 2rem;
  background-color: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--color-green);
  border-radius: 0.5rem;
}

.success-message h3 {
  color: var(--color-green);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.success-message button {
  margin-top: 1.5rem;
}

.hidden {
  display: none;
}

/* Footer */
.footer {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-item a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-item a:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-family: "Libre Baskerville", serif;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    /* height: 580px; */
    height: 100%;
    padding: 0;
    overflow: hidden;
  }

  .header-img {
    height: 100%;
    width: 100%;
  }

  .header-img img {
    width: 100%;
    border-radius: 0 80px 80px 0;
    height: 100%;
  }

  .header-content {
    width: 100%;
    height: 80%;
    padding: .5rem;
    justify-content: flex-start;
  }

  .logo {
    margin-bottom: .5rem;
    padding: 0;
  }

  .logo img {
    max-width: 200px;
  }

  .header-content h1 {
    font-size: 1.25rem;
  }

  .benefits h2,
  .form-header h2 {
    font-size: 1.75rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }
}