/*LAPTOP*/
#header {
  background-color: #ffffff;
  padding: 10px;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 60%;
  max-width: 800px;
  height: auto;
  margin-left: 20px;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}

#navbar a {
  text-decoration: none;
  font-size: 1.5em;
  padding: 10px;
  border: none;
}

.nav-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 30px;
  background-color: #bde0fe;
  border: none;
  transition: background-color 0.3s ease;
  color: #002960;
}

.nav-button i {
  margin-right: 8px;
}

.nav-button:hover {
  background-color: #ffad7f;
  color: #602e00;
}

.navbar-button {
  display: none;
  flex-direction: row;
}

.navbar-button.show {
  display: flex;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

#body {
  background-image: url("Images/Bg-home.png");
  background-size: cover;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 30px;
  background-position: center;
}

#body h1,
#body h3 {
  margin: 0;
  padding: 10px;
  color: white;
  text-shadow: 2px 2px 0 #002960, -2px -2px 0 #002960, 2px -2px 0 #002960,
    -2px 2px 0 #002960;
}

#body h3.welcome {
  font-size: 2em;
  font-family: Nova Script, sans-serif;
}

#body h1.cahili {
  font-size: 6em;
  font-family: Quicksand, sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 10px auto;
  overflow: hidden;
  padding: 5px;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 30px;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border: 4px solid #ff7b00;
  border-radius: 10px;
  background-position: center;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  width: 85%;
}

.carousel-caption h1 {
  font-size: 4em;
  font-family: Quicksand, sans-serif;
  margin-top: 50px;
  margin-bottom: 50px;
}

.carousel-caption h3 {
  font-size: 2em;
  font-family: Nova Script, sans-serif;
  margin: 10px 0;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 34px;
}

.carousel-button.prev {
  left: 40px;
}

.carousel-button.next {
  right: 40px;
}

.learn-more-button {
  display: inline-flex;
  align-items: center;
  background-color: #ffb700;
  color: #002960;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 35px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border-radius: 30px;
}

.learn-more-button i {
  margin-left: 8px;
}

.learn-more-button:hover {
  background-color: #ff9a00;
}

@media screen and (min-width: 769px) {
  .navbar-button {
    display: flex;
  }

  .navbar-toggle {
    display: none;
  }
}

/* TABLET */
@media screen and (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    width: 70%;
  }

  .navbar-button {
    display: none;
    flex-direction: column;
  }

  .navbar-button.show {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  #navbar {
    display: none;
    flex-direction: column;
    margin-top: 20px;
    justify-content: center;
    width: 100%;
  }

  #navbar.show {
    display: flex;
  }

  #navbar a {
    font-size: 1.2em;
    padding: 8px;
    align-items: center;
    justify-content: center;
  }

  .nav-button {
    width: 50%;
    margin: 5px auto;
  }

  #body h1.cahili {
    font-size: 5em;
  }

  #body h3.welcome {
    font-size: 1.5em;
  }

  .carousel {
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    overflow: hidden;
    padding: 5px;
  }

  .carousel-caption h1 {
    font-size: 4em;
  }

  .carousel-caption h3 {
    font-size: 2em;
  }

  .learn-more-button {
    display: inline-flex;
    align-items: center;
    background-color: #ffb700;
    color: #002960;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 35px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border-radius: 30px;
  }

  .learn-more-button i {
    margin-left: 8px;
  }

  .learn-more-button:hover {
    background-color: #ff9a00;
  }
}

/* PHONE */
@media screen and (max-width: 480px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    width: 70%;
  }

  .navbar-button {
    display: none;
    flex-direction: column;
  }

  .navbar-button.show {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .nav-button {
    width: 100%;
    margin: 5px 0;
    text-align: center;
  }

  #navbar {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    display: none;
  }

  #navbar.show {
    display: flex;
  }

  #navbar a {
    font-size: 1em;
    padding: 5px;
    align-items: center;
    justify-content: center;
  }

  .nav-button {
    width: 100%;
    margin: 5px 0;
    text-align: center;
  }

  #body {
    height: 100vh;
    background-image: url("Images/Bg-home.png");
    background-size: cover;
    align-items: center;
    text-align: center;
    padding-top: 30px;
    background-position: center;
  }

  #body h3.welcome {
    font-size: 1.5em;
  }

  #body h1.cahili {
    font-size: 3em;
  }

  .carousel {
    width: 100%;
    margin: 10px auto;
    overflow: hidden;
    padding: 0;
    height: 55%;
  }

  .carousel-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .carousel-item {
    min-width: 100%;
    box-sizing: 5border-box;
  }

  .carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    border: 4px solid #ff7b00;
    border-radius: 10px;
  }

  .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    width: 60%;
  }

  .carousel-caption h1 {
    font-size: 1.5em;
  }

  .carousel-caption h3 {
    font-size: 1.2em;
  }

  .learn-more-button {
    display: inline-flex;
    align-items: center;
    background-color: #ffb700;
    color: #002960;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border-radius: 30px;
  }

  .learn-more-button i {
    margin-left: 8px;
  }

  .learn-more-button:hover {
    background-color: #ff9a00;
  }

  .carousel-button {
    font-size: 24px;
    padding: 8px;
  }

  .carousel-button.prev {
    left: 40px;
  }

  .carousel-button.next {
    right: 30px;
  }
}
