* {
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: "Vazir";
    src: url("fonts/Vazir-Bold.woff");
}
.page-body {
    background-color: #151617;
}
.countries {
    display: flex;
    justify-content: center;
}
.countries-container {
    width: 1160px;
}
.logo {
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 75px;
    margin-bottom: 45px;
}
.title {
    margin-bottom: 21px;
    display: flex;
    justify-content: center;
    align-content: center;
}
.title h1 {
    font-family: "Vazir";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
}
.countries-items {
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-template-areas: ". . . . . . . .";
}
.countries-item {
    text-align: center;
}
.countries-item-last {
    display: none;
}
.countries-item h1 {
    font-family: "Vazir";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    margin-top: 6px;
}
.countries-info h1 {
    font-family: "Vazir";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    color: #FFFFFF;
    margin-top: 20px;
    width: 100%;
}
.countries-items-last {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-template-areas: ". . . . . . .";
    padding: 0 100px;
}
.countries-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.countries-btn a {
    width: 213px;
    height: 57px;
    background: #F9C626;
    border-radius: 10px;
    font-family: "Vazir";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    color: #151617;
    border: none;
    outline: none;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.countries-item-first {
    display: none;
}
.countries-item-last-second {
    display: none;
}
.tel_btn {
    margin-right: 20px;
    background-color: #229ED9 !important;
}
@media only screen and (max-width: 1500px) {
    .logo {
        display: flex;
        justify-content: center;
        align-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .countries-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }
}
@media only screen and (max-width: 1200px) {
    .countries-container {
        width: 100%;
        margin: 0 20px;
    }

    .countries-item {
        margin-bottom: 20px;
    }
    .countries-item-last {
        display: block;
        width: 153px;
        height: 130px
    }
    .title {
        text-align: center;
    }
    .countries-btn a {
        margin-bottom: 60px;
    }
    .countries-items {
        padding: 0 10px;
    }
    .countries-item-first {
        display: none;
        width: 153px;
        height: 130px
    }
    .countries-item-last-second {
        display: none;
        width: 153px;
        height: 130px
    }
    .countries-item-last {
        display: none;
    }
    .title h1 {
        font-size: 15px;
    }
    .countries-item h1 {
        font-size: 15px;
    }
    .countries-info h1 {
        font-size: 15px;
    }
    .countries-btn a {
        font-size: 15px;
    }
    .countries-item img {
        width: 50px;
        height: 30px;
    }
}

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

    .title h1 {
        font-size: 12px;
    }
    .countries-item h1 {
        font-size: 11px;
    }
    .countries-info h1 {
        font-size: 11px;
    }
    .countries-item img {
        width: 40px;
        height: 30px;
    }
    .countries-item-last {
        display: none;
    }
    .countries-item-first {
        display: none;
    }
    .countries-item-last-second {
        display: none;
    }
    .logo img {
        width: 200px;
        height: 30px;
    }
    .countries-btn a {
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 500px) {
    .title h1 {
        font-size: 10px;
    }
    .countries-item h1 {
        font-size: 9px;
    }
    .countries-info h1 {
        font-size: 9px;
    }
    .countries-btn a {
        font-size: 12px;
        width: 150px;
        height: 45px;
    }
    .countries-item img {
        width: 22px;
        height: 13px;
    }
    .countries-item-last {
        display: none;
    }
    .countries-item-first {
        display: none;
    }
    .countries-item-last-second {
        display: none;
    }
    .countries-items {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 0px 0px;
        grid-template-areas:
    ". . . ."
    ". . . .";
    }
}
@media only screen and (max-width: 450px) {
    .countries-btn a{
        width: 120px;
    }
}