/* 84em = 84 × 16 = 1344px */
/*SMALL LAPTOPS*/
@media (max-width: 84em) {
  .hero {
    max-width: 120rem;
  }
  .hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
  }
  .heading-primary {
    font-size: 4.4rem;
  }
  .general-img,
  .bg-video__content {
    max-width: 100%;
  }
  .hero-description {
    align-self: center;
    text-align: center;
    max-width: 80%;
    font-size: 2rem;
    padding-left: 10%;
  }
  .hero-text,
  .hero-img {
    text-align: center;
    font-size: 2rem;
  }
  li.nav-item.px-4 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

/*LANDSCAPE TABLETS */
/* 75em = 75 × 16 = 1200px */
@media (max-width: 75em) {
  li.nav-item.px-3 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  .no-flexbox-gap .main-nav-list li:not(:last-child) {
    margin-right: 3.2rem;
  }
  html {
    font-size: 56.25%;
  }
  .heading-secondary {
    font-size: 3.6rem;
  }
  .heading-tertiary {
    font-size: 2.4rem;
  }
  .header {
    padding: 0 3.2rem;
  }
  .general-img,
  .bg-video__content {
    max-width: 100%;
  }
  .hero-text,
  .hero-img {
    text-align: center;
    font-size: 2rem;
  }
  li.nav-item.px-4 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  .footer-logo-img {
    height: 185px;
    width: 135px;
  }
}

/*TABLETS*/
/* 65em = 65 × 16 = 1040px */
@media (max-width: 65em) {
  .cta {
    grid-template-columns: 1fr; /*Ensure this is correct */
  }
  .cta-img-box {
    height: 32rem;
    grid-row: 1;
  }
  .cta-text-box {
    padding: 3.2rem;
  }
  .cta-form {
    display: flex;
    flex-direction: column;
  }
  li.nav-item.px-4 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  .footer-logo-img {
    height: 175px;
    width: 125px;
  }
  .btn-form {
    margin-top: 1.2rem;
  }
  .general-img,
  .bg-video__content {
    max-width: 90%;
  }
  .hero-description {
    max-width: 80%;
    font-size: 1rem;
  }
  .hero-text,
  .hero-img {
    text-align: center;
    font-size: 2rem;
  }
}
/* 60em = 60 × 16 = 960px */
@media (max-width: 60em) {
  .footer-logo-img {
    height: 150px;
    width: 100px;
  }
  .btn-end:link,
  .btn-end:visited,
  .general-img {
    margin-bottom: 2rem;
  }
}

/* 59em = 59 × 16 = 944px */
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }
  .hero-section {
    height: 80vh;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 0.8rem;
    gap: 6.4rem;
  }
  .logo-section {
    display: flex;
    justify-content: center;
    align-items: center; /* Optional: if you want to center it vertically too */
    width: 100%;
    padding: 0; /* Ensure no padding */
    margin: 0; /* Ensure no margin */
  }
  .hero-text,
  .hero-img {
    text-align: center;
    font-size: 2rem;
  }
  .general-img,
  .freestyle-img,
  .bg-video__content {
    max-width: 80%;
    padding-left: 4rem;
    padding-bottom: 4rem;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .cta-img-box {
    height: 32rem;
    grid-row: 1;
  }
  .cta-text-box {
    padding: 3.2rem;
  }
  .cta-form {
    display: flex;
    flex-direction: column;
  }
  li.nav-item.px-4 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  .btn-form {
    margin-top: 1.2rem;
  }
  .hero-description {
    max-width: 80%;
    font-size: 1rem;
  }
  .hero-text,
  .hero-img {
    text-align: center;
    font-size: 2rem;
  }
  .footer-logo-img {
    height: 26rem;
    width: 18rem;
  }
  li.nav-item.px-3 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  .no-flexbox-gap .main-nav-list li:not(:last-child) {
    margin-right: 0;
    margin-bottom: 4.8rem;
  }
}
/*PHONES */
/* 34em = 34 × 16 = 544px */
@media (max-width: 34em) {
  .grid {
    grid-template-columns: 1fr;
    row-gap: 4.8rem;
  }
  .logo-section {
    display: flex;
    justify-content: center;
    align-items: center; /* Optional: if you want to center it vertically too */
    width: 100%;
  }
  .hero {
    padding: 0 3.4rem;
  }
  .hero-section {
    padding: 2.4rem 0.6rem 0;
  }
  .btn,
  .btn:link,
  .btn:visited {
    padding: 2.4rem 1.6rem;
  }
  .hero-img {
    width: 80%;
  }
  .logo img {
    height: 1.2rem;
  }

  .carousel-caption h2 {
    font-size: 12px;
    font-weight: 200;
  }
  .section-pricing {
    padding: 6rem;
  }
  .circus-img {
    display: none;
  }
  .footer-logo {
    padding: 3rem;
  }
  .footer-logo-img {
    height: 150px;
    width: 100px;
  }
  .general-img,
  .bg-video__content {
    border-radius: 9px;
    max-width: 70%;
  }
  .main-nav-list {
    align-items: flex-start;
  }
  li.nav-item.px-3 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  .hero-description {
    text-align: center;
    max-width: 80%;
    font-size: 1rem;
  }
  .hero-text,
  .hero-img {
    position: center;
    text-align: center;
  }
  .heading-primary {
    text-align: center;
    font-size: 3rem;
  }
  /* for nav bar  */
  li.nav-item.px-4 {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
  .dropdown-menu {
    min-width: 120px;
  }
}
/*FIXING SAFARI FLEXBOX GAP */
.no-flexbox-gap .main-nav-list li:not(:last-child) {
  margin-right: 4.8rem;
}

.no-flexbox-gap .list-item:not(:last-child) {
  margin-bottom: 1.6rem;
}

.no-flexbox-gap .footer-row div:not(:last-child) {
  margin-right: 6.4rem;
}

.no-flexbox-gap .social-links li:not(:last-child) {
  margin-right: 2.4rem;
}

.no-flexbox-gap .footer-nav li:not(:last-child) {
  margin-bottom: 2.4rem;
}
