/* HOMEPAGE */
.home {
    height: 97vh;
    width: 100%;
    background-color: white;
    position: relative;
    display: flex;
    will-change: auto;
}

.home-welcome-content {
    padding-left: 40px;
    padding-top: 140px;
}

.home-welcome {
    height: 100%;
    width: 53%;
    padding-left: 0px;
    background: radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent) 0% 0% / 200px 200px,
        radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent) 100px 100px / 200px 200px,
        linear-gradient(#e8e8e8 1.5px, transparent 1.5px) 0px -0.75px / 100px 100px,
        linear-gradient(90deg, #e8e8e8 1.5px, #ffffff 1.5px) -0.75px 0px / 100px 100px #ffffff;
    position: relative;
}

.home-animation {
    height: 100%;
    width: 48%;
    background-color: #ded0c0;
    position: relative;
    overflow: hidden;
}

.home-welcome-meet {
    font-size: 50px;
    font-weight: 300;
    font-family: var(--font-default);
    color: black;
    padding: 0px;
    margin: 0px;
}

.home-welcome-name {
    font-size: 50px;
    font-weight: 700;
    color: black;
    margin: 0px;
    padding: 0px;
}

.home-welcome-buttons {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    align-items: center;

}

.home-welcome-buttons>a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s;
}

.home-welcome-buttons>a:nth-of-type(1) {
    background-image: linear-gradient(to right, #5362ff, #3643d8, #3643d8, #5362ff);
    color: white;
    border-radius: 6px;
    background-size: 300% 100%;
    transition: all 0.3s;
}

.home-welcome-buttons>a:nth-of-type(1):hover {
    background-color: var(--darkdeepblue);
    color: white;
    background-position: 100% 0;
    transform: scale(1.015, 1.0);
    border-radius: 6px;
}

.home-welcome-buttons>a:nth-of-type(2) {
    color: black;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.home-welcome-buttons>a:nth-of-type(2) {
    transform: scale(1);
    transition: all 0.3s;
}

.home-welcome-buttons>a:nth-of-type(2):hover {
    transform: scale(1.015) !important;
}

.home-welcome-references {
    display: flex;
    align-items: center;
    gap: 35px;
    opacity: 65%;
    margin-top: 40px;
}

.home-welcome-references>img {
    height: 43px;
    width: auto;
}

.home-welcome-total>div>p {
    padding: 0px;
    margin: 0px;
}

.home-welcome-total {
    display: flex;
    align-items: center;
    gap: 45px;
    margin-top: 40px;
}

.home-welcome-total>div>p:nth-of-type(1) {
    font-weight: 700;
    font-size: 20px;
}

.home-welcome-content>p:nth-of-type(3) {
    font-weight: 300;
}

.home-welcome-statistics {
    background-color: black;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.home-welcome-statistics>div:nth-of-type(1)>p {
    font-size: 16px;
    font-weight: 600;
    color: white;
    padding: 0px;
    margin: 0px;
    margin-bottom: 20px;
}

.home-welcome-statistics>div:nth-of-type(1)>a {
    color: black;
    background-color: var(--yellow);
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s;
    text-decoration: none;
}

.home-welcome-statistics>div:nth-of-type(1)>a:hover {
    color: black;
    transform: scale(1.015, 1.0) !important;
    background-color: var(--darkyellow);
}

.home-welcome-statistics>div:nth-of-type(2)>div {
    display: flex;
    align-items: center;
    gap: 50px;
    border-bottom: solid 1px #554f4d;
    width: 100%;
    justify-content: space-between;
}

.home-welcome-statistics>div:nth-of-type(2)>div>p {
    padding: 0px;
    margin: 0px;
    color: white;
    font-size: 16px;
}

.home-welcome-statistics>div:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 250px;
}

.home-animation-earth-imgs>img:nth-of-type(1) {
    height: 480px;
    will-change: auto;
    width: auto;
    -webkit-animation: spin 20s ease-in-out infinite;
    -moz-animation: spin 20s ease-in-out infinite;
    animation: spin 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 9;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
}

.home-animation-earth-imgs>img:nth-of-type(2) {
    height: 100px;
    right: 2rem;
    will-change: auto;
    top: 2rem;
    position: absolute;
    z-index: 10;
    -webkit-animation: spin 8s ease-in-out infinite;
    -moz-animation: spin 8s ease-in-out infinite;
    animation: spin 8s ease-in-out infinite;
}

.home-animation-earth-imgs>img:nth-of-type(3) {
    height: 150px;
    left: 1rem;
    will-change: auto;
    -webkit-animation: spin 10s ease-in-out infinite;
    -moz-animation: spin 10s ease-in-out infinite;
    animation: spin 10s ease-in-out infinite;
    bottom: 0rem;
    z-index: 10;
    position: absolute;
}

.home-animation-earth {
    margin-top: 100px;
    position: relative;
    height: 100%;
    width: 100%;
}

.home-animation-earth-imgs {
    position: absolute;
    height: 500px;
    width: 500px;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.home-animation-title {
    padding-top: 150px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
}

.home-animation-title>p {
    font-size: 20px;
    padding: 0px;
    margin: 0px;
    text-align: center;
}

.home-animation-title>p:nth-of-type(2) {
    padding: 0px;
    margin: 0px;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1350px) {
    .home {
        height: 820px;
    }
}

@media (max-width: 600px) {
    .home-welcome-content {
        padding-left: 20px;
    }
}

@media (min-width: 952px) {
    .home-welcome-statistics>div:nth-of-type(1)>a {
        display: block !important;
    }
}

@media (max-width: 951px) {
    .home {
        flex-direction: column;
        width: 100%;
        height: unset;
    }

    .home>div {
        width: 100%;
    }

    .home-animation-earth {
        margin: 0px !important;
    }

    .home>div:nth-of-type(1) {
        height: 800px;
    }

    .home>div:nth-of-type(2) {
        height: 700px;
    }

    .home-animation-earth {
        margin: 40px;
    }

    .home-animation-title {
        padding: 50px;
    }
}

@media (max-width: 520px) {
    .home-welcome-content {
        padding-left: 10px;
    }

    .home-animation-earth-imgs>img:nth-of-type(1) {
        height: 430px;
    }

    .home-animation-earth-imgs {
        width: 100%;
    }

    .home-animation-title>p {
        font-size: 16px;
        padding: 0px;
        margin: 0px;
        text-align: center;
    }

    .home-animation-title {
        padding: 10px;
        padding-top: 50px;
    }

    .home-welcome-statistics {
        padding: 20px;
        padding-bottom: 21px;
    }
}

.home-welcome-statistics>div:nth-of-type(1)>a>i {
    display: none;
}

@media (max-width: 500px) {
    .home-welcome {
        height: 940px !important;
    }

    .home-welcome-statistics>div:nth-of-type(1)>a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .home-welcome-statistics>div:nth-of-type(1)>a>i {
        display: block;
        font-size: 20px;
    }

    .home-welcome-statistics>div:nth-of-type(1)>p {
        width: 100%;
        margin: 0px;
    }

    .home-welcome-statistics>div:nth-of-type(1)>a {
        width: 100%;
        display: block;
        margin-top: 20px;
    }

    .home-welcome-statistics>div:nth-of-type(1) {
        width: 100%;
    }

    .home-welcome-statistics {
        flex-direction: column !important;
        gap: 30px;
        width: 100%;
    }

    .home-welcome-statistics>div:nth-of-type(2) {
        width: 100%;
    }

    .home-animation-earth-imgs>img:nth-of-type(1) {
        height: 370px;
    }

    .home-welcome-references>img {
        height: 10vw;
    }
}

@media (max-width: 388px) {
    .home-welcome-name {
        font-size: 40px;
    }
}

@media (min-width: 2000px) {
    .home-welcome-meet {
        font-size: 70px;
        line-height: 60px !important;
    }

    .home-welcome-name {
        font-size: 70px;
    }

    .home-welcome-content>p {
        font-size: 20px;
    }
}

@media (min-width: 1800px) {
    .home {
        height: 1100px !important;
    }
}

.home-welcome-meet {
    rotate: none;
    transform: translate(0px, 0%);
    transform-origin: 0% 0%;
    display: inline-block;
    will-change: auto;
    transition: all 1.2s;
    line-height: 50px;
    overflow: hidden;
}

.home-welcome-name {
    rotate: none;
    transform: translate(0px, 0%);
    transform-origin: 0% 0%;
    display: inline-block;
    will-change: auto;
    transition: all 1.1s;
    line-height: normal;
    overflow: hidden;
}

/* About */
.about {
    background-color: black;
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.about-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 50px;
}

.about-left {
    display: flex;
    align-items: center;
}

.about-right {
    display: block;
    flex-direction: column;
    width: 500px;
}

.about-right>p:nth-of-type(1) {
    font-size: 16px;
    font-family: var(--font-default);
    color: white;
    margin-bottom: 15px;
}

.about-right>p:nth-of-type(2) {
    font-size: 35px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.about-right>p:nth-of-type(3) {
    color: white;
    font-size: 15px;
}

.about-right>div:nth-of-type(1) {
    display: flex;
    gap: 12px;
}

.about-right>div:nth-of-type(1)>a:nth-of-type(1) {
    color: black;
    border: solid 1px white;
    font-size: 15px;
    display: inline-flex;
    text-decoration: none;
    padding: 8px 20px;
    align-items: center;
    background: linear-gradient(75deg, rgba(255, 255, 255, 1) 50%, rgb(222, 222, 222) 100%);
    margin-top: 25px;
    gap: 8px;
    border-radius: 6px;
    transition: all 0.3s;
}

.about-right>div:nth-of-type(1)>a:nth-of-type(2) {
    color: white;
    border: solid 1px white;
    font-size: 15px;
    display: inline-flex;
    text-decoration: none;
    padding: 8px 20px;
    align-items: center;
    margin-top: 25px;
    gap: 8px;
    border-radius: 6px;
    transition: all 0.3s;
}

.about-right>div>a>i {
    font-size: 16px;
}

.about-right>div>a:hover {
    transform: scale(1.015, 1.0);
}

.about-right>div:nth-of-type(2) {
    display: flex;
    align-items: center;
    margin-top: 30px;
    opacity: 60%;
    gap: 30px;
}

.about-right>div>img {
    height: 43px;
    width: auto;
}

.about-left>img {
    height: 600px;
    width: 450px;
    border-radius: 300px;
    object-fit: cover;
}

.about-progress {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-circle>svg {
    transform: rotate(-90deg);
}

.circle-background,
.circle-progress {
    fill: none;
    stroke-width: 6;
    /* Thinner stroke */
    stroke-linecap: round;
}

.circle-background {
    stroke: #222222;
    /* Light grey background circle */
}

.circle-progress {
    stroke: #5362ff;
    /* Updated color: blue */
    transition: stroke-dashoffset 0.4s ease;
}

.percentage {
    position: absolute;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 45px;
    width: 45px;
    font-weight: bold;
    color: #333;
}

.progress-title {
    position: relative;
    text-align: center;
    color: white;
    font-size: 25px;
    font-family: var(--font-default);
}

.progress-subtitle {
    position: relative;
    color: white;
    opacity: 60%;
    text-align: center;
}

.progress-object {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 951px) {
    .about-left {
        order: 2;
    }

    .about-right {
        order: 1;
        width: 100%;
    }

    .about {
        padding-left: 40px;
        padding-right: 40px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-progress {
        flex-wrap: wrap;
    }

    .about-left>img {
        height: 100%;
        width: 90vw;
    }

    .about-right>div {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .about {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-left>img {
        height: 100%;
        width: 95vw;
    }

    .about-right>p:nth-of-type(1) {
        font-size: 20px;
    }

    .about-right>p:nth-of-type(2)>br {
        display: none;
    }
}

@media (max-width: 396px) {
    .about-right>div {
        justify-content: center !important;
    }
}

/* Services */
.services {
    overflow: hidden;
    margin: auto;
    background-color: white;
    height: auto;
    padding: 100px 30px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.services-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.services-title>p,
.services-title>div>p {
    font-size: 4rem;
    line-height: 1;
    color: black;
    font-weight: 700;
    max-width: 500px;
    position: relative;
    text-decoration: none !important;
}

.services-title>div {
    display: flex;
    gap: 20px;
}

.services-title>p {
    text-decoration: none;
}

.services-title>div>p:first-of-type::after {
    background-image: url(/img/blue-underline.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    bottom: -10px;
    content: "";
    display: block;
    height: 25px;
    left: -10px;
    position: absolute;
    right: -10px;
    z-index: 2;
}

.services-description {
    font-size: 18px;
    color: black;
    text-align: center;
    width: 600px;
    margin: auto;
}

.services-content {
    display: flex;
    gap: 30px;
    margin-top: 100px;
}

.services-item-tag {
    color: black;
    width: fit-content;
    padding: 9px 20px 0;
    font-size: 2.8rem;
    top: -40px;
    padding-top: 0px;
    transform: rotate(-4deg);
    font-family: var(--font-default);
    font-weight: 800;
    border-radius: 10px;
    position: absolute;
}

.services-item-description {
    color: black;
    font-size: 17px;
    margin-top: 40px;
}

.services-item {
    background-color: #e1e1e1;
    width: 100%;
    position: relative;
    border-radius: 20px;
    padding: 30px;
}

.services-item>div {
    margin-top: 40px;
}

.services-item>div>li {
    list-style-type: none;
    border-top: 1px dashed #7c7c7c;
}

.services-item>div>li>a {
    color: black;
    display: block;
    font-family: var(--font-default);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    line-height: 0.8;
    padding: 15px 0 0;
    margin-top: 10px;
    margin-bottom: 20px;
    width: fit-content;
    border-bottom: solid 1px transparent;
    position: relative;
    text-decoration-thickness: .5px;
    transition: border 0.3s, color 0.3s;
}

.services-item>div>li>a:hover {
    border-bottom: solid 1px transparent;
    color: var(--deepblue) !important;
}

@media (max-width: 1022px) {
    .services-content {
        flex-direction: column;
        gap: 70px;
    }

    .services-item-description {
        margin-top: 30px;
    }

    .services-item>div {
        margin-top: 30px;
    }

    .services-item-tag {
        font-size: 2.5rem;
    }
}

@media (max-width: 700px) {
    .services-description {
        width: 100%;
    }
}

@media (max-width: 533px) {

    .services-title>p,
    .services-title>div>p {
        font-size: 3.5rem;
    }

    .services-title>div>p:first-of-type::after {
        bottom: -10px;
    }
}

@media (max-width: 460px) {

    .services-title>p,
    .services-title>div>p {
        font-size: 3rem;
    }
}

@media (max-width: 390px) {

    .services-title>p,
    .services-title>div>p {
        font-size: 2.6rem;
    }

    .services-title>div>p:first-of-type::after {
        bottom: -2px;
    }
}

@media (min-width: 1600px) {
    .services {
        width: 1600px;
    }
}

.services-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 50px;
    height: 70px;
}

.services-button>a {
    background-color: transparent;
    color: black;
    font-family: var(--font-default);
    font-weight: 700;
    border: solid 3px var(--darkdeepblue);
    text-decoration: none;
    border-radius: 50px;
    margin: 0;
    font-size: 20px;
    padding: 9px 30px 8px;
    transition: border 0.3s, transform 0.3s;
}

.services-button>a:hover {
    border: solid 4px black;
    transform: scale(0.95);
}

.services-button>a:active {
    border: solid 3px var(--darkdeepblue);
    transform: scale(1);
}

/* Benefits */
.benefits {
    overflow: hidden;
    margin: auto;
    background-color: white;
    height: auto;
    padding: 100px 30px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.benefits-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: auto;
    margin-bottom: 20px;
}

.benefits-title>p {
    font-size: 4rem;
    line-height: 1;
    color: black;
    max-width: 500px;
    font-weight: 700;
    position: relative;
    text-decoration: none !important;
}

.benefits-svg-1,
.benefits-svg-2 {
    width: 80px;
    height: 80px;
    position: absolute;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}

.benefits-svg-1 {
    left: -50px;
    top: 60px;
    transform: rotate(0deg);
}

.benefits-svg-1:hover {
    transform: rotate(30deg);
}

.benefits-svg-2 {
    right: -70px;
    top: 130px;
}

.benefits-svg-2:hover {
    transform: rotate(30deg);
}

.benefits-description {
    font-size: 18px;
    color: black;
    text-align: center;
    width: 600px;
    margin: auto;
}

@media (max-width: 700px) {
    .benefits-description {
        width: 100%;
    }
}

@media (max-width: 533px) {
    .benefits-title>p {
        font-size: 3rem;
    }

    .benefits-svg-1 {
        left: -50px;
        top: 40px;
        transform: scale(0.6);
    }

    .benefits-svg-2 {
        right: -50px;
        top: 30px;
        transform: scale(0.6) !important;
    }
}

@media (max-width: 650px) {

    .works-arrow-1,
    .works-arrow-2,
    .works-arrow-3,
    .works-arrow-4 {
        display: none;
    }

    .works-title>p {
        font-size: 10vw;
    }

}

@media (max-width: 460px) {
    .benefits-title>p {
        font-size: 3rem;
    }
}

@media (max-width: 390px) {
    .benefits-title>p {
        font-size: 2.6rem;
    }
}

.benefits-content {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 70px;
    justify-content: center;
    flex-wrap: wrap;
}

.benefits-item {
    display: flex;
    width: 350px;
    align-items: center;
    flex-direction: column;
    height: 210px;
    padding: 20px 20px !important;
    border-right: 1px dashed #7c7c7c;
}

.benefits-item:last-of-type {
    border: none;
}

.benefits-item>p {
    color: black;
    text-align: center;
}

.benefits-item>p:first-of-type {
    font-family: var(--font-default);
    font-weight: 600;
    font-size: 24px;
    margin-top: 10px;
}

@media (max-width: 1459px) {
    .benefits-item:nth-of-type(3) {
        border-right: none;
    }
}

@media (max-width: 1109px) {
    .benefits-item:nth-of-type(3) {
        border-right: 1px dashed #7c7c7c;
    }

    .benefits-item:nth-of-type(2) {
        border-right: none;
    }

    .benefits-content {
        gap: 50px 0px;
    }
}

@media (max-width: 1090px) {
    .benefits-item {
        height: fit-content;
    }
}

@media (max-width: 768px) {
    .benefits-item:nth-of-type(1) {
        border-right: none;
    }

    .benefits-item:nth-of-type(3) {
        border-right: none;
    }

    .benefits-item {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .benefits-content {
        grid-template-areas:
            "benefits-1"
            "benefits-2"
            "benefits-3"
            "benefits-4";
    }
}

@media (min-width: 1600px) {
    .benefits {
        width: 1600px;
    }
}

/* Works */
.works {
    overflow: hidden;
    margin: auto;
    background-color: white;
    height: auto;
    padding: 200px 20px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (max-width: 500px) {
    .works {
        padding-top: 160px;
    }
}

@media (max-width: 330px) {
    .works {
        padding-top: 110px;
    }
}

.works-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: auto;
    margin-bottom: 20px;
}

.works-title>p {
    font-size: 4rem;
    line-height: 1;
    color: black;
    max-width: 800px;
    font-weight: 700;
    position: relative;
    text-decoration: none !important;
}

.works-description {
    font-size: 18px;
    color: black;
    text-align: center;
    width: 600px;
    margin: auto;
}

@media (max-width: 700px) {
    .works-description {
        width: 100%;
    }
}


@media (max-width: 533px) {
    .works-title>p {
        font-size: 3rem;
    }
}

@media (max-width: 390px) {
    .works-title>p {
        font-size: 2.6rem;
    }
}

.works-svg-1,
.works-svg-2 {
    width: 80px;
    height: 80px;
    position: absolute;
    z-index: 1;
}

.works-item-content {
    position: relative;
}

.works-item-content>p:nth-of-type(1) {
    position: absolute;
    color: white;
    z-index: 3;
    display: flex;
    gap: 6px;
    font-size: 16px !important;
    opacity: 1 !important;
    font-family: var(--font-default) !important;
    left: 20px;
    bottom: 50px;
    background-color: black;
    align-items: center;
    padding: 6px 16px !important;
    border-radius: 40px;
}

.works-item:hover>.works-item-content>p:nth-of-type(1) {
    opacity: 0 !important;
}

.works-svg-1 {
    left: -100px;
    top: 120px;
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

.works-svg-1:hover {
    transform: rotate(30deg);
}

.works-svg-2 {
    right: -70px;
    top: -50px;
    transition: transform 0.25s ease-in-out;
}

.works-svg-2:hover {
    transform: rotate(25deg);
}

@media (max-width: 500px) {
    .works-svg-1 {
        top: 70px;
        left: -40px;
        transform: scale(0.6);
    }

    .works-svg-2 {
        right: -40px;
        top: -40px;
        transform: scale(0.6);
    }
}

.works-arrow-1,
.works-arrow-2,
.works-arrow-3,
.works-arrow-4 {
    position: absolute;
}

.works-arrow-1 {
    left: -60px;
    top: -100px;
}

.works-arrow-2 {
    right: -60px;
    top: -100px;
}

.works-arrow-3 {
    left: -60px;
    bottom: -180px;
}

.works-arrow-4 {
    right: -60px;
    bottom: -180px;
}

@media (max-width: 435px) {

    .works-arrow-1,
    .works-arrow-2,
    .works-arrow-3,
    .works-arrow-4 {
        width: 50px;
        height: 50px;
    }

    .works-arrow-1 {
        left: -30px;
        top: -100px;
    }

    .works-arrow-2 {
        right: -30px;
        top: -100px;
    }

    .works-arrow-3 {
        left: -30px;
        bottom: -180px;
    }

    .works-arrow-4 {
        right: -30px;
        bottom: -180px;
    }
}

@media (max-width: 370px) {
    .works-arrow-1 {
        top: -60px;
    }

    .works-arrow-2 {
        top: -60px;
    }
}

.works-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-top: 150px;
    margin-bottom: 50px;
}

.works-item {
    width: 500px;
    height: 370px;
    background-color: #e1e1e1;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.works-item>div:first-of-type {
    width: 100%;
    height: 100%;
    background-color: black;
    pointer-events: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.works-item>div:first-of-type>p {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: var(--font-default);
    font-size: 40px;
    line-height: normal;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
}

.works-item:hover>div:first-of-type {
    opacity: 1;
}

.works-item:hover>div:first-of-type>div>p {
    opacity: 1;
    transform: translateY(0);
}

.works-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 20px;
    height: 70px;
}

.works-button>a {
    background-color: transparent;
    color: black;
    font-family: var(--font-default);
    font-weight: 700;
    border: solid 3px var(--darkdeepblue);
    text-decoration: none;
    border-radius: 50px;
    margin: 0;
    font-size: 20px;
    padding: 9px 30px 8px;
    transition: border 0.3s, transform 0.3s;
}

.works-button>a:hover {
    border: solid 4px black;
    transform: scale(0.95);
}

.works-button>a:active {
    border: solid 3px var(--darkdeepblue);
    transform: scale(1);
}

@media (max-width: 1322px) {
    .works-item {
        height: 250px;
    }
}

@media (max-width: 1073px) {
    .works-item {
        height: 280px;
        width: 380px;
    }

    .works-content {
        flex-wrap: wrap;
        gap: 50px;
    }
}

@media (max-width: 500px) {
    .works-item {
        height: 270px;
        width: 100%;
    }
}

@media (max-width: 440px) {
    .works-content {
        margin-top: 0;
        padding-top: 100px;
    }
}

@media (max-width: 340px) {
    .works-item {
        height: 200px;
        width: 380px;
    }
}

@media (max-width: 650px) {
    .works-svg-2 {
        right: -20px;
        top: -80px;
    }

    .works-svg-1 {
        left: -30px;
        top: 170px;
    }
}

.works-item.loading {
    background-color: #e1e1e1;
    /* Light gray placeholder color */
    position: relative;
    overflow: hidden;
    /* This is crucial to contain the shimmer animation */
}

/* The shimmer animation effect */
.works-item.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* The keyframe animation that moves the shimmer from left to right */
@keyframes shimmer {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(200%);
        /* Move it twice the width to fully pass over */
    }
}

/* The actual content inside the works-item is hidden by default */
.works-item .works-item-content {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* When the item is loaded, we fade the content in */
.works-item.loaded .works-item-content {
    opacity: 1;
}

/* Make sure the lazy-loaded image fits its container */
.works-item-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    border-radius: 20px;
    /* Match your container's border-radius */
    display: block;
}

/* The hover effect from your original CSS needs to target the loaded content now */
.works-item.loaded .works-item-content>div:first-of-type {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    pointer-events: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.works-item.loaded .works-item-content>div:first-of-type>p {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: var(--font-default);
    font-size: 40px;
    line-height: 44px;
    font-weight: 300;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
}

.works-item.loaded:hover .works-item-content>div:first-of-type {
    opacity: 1;
}

.works-item.loaded:hover .works-item-content>div:first-of-type>p {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews */
.reviews {
    overflow: hidden;
    margin: auto;
    background-color: white;
    height: auto;
    padding: 100px 20px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 120px;
}

.reviews-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: auto;
    margin-bottom: 20px;
}

.reviews-title>p {
    font-size: 4rem;
    line-height: 1;
    color: black;
    max-width: 800px;
    font-weight: 700;
    position: relative;
    text-decoration: none !important;
}

.reviews-title>p>svg {
    height: 80px;
    width: 80px;
    transform: rotate(25deg);
    transition: all 0.25s;
}

.reviews-title>p>svg:hover {
    transform: rotate(50deg);
}

.reviews-description {
    font-size: 18px;
    color: black;
    text-align: center;
    width: 600px;
    margin: auto;
}

@media (max-width: 700px) {
    .reviews-description {
        width: 100%;
    }
}

@media (max-width: 533px) {
    .reviews-title>p {
        font-size: 3.5rem;
    }

    .reviews-title>p>svg {
        height: 60px;
        width: 60px;
    }
}

@media (max-width: 433px) {
    .reviews-title>p {
        font-size: 3rem;
    }

    .reviews-title>p>svg {
        height: 50px;
        width: 50px;
    }
}

@media (max-width: 333px) {
    .reviews-title>p {
        font-size: 2.6rem;
    }

    .reviews-title>p>svg {
        height: 40px;
        width: 40px;
    }
}

.reviews-content {
    margin-top: 100px;
    display: grid;
    grid-template-areas:
        "quote1 quote2 quote3";
    gap: 30px 30px;
}

.reviews-item {
    background-color: #e1e1e1;
    padding: 25px;
    border-radius: 20px;
}

.reviews-quote {
    display: flex;
    margin-top: 12px;
    margin-bottom: 12px;
}

.reviews-quote>p {
    width: fit-content;
}

.reviews-stars {
    display: flex;
    align-items: center;
}

.reviews-client {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-client>div:first-of-type {
    width: 55px;
    height: 55px;
    border-radius: 200px;
    background-color: gray;
}

.reviews-client>div:nth-last-of-type {
    display: flex;
    flex-direction: column;
}

.reviews-client>div:nth-of-type(2)>p {
    padding: 0px;
    line-height: 1.3;
    margin: 0px;
}

.reviews-client>div:nth-of-type(2)>p:nth-of-type(1) {
    font-weight: 600;
}

.reviews-stars>svg>path {
    fill: gray;
    stroke: gray;
}

.reviews-stars.star-1>svg:nth-of-type(1)>path {
    fill: var(--darkdeepblue);
    stroke: var(--deepdarkblue);
}

.reviews-stars.star-2>svg:nth-of-type(1)>path,
.reviews-stars.star-2>svg:nth-of-type(2)>path {
    fill: var(--darkdeepblue);
    stroke: var(--deepdarkblue);
}

.reviews-stars.star-3>svg:nth-of-type(1)>path,
.reviews-stars.star-3>svg:nth-of-type(2)>path,
.reviews-stars.star-3>svg:nth-of-type(3)>path {
    fill: var(--darkdeepblue);
    stroke: var(--deepdarkblue);
}

.reviews-stars.star-4>svg:nth-of-type(1)>path,
.reviews-stars.star-4>svg:nth-of-type(2)>path,
.reviews-stars.star-4>svg:nth-of-type(3)>path,
.reviews-stars.star-4>svg:nth-of-type(4)>path {
    fill: var(--darkdeepblue);
    stroke: var(--deepdarkblue);
}

.reviews-stars.star-5>svg>path {
    fill: var(--darkdeepblue);
    stroke: var(--deepdarkblue);
}

.review-row-1 {
    grid-area: quote1;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-row-2 {
    grid-area: quote2;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-row-3 {
    grid-area: quote3;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reviews-button {
    width: 100%;
    position: relative;
    margin-bottom: 100px;
}

.reviews-button>div {
    height: 100px;
    position: absolute !important;
    top: -99px;
    left: 0;
    right: 0;
    width: 100%;
}

.reviews-button>div>a {
    background-color: transparent;
    color: black;
    font-family: var(--font-default);
    font-weight: 700;
    border: solid 3px var(--darkdeepblue);
    text-decoration: none;
    border-radius: 50px;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    bottom: -130px;
    font-size: 20px;
    padding: 9px 30px 8px;
    transition: border 0.3s, transform 0.3s;
}

.reviews-button>div>a:hover {
    border: solid 4px black;
    transform: scale(0.95);
}

@media (max-width: 1300px) {
    .reviews-content {
        grid-template-areas:
            "quote1 quote2"
            "quote3 quote3";
        height: auto;
        overflow: hidden;
    }

    .review-row-3 {
        display: none;
    }
}

@media (max-width: 650px) {
    .reviews-content {
        grid-template-areas:
            "quote1"
            "quote2"
            "quote3";
        height: auto;
        overflow: hidden;
    }
}

.reviews-item.loading {
    position: relative;
    overflow: hidden;
}

/* Make the placeholder shimmer animation target the correct element */
.reviews-item.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a slightly darker shimmer for better contrast on the #e1e1e1 background */
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

/* The keyframe animation is generic and can be reused */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* The actual content inside the reviews-item is hidden by default */
.reviews-item>div {
    opacity: 0;
    transition: opacity 0.5s 0.1s ease-in-out;
}

/* When the item is loaded, we fade the content in */
.reviews-item.loaded>div {
    opacity: 1;
}

@media (min-width: 1750px) {
    .reviews-content {
        width: 1720px;
        margin-left: auto;
        margin-right: auto;
    }
}