:root {
    --blue: #3f51b5;
    --yellow: #f0c569;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* border: 1px solid; */
}

/* header start */
header {
    background: var(--blue);
    color: white;
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    padding: 5px 120px;
}
header img {
    width: 14%;
    height: 114px;
    margin-top: 5px;
}
header p {
    padding-top: 7px;
    margin-bottom: 0;
}
header span {
    color: var(--yellow);
}
header a {
    text-transform: capitalize;
    text-decoration: none;
    margin: 0;
}
/* header end */

/* content start */
.content {
    direction: rtl;
    position: relative;
    background-color: #f0c5691f;
    padding-bottom: 100px;
}

.bg {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    filter: blur(3px);
}

h3 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    padding-top: 30px;
    position: relative;
}
h3::before {
    position: absolute;
    content: "";
    border: 4px solid;
    border-color: var(--blue) transparent transparent var(--blue);
    width: 30px;
    height: 30px;
    top: 28px;
    left: 590px;
}
h3::after {
    position: absolute;
    content: "";
    border: 4px solid;
    border-color: transparent var(--yellow) var(--yellow) transparent;
    width: 30px;
    height: 30px;
    top: 45px;
    right: 590px;
}
/* cards */
.cards {
    width: 50%;
    margin: 50px 328px 0;
    border: 3px solid var(--yellow);
    padding: 20px 20px 0;
    background-color: #f0c56934;
}

.card {
    margin-bottom: 20px;
    background: transparent;
    border: none;
    position: relative;
    z-index: 2;
}

h1 {
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 30px;
}
.num h5 {
    margin-right: 50px;
}
.number p {
    text-align: center;
    margin-right: 49px;
    width: 50px;
}


.head {
    background-color: var(--blue);
    color: white;
    padding: 2px 20px;
}
.head h5 {
    font-weight: 400;
    margin-top: 3px;
}
.body {
    padding: 20px;
    color: black;
}


footer {
    padding: 15px 0 0;
    background-color: var(--blue);
}

.contact {
    width: calc(100% / 3);
    margin: 0 auto;
    flex-wrap: wrap;
}
.contact img {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 5px;
}
.contact p {
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    color: white;
    width: 91px;
}
.contact a {
    color: black;
    text-decoration: none;
}

.last{
    color: white;
    font-size: 12px;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 0;
    padding-bottom: 10px;
}
.last a {
    color: var(--yellow);
    text-decoration: none;
}

hr {
    color: white;
    width: 50%;
    margin: 0 auto 10px;
}

@media (min-width: 320px) and (max-width:374px) {
    header {
        padding: 0 10px;
    }
    header img {
        width: 40%;
        margin-bottom: 5px;
    }
    header p {
        font-size: 12px;
        padding-top: 15px;
    }
    header a {
        font-size: 12px;
    }

    .content {
        margin-bottom: 0;
        padding-bottom: 30PX;
    }
    .bg {
        filter: blur(2px);
    }

    h3 {
        font-weight: 600;
        font-size: 25px;
    }
    h3::before {
        width: 25px;
        height: 25px;
        top: 28px;
        left: 88px;
    }
    h3::after {
        width: 25px;
        height: 25px;
        bottom: 10px;
        right: 85px;
    }

    .cards {
        margin: 50px auto 30px;
        width: 90%; 
        background-color: #f0c56967;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 15px;
        margin-right: -10px;
    }
    h5 {
        font-size: 12px;
        margin-top: 5PX;
    }

    .num h5 {
        margin-right: 26px;
    }
    .number p {
        width: 28px;
    }
    .number .pr {
        margin-left: -20PX;
    }
    .number .u {
        margin-left: -20px;
    }

    .head {
        padding: 0 10px;
    }
    .body {
        font-size: 10px;
        font-weight: 600;
        margin-right: -10px;
    }


    footer {
        padding: 0;
    }

    .contact {
        width: 335px;
        margin: 0 10px;
        padding-top: 10px;
    }
    .contact img {
        width: 15px;
        height: 15px;
        margin-right: 0px;
    }
    .contact p {
        font-size: 10px;
        font-weight: 400;
    }

    .contact a {
        width: 111px;
    }

    .last {
        font-size: 10px;
        padding: 5px auto;
    }

    hr {
        width: 90%;
        padding-bottom: 3px;
    }
}

@media (min-width: 375px) and (max-width:425px) {
    header {
        padding: 0 10px;
    }
    header img {
        width: 33%;
        height: 100px;
        margin-bottom: 5px;
    }
    header p {
        font-size: 12px;
        padding-top: 15px;
    }
    header a {
        font-size: 12px;
    }

    .content {
        margin-bottom: 0;
        padding-bottom: 30PX;
    }
    .bg {
        filter: blur(2px);
    }

    h3 {
        font-weight: 600;
        font-size: 25px;
    }
    h3::before {
        width: 25px;
        height: 25px;
        top: 28px;
        left: 116px;
    }
    h3::after {
        width: 25px;
        height: 25px;
        bottom: 10px;
        right: 116px;
    }

    .cards {
        margin: 50px auto 30px;
        width: 90%; 
        background-color: #f0c56993;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 15px;
        margin-right: -10px;
    }
    h5 {
        font-size: 15px;
        margin-top: 5PX;
    }

    .num h5 {
        margin-right: 37px;
    }
    .number p {
        width: 35px;
    }
    .number .pr {
        margin-left: -20PX;
    }
    .note {
        width: 60px !important;
        margin-left: -45px !important;
    }
    .number .u {
        margin-left: -20px;
    }

    .head {
        padding: 0 10px;
    }
    .body {
        font-size: 12px;
        margin-right: -10px;
    }


    footer {
        padding: 0;
    }

    .contact {
        width: 335px;
        margin: 0 0 0 50px;
        padding-top: 10px;
    }
    .contact img {
        width: 15px;
        height: 15px;
        margin-right: 0px;
    }
    .contact p {
        font-size: 10px;
        font-weight: 400;
    }

    .contact a {
        width: 111px;
    }

    .last {
        font-size: 10px;
        padding: 5px auto;
    }

    hr {
        width: 90%;
        padding-bottom: 3px;
    }
}

@media (min-width: 425px) and (max-width:767px) {
    header {
        padding: 0 10px;
    }
    header img {
        width: 30%;
        height: 100px;
        margin-bottom: 5px;
    }
    header p {
        font-size: 12px;
        padding-top: 15px;
    }
    header a {
        font-size: 12px;
    }

    .content {
        margin-bottom: 0;
        padding-bottom: 30PX;
    }
    .bg {
        filter: blur(2px);
    }

    h3 {
        font-weight: 600;
        font-size: 25px;
    }
    h3::before {
        width: 25px;
        height: 25px;
        top: 28px;
        left: 140px;
    }
    h3::after {
        width: 25px;
        height: 25px;
        bottom: 10px;
        right: 140px;
    }

    .cards {
        margin: 50px auto 30px;
        width: 90%; 
        background-color: #f0c56993;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 15px;
        margin-right: -10px;
    }
    h5 {
        font-size: 15px;
        font-weight: 600 !important;
        margin-top: 5PX;
    }

    .num h5 {
        margin-right: 26px;
    }
    .number p {
        width: 42px;
    }
    .number .pr {
        margin-left: -25px;
    }
    
    .number .u {
        margin-left: -25px;
    }
    .note {
        width: 49px ;
        margin-left: -33px ;
    }
    .head {
        padding: 0 10px;
    }
    .body {
        font-size: 15px;
        margin-right: -10px;
    }


    footer {
        padding: 0;
    }

    .contact {
        width: 335px;
        margin: 0 35px;
        padding-top: 10px;
    }
    .contact img {
        width: 20px;
        height: 20px;
        margin-right: 0px;
    }
    .contact p {
        font-size: 12px;
        font-weight: 500;
        width: 86px;
    }

    .contact a {
        width: 111px;
        margin-right: -27px;
    }

    .last {
        font-size: 12px;
        padding: 5px auto;
    }

    hr {
        width: 90%;
        padding-bottom: 3px;
    }
}

@media (min-width: 768px) and (max-width:1023px) {
    header {
        padding: 0 10px;
    }
    header img {
        width: 17%;
        height: 100px;
        margin-bottom: 5px;
    }
    header p {
        font-size: 16px;
    }
    header a {
        font-size: 16px;
    }

    .content {
        margin-bottom: 0;
        padding-bottom: 30PX;
    }
    .bg {
        filter: blur(2px);
    }

    h3 {
        font-weight: 600;
        font-size: 25px;
    }
    h3::before {
        width: 25px;
        height: 25px;
        top: 28px;
        left: 312px;
    }
    h3::after {
        width: 25px;
        height: 25px;
        bottom: 10px;
        right: 312px;
    }

    .cards {
        margin: 50px auto 30px;
        width: 90%; 
        background-color: #f0c56993;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 15px;
        margin-right: -10px;
    }
    h5 {
        font-size: 18px;
        font-weight: 600 !important;
        margin-top: 5PX;
    }

    .num h5 {
        margin-right: 26px;
    }
    .number p {
        width: 42px;
    }
    .number .pr {
        margin-left: -23px;
    }
    .number .u {
        margin-left: -18px;
    }

    .head {
        padding: 0 10px;
    }
    .body {
        font-size: 15px;
        margin-right: -10px;
    }


    footer {
        padding: 0;
    }

    .contact {
        width: calc(131% / 3);
        margin: 0 auto;
        padding-top: 10px;
    }
    .contact img {
        width: 20px;
        height: 20px;
        margin-right: 0px;
    }
    .contact p {
        font-size: 12px;
        font-weight: 500;
        width: 86px;
    }

    .contact a {
        width: 111px;
        margin-right: -27px;
    }

    .last {
        font-size: 12px;
        padding: 5px auto;
    }

    hr {
        width: 70%;
        padding-bottom: 3px;
    }
}
