:root {
  --primary-color: #2a9d8f;
  --accent-color: #ffb703;
  --dark-text: #212529;
  --light-text: #f8f9fa;
}
@media (min-width: 320px) and (max-width: 480px) {
  /*BANNER SECTION*/
  header ul li a,
  .contact-banner {
    font-size: 0.7rem;
  }
  .contact-banner {
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 600px;
  }

  /* <!--  INDEX FOR THE PAGE & DESCRIPTION--> */
  .service-header {
    background: linear-gradient(to right, #45cde9, #7a8fd3);
  }
.service-header::after{
background: none;
}
.service-showcase {
    max-width: 100%;
    padding: 4%;
    text-align: center;
  }
.service-showcase h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
  }
.service-showcase a {
    display: block;
    text-decoration: none;
    color: white;
    background: rgb(52, 50, 53);
    padding: .8rem 2.7rem;
    margin-top: 20px;
    border: none;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.services-desc {
    padding: 0px;
}
.main-content {
    flex: 1;
    padding: 20px;
}
.main-content section {
    margin-bottom: 50px;
}

  /* FOOTER */
  .footer-box {
    max-width: 300px;
  }
}
/* 481px - 600px: Larger mobile devices (landscape). */
@media (min-width: 481px) and (max-width: 600px) {
  header ul li a,
  .contact-banner {
    font-size: 0.8rem;
  }
  .contact-banner {
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 600px;
  }

  /* <!--  INDEX FOR THE PAGE & DESCRIPTION--> */
  .service-header {
    background: linear-gradient(to right, #45cde9, #7a8fd3);
  }
.service-header::after{
background: none;
}
.service-showcase {
    max-width: 100%;
    padding: 4%;
    text-align: center;
  }
.service-showcase h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
  }
.service-showcase a {
    display: block;
    text-decoration: none;
    color: white;
    background: rgb(52, 50, 53);
    padding: .8rem 2.7rem;
    margin-top: 20px;
    border: none;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.services-desc {
    padding: 0px;
}
.main-content {
    flex: 1;
    padding: 20px;
}
.main-content section {
    margin-bottom: 50px;
}

  /* FOOTER */
  .footer-box {
    max-width: 300px;
  }
}

/* 600px - 768px: Tablets (portrait). */
@media (min-width: 601px) and (max-width: 768px) {
  header ul li a,
  .contact-banner {
    font-size: 0.7rem;
  }
  .contact-banner {
    max-width: 100%;
    margin: auto;
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    max-width: 600px;
  }
  
  /* <!--  INDEX FOR THE PAGE & DESCRIPTION--> */
  .service-header {
    background: linear-gradient(to right, #45cde9, #7a8fd3);
  }
.service-header::after{
background: none;
}
.service-showcase {
    max-width: 100%;
    padding: 18%;
    text-align: center;
  }
.service-showcase h3 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 50px;
  }
.service-showcase a {
    display: block;
    text-decoration: none;
    color: white;
    background: rgb(52, 50, 53);
    padding: .8rem 2rem;
    margin-top: 20px;
    border: none;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.services-desc {
    padding: 0px;
}

.main-content {
    flex: 1;
    padding: 20px;
    margin-top: 30px;
}
.main-content section {
    margin-bottom: 50px;
}

}
/* 768px - 992px: Tablets (landscape) and small laptops. */

@media (min-width: 768px) and (max-width: 992px) {
  header ul li a,
  .contact-banner {
    font-size: 0.9rem;
  }
  .contact-banner {
    max-width: 100%;
    margin: auto;
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 600px;
  }
}

/* ACTIVATE HAMBURGER BUTTON */
@media (max-width: 768px) {
  .nav-bar {
    position: sticky;
    top: 0;
  }
  .nav-links {
    height: 100vh;
    position: absolute;
    top: 80px;
    right: 0;
    flex-direction: column;
    background: #f8f9fa;
    width: 200px;
    display: none;
    transition: transform 0.4s ease;
    padding: 20px;
    z-index: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links ul {
    position: relative;
    top: 0;
  }

  .hamburger {
    display: flex;
  }
}

/*Rotate Animation*/
/* Only animate when fa-xmark appears */
.rotate-in {
  animation: rotatePop 0.5s ease-in-out;
}

/* Rotate + scale animation */
@keyframes rotatePop {
  0% {
    transform: rotate(0deg) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: rotate(180deg) scale(1);
    opacity: 1;
    transition: 0.5s ease;
  }
}

/*SERVICE DESCRIPTIONS INDEX RESPONSIVE*/
@media (max-width: 768px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    top: 84px;
    left: 0;
    width: 250px;
    height: calc(100vh - 84px);
    background-color: #f8f9fa;
    transform: translateX(-100%);
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .dropdown {
    display: block;
  }
}
