:root {
  --primary: #ffeb80;
  --black: #000000;
  --hint: #000000af;
  --white: #FFFFFF;
  --accent: #222831;
}

body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--white);
  color: var(--black);
}

header {
  background-color: var(--black);
  color: var(--primary);
  padding: 1rem;
  position: sticky;
  z-index: 1000;
  top: 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

#cover {
  position: relative;
  height: 80vh;
  margin: 1rem 5rem;
  border-radius: 120px;
  background: url('/src/a.jpeg') top/cover no-repeat;
}

#cover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 120px;
  background-color: rgba(15, 15, 15, 0.336);
}

#cover>div {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: var(--primary);
  padding: 0 10rem;
  margin: auto;
}

section {
  padding: 14vh 8vw;
  margin: auto;
}

h1,
h2 {
  color: var(--black);
  font-weight: bold;
  text-align: center;
}

h1 {
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  /* Using Playfair Display for h1 */
}

h2 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  /* Using Playfair Display for h2 */
}

p {
  font-size: 2rem;
  color: var(--hint);
}

li {
  font-size: 1.4rem;
}

.job,
.course-card {
  background-color: var(--white);
  padding: 1rem;
  margin: 1rem;
  border: 1px solid var(--black);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: calc(33%);
  min-width: 120px;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.job:hover,
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.job a,
.course-card a {
  color: var(--accent);
  font-style: italic;
  margin-top: 20px;
  text-decoration: none;
  padding: 10px 20px;
  background-color: var(--primary);
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.job a:hover,
.course-card a:hover {
  background-color: var(--accent);
  color: var(--white);
  text-decoration: none;
}

.job .title,
.course-card .title {
  font-weight: bold;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.job .description,
.course-card .description {
  font-style: normal;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-card img,
.job img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

#courses-container,
#jobs-container {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 1rem;
}

#jobs-container::-webkit-scrollbar,
#courses-container::-webkit-scrollbar {
  display: none;
}

#contact {
  gap: 20px;
}

#contact-inside {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-items: center;
}

.contact-section {
  width: 90%;
}

.contact-section button {
  background-color: var(--black);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.contact-section form input,
.contact-section form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

footer {
  background-color: var(--black);
  color: var(--primary);
  text-align: center;
  padding: 1rem;
}

#about {
  background-color: var(--white);
}

#courses,
#jobs {
  background-color: var(--white);
}

#testimonials {
  background-color: var(--primary);
}

#contact {
  background-color: var(--primary);
}

#home {
  background-color: var(--black);
}

#services {
  background-color: var(--primary);
  padding: 5rem 10rem;
  text-align: center;
}

#services h2 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2rem;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 40%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-bottom: 2px solid var(--accent);
}

.service-content {
  padding: 1rem;
}

.service-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-content p {
  font-size: 1.1rem;
  color: var(--black);
  line-height: 1.6;
}

@media (max-width: 768px) {
  #services {
    padding: 3rem 2rem;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
  }
}




#happy-clients {
  background-color: var(--primary);
  text-align: center;
}

#happy-clients h2 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2rem;
}

.happy-clients-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  justify-items: center;
}

.client-card {
  background-color: var(--primary);
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--black);
  width: 15vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.client-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.client-card p {
  font-size: 1.2rem;
  color: var(--black);
  line-height: 1.6;
}

@media (max-width: 768px) {
  #contact-inside {
    grid-template-columns: 1fr;
    align-items: center;
  }

  #cover>div {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* #happy-clients {
    padding: 3rem 2rem;
  } */

  .happy-clients-container {
    grid-template-columns: 1fr;
    align-items: center;
  }

  #happy-clients h2{
    font-size: 1.4rem
  }

  .client-card {
    padding: 5vw;
    width: 90%;
  }

  h1 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    /* Using Playfair Display for h1 */
  }

  h2 {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    /* Using Playfair Display for h2 */
  }

  p {
    font-size: 1rem;
    color: var(--hint);
  }

  li {
    font-size: .6rem;
  }


}