* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
}
html{
  width: 100%;
  height: 100%;
 

}

body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  
}
.services-hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), image-set(
      url('/assets/images/about-hero-lagos.webp') type('image/webp'),
      url('/assets/images/about-hero-lagos.jpg') type('image/jpeg')
    );
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.services-hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', sans-serif;
}





.pretext h1{
  font-size: 2rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 5rem 1rem;
  text-align: center;
  font-weight: 400;
  color: #5f84a7;
}
.pretext p{
    font-size: 0.9rem;
    width: 80%;
    margin: 4rem auto;
    text-align: center;
}
 .faq-section {
      max-width: 800px;
      margin: 70px auto;
    }
.faq-section h2{
    margin: 30px;
}
    .faq-item {
      background: #fff;
      margin-bottom: 10px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .faq-question {
      padding: 16px 20px;
      background: #faf0fa;
      color: black;
      cursor: pointer;
      font-weight: bold;
      position: relative;
    }

    .faq-question::after {
      content: '+';
      position: absolute;
      right: 20px;
      font-size: 1.2em;
      transition: transform 0.3s ease;
    }

    .faq-question.active::after {
      content: '-';
      transform: rotate(180deg);
    }

    .faq-answer {
      padding: 0 20px;
      max-height: 0;
      overflow: hidden;
      background: #f0f0f0;
      transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .faq-answer.open {
      padding: 16px 20px;
      max-height: 500px; /* enough height to show most answers */
    }


.services-section{
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px;
  
}

.service-areas {
  width: min(1000px, 92vw);
  margin: 60px auto 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-areas p {
  color: #444;
}

.service-area-card {
  display: block;
  text-align: center;
  padding: 16px 20px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #6b93b7;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(30,136,229,0.18);
}
 .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
    }

  

    .service-card {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      margin: 20px;
    }
    .service-card:hover {
      box-shadow: 0 6px 16px rgba(0,0,0,0.2);
      transform: translateY(-7px);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .service-card-content {
      padding: 16px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .service-card h3 {
      font-size: 1.2rem;
      margin: 0 0 10px;
      
    }

    .service-card p {
      flex-grow: 1;
      font-size: 0.95rem;
      color: #444;
    }

    .service-buttons {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }

    .service-buttons button {
      flex: 1;
      padding: 10px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
    }

    .book-btn {
      background-color: #faf0fa;
      color: #6b93b7;
    }
    .book-btn:hover {
      background-color: #6b93b7;
      color:#faf0fa;
    }

    .learn-btn {
      background-color: #6b93b7;
      color: white;
    }
    .learn-btn:hover {
      background-color: #faf0fa;
      color: #6b93b7;
    }

    /* Modal */
    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 999;
      overflow: hidden;
    }

    .modal-content {
      background: white;
      padding: 20px;
      max-width: 500px;
      width: 90%;
      border-radius: 10px;
      position: relative;
      max-height: 80vh;
      overflow-x: hidden;
    }

    .modal-content h3 {
      margin-top: 0;
      color: #6b93b7;
    }

    .modal-content ul {
      padding-left: 20px;
    }

    .modal-content ul li {
      margin-bottom: 10px;
    }

    .modal-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 1.5rem;
      color: #aaa;
      cursor: pointer;
    }

    .modal-close:hover {
      color: #333;
    }
