/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #hero {
    font-size: inherit;
    padding-bottom: 10.625em;
    padding-top: 9.375em;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  #hero:before {
    content: '';
    position: absolute;
    display: block;
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -10;
  }
  #hero .carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    z-index: -11;
  }
  #hero .carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    /* Smooth sliding effect */
  }
  #hero .carousel .carousel-slide picture {
    width: 100%;
    height: 100%;
    display: block;
  }
  #hero .carousel .carousel-slide picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the entire area */
    object-position: 60% 50%;
    /* Center the image */
  }
  #hero .carousel .new-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    /* Smooth sliding effect */
  }
  #hero .hero-content {
    width: 96%;
    max-width: 71.5em;
    margin: auto;
    position: relative;
    z-index: 10;
    text-align: center;
  }
  #hero .hero-content .heroText {
    width: 100%;
    margin: auto;
  }
  #hero .hero-content .heroText h1 {
    font-weight: bold;
    font-size: min(10vw, 4em);
    color: white;
    margin-bottom: 20px;
    font-style: italic;
  }
  #hero .hero-content .heroText p {
    line-height: 1.55em;
    color: #fff;
    opacity: 1;
    margin-bottom: 1em;
  }
  #hero .carousel-navigation {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
  }
  #hero .carousel-navigation .carousel-dots {
    display: flex;
    gap: 10px;
  }
  #hero .carousel-navigation .carousel-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  #hero .carousel-navigation .carousel-dots .dot.active {
    background: #fff;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #hero {
    padding-top: 12.5em;
    padding-bottom: 18.75em;
  }
  #hero .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  #hero .hero-content .heroText {
    max-width: 37.5em;
    margin: 0;
  }
  #hero .hero-content .heroText h1 {
    font-size: min(10vw, 3.5em);
  }
  #hero .hero-content .heroText p {
    font-size: 1em;
  }
  #hero .carousel .carousel-slide picture img {
    object-fit: cover;
  }
  #hero .carousel .new-slide picture img {
    object-fit: cover;
  }
  #hero .carousel-navigation .carousel-dots .dot {
    width: 12px;
    height: 12px;
  }
  #hero .carousel-navigation .carousel-dots .dot.active {
    background: #fff;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #hero {
    padding-top: 17.0625em;
    padding-bottom: 26.6875em;
  }
  #hero .hero-content {
    max-width: 90em;
    padding: 0 2.5em;
  }
  #hero .hero-content .heroText {
    transform: translateY(17.5em);
    max-width: 50em;
  }
  #hero .hero-content .heroText h1 {
    font-size: min(9vw, 4em);
  }
  #hero .hero-content .heroText p {
    font-size: 1.125em;
  }
  #hero .carousel .carousel-slide picture img {
    object-fit: cover;
  }
  #hero .carousel .new-slide picture img {
    object-fit: cover;
  }
  #hero .carousel-navigation .carousel-dots .dot {
    width: 14px;
    height: 14px;
  }
  #hero .carousel-navigation .carousel-dots .dot.active {
    background: #fff;
  }
}
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  .services {
    margin: auto;
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 100%;
    background-color: var(--secondary);
    padding: 3.125em 1.25em;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
  }
  .services .card {
    display: block;
    width: 100%;
    max-width: 28.5625em;
    margin: auto;
    margin-bottom: 3.125em;
  }
  .services .card:last-of-type {
    margin-bottom: 0;
  }
  .services .card picture {
    background: var(--primary);
    width: 6.75em;
    height: 6.75em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 1.4375em;
    border-radius: 50%;
  }
  .services .card picture img {
    width: 3em;
    height: 4em;
  }
  .services .card h2 {
    text-align: center;
    font-size: 2em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--primaryDark);
    margin-bottom: 0.65em;
  }
  .services .card p {
    text-align: center;
    line-height: 1.33333333em;
    width: 100%;
    opacity: .7;
    color: var(--primaryDark);
  }
}
/* Inbetween */
@media only screen and (min-width: 768px) {
  .services {
    font-size: min(1.8vw, 1em);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 98%;
  }
  .services .card {
    margin: 0;
    max-width: 20.3125em;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  .services {
    padding: 3.125em 5em;
    width: 100%;
  }
  .services .card {
    max-width: 22.3125em;
  }
}
