main .container {
    flex-wrap: wrap;
}

.top {
    padding: 81px 0;
    background-image: url("../img/Rectangle 107.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.top-title {
    color: #FFF;
    width: 100%;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 120px;
    font-style: normal;
    font-weight: 800;
    line-height: 120px;
    /* 100% */
    text-transform: uppercase;
}


.legal-section{
    padding: 0 0 150px;
}

.countries {
    padding: 90px 0 0;
    overflow: hidden;

    position: relative;
}


.content-title {
    color: #FFF;
    font-family: 'Montserrat';
    font-size: 64px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 70px;
    margin: 0 auto;
    position: relative;

}

.content-title::after {
    content: '';
    border-radius: 10px;
    background: #0044F3;
    width: 60px;
    height: 60px;
    transform: rotate(45deg);
    bottom: 28px;
    left: -44px;
    position: absolute;
    z-index: -1;
}

.content-desc {
    color: #FFF;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 11px auto 0;
    text-align: center;
    max-width: 1374px;
    margin-bottom: 20px;
}

#content-box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 91px;
    grid-row-gap: 34px;
    width: 100%;
    margin: 67px auto 0;
    max-width: 1030px;
}

.box-social,
.legal-information-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 91px;
    grid-row-gap: 34px;
}


.social-card {
    padding: 19px 22px;
    border-radius: 10px;
    border: 1px solid #726B9B;
    background: rgba(51, 46, 81, 0.50);
    backdrop-filter: blur(7.5px);
    max-width: 470px;
    box-sizing: border-box;
}

.social-card h3 {
    color: #FFF;
    font-family: 'Montserrat';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 14px;
}


.social-card ul {
    columns: 2;
    column-gap: 24px;
}

.social-card li {
    display: flex;
    gap: 8px;
    break-inside: avoid;
    margin-bottom: 16px;
}

.social-card li img {
    width: 46px;
    height: 46px;
}

.link-box {
    border-radius: 10px;
    border: 1px solid #E6E6E6;
    background: #FFF;
    backdrop-filter: blur(7.5px);
    padding: 8px 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.link-box a {
    color: #0580F2;
    font-family: 'Montserrat';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.information-box {
    border-radius: 10px;
    border: 1px solid #726B9B;
    background: rgba(51, 46, 81, 0.50);
    backdrop-filter: blur(7.5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 25px;
    width: 100%;
    box-sizing: border-box;
}

.information-box-desc {
    color: #A8A8A8;
    font-family: 'Montserrat';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 185.5%;
    /* 25.97px */
}

.information-box-desc strong {
    color: #FFF;
    font-weight: 400;

}

.information-box img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: block;
}

.information-box:nth-child(even) img {
    order: 1;
}

.information-box:nth-child(even) .information-box-desc {
    order: 2;
}

@media screen and (max-width: 1100px) {
    #content-box {
        display: flex;
        flex-wrap: wrap;
        gap: 34px;
    }

    .box-social,
    .legal-information-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: initial;
        grid-row-gap: 34px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .social-card,
    .information-box {
        max-width: 48%;
    }
}


@media screen and (max-width: 850px) {
    .top {
        padding: 50px 0;
    }

    .top-title {
        font-size: 90px;
    }

    .content-title {
        font-size: 45px;
    }

    .content-desc {
        font-size: 16px;
    }

    .content-title::after {
        bottom: 15px;
        left: -16px;
        width: 45px;
        height: 45px;
    }

    .social-card li img {
        width: 24px;
        height: 24px;
    }

    .link-box {
        border-radius: 5px;
        padding: 4px 5px;
    }

    #content-box,
    .box-social,
    .legal-information-box {
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {

    .top-title {
        font-size: 36px;
        line-height: 36px;
    }

    .content-title {
        font-size: 29px;
    }

    .content-desc {
        font-size: 14px;
    }

    .content-title::after {
        border-radius: 5px;
        width: 39px;
        height: 39px;
        bottom: 8px;
        left: -22px;
    }

    #content-box {
        margin: 50px auto 0;
    }

    .content {
        padding: 50px 0 70px;
    }

    .social-card,
    .information-box {
        max-width: 100%;
    }
}













.country-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
}

.country {
    border: 1px solid #726B9B;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: rgba(51, 46, 81, 0.50);
    padding: 14px 24px 12px;
    isolation: isolate
}

.skyline {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 94px;
    object-fit: cover;
    z-index: -2;
    opacity: .85;
    mask-image: linear-gradient(to right, transparent, black 40%)
}

.country:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 15%, #07182c 50%);
    z-index: -1
}

.country-heading {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 14px
}

.flag {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

h2 {
    font-size: 20px;
    margin: 0 0 6px
}

.country-heading p {
    font-size: 12px;
    color: #a8bbd8;
    margin: 0
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 42px;
    position: relative
}

.social-grid:after {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 50%;
    width: 1px;
    background: #234360
}

.social-link {
    display: flex;
    gap: 16px;
    align-items: center;
    min-width: 0
}

.social-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: bold;
    font-size: 27px;
    box-shadow: 0 3px 10px #0002
}

.instagram {
    background: radial-gradient(circle at 25% 100%, #ffde38 0, #ff7a20 28%, #f700a7 60%, #8a26ec 100%)
}

.facebook,
.linkedin,
.messenger {
    background: #0086ff
}

.linkedin {
    font-size: 23px
}

.whatsapp {
    background: #00cf59;
    font-size: 25px
}

.telegram {
    background: #00bbed;
    font-size: 24px
}

.link-label {
    background: #ffffff03;
    border-radius: 6px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: #becde0
}

.link-label span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: underline
}

.social-link:hover .link-label {
    background: #ffffff0a;
    color: white
}

.external {
    font-size: 17px;
    line-height: 12px
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 18px;
    width: 100%;
}

.legal {
    display: flex;
    gap: 26px;
    align-items: center;
    padding: 23px 24px;
    border: 1px solid #112e4a;
    border-radius: 14px;
    background: #091c31b8
}

.legal .flag {
    width: 58px;
    height: 58px
}

.legal-info {
    flex: 1;
    min-width: 0
}

.legal h3 {
    font-size: 15px;
    line-height: 1.3
}

.legal p {
    font-size: 13px;
    color: #a8bbd8;
    line-height: 1.6;
    margin: 0
}

.map {
    border: 1px solid #28476b;
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    font-size: 12px;
    white-space: nowrap;
    position: relative
}

.map:before {
    content: '';
    height: 54px;
    width: 1px;
    background: #24405f;
    position: absolute;
    left: -30px
}

.pin {
    color: var(--blue);
    width: 19px;
    height: 23px
}

.map:hover {
    background: #0e2b4b;
    border-color: var(--blue)
}

.map .arrow {
    font-size: 21px;
    margin-left: 5px
}

.notice {
    font-size: 12px;
    color: #87a0bb;
    margin-top: 16px
}

.menu {
    background: none;
    border: 1px solid var(--line);
    color: white;
    border-radius: 8px;
    padding: 8px;
    font-size: 20px
}



@media(max-width:1320px) {

  

    .header-inner {
        gap: 22px
    }

    nav {
        gap: 20px
    }

    .header-social {
        display: none
    }

    .social-grid {
        gap: 8px 30px
    }

    .social-link {
        gap: 10px
    }

    .legal {
        gap: 16px
    }

    .map:before {
        left: -12px
    }

    .map {
        padding: 12px
    }
}

@media(max-width:1000px) {
    nav {
        gap: 16px
    }

    .header-inner {
        gap: 18px
    }

    .brand-name {
        font-size: 14px
    }

    .service {
        display: none
    }

    .legal {
        flex-wrap: wrap
    }

    .map {
        margin-left: 74px
    }

    .map:before {
        display: none
    }

    .social-grid {
        gap: 8px 20px
    }

    .country {
        padding: 16px
    }

    .country-heading {
        gap: 16px
    }
}

@media(max-width:740px) {
    .header-inner {
        min-height: 72px;
        justify-content: space-between
    }

    .menu {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #071c32;
        padding: 12px 5%;
        flex-wrap: wrap;
        border-bottom: 1px solid var(--line)
    }

    nav.open {
        display: flex
    }

    nav a {
        padding: 12px
    }

    nav a[aria-current]:after {
        bottom: 3px
    }

    .language {
        margin-left: auto
    }

    .countries,
    .legal-grid {
        grid-template-columns: 1fr
    }

    .intro {
        font-size: 16px
    }

    h1 {
        font-size: 32px;
        letter-spacing: -.8px
    }

    .geometry {
        right: 0;
        opacity: .45;
        width: 250px
    }

    .country {
        padding: 18px
    }

    .social-grid {
        gap: 9px 28px
    }

    .legal {
        padding: 20px
    }

    .map {
        margin-left: 0
    }

    .legal-grid {
        gap: 16px
    }

    .legal-info {
        min-width: 190px
    }

    .eyebrow {
        font-size: 11px
    }

    .brand small {
        letter-spacing: 1.1px
    }
}

@media(max-width:380px) {
    .social-grid {
        gap: 8px 18px
    }

    .social-link {
        gap: 7px
    }

    .link-label {
        padding: 9px 6px;
        font-size: 11px
    }

    .social-icon {
        width: 30px;
        height: 30px
    }

    .country {
        padding: 14px
    }

    .brand-name {
        font-size: 12px
    }
}

@media(prefers-reduced-motion:no-preference) {
    a {
        transition: background .18s, color .18s, border-color .18s
    }
}