.landing-container {
  width: 100vw;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10vh;
  background-color: var(--color-grey-500);
}
.landing {
  width: 1200px;
  height: 90vh;
  margin: 10vh auto 0 auto;
  display: flex;
}
.left-part, .right-part {
  width: 50vw;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.left-part {
  flex-direction: column;
  text-align: center;
  background-color: var(--color-grey-500);
}
.left-part h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--color-orange-500);
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  animation: anim 0.8s;
}
.left-part h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-blue-300);
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
  animation: anim 1.5s 0.5s backwards; 
}
.left-part p {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-black-400);
  margin-bottom: 5rem;
  animation: anim 1.5s 1s backwards; 
  padding: 0 4rem;
}
.left-part .cta-button,
.bottom-right .cta-button,
.text-box .cta-anim-button {
  padding: 1.6rem 3.6rem;
  background-color: var(--color-blue-500);
  color: var(--color-orange-500);
  border: none;
  border-radius: 5rem;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
  font-size: 2rem;

}
.left-part .cta-button,
.bottom-right .cta-button {
  animation: anim 1.5s 1.5s backwards; 
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.bottom-right .cta-button {
  background-color: var(--color-orange-500);
  color: var(--color-grey-500);
}
.text-box .cta-anim-button {
  margin-top: 4rem;
}
.left-part .cta-button:hover {
  background-color: var(--color-blue-700);
  transform: translateY(-3px);
}
.bottom-right .cta-button:hover {
  background-color: var(--color-orange-700);
  transform: translateY(-3px);
}
.left-part .icon-text {
  position: absolute;
  right: 1%;
  bottom: 25%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  color: var(--color-orange-500);
  animation: anim 1.5s 1.8s backwards; 
}
.right-part {
  background-color: var(--color-grey-500);
}
.right-part img {
  max-width: 100%;
  height: auto;
}
#canvas {
  width: 600px;
  height: 400px;
  aspect-ratio: 3/2;
}
  .bottom-part {
    width: 100vw;
    height: 30vh;
    display: flex;
  }
  .bottom-left {
    width: 70vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-grey-500);
  }
  .bottom-left h1 {
    font-size: 2rem;
    color: var(--color-orange-400);
    font-family: "Poppins", serif;
    font-weight: 900;
    font-style: italic;
    animation: anim 2s 2s backwards;
  }
  .bottom-right {
    width: 30vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-grey-500);
  }
  .bottom-right .icon-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    color: var(--color-blue-400);
    animation: anim 1.5s 1.8s backwards;
    margin-bottom: 2rem;
  }
  @keyframes anim {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
  }
/* FEATURES CONTAINER */
.feature-container {
  display: flex;
  height: 50vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
  background-color: var(--color-black-500);
}
.feature {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.5s ease-in-out;
}
.feature img {
  width: 150px;
  margin-bottom: 25px;
  height: 150px;
  object-fit: cover;
}
.feature h3 {
  margin: 10px 0;
  color: var(--color-orange-500);
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
  font-size: 2rem;
  text-align: center;
  min-height: 40px;
}
.feature p {
  margin: 0;
  color: var(--color-black-200);
  padding: 1rem 8rem;
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.8rem;
  min-height: 60px;
  margin: 0; 
  text-align: center; 
  line-height: 1.4; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
/* TEXT TO SPEECH */
.text-to-speech {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50vh;
  background-color: var(--color-grey-500);
  margin-bottom: 10rem;
}
.custom-text {
  display: flex;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.custom-text img {
  height: 400px;
  width: auto;
  object-fit: cover;
}
.text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 50vh;
  width: 800px;
  padding: 20px 60px;
  text-align: left;
}
.text-box h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-orange-500);
}
.text-box h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
  color: var(--color-blue-400);
}
.text-box h3 .fa-solid.fa-volume-high {
  color: var(--color-orange-500);
}
.text-box p {
  font-size: 1.8rem;
  color: var(--color-black-400);
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
  padding-top: 1rem;
}
/* GALLERY */
#gallery {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 10rem auto 20rem auto;
  overflow: hidden;
  background-color: var(--color-grey-500);
  border-radius: 10px;
}
.gallery-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
}
.gallery-counter {
  position: absolute;
  top: 0px;
  right: 20px;
  background: var(--color-blue-500);
  color: var(--color-orange-500);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 2rem;
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-blue-500);
  color: var(--color-orange-500);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}
.gallery-arrow:hover {
  background-color: var(--color-blue-700);
}
.gallery-arrow.left {
  left: 10px;
}
.gallery-arrow.right {
  right: 10px;
}
.next-module {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card {
  width: 100%;
  max-width: 600px;
  background: var(--color-grey-500);
  border-radius: 10px;
  overflow: hidden;
}
.card-image {
  width: 60%;
  display: block;
  height: auto;
  margin: auto;
}
.card-title {
  font-size: 2.6rem;
  margin: 15px 20px;
  text-align: left;
  color: var(--color-orange-500);
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.info-row {
  display: flex;
  align-items: center;
  margin: 0 20px 10px;
}
.info-icon {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}
.info-heading {
  font-size: 2rem;
  color: var(--color-blue-400);
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
}
.card-description {
  margin: 10px 20px 20px;
  font-size: 1.6rem;
  color: var(--color-black-500);
  text-align: left;
}
.next-module-button {
  padding: 1.6rem 2rem;
  margin: 4rem 0;
  background-color: var(--color-blue-500);
  color: var(--color-orange-500);
  border: none;
  border-radius: 5rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
  font-size: 2rem;
}
.next-module-button:hover {
  background-color: var(--color-blue-700);
  transform: translateY(-3px);
}
.next-module-button:active {
  transform: translateY(1px);
}
/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.modal-content {
  background: var(--color-black-500);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 500px;
}
.modal-content h2 {
  color: var(--color-orange-500);
  margin: 2rem 0;
}
.modal-content p {
  color: var(--color-black-200);
  margin: 1rem 0;
  font-style: italic;
}

.fa-solid.fa-volume-high,
.fa-solid.fa-triangle-exclamation {
  color: var(--color-grey-500);
  font-size: 2rem;
}
.volume {
  color: var(--color-grey-500);
}
.close-btn {
  background: var(--color-orange-500);
  color: var(--color-grey-500);
  border: none;
  padding: 10px 20px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 14px;
  font-size: 2rem;
}
.close-btn:hover {
  background: var(--color-orange-300);
  color: var(--color-black-500);
}
/* Show modal */
.modal.show {
  opacity: 1;
  visibility: visible;
}
/* Responsive */
@media (max-width: 1250px) {
  .landing-container {
    margin-top: 0;
  }
.landing {
    flex-direction: column;
    width: 100vw;
    height: auto;
  }
  .right-part {
    width: 100vw;
    height: 45vh;
    order: -1;
  }
  #canvas {
    width: auto;
    height: 30vh;
    aspect-ratio: 3/2;
    order: -1;
  }
  .left-part {
    width: 100vw;
    height: 45vh;
    order: 0;
  }
  .left-part .icon-text {
    right: 20%;
    bottom: 20%;
  }
  .bottom-part {
      display: none; 
  }
  .feature-container {
    margin-top: 20rem;
  }
  .feature {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .feature h3 {
    padding: 0 3rem;
  }
  .feature p {
    padding: 1rem 16rem;
  }
  .text-to-speech {
    flex-direction: column;
    height: auto;
  }
  .custom-text img {
    height: 320px;
    width: auto;
    margin: 0 auto;
  }
  .text-box {
    width: 100%;
    height: auto;
    text-align: center;
    align-items: center;
    padding: 20px 120px;
  }
  .text-box h2, .text-box h3, .text-box p {
    text-align: center;
  }
  .next-module {
    max-width: 400px;
  }
}
@media (max-width: 1100px) {
  .left-part .icon-text {
      right: 10%;
      bottom: 25%;
    }
}
@media (max-width: 768px) {
  .feature p {
    padding: 1rem 8rem;
  }
  .gallery-arrow {
    width: 40px;
    height: 40px;
  }
  .gallery-counter {
    font-size: 2rem;
  }
  .card-title {
    font-size: 2.6rem;
  }
  .info-heading {
    font-size: 2rem;
  }
  .card-description {
    font-size: 2rem;
  }  
}
@media (max-width: 500px) {
  .left-part .icon-text {
      display: none;
    }
    .left-part h1,
    .left-part h2 {
      padding: 0 2rem;
    } 
    .left-part h1 {
      font-size: 2.6rem;
    }
    .left-part h2 {
      font-size: 2rem;
    }
    .feature p {
      padding: 1rem 6rem;
    }
    .text-box {
      padding: 20px 40px;
    }
    .next-module {
      max-width: 360px;
    }
  }
  @media (max-width: 400px) {
    .feature-container {
      height: 70vh;
    }
    .text-box {
      padding: 20px;
    }
    .next-module {
      max-width: 280px;
    }
  }