/* General style */
body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100vw;
  box-sizing: border-box;

  .section {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-size: cover;
    background-position: center;
    text-align: center;
  }

  *,
  *::before,
  *::after {
    box-sizing: inherit;
  }


  /* First section (banner) */
  #main {
    background-image: url('images/IMG_3669.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 20vh;
    align-items: center;
    color: ivory;
    text-align: center;
  }

  #main h1 {
    font-family: 'Arial', sans-serif;
    font-size: 5rem;
    color: ivory;
    -webkit-text-stroke: 1px #ffd1dc;
    text-shadow:
      -1px -1px 0 #000,
      1px -1px 0 #000,
      -1px 1px 0 #000,
      1px 1px 0 #000;
    margin: 0;
    padding-top: 130px;
  }

  #main h2 {
    color: ivory;
    margin-top: 10px;
    font-size: 2rem;
    -webkit-text-stroke: 1px #ffd1dc;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    font-family: Arial, sans-serif;
  }


  /* Second section (Expertise) */
  #expertise {
    background-color: #ffd1dc;
    color: #5C3317;
    padding: 80px 20px 60px;
    text-align: center;
  }

  #expertise h2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 50px;
  }

  .about-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
  }

  .about-item {
    width: 190px;
    height: 190px;
    background-color: ivory;
    border: 2px solid #5C3317;
    border-radius: 50%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .about-item:hover {
    transform: scale(1.05);
  }

  .about-item i {
    font-size: 48px;
    color: #5C3317;
    margin-bottom: 10px;
  }

  .about-item p {
    margin: 0;
    font-size: 17px;
    color: #5C3317;
  }


  /* Third section (courses) */
  #certifications {
    background-color: ivory;
    color: #5C3317;
    padding: 60px 20px;
  }

  #certifications h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: bold;
    text-align: center;
  }

  .certifications-container {
    display: flex;
    gap: 40px;
    justify-content: center;
  }

  .certifications-column {
    flex: 1 1 50%;
    text-align: left;
  }

  .certifications-column h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #5C3317;
    border-bottom: 2px solid #5C3317;
    padding-bottom: 8px;
  }

  .certifications-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .certifications-column ul li {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }


  /* Forth section (services) */
  #services {
    background-color: #ffd1dc;
    color: #5C3317;
    padding: 60px 20px;
  }

  #services h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: bold;
    text-align: center;
  }

  .services-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .services-column {
    flex: 1 1 300px;
  }

  .services-column h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #5C3317;
    border-bottom: 2px solid #5C3317;
    padding-bottom: 8px;
    text-align: left;
  }

  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .service-item {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    font-size: 1.2rem;
    transition: none;
    flex: 1 1 100%;
    height: auto;
    display: block;
    text-align: left;
  }

  .highlighted-item {
    font-weight: bold;
    font-size: 1.5rem;
    color: #5C3317;
    background-color: ivory;
    border: 1px solid #5C3317;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  }

  .highlighted-item2 {
    font-weight: bold;
    font-size: 1.5rem;
    color: #5C3317;
    background-color: ivory;
    border: 1px solid #5C3317;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  }

  .highlighted-item3 {
    font-weight: bold;
    font-size: 1.5rem;
    color: #5C3317;
    background-color: ivory;
    border: 1px solid #5C3317;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  }

  .service-item:hover {
    transform: scale(1.02);
  }


  /* Fifth section (contacts)*/
  #contacts {
    background-color: ivory;
    color: #5C3317;
    padding: 60px 20px;
  }

  #contacts h2 {
    font-size: 3rem;
    color: #5C3317;
    margin-bottom: 110px;
  }

  .social-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .social-item {
    background-color: transparent;
    border: 1.5px solid #5C3317;
    border-radius: 12px;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    text-decoration: none;
  }

  .social-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #5C3317;
    gap: 14px;
    text-decoration: none;
  }

  .social-item i {
    font-size: 90px;
    text-decoration: none;
  }

  .social-item span {
    font-size: 18px;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
  }

  a {
    color: #5C3317;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
  }

  a:hover {
    text-decoration: underline;
  }
}