#direction .container {
    display: flex;
    flex-direction: column;
    gap: 82px;
    margin: 100px auto;
}

@media (max-width: 769px) {
    #direction .container {
        margin: 24px auto;
        gap: 32px;
    }
}

#direction .container h2 {
    font-size: 84px;
    line-height: 84px;
    text-transform: capitalize;
}

#direction .container h3 {
    font-size: 50px;
    line-height: 84px;
    background: linear-gradient(180deg, #231f20 0%, #50555c 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: capitalize;
}

/* top */
#direction .hero-part .banner-img {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#direction .hero-part .banner-img img {
    width: 100%;
}

#direction .hero-part .banner-img p {
    height: fit-content;
    z-index: 1;
    font-family: "Tasman", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -5.04px;
    font-size: 84px;
}

#direction .hero-content {
    display: flex;
    width: 100%;
    gap: 55px;
    align-items: center;
    justify-content: space-between;
}

#direction .hero-content .content-img {
    width: 50%;
    height: 380px;
    position: relative;
    overflow: hidden;
    border-radius: 54px;
    background: linear-gradient(270deg, #ed1c24 0%, rgba(237, 28, 36, 0) 100%);
}

#direction .hero-content .content-img img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in;
}

#direction .hero-content .content-img p {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: #ffffff; /* assuming $white is white */
    font-size: 40px;
    font-weight: 300;
    text-align: right;
}

#direction .hero-content .content-img:hover img {
    transform: scale(1.05);
}

#direction .hero-content .content-part {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 52px;
    position: relative;
}

#direction .hero-content .content-part .first-svg {
    position: absolute;
    right: 13%;
    top: 40%;
    transform: translateY(-50%);
}

#direction .hero-content .content-part svg {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
}

#direction .hero-content .content-part h3 {
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 84px;
    letter-spacing: -5.04px;
    color: #ed1c24;
    z-index: 1;
}

#direction .hero-content .content-part h3 span {
    background: linear-gradient(180deg, #141414 0%, #747484 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#direction .hero-content .content-part p {
    color: #50555c;
    z-index: 1;
    font-weight: 300;
    line-height: 31px;
    letter-spacing: -0.08px;
}

@media screen and (max-width: 1440px) {
    #direction .hero-part .banner-img p {
        font-size: 50px;
    }
}

@media screen and (max-width: 992px) {
    #direction .hero-part .banner-img p {
        letter-spacing: -2.04px;
        font-size: 22px;
    }
}

@media screen and (max-width: 768px) {
    #direction .hero-content {
        flex-direction: column;
    }

    #direction .hero-content .content-part,
    #direction .hero-content .content-img {
        width: 100%;
    }

    #direction .banner-img p {
        left: 8% !important;
        font-size: 25px;
    }
}

/* section-2 */
.section-2 {
    position: relative;
}

.section-2 h2 {
    font-size: 68px;
    font-style: normal;
    font-weight: 400;
    line-height: 84px;
    letter-spacing: -5.04px;
    width: 120%;
}

.section-2 h2 div {
    background: linear-gradient(180deg, #231f20 0%, #50555c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 55px;
    margin-bottom: -23px;
}

.section-2 h2 span {
    color: #d9d9d9;
    font-size: 55px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    letter-spacing: -5.04px;
}

@media (width<600px) {
    .section-2 h2 div,
    .section-2 h2 span {
        font-size: 38px !important  ;
        line-height: 34px;
    }
    .section-2 h2 div {
        margin-bottom: -30px;
    }
}

.section-2 p {
    color: #50555c;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 31px;
    letter-spacing: -0.08px;
}

.section-2 .map {
    position: relative;
}

.section-2 .map img {
    width: 100%;
}

.section-2 .map .city {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -1.1px;
    flex-shrink: 0;
    width: 111px;
    height: 53px;
    border-radius: 15px;
    background: #d9d9d9;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1),
        0px 19px 19px 0px rgba(0, 0, 0, 0.09),
        0px 42px 25px 0px rgba(0, 0, 0, 0.05),
        0px 75px 30px 0px rgba(0, 0, 0, 0.01),
        0px 117px 33px 0px rgba(0, 0, 0, 0);
}

@media (width<600px) {
    .section-2 .map .city {
        font-size: 16px;
        width: fit-content;
        height: fit-content;
        padding: 5px 15px;
    }
}

.section-2 .map .city-3 {
    top: 6%;
    right: 32%;
}

.section-2 .map .city-2 {
    top: 20%;
    right: 57%;
}

.section-2 .map .city-1 {
    bottom: 41%;
    left: 9%;
}
@media (width<600px) {
    .section-2 .map .city-1 {
        bottom: 14%;
        left: 7%;
    }
    .section-2 .map .city-2 {
        right: 58%;
    }
}
.section-2 .map .dot {
    position: absolute;
    width: 46px;
    aspect-ratio: 1;
    animation: pulse 2s alternate infinite;
}

.section-2 .map .dot-3 {
    top: 21%;
    right: 37%;
}

.section-2 .map .dot-2 {
    top: 36%;
    right: 62%;
}

.section-2 .map .dot-1 {
    bottom: 28%;
    left: 15%;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* section-3 */
.section-3 {
    display: grid;
    grid-template-columns: 31% 31% 31%;
    gap: 43px;
}

.section-3 img {
    border-radius: 54px;
}

.section-3 h2 {
    font-size: 50px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 84px; /* 168% */
    letter-spacing: -3px;
    background: linear-gradient(180deg, #231f20 0%, #50555c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-3 p {
    padding-top: 20px;
}

.section-3 > div:first-child h3,
.section-3 > div:first-child p {
    padding-left: 90px;
}

.section-3 > div:last-child h3,
.section-3 > div:last-child p {
    padding-right: 90px;
}
@media (width<1440px) {
    .section-3 > div:first-child h3,
    .section-3 > div:first-child p {
        padding-left: 0 !important;
    }

    .section-3 > div:last-child h3,
    .section-3 > div:last-child p {
        padding-right: 0;
    }
}

.section-3 p {
    color: #50555c;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 26.5px;
    letter-spacing: 0.14px;
}

/* section-4 */
.section-4 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.section-4 .header-nav-features {
    padding-right: 163px;
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
    height: max-content;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.section-4 .header-nav-features .hire-container {
    background: #ffc20d;
    padding: 16px 34px;
    border: 1px solid #ffc20d;
    border-radius: 48px;
    text-align: center;
    color: black;
    transition: all 0.3s ease-in;
}

.section-4 .header-nav-features .arrow-circle {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    transition: all 0.3s ease-in;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffc20d;
}

.section-4 .header-nav-features .arrow-circle svg {
    color: #ffc20d;
    transition: all 0.3s ease-in;
    transform: rotate(0deg);
}

.section-4 .header-nav-features:hover .hire-container {
    background-color: #ffc20d;
    border: 1px solid #ffc20d;
    color: white;
}

.section-4 .header-nav-features:hover .arrow-circle {
    border: 1px solid #ffc20d;
}

.section-4 .header-nav-features:hover .arrow-circle svg {
    transform: rotate(45deg);
    color: #ffc20d;
}

/* section-5 */
.section-5 h2 {
    gap: 10px;
    font-size: 84px;
    font-style: normal;
    font-weight: 400;
    line-height: 84px;
    letter-spacing: -5.04px;
}

.section-5 h2 div {
    background: linear-gradient(180deg, #231f20 0%, #50555c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-5 h2 span {
    background: linear-gradient(180deg, #d9d9d9 0%, #50555c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-5 .boxes {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.section-5 .box {
    gap: 48px;
    padding: 38px 76px;
    border-radius: 20px;
    background: #fafafa;
    box-shadow: 0px 7px 16px 0px rgba(161, 161, 161, 0.1),
        0px 29px 29px 0px rgba(161, 161, 161, 0.09),
        0px 66px 40px 0px rgba(161, 161, 161, 0.05),
        0px 117px 47px 0px rgba(161, 161, 161, 0.01),
        0px 183px 51px 0px rgba(161, 161, 161, 0);
    position: relative;
}

@media (width<756px) {
    .section-5 .box {
        padding: 18px 36px;
    }
}

.section-5 .box::after {
    content: "";
    position: absolute;
    bottom: -54px;
    left: 99px;
    width: 85px;
    height: 52px;
    background: #d9d9d9;
}

.section-5 .box:last-child::after {
    display: none;
}

.section-5 .box img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
}

.section-5 .box h4 {
    color: #000;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -1.8px;
}

.section-5 .box div,
.section-5 .box p {
    color: #50555c;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    letter-spacing: -0.08px;
}

.section-5 .box div {
    line-height: 20px;
}

.section-5 .box p {
    line-height: 31px;
}
