/* ==============================
   Main Sections
   ============================== */

/* Hero */

.hero-section {
    position: relative;
    overflow: hidden;
    background: url(../../assets/images/hero01.webp) center/cover no-repeat;
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(0, 0, 0, 0.60);
    z-index: 0;
}

.hero-section .hero-text h1 {
    font-family: var(--font-primary);
    font-size: 94px;
    font-weight: bold;
    color: var(--white-primary);
}

.hero-text p {
    padding: 0px 22px;
    font-size: 18px;
    color: var(--white-primary);
    text-align: justify;
}

.hero-word-swap {
    position: relative;
    display: inline-block;
    width: 2.5em;
    height: 0.93em;
}

.hero-word-swap span {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    white-space: nowrap;
    animation: heroWordSwap 9s ease-in-out infinite;
}

.hero-word-swap span:nth-child(2) {
    animation-delay: 3s;
}

.hero-word-swap span:nth-child(3) {
    animation-delay: 6s;
}

.gradient-good {
    color: transparent;
    background: linear-gradient(to right,
            var(--purple-primary-normal) 24%,
            var(--blue-primary-normal) 69%);
    background-clip: text;
}

.gradient-fast {
    color: transparent;
    background: linear-gradient(to right,
            var(--red-gradient) 0%,
            var(--yellow-gradient) 75%);
    background-clip: text;
}

.gradient-easy {
    color: transparent;
    background: linear-gradient(to right,
            var(--green-gradient) 0%,
            var(--cyan-gradient) 75%);
    background-clip: text;
}

@keyframes heroWordSwap {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    6%,
    27% {
        opacity: 1;
        transform: translateY(0);
    }

    33%,
    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-word-swap span {
        animation: none;
    }

    .hero-word-swap span:first-child {
        opacity: 1;
        transform: none;
    }
}

/* About */

.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url(../../assets/images/about03.png);
    background-position: 50% 30%;
    background-repeat: no-repeat;
    background-size: 115%;
}

.about-section h2 {
    font-weight: bolder;
    font-size: 90px;
    margin: 48px 0px 14px 0px;
}

.about-section h3 {
    font-family: var(--font-tertiary);
    font-weight: bold;
    font-size: 32px;
    color: transparent;
    background: linear-gradient(to right,
            var(--blue-primary-normal) 24%,
            var(--purple-primary-normal) 69%);
    background-clip: text;
    margin-bottom: 2rem;
}

.about-section p:not(.large) {
    max-width: 780px;
    font-size: 24px;
    font-weight: 400;
    text-align: justify;
    padding: 0rem 135px 0rem 135px;
}

.about-section .large {
    text-align: center;
    font-size: 64px;
    font-weight: 700;
    margin-top: 120px;
}

/* Video */

.video-section {
    width: 100%;
    height: 560px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.video-section-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.video-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(0, 0, 0, 0.35);
    z-index: 1;
}

.video-section .container-fluid {
    position: relative;
    z-index: 2;
}

.video-section h2 {
    color: var(--white-primary);
    font-size: 128px;
    margin-bottom: 92px;
}

.video-section .btn-orange {
    margin: 0;
    max-width: 480px;
    width: 480px;
    height: auto;
    font-size: 46px;
}

/* Differentiators */

.differentiatior-section {
    background-color: var(--background-primary);
    border-radius: var(--radius-sm);
    margin-top: 8rem;
}

.differentiatior-section .title h2 {
    font-weight: bolder;
    font-size: 128px;
}

.title span {
    color: transparent;
    background: linear-gradient(to bottom,
            var(--purple-gradient) 50%,
            var(--blue-primary-normal) 100%);
    background-clip: text;
    opacity: 58%;
}

.differentiatior-section .carousel .carousel-item {
    padding-top: 45px;
    padding-left: 45px;
}

.differentiatior-section .carousel .card {
    position: relative;
    background: transparent;
    border-radius: var(--radius-xl);
    border: 2px solid var(--black-primary);
    color: var(--black-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 360px;
    margin: 1rem auto;
    padding: 34px;
    transition: background-color 0.3s ease-in, color 0.3s ease-in;
}

.differentiatior-section .carousel .card:hover {
    background-color: var(--black-primary);
    color: var(--white-primary);
}

.differentiatior-section .carousel .card:hover h3,
.differentiatior-section .carousel .card:hover p {
    color: var(--white-primary);
}

.card h3 {
    font-size: 48px;
    font-weight: bold;
}

.card p {
    font-size: 22px;
    font-weight: 500;
    text-align: justify;
}

.card-icon img {
    height: 130px;
    width: 130px;
    position: absolute;
    right: 85%;
    top: -15%;
    z-index: 2;
}

/* Services */

.services-section h2 {
    font-size: 64px;
    font-weight: 400;
}

.services-section .services-options {
    margin-top: 68px;
    width: 100%;
}

.services-options .service-option {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 338px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.services-options .renewals {
    background-image: url(../../assets/images/renewals.png);
}

.services-options .portfolio {
    background-image: url(../../assets/images/portfolio.png);
    background-position: top;
}

.services-options .watch {
    background-image: url(../../assets/images/enforcement.png);
}


.services-options .service-option::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(0, 0, 0, 0.15);
    transition: background-color 0.25s ease;
}

.services-options .service-option:hover::before,
.services-options .service-option:focus-within::before {
    background-color: rgb(0, 0, 0, 0.9);
}

.services-options .service-option h3 {
    position: relative;
    z-index: 1;
    color: var(--white-primary);
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    text-shadow: var(--text-shadow);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.services-options .service-option:hover h3,
.services-options .service-option:focus-within h3 {
    opacity: 0;
    visibility: hidden;
}

.services-options .service-actions {
    position: absolute;
    z-index: 1;
    width: min(720px, 90%);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.services-options .service-option:hover .service-actions,
.services-options .service-option:focus-within .service-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.services-section .trouble {
    margin: 88px auto;
}


.services-section .trouble p {
    margin-bottom: 0;
    color: var(--black-primary);
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 58px;
    font-weight: 500;
}

.services-section .trouble strong {
    font-style: normal;
}

.services-section .trouble .btn-trouble {
    margin: 24px auto;
    background-color: var(--gray-primary);
    font-family: var(--font-fourth);
    font-weight: bolder;
    font-size: 22px;
    padding: 12px;
    color: var(--black-primary);
    border-radius: 0;
    box-shadow: var(--box-shadow-btn);
}

#icon-trouble {
    transform-origin: center;
    max-width: 80%;
}

.icon-animation {
    animation: troubleSpin 5s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}

@keyframes troubleSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    10% {
        transform: rotate(540deg) scale(1.08);
    }

    75% {
        transform: rotate(3420deg) scale(1.08);
    }

    100% {
        transform: rotate(3600deg) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .icon-animation {
        animation: none;
    }
}


/* FAQ */

.faq-section .faq-title {
    position: relative;
}

.faq-section .faq-title h2 {
    font-size: 64px;
    font-weight: bolder;
}

.faq-section .faq-title p {
    font-size: 24px;
    text-align: justify;
}

.faq-section .faq-icon {
    width: 214px;
    height: 214px;
    position: absolute;
    top: -10%;
}

.faq-section .faq-questions {
    margin-top: 4rem;
    padding: 0 12px 0 0;
}

.faq-questions .accordion .accordion-item {
    border: none;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-questions .accordion-item:not(:last-child) {
    margin-bottom: 24px;
}

.faq-questions .accordion-button {
    background-color: var(--background-primary);
    color: var(--black-primary);
    font-family: var(--font-tertiary);
    font-weight: bold;
    font-size: 20px;
    transition: background-color 0.3s ease-in;
}

.faq-questions .accordion-button:hover {
    background-color: var(--background-secondary);
}

.faq-questions .accordion-button:not(.collapsed) {
    background-color: var(--blue-primary-normal);
    color: var(--white-primary);
    box-shadow: none;
}

.faq-questions .accordion-body {
    background-color: var(--blue-primary-normal);
    color: var(--white-primary);
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
}

.faq-questions .accordion-body p {
    font-size: 18px;
}

/* Contact Us */

.contact-section div:first-child {
    position: relative;
}

.contact-section h2 {
    font-size: 88px;
    font-weight: bolder;
    color: transparent;
    background: linear-gradient(to right,
            var(--blue-primary-normal) 0%,
            var(--purple-primary-normal) 100%);
    background-clip: text;
}

.contact-section p {
    font-size: 18px;
    font-weight: 400;
}

.contact-section .img-desktop {
    margin-top: 244px;
}

.contact-section .img-mobile {
    display: none;
}

/* ==============================
   Responsive
   ============================== */

@media only screen and (max-width: 1400px) {

    .about-section .large {
        font-size: 48px;
        margin-top: 0px;
    }
}

@media only screen and (max-width: 1200px) {

    .hero-section .hero-text h1 {
        font-size: 78px;
    }

    .about-section::before {
        background-position: 50% 40%;
    }

    .about-section p:not(.large) {
        font-size: 20px;
    }

    .differentiatior-section .carousel .carousel-item {
        padding-left: 50px;
    }

    .differentiatior-section .title h2 {
        font-size: 108px;
    }

    .differentiatior-section .carousel .card {
        max-height: 395px;
        max-width: 555px;
    }

    .card-icon img {
        height: 110px;
        width: 110px;
        right: 86%;
        top: -10%;
    }

    .card h3 {
        font-size: 34px;
    }

    .services-section .trouble p {
        font-size: 48px;
    }

}

@media only screen and (max-width: 993px) {

    .hero-section .hero-text h1 {
        font-size: 59px;
    }

    .hero-text p {
        padding: 0px 22px;
        font-size: 16px;
    }

    .hero-section .hero-text .btn-blue,
    .hero-section .hero-text .btn-orange {
        width: 180px;
    }

    .about-section h2 {
        font-size: 76px;
        margin: 32px 0px 14px 0px;
    }

    .about-section p:not(.large) {
        padding: 0rem 185px 0rem 185px;
        font-size: 18px;
    }

    .about-section .large {
        font-size: 40px;
    }

    .video-section h2 {
        font-size: 98px;
    }

    .video-section .btn-orange {
        font-size: 38px;
        max-width: 420px;
    }

    .differentiatior-section .title h2 {
        font-size: 98px;
        text-align: center;
    }

    .differentiatior-section .carousel .carousel-item {
        padding-top: 25px;
        padding-left: 25px;
    }

    .card h3 {
        font-size: 54px;
    }

    .services-section .trouble p {
        font-size: 40px;
    }

    .faq-section .faq-title {
        padding-left: 2rem;
    }

    .faq-section .faq-icon {
        width: 140px;
        height: 140px;
    }

    .faq-section .faq-title h2 {
        font-size: 54px;
    }

    .faq-questions .accordion-button {
        font-size: 16px;
    }

    .contact-section h2 {
        font-size: 78px;
    }

}

@media only screen and (max-width: 769px) {

    .hero-section .hero-text h1 {
        font-size: 54px;
    }

    .about-section::before {
        background-image: url(../../assets/images/about04.png);
        background-repeat: no-repeat;
        background-position: 100% 60%;
        background-size: 32%;
    }

    .about-section h2 {
        font-size: 68px;
    }

    .about-section p:not(.large) {
        padding: 0px 135px 0px 0px;
        font-size: 16px;
        max-width: 450px;
    }

    .about-section .large {
        font-size: 28px;
    }

    .video-section h2 {
        font-size: 88px;
    }

    .differentiatior-section {
        height: 650px;
    }

    .differentiatior-section .title h2 {
        font-size: 68px;
        text-align: center;
    }

    .differentiatior-section .carousel .card {
        height: 325px;
        max-width: 440px;
        padding: 34px;
    }

    .card-icon img {
        height: 80px;
        width: 80px;
        right: 87%;
    }

    .card h3 {
        font-size: 44px;
    }

    .card p {
        font-size: 18px;
    }

    .services-section h2 {
        font-size: 44px;
    }

    .services-options .service-option h3 {
        font-size: 36px;
    }

    .services-section .trouble p {
        font-size: 28px;
    }

    .services-section .trouble .btn-trouble {
        font-size: 18px;
        padding: 12px;
    }

    .map-section h2 {
        font-size: 32px;
        margin-top: 32px;
    }

    .faq-section .faq-title {
        padding-left: 0rem;
    }

    .faq-section .faq-title h2 {
        font-size: 48px;
    }

    .faq-section .faq-title p {
        font-size: 28px;
    }

    .faq-section .faq-questions {
        margin-top: 24px;
    }

    .contact-section h2 {
        font-size: 58px;
    }

    .contact-section .img-desktop {
        display: none;
        margin-top: 0;
    }

    .contact-section .img-mobile {
        display: block;
        margin-bottom: 24px;
    }

    .contact-section .form .btn-blue {
        width: 220px;
        font-size: 18px;
    }

    .reach img {
        width: 20px;
        height: 20px;
    }

}

@media only screen and (max-width: 576px) {

    .hero-section .hero-text h1 {
        font-size: 46px;
        text-align: start;
    }

    .hero-text p {
        text-align: start;
        padding: 0;
    }

    .hero-section .hero-image img {
        margin: 2rem auto;
    }

    .hero-section .hero-text .btn-blue,
    .hero-section .hero-text .btn-orange {
        width: 140px;
        font-size: 16px;
    }


    .about-section h2 {
        font-size: 40px;
    }

    .about-section h3 {
        font-size: 16px;
    }

    .about-section p:not(.large) {
        padding: 0px 135px 0px 0px;
        font-size: 14px;
        max-width: 380px;
    }

    .about-section .large {
        margin: 0;
        font-size: 16px;
    }

    .video-section {
        height: 360px;
    }

    .video-section h2 {
        font-size: 58px;
        margin-bottom: 52px;
    }

    .video-section .btn-orange {
        font-size: 21px;
        width: 240px;
    }

    .differentiatior-section {
        margin-top: 2rem;
        height: auto;
    }

    .differentiatior-section .title h2 {
        font-size: 46px;
        text-align: center;
    }

    .differentiatior-section .carousel .card {
        height: 280px;
        max-width: 350px;
        margin: 1rem auto;
    }

    .card h3 {
        font-size: 30px;
    }

    .card-icon img {
        height: 75px;
        width: 75px;
        left: -8%;
        top: -10%;
    }

    .services-section h2 {
        margin: 32px auto;
        font-size: 34px;
    }

    .services-section .services-options {
        margin: 0px auto;
    }

    .services-options .service-option {
        height: 160px;
    }

    .services-options .service-option h3 {
        font-size: 32px;
    }

    .services-section .trouble p {
        font-size: 21px;
    }

    .services-section .trouble .btn-trouble {
        font-size: 16px;
    }

    #icon-trouble {
        max-width: 100%;
    }

    #map {
        width: 100%;
        height: 420px;
    }

    .mapboxgl-popup {
        width: min(300px, calc(100vw - 28px));
    }

    .ip-map-popup .mapboxgl-popup-content {
        border-radius: 24px;
    }

    .map-popup-title {
        font-size: 28px;
        padding: 20px 20px 22px;
    }

    .map-popup-image {
        min-height: 120px;
        padding: 20px;
    }

    .map-popup-location {
        font-size: 24px;
    }

    .faq-section .faq-title h2 {
        font-size: 32px;
    }

    .faq-section .faq-title p {
        font-size: 24px;
    }

    .faq-section .faq-icon {
        top: 0%;
        width: 120px;
        height: 120px;
    }

    .faq-questions .accordion-button {
        font-size: 18px;
    }

    .contact-section h2 {
        font-size: 39px;
    }

    .contact-section p {
        font-size: 16px;
    }

    .contact-section img {
        margin: 44px auto;
    }

}

@media only screen and (max-width: 430px) {

    .hero-section {
        padding: var(--section-padding-sm);
        border-bottom-left-radius: var(--radius-sm-mobile);
        border-bottom-right-radius: var(--radius-sm-mobile);
    }

    .hero-section .hero-text {
        text-align: center;
    }

    .hero-section .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .about-section::before {
        background-size: 45%;
        background-position: 115% 60%;
    }

    .about-section h2 {
        font-size: 46px;
        margin: 22px 0px 8px 0px;
    }

    .video-section {
        height: 260px;
    }

    .video-section h2 {
        font-size: 52px;
    }

    .differentiatior-section {
        border-radius: var(--radius-sm-mobile);
    }

    .differentiatior-section .carousel .card {
        height: 250px;
        padding: 24px;
        justify-content: center;
    }

    .card h3 {
        font-size: 24px;
    }

    .card p {
        font-size: 16px;
    }

    .card-icon img {
        height: 85px;
        width: 85px;
        left: -8%;
    }

    .services-options .service-option h3 {
        font-size: 24px;
    }

    .services-section .trouble p {
        font-size: 15px;
    }

    .services-section .trouble .btn-trouble {
        font-size: 13px;
        padding: 8px;
        margin: 0;
    }

    .faq-section .faq-title h2 {
        font-size: 28px;
    }

    .faq-section .faq-title p {
        font-size: 18px;
    }

    .faq-questions .accordion-button {
        font-size: 17px;
    }

    .accordion-body li,
    .accordion-body p {
        font-size: 16px;
    }

    .faq-section .faq-icon {
        top: 0%;
        width: 100px;
        height: 100px;
    }

    .contact-section {
        padding-bottom: 0px;
    }

    .contact-section h2 {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .contact-section p {
        font-size: 14px;
    }

    .contact-section .custodian-logo {
        height: 85px;
        left: -2%;
    }

}

@media only screen and (max-width: 390px) {

    .hero-section .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-section .hero-text .btn-blue,
    .hero-section .hero-text .btn-orange {
        width: 130px;
    }

    .about-section::before {
        background-size: 55%;
        background-position: 130% 60%;
    }

    .about-section h2 {
        font-size: 38px;
    }

    .about-section p:not(.large) {
        font-size: 12px;
    }

    .video-section h2 {
        font-size: 42px;
    }

    .video-section .btn-orange {
        font-size: 20px;
        width: 230px;
    }

    .differentiatior-section .title h2 {
        font-size: 43px;
    }

    .card-icon img {
        height: 75px;
        width: 75px;
        left: -7%;
        top: -15%;
    }

    .card h3 {
        font-size: 28px;
    }

    .card p {
        font-size: 16px;
    }

    .services-section h2 {
        font-size: 26px;
    }

    .services-options .service-option {
        height: 140px;
    }

    .faq-section .faq-title h2 {
        font-size: 22px;
    }

    .faq-section .faq-title p {
        font-size: 16px;
    }

    .faq-section .faq-icon {
        width: 80px;
        height: 80px;
    }

    .faq-questions .accordion-button {
        font-size: 14px;
    }

    .accordion-body li,
    .accordion-body p {
        font-size: 14px;
    }

    .contact-section h2 {
        font-size: 26px;
    }

    .contact-section p {
        font-size: 12px;
    }

}

@media only screen and (max-width: 340px) {

    .differentiatior-section .carousel .card {
        height: 220px;
        padding: 10px;
        justify-content: center;
        border-radius: var(--radius-md-mobile);
    }

    .card-icon img {
        height: 70px;
        width: 70px;
        left: -9%;
    }

    .card h3 {
        font-size: 24px;
    }

    .card p {
        font-size: 14px;
    }

    .services-section .trouble p {
        font-size: 12px;
    }
}