@media (max-width: 59em) {
  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 1001;
  }

  .main-nav {
    background-color: black;
    /* background-color: rgba(255, 255, 255, 0.9); */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    transform: translateX(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    /* Hide navigation */
    /* Allows NO transitions at all */
    /* display: none; */

    /* 1) Hide it visually */
    opacity: 0;

    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3) Hide it from screen readers */
    visibility: hidden;
    z-index: 1000;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
    position: fixed;
    z-index: 1000;
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
    position: fixed;
    right: 2rem;
    top: 2rem;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 2.8rem;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 2rem;
  }
}

/*****Mobile*****/

@media (max-width: 77em) {
  .hero {
    height: 50vh;
    background-attachment: scroll;
  }
  .hero-content {
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  h1 {
    color: white;
    font-family: "Oswald", sans-serif;
    padding-right: 1em;
    font-size: 2.5rem;
  }

  .hero-p {
    font-size: 2rem;
  }

  .hero-btn:link,
  .hero-btn:visited {
    font-size: 1.6rem;
    text-decoration: none;
    background-color: orange;
    display: inline-block;
    padding: 1.2rem 2rem;
    color: white;
    border-radius: 12rem;
    border: none;
    /* transition: all 0.5s ease-in; */
  }

  /*Section About*/

  .section-about {
    padding: 7.6rem 1rem 7.6rem 1rem;
    gap: 3rem;
  }

  .about-text-box {
    gap: 2.5rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.2rem;
  }

  .p-and-img {
    grid-template-columns: 1fr;
  }

  .about-p {
    font-size: 1.6rem;
    text-align: center;
  }

  /*Service Section*/

  .services-section {
    padding: 10rem 0 10rem 0;
    width: 100%;
    position: relative; /* Create stacking context */
    z-index: 1; /* Set z-index for the section */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 7rem;
    border-top: 1px solid white;
  }

  .services-box {
    width: 100%;
    padding: 4rem 1rem 4rem 1rem;
  }

  h4 {
    text-align: center;
  }

  .we-p {
    text-align: center;
  }

  .option-box {
    display: grid;
    justify-items: center;
    gap: 2rem;
  }

  .opt {
    width: 100%;
    gap: 1rem;
    padding: 2rem;
  }

  .option-box span {
    line-height: 1.5;
    font-size: 1.8rem;
  }

  /*Offers box*/

  .offers {
    padding: 0 0 10rem 0;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7rem;
    border-top: 1px solid white;
  }

  .offers-box {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    background-color: black;
    /* padding: 15rem 1rem 15rem 1rem; */
    width: 100%;
  }

  .headings-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  h5 {
    font-size: 2.3rem;
    text-align: center;
  }

  .console-container {
    text-align: center;
  }

  .offers-box p {
    font-size: 1.6rem;
  }

  .headings {
    display: grid;
    gap: 3rem;
    border-right: 1px solid orange;
    width: 100%;
    justify-content: start;
    align-items: center;
  }

  .content p {
    font-size: 1.6rem;
    text-align: center;
  }

  /*Contact Us Section*/

  /* Adjust the overall padding of the contact section */
  .contact-us {
    padding: 5rem 0;
  }

  h6 {
    padding: 0;
    color: rgba(255, 255, 255, 0.827);
    font-size: 2.3rem;
    text-align: center;
  }

  .map {
    height: 300px;
  }

  .contact--us--p {
    padding: 0;
    color: orange;
    font-size: 2.3rem;
    text-align: center;
  }

  /* Adjust the contact details section */
  .contact-details {
    padding: 0 1rem; /* Adjusted padding for smaller screens */
    flex-direction: column; /* Stack the contact details vertically */
    gap: 2rem; /* Reduced gap */
  }

  /* Adjust location icons and text on mobile */
  .loc {
    justify-content: flex-start;
    gap: 1rem; /* Reduce gap between icon and text */
    padding: 0 1rem;
  }

  .location-sign {
    color: white;
    font-size: 2rem;
    background-color: orange;
    border-radius: 50%;
    padding: 1rem;
  }

  /* Ensure contact form container takes full width */
  .contact-form-container {
    width: 100%; /* Ensure form container takes full width */
    padding: 1rem; /* Slightly reduced padding for mobile */
  }

  .form-field {
    gap: 1.5rem; /* Adjusted gap for smaller screens */
  }

  /* Adjust input and textarea size */
  input,
  textarea {
    font-size: 1.6rem; /* Slightly smaller font size for better mobile readability */
  }

  /* Adjust button to be full width */
  .button-form {
    width: 100%; /* Make button take full width on mobile */
    font-size: 1.5rem; /* Optionally adjust button font size */
  }
}

/*Ipad Mini*/

@media (max-width: 75em) {
  /*Section About*/

  .section-about {
    padding: 7.6rem 1rem 7.6rem 1rem;
    gap: 3rem;
  }

  .about-text-box {
    gap: 2.5rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.2rem;
  }

  .p-and-img {
    grid-template-columns: 1fr;
  }

  .about-p {
    font-size: 1.6rem;
    text-align: start;
  }

  /*Service Section*/

  .services-section {
    padding: 1rem 0 10rem 0;
    width: 100%;
    position: relative; /* Create stacking context */
    z-index: 1; /* Set z-index for the section */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 7rem;
    border-top: 1px solid white;
  }

  h4 {
    text-align: center;
  }

  .we-p {
    text-align: center;
  }

  .option-box {
    display: grid;
    justify-items: center;
    gap: 2rem;
    width: 100%;
  }

  .opt {
    width: 100%;
    gap: 1rem;
    padding: 2rem;
  }

  .option-box span {
    line-height: 1.5;
    font-size: 1.8rem;
  }

  /*Offers Section*/
  .headings-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .headings {
    display: grid;
    gap: 3rem;
    border-right: 1px solid orange;
    width: 100%;
    justify-content: start;
    align-items: center;
  }

  .offers {
    padding: 0 0 10rem 0;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7rem;
    border-top: 1px solid white;
  }

  .offers-box {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    background-color: black;
    padding: 5rem 1rem 10rem 1rem;
    width: 100%;
  }

  .offers-box p {
    font-size: 1.6rem;
  }

  .console-container {
    text-align: center;
  }

  h5 {
    font-size: 2.5rem;
    text-align: center;
  }

  .content p {
    font-size: 1.6rem;
    text-align: start;
  }

  /*Contact Us Section*/

  /* Adjust the overall padding of the contact section */
  .contact-us {
    padding: 5rem 0;
  }

  h6 {
    padding: 0;
    color: rgba(255, 255, 255, 0.827);
    font-size: 2.3rem;
    text-align: center;
  }

  .map {
    height: 300px;
  }

  .contact--us--p {
    padding: 0;
    color: orange;
    font-size: 2.3rem;
    text-align: center;
  }

  /* Adjust the contact details section */
  .contact-details {
    padding: 0 1rem; /* Adjusted padding for smaller screens */
    flex-direction: column; /* Stack the contact details vertically */
    gap: 2rem; /* Reduced gap */
  }

  /* Adjust location icons and text on mobile */
  .loc {
    justify-content: flex-start;
    gap: 1rem; /* Reduce gap between icon and text */
    padding: 0 1rem;
  }

  .location-sign {
    color: white;
    font-size: 2rem;
    background-color: orange;
    border-radius: 50%;
    padding: 1rem;
  }

  /* Ensure contact form container takes full width */
  .contact-form-container {
    width: 100%; /* Ensure form container takes full width */
    padding: 1rem; /* Slightly reduced padding for mobile */
  }

  .form-field {
    gap: 1.5rem; /* Adjusted gap for smaller screens */
  }

  /* Adjust input and textarea size */
  input,
  textarea {
    font-size: 1.6rem; /* Slightly smaller font size for better mobile readability */
  }

  /* Adjust button to be full width */
  .button-form {
    width: 100%; /* Make button take full width on mobile */
    font-size: 1.5rem; /* Optionally adjust button font size */
  }
}
