/* Importação de Fontes */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik+Dirt&display=swap");

/* Variáveis Globais */
:root {
  --primary-color: #1ae536;
  --primary-color-dark: #009114;
  --primary-color-hover: #03ae1a;
  --secondary-color: #f9fafe;
  --text-color: #2c2c2c;
  --dark-mode-background: #2c2c2c;
  --dark-mode-text-color: #f5f5f5;
  --white: #ffffff;
  --light-white: rgba(255, 255, 255, 0.67);
  --black: #000000;
  --gray: #ccc;
  --max-width: 1550px;
  --max-width-container: 1250px;
}

/* Estilos Globais */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  list-style: none;
}

body {
  min-height: 100vh;
  background-color: var(--white);
  overflow: hidden;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 2rem;
  text-align: center;
  padding-top: 4rem;
}

.header {
  position: fixed;
  width: 100%;
  background: transparent;
  top: 0;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 30px;
}

.navbar {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar a {
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 0;
  margin: 0 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: var(--primary-color-hover);
}

.header.scrolled .navbar a {
  color: var(--text-color);
}

.button-navbar p {
  margin: 0;
}

.white-links a {
  color: var(--white);
}
.white-links a:hover {
  color: var(--text-color);
}

.main {
  display: flex;
  align-items: center;
}

.main a {
  margin-right: 25px;
  margin-left: 10px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.5s ease;
  text-decoration: none;
}

.button-navbar {
  background-color: var(--black);
  padding: 0.4rem 1rem;
  border-radius: 10px;
}

.main a:hover {
  transform: translateX(10px);
}

#menu-icon {
  font-size: 35px;
  color: var(--text-color);
  cursor: pointer;
  z-index: 1001;
  display: none;
}

@media (max-width: 1300px) {
  header {
    padding: 14px 2%;
    transition: 0.2s;
  }

  .navbar a {
    padding: 5px 0;
    margin: 0px 20px;
  }
}

@media (max-width: 1151px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 270px;
    height: 39vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 10px;
    transition: all 0.5s ease;
  }

  .navbar.open {
    right: 2%;
  }

  .navbar a {
    color: var(--white);
    display: block;
    margin: 12px 0;
    padding: 0px 25px;
    transition: all 0.5s ease;
  }

  .navbar a:hover {
    color: var(--primary-color-dark);
    transform: translateY(5px);
  }

  .navbar a.active {
    color: var(--primary-color-dark);
  }
}

/* HOME */
.home {
  height: 100vh;
  background-image: url(./assets/banner-leads.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 999;
}

.content {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 2rem 5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  padding-right: 3rem;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  padding-bottom: 1rem;
}

.subtitle {
  font-size: 1.3rem;
  font-weight: normal;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  white-space: none;
}

.button-sign-in,
.button-view-courses {
  padding: 0.8rem 12rem;
  border-radius: 10px;
  transition: all 0.5s ease;
  text-decoration: none;
}

.button-sign-in {
  background-color: var(--primary-color-dark);
  color: var(--white);
}

.button-sign-in:hover,
.button-view-courses:hover,
.main-button-sign-in:hover {
  transform: translateX(10px);
}

.button-view-courses {
  background-color: transparent;
  border: 1px solid var(--black);
  color: var(--black);
}

/* Responsividade */
@media (max-width: 1167px) {
  .content {
    flex-direction: column;
    padding: 3rem;
  }

  .home {
    background-image: none;
  }

  .title-container,
  .promotion {
    width: 100%;
    height: auto;
    padding: 1rem 0;
  }

  .title {
    font-size: 2.5rem;
    padding-top: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .buttons-container {
    flex-direction: column;
  }
}

/* --- SEÇÃO DATAS DAS PROVAS --- */
.dates-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  overflow: hidden; /* Impede que o fundo verde vaze */
  padding: 4rem 5%;
  background-image: url(./assets/student-placeholder.png);
  background-repeat: no-repeat;
  background-size: cover;
}



.dates-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width-container);
  z-index: 2; /* Fica acima do fundo verde */
  gap: 2rem;
}

/* Cartão Branco Esquerdo */
.dates-card {
  background: #f9f9f9;
  padding: 3rem 4rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  flex: 1;
  max-width: 600px;
  text-align: center;
}

.dates-card h2 {
  font-size: 2.2rem;
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dates-card p {
  color: var(--text-color);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Botões Verdes */
.dates-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.date-btn {
  background-color: var(--primary-color-dark);
  color: var(--white);
  padding: 1rem 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.date-btn:hover {
  background-color: var(--primary-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 145, 20, 0.3);
}



/* --- Responsividade --- */
@media (max-width: 992px) {
  .dates-section {
    padding: 4rem 2rem;
    flex-direction: column;
  }
  
  .dates-bg-shape {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
  }

  .dates-container {
    flex-direction: column;
  }

  .dates-card {
    width: 100%;
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .dates-image img {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .dates-card h2 {
    font-size: 1.8rem;
  }
  
  .dates-card p {
    font-size: 0.95rem;
  }
  
  .date-btn {
    font-size: 0.9rem;
  }
}


.courses {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background: #fff;
  overflow: hidden; 
}

.course-cards-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap; 
}

.course-card {
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  width: 100%;
  max-width: 400px;
}

.course-card-title {
  color: var(--white);
  font-size: 1.5rem;
  padding-top: 3rem;
  text-align: center;
}

.course-card-subtitle {
  color: var(--primary-color-dark);
  font-size: 1.2rem;
  padding-bottom: 3rem;
  text-align: center;
}

.course-card-button {
  background: var(--primary-color-dark);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  margin-bottom: 1.5rem;
}

.course-card-button:hover {
  background: var(--primary-color-hover);
  transform: scale(1.08);
  cursor: pointer;
}

.course-card-image {
  height: 300px;
  object-fit: cover; 
  max-width: 100%;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  background: rgba(0, 0, 0, 0.8); 
  z-index: 9999;
  width: 100%;
  height: 100vh; 
  align-items: center;
  justify-content: center;
  padding: 1rem; 
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh; 
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.modal-header button {
  background: transparent;
  border: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.modal-header button:hover {
  color: var(--primary-color-hover);
  transform: scale(1.08);
}

ion-icon {
  font-size: 30px;
  color: var(--primary-color-dark);
}

.modal-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color-dark);
  padding-bottom: 1.6rem;
}

.modal-content {
  background: var(--secondary-color);
  padding: 1rem;
  border-radius: 8px;
}

.modal-register {
  display: flex;
  align-items: flex-start; 
  gap: 0.5rem;
  padding-bottom: 0.7rem;
}

.modal-register p {
  margin: 0;
  font-size: 0.95rem;
}

.modal-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.modal-button {
  background: var(--primary-color-dark);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.modal-button:hover {
  background: var(--primary-color-hover);
  transform: scale(1.08);
  cursor: pointer;
}


@media (max-width: 768px) {
  .course-cards-container {
    flex-direction: column;
    gap: 3rem;
  }

  .title-section {
    font-size: 1.3rem !important; 
    padding-top: 2rem !important;
  }

  .course-card-image {
    height: auto; 
    max-height: 300px;
  }

  .modal-title {
    font-size: 1.4rem;
  }

  .modal-subtitle {
    font-size: 1rem;
  }

  .modal-register p {
    font-size: 0.85rem;
  }
}

/* APROVADOS */
.testimonials-wrapper {
  padding: 0 3.7rem;
}

.section-title {
  text-align: center;
  margin: 0 0 40px;
  color: var(--black);
}
.section-title h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 10px;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-card {
  flex-shrink: 0;
  padding: 10px;
  flex-basis: 100%;
}

.card-content {
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
    rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.quote {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #ccc;
  flex-shrink: 0;
  object-fit: cover;
}

.info {
  display: flex;
  flex-direction: column;
}

.info strong {
  font-size: 1rem;
  color: var(--black);
}

.info span {
  font-size: 0.85rem;
  color: var(--text-color);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.nav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.3s ease;
  padding: 5px;
}

.nav-btn:hover {
  transform: scale(1.2);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .carousel-card {
    flex-basis: 50%;
  }
}

@media (min-width: 1024px) {
  .carousel-card {
    flex-basis: 33.333%;
  }
}

/* PROFESSORES */
.team-section {
  background-color: var(--primary-color-dark);
  padding: 40px 20px;
  text-align: center;
  color: var(--white);
  margin-top: 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.team-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.team-card {
  width: 20rem;
  height: 26rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  color: var(--primary-color);
  box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  transition: background-color 0.3s ease;
}

body.dark-mode .team-card {
  background-color: #2a2a2a;
  color: var(--primary-color);
}

.team-card img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 1s;
}

.team-card h2,
.team-card h3 {
  position: absolute;
  margin: 0;
  font-weight: normal;
  text-transform: uppercase;
  color: #fff;
}

.team-card p,
.team-card a {
  position: absolute;
  text-align: left;
  opacity: 0;
  max-width: 80%;
  transition: opacity 0.3s ease-out;
  color: #eee;
}

.team-card a {
  text-decoration: none;
}

.team-card p {
  inset: auto auto 80px 30px;
}

.team-card a {
  inset: auto auto 40px 30px;
}

.team-card h2 {
  inset: auto auto 45px 30px;
  transition: inset 0.3s 0.3s ease-out;
}

.team-card h3 {
  inset: auto auto 20px 30px;
  transition: inset 0.3s 0.3s ease-out;
}

.team-card:hover h2 {
  inset: auto auto 300px 30px;
  transition: inset 0.3s ease-out;
}

.team-card:hover h3 {
  inset: auto auto 280px 30px;
  transition: inset 0.3s ease-out;
}

.team-card:hover p,
.team-card:hover a {
  opacity: 1;
  transition: opacity 0.5s 0.1s ease-in;
}

.team-card:hover img {
  filter: brightness(0.4);
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.team-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  pointer-events: none;
  z-index: 1;
}

.team-card h2,
.team-card h3,
.team-card p,
.team-card a {
  z-index: 2;
}

.material-symbols-outlined {
  vertical-align: middle;
}

.team-card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: none;
  z-index: 2;
}

@media (max-width: 1024px) {
  .team-card {
    width: 18rem;
    height: 24rem;
  }

  .team-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .team-card {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    color: var(--black);
  }

  .team-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: none;
    position: relative;
  }

  .team-card-content {
    position: relative;
    padding: 20px;
    background: none;
    color: var(--black);
    text-align: left;
  }

  .team-card h2 {
    color: var(--primary-color-dark);
  }

  .team-card h2,
  .team-card h3,
  .team-card p {
    position: static;
    opacity: 1;
    margin: 5px 0;
    transition: none !important;
    color: var(--black);
  }

  .team-card::after {
    display: none;
  }

  .team-card:hover h2,
  .team-card:hover h3,
  .team-card:hover p,
  .team-card:hover img {
    all: unset !important;
  }
}

@media (max-width: 480px) {
  .team-title {
    font-size: 1.4rem;
  }

  .team-section {
    padding: 30px 10px;
  }

  .team-grid {
    gap: 15px;
  }
}

/* FOOTER */
#footer {
  background-color: var(--primary-color-dark);
  color: var(--white);
  font-family: sans-serif;
  line-height: 1.6;
}

.f-item-con {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.app-info .app-name {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.app-info .app-name img {
  max-height: 45px;
  width: auto;
}

.app-info p {
  color: var(--white);
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.useful-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.useful-links li {
  margin-bottom: 0.6rem;
}

.useful-links li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.useful-links li a:hover {
  color: var(--black);
  padding-left: 5px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.g-inp,
.g-inp::placeholder {
  color: var(--text-color) !important;
}

.g-inp {
  padding: 0.8rem 1rem;
  border-radius: 5px;
  border: 1px solid var(--secondary-color);
  background-color: var(--secondary-color);
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.g-inp#g-msg {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.f-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--black);
  border-radius: 5px;
  border: none;
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  margin-top: 0.5rem;
}

.f-btn:hover {
  background-color: var(--text-color);
  transform: translateY(-2px);
}

.cr-con {
  background-color: var(--black);
  color: var(--text-color);
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid var(--text-color);
}

@media (max-width: 992px) {
  .f-item-con {
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }

  #footer {
    margin-bottom: 70px;
  }
}

@media (max-width: 768px) {
  .f-item-con {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 1rem;
  }

  .app-info,
  .useful-links,
  .g-i-t {
    text-align: center;
  }

  .app-info .app-name {
    justify-content: center;
  }

  .useful-links ul {
    display: inline-block;
    text-align: left;
  }
}

.footer__container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.footer__container.dark-mode .footer {
  background-color: var(--black);
  color: var(--dark-mode-text-color);
}

.footer {
  display: flex;
  max-width: var(--max-width);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: var(--black);
  color: var(--white);
  padding: 0.8rem 1rem;
  width: 100%;
  gap: 2rem;
  text-align: center;
}

.footer img {
  width: 54px;
  height: 54px;
}

.footer p {
  font-size: 1rem;
  margin: 0;
}

.footer .btn {
  background-color: var(--primary-color-dark);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 5px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer .btn:hover {
  background-color: var(--primary-color-hover);
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .footer p {
    font-size: 0.95rem;
  }

  .footer .btn {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer img {
    width: 0px;
    height: 0px;
  }

  .footer {
    padding: 0.1rem 1rem;
  }

  .footer p {
    font-size: 0.9rem;
  }

  .footer .btn {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
  }
}

/* SEÇÃO DE DÚVIDAS FREQUENTES (FAQ) */
.faq-section {
  padding: 50px 20px;
  text-align: center;
  background-color: var(--white);
  transition: background-color 0.3s ease;
}

body.dark-mode .faq-section {
  background-color: var(--dark-mode-background);
}

.faq-section h2 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 30px;
}

body.dark-mode .faq-section h2 {
  color: var(--black);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--black);
  color: var(--white);
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .faq-item {
  background-color: var(--black);
  border-color: var(--text-color);
}

.faq-question {
  background: none;
  border: none;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s ease;
}

body.dark-mode .faq-question {
  color: var(--white);
}

.faq-question:hover {
  color: var(--primary-color-dark);
}

body.dark-mode .faq-question:hover {
  color: var(--primary-color);
}

.faq-question .arrow-icon {
  font-size: 1.2rem;
  color: var(--primary-color-dark);
  transition: transform 0.3s ease, color 0.3s ease;
}

body.dark-mode .faq-question .arrow-icon {
  color: var(--primary-color);
}

.faq-question.open .arrow-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, background-color 0.3s ease;
  background-color: var(--secondary-color);
  border-top: 1px solid var(--secondary-color);
}

body.dark-mode .faq-answer {
  background-color: var(--black);
  border-top: 1px solid var(--text-color);
}

.faq-answer p {
  padding: 15px 0;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
}

body.dark-mode .faq-answer p {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .faq-answer p {
    font-size: 0.9rem;
    padding: 10px 0;
  }
}
