/* style.css */

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
}

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

/* Header - Hero Section */

.logo-link {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  color: #f1f1f1;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 25px;
  margin-left: 35px;
}

.hero-section {
  background: #020024;
  background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);
  color: #ffffff;
  height: 90vh;
}

.hero-section .container {
  display: flex;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  flex: 1;
  min-width: 300px;
  text-align: left;
  padding-right: 20px;
  width: 50%;
}

.hero-section h1 {
  font-size: 3em;
  margin: 15px 35px;
  text-align: left;
}

.hero-section p {
  font-size: 1.2em;
  text-align: left;
  margin: 15px 35px;
}

.cta-button {
  text-decoration: none;
  background-color: #ffffff; 
  color: #188ea8;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  margin: 15px 35px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #188ea8;
  color: #fff;
  border: 2px solid #fff;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  width: 50%;
  background-image: url(../img/hero-illustration.jpg);
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f9fa;
}

.benefits-section h2 {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #188ea8;
}

.benefits-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.benefit-item {
  flex-basis: 30%;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-item svg {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  color: #188ea8;
}

.benefit-item h3 {
  font-size: 1.5em;
  color: #188ea8;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 1em;
  color: #1c7285;
}

/* FAQ and Contact Section */
.faq-contact-section {
  padding: 80px 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
  background: #020024;
  background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);
  color: #ffffff;
}

.faq-section,
.contact-form-section {
  flex: 1;
  min-width: 300px;
}

.faq-section h2,
.contact-form-section h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #fff;
}

/* Accordion */
.accordion-item {
  background-color: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  background-color: #004d7a;
  color: white;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: "+";
  font-size: 1.5em;
}

.accordion-header.active::after {
  content: "-";
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f0f0f0;
}

.accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: #555;
}

/* Form Section */
#form-section .container {
    margin: 0 auto;
    max-width: 1200px;
    margin-top: 55px;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-control {
    display: flex;
    padding: .3rem 1rem;
}

.form-control input {
    width: 100%;
    padding: .9rem .7rem;
    border: 2px solid #188ea8;
    border-radius: 5px;
}

.form-control input::placeholder {
    color: #188ea8;
    font-size: .9rem;
}

.form-control:first-child {
    gap: 5px;
    
}

.form-control select {
    width: 100%;
    color: #188ea8;
    border: 2px solid #188ea8;
    padding: .9rem .7rem;
    font-size: .9rem;
}

.form-control select:focus {
    border: 2px solid #072b88;
}

.action-control {
    display: flex;
    justify-content: center;
}

.action-control button {
    padding: .9rem .7rem;
    margin-top: 35px;
    border-radius: 5px;
    background-color: #004d7a;
    color: #ddd;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 35px;
    width: 50%;
    transition: 1s;
    border: none;
    opacity: .7;
}

.action-control button:hover {
  opacity: 1;
}

/* Footer */
footer {
  background-color: #004d7a; /* Dark blue */
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer-info p {
  margin: 5px 0;
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
  }

  .benefits-grid,
  .faq-contact-section {
    flex-direction: column;
    align-items: center;
  }

  .benefit-item,
  .faq-section,
  .contact-form-section {
    flex-basis: 90%;
  }
}

@media (max-width: 615px) {
  .hero-image {
    display: none;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-section h1 {
    text-align: center;
  }

  .hero-section p {
    text-align: center;
  }
}
