@media (max-width: 888px) {
  .left_screen,
  .right_screen {
    height: 200%;
    width: 180%;
    bottom: -500px;
  }
}

@media (max-width: 768px) {
  .left_screen,
  .right_screen {
    height: 100%;
    bottom: -0px;
  }
}

@media (max-width: 480px) {
  .loader_wrapper {
    justify-content: center;
    align-items: center;
  }

  .left_screen,
  .right_screen {
    height: 100%;
    width: 50%;
    bottom: -0px;
  }
}

@media (max-width: 991.98px) {
  nav img {
    width: 90px;
    position: absolute;
    top: 20px;
    left: 6%;
  }
  nav {
    height: 100px;
    width: 100%;
    position: fixed;
    top: -10px;

    background-color: rgb(255, 255, 255);
    z-index: 5;
  }
  label #btn {
    display: block;
  }
  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
    background-color: white;
  }
  nav ul li {
    display: block;
    margin: 20px 0;
    line-height: 30px;
  }
  nav ul li a {
    font-size: 20px;
  }
  #check:checked ~ ul {
    left: 0;
  }
  #check:checked ~ label #btn {
    display: none;
    cursor: pointer;
  }
  #check:checked ~ label #cancel {
    display: block;
    cursor: pointer;
  }

  .im_bazil h2 {
    margin-top: 200px;
  }

  .main {
    padding-top: 0px;
  }
  .main h1.text2 {
    font-size: 150px;
  }
  @keyframes mymove1 {
    from {
      right: 0;
    }
    to {
      right: 12%;
    }
  }

  .main h1.text1 {
    font-size: 150px;
  }
}

@media (max-width: 768px) {
  .title_here {
    font-size: 2.5em;
  }

  .first_p {
    font-size: 0.7em;
  }

  .bt-number1 .bt1 {
    width: 220px;
    font-size: 14px;
  }

  .main_ad img {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .title_here {
    font-size: 1.8em;
  }

  .first_p {
    font-size: 0.6em;
    letter-spacing: 5px;
  }

  .bt-number1 .bt1 {
    width: 200px;
    font-size: 13px;
  }

  .main_ad img {
    width: 100px;
  }
}

@media (max-width: 1024px) {
  .box_card1,
  .box_card7 {
    height: 250px;
    width: 400px;
  }

  .box_card2,
  .box_card3,
  .box_card4,
  .box_card5,
  .box_card6 {
    height: 250px;
    width: 180px;
  }
}

@media (max-width: 768px) {
  .slider_card {
    gap: 15px;
    margin-top: 50px;
  }

  .box_card1,
  .box_card7 {
    height: 220px;
    width: 350px;
  }

  .box_card2,
  .box_card3,
  .box_card4,
  .box_card5,
  .box_card6 {
    height: 220px;
    width: 160px;
  }
}

@media (max-width: 480px) {
  .slider_card {
    gap: 10px;
  }

  .box_card1,
  .box_card7 {
    height: 200px;
    width: 300px;
  }

  .box_card2,
  .box_card3,
  .box_card4,
  .box_card5,
  .box_card6 {
    height: 200px;
    width: 140px;
  }
}
/* --------------------------------------------------- */

@media screen and (max-width: 1200px) {
  .slider_card {
    gap: 20px;
  }

  .slider_card .box_card1,
  .slider_card .box_card7 {
    width: 400px;
  }

  .slider_card .box_card2,
  .slider_card .box_card3,
  .slider_card .box_card4,
  .slider_card .box_card5,
  .slider_card .box_card6 {
    min-width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .slider_card {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .slider_card,
  .next {
    display: none;
  }
}

@media (max-width: 767px) {
  .text_website h1,
  .text_website h2 {
    font-size: 0.9em;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
  }
  .text_website h1 {
    margin-top: 50px;
  }
  .text_website h2 {
    margin-top: 10px;
  }
}

/* For tablets and small desktops */
@media (min-width: 768px) and (max-width: 1024px) {
  .text_website h1,
  .text_website h2 {
    font-size: 2em;
    margin-right: 5rem;
    margin-left: 5rem;
    text-align: center;
  }
  .text_website h1 {
    margin-top: 80px;
  }
  .text_website h2 {
    margin-top: 8px;
  }
}

/* For larger screens (desktops) */
@media (min-width: 1025px) {
  .text_website h1 {
    margin-right: 10rem;
  }
  .text_website h2 {
    margin-left: 11rem;
  }
}

@media (max-width: 767px) {
  .text_p {
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
    font-size: 0.5rem;
    line-height: 1.5;
  }
}

/* For tablets and small desktops */
@media (min-width: 768px) and (max-width: 1024px) {
  .text_p {
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

/* For larger screens (desktops) */
@media (min-width: 1025px) {
  .text_p {
    margin-left: 0rem;
    margin-right: auto;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .text_p {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .text-animation1 h1,
  .text-animation2 h1 {
    font-size: 28px;
    rotate: 3deg;
  }
}

/* For tablets and small desktops */
@media (min-width: 768px) and (max-width: 1024px) {
  .text-animation1 h1,
  .text-animation2 h1 {
    font-size: 45px;
    rotate: 4deg;
  }
}

/* For larger screens (desktops) */
@media (min-width: 1025px) {
  .text-animation1 h1,
  .text-animation2 h1 {
    font-size: 67px;
    rotate: 5deg;
  }
}

@media (max-width: 767px) {
  .container {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }

  .text-content {
    padding-right: 0;
    padding-top: 20px;
    text-align: center;
  }

  .text-content h1 {
    font-size: 28px;
  }

  .text-content p {
    font-size: 16px;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .image-gallery img {
    width: 90%;
    margin: 0 auto;
  }
}

/* For tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    flex-direction: row;
    padding: 15px;
  }

  .text-content {
    padding-right: 0;
    padding-top: 50px;
  }

  .text-content h1 {
    font-size: 30px;
  }

  .text-content p {
    font-size: 18px;
  }

  .image-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .image-gallery img {
    width: 95%;
    margin: 0 auto;
  }
}

/* For larger screens (desktops) */
@media (min-width: 1025px) {
  .container {
    flex-direction: row;
    padding: 20px;
  }

  .text-content {
    padding-right: 80px;
    padding-top: 200px;
  }

  .text-content h1 {
    font-size: 35px;
  }

  .text-content p {
    font-size: 20px;
  }

  .image-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .image-gallery img {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .faq-container {
    max-width: 95%;
    margin: 50px auto;
    padding: 0 10px;
  }

  .faq-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px;
  }

  .faq-text {
    font-size: 18px;
  }

  .faq-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin-top: 10px;
  }
}

/* For tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .faq-container {
    max-width: 90%;
    padding: 0 15px;
  }

  .faq-item {
    padding: 20px 15px;
  }

  .faq-text {
    font-size: 30px;
  }

  .faq-arrow {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
}

/* For larger screens (desktops) */
@media (min-width: 1025px) {
  .faq-container {
    max-width: 80%;
    padding: 0 20px;
  }

  .faq-text {
    font-size: 40px;
  }

  .faq-arrow {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .hero {
    height: 100vh;
    background-position: center;
    background-size: cover;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    gap: 5px;
  }

  .hero-button {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .footer {
    font-size: 0.8rem;
  }
}

/* For tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: 85vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-button {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .footer {
    font-size: 0.85rem;
  }
}

/* For larger screens (desktops) */
@media (min-width: 1025px) {
  .hero {
    height: 90vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-button {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .footer {
    font-size: 0.9rem;
  }
}
