/* TYPES SECTION*/
#types {
  padding: 4rem 2rem;
  background-color: #304ba4;
  color: white;
  max-height: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.card {
  background-color: transparent;
  color: #222;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.card img {
  width: 200px;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
}

.card p {
  font-size: 1rem;
  line-height: 2;
  text-align: center;
  color: #d4d7ec;
  font-weight: bold;
}

.types-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.types-header {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
.types-header h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.types-header p {
  color: #e0e1ec;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ABOUT SECTION*/

#about {
  padding: 4rem 2rem;
  background-color: #fff;
}

.about-content {
  display: flex;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  max-width: 700px;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: rgb(15, 49, 69);
}

.about-text p {
  max-width: 700px;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.about-text h3 {
  margin-top: 1.5rem;
  font-weight: 700;
  color: rgb(15, 49, 69);
}

.about-form {
  flex: 1 1 400px;
  background-color: #eff4f6ff;
  padding: 2rem;
  border-radius: 10px;
}

.about-form form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 1rem;
  font-weight: bold;
  color: rgb(15, 49, 69);
}

form input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 0.5rem;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  margin-top: 1.5rem;
  cursor: pointer;
}

.more-about,
.more-about2 {
  display: flex;
  flex-direction: column;
}

.more-about span::before {
  display: inline-block;
  content: " ";
  width: 8px;
  height: 8px;
  margin-right: 5px;
  background-color: #3249a7;
  border-radius: 50%;
}

.more-about2 p::before {
  display: inline-block;
  content: " ";
  width: 8px;
  height: 8px;
  margin-right: 5px;
  background-color: #3249a7;
  border-radius: 50%;
}

.more-about2 p::before {
  background-color: #c0392b;
}

#btnSubmit {
  background-color: #3249a7;
}

/* REPUTATION SECTION*/

#reputation {
  padding: 4rem 2rem;
  background-color: #fff;
}

.reputation-content {
  gap: 2rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  height: auto;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
}

#reputation img {
  flex: 1 1 400px;
  max-width: 500px;
  width: 60%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.reputation-text {
  flex: 1 1 400px;
  max-width: 800px;
}

.reputation-text h2 {
  color: #304ba4;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.reputation-text p {
  color: #1b2859;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.reputation-text a {
  cursor: pointer;
}

.buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* BENEFITS SECTION */

#benefits {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: 150px;
  height: auto;
  width: 100%;
  padding: 0 1rem;
  background-color: #f9fbfc;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.benefit h3 {
  font-size: 1.35rem;
  color: #215274;
}

.benefit p {
  font-size: 1rem;
  color: #475763;
}

.benefit svg {
  height: 100%;
  width: 100%;
  max-width: 90px;
  max-height: 90px;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* TESTIMONIALS SECTION */
#testimonials {
  margin-top: 5rem;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 1.2rem;
  height: auto;
}

.slide-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial-card {
  max-width: 300px;
  padding: 30px;
  background-color: #f9fbfc;
  min-width: 250px;
  flex: 0 0 auto;
}

#testimonials p {
  color: #8d8e96;
  font-style: italic;
  margin-bottom: 10px;
}

.author {
  font-weight: bold;
  color: rgb(15, 49, 69);
}

#testimonials h2 {
  color: rgb(15, 49, 69);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.stars {
  color: rgb(234, 203, 3);
}

.carousel-dots {
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
}

.dot {
  height: 0.7rem;
  width: 0.7rem;
  margin: 0 6px;
  background-color: #a3a8b5;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #304ba4;
  transform: none;
}

.slide-group {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  gap: 15px;
  justify-content: center;
}

/* BRANDS */

#brands-we-attend {
  margin: 5rem 0;
  text-align: center;
}

.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto;
  gap: 20px;
  height: 80px;
  max-width: 1200px;
}

.brand-logos img {
  width: auto;
  max-height: 80px;
  max-width: 150px;
}

#brands-we-attend h2 {
  color: rgb(15, 49, 69);
  font-size: 2rem;
}

/* FAQ */

#faq {
  margin: 0 auto;
  padding: 3rem 9rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background-color: #e1e5f1;
}

#faq h2 {
  color: #304ba4;
  font-size: 2rem;
  margin-left: 0.9rem;
}

#faq button {
  color: #2f4ba4;
}

#faq p {
  font-size: 1.2rem;
  color: #3e3e3e;
}

.faq-question {
  background-color: transparent;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item {
  margin: 0.8rem;
  background-color: #fff;
  padding: 0.3rem 0;
}

.faq-answer {
  max-height: 0;
  margin: 0.2rem 1rem;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
}

.faq-content {
  flex: 1 1 400px;
}

.faq-img img {
  align-self: flex-start;
  flex: 1 1 400px;
  max-width: 600px;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1rem;
}

.faq-icon {
  font-size: 1.2rem;
}

/*FOOTER SECTION*/
footer {
  background-color: #304ba4;
  padding: 1rem;
}

footer p,
a {
  color: #fff;
  font-size: 1.2rem;
}

footer svg {
  color: white;
  width: 20px;
  width: 20px;
}

footer h3 {
  font-size: 1.5rem;
  color: #c0392b;
}

.footer-content {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.footer-contacts {
  display: flex;
  gap: 1.5rem;
}

.footer-contacts h3 {
  margin-top: 0.5rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-contacts a,
.footer-contacts p {
  display: inline;
  color: white;
  font-size: 1.2rem;
}

.priv-link {
  padding: 0;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: underline;
}
