* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: cairo-semi;
    src: url(../fonts/Cairo-SemiBold.ttf);
}

.invalid-feedback {
    margin-bottom: -30px;
}

body {
    font-family: cairo-semi;
    direction: rtl;
}

header {
    background-image: url("../images/header.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 30px;
}

header .brand {
    margin: 100px auto 60px;
    display: inline-block;
    padding-bottom: 35px;
    border-bottom: 5px solid #81858a6e;
}

header .heading-page h1 {
    font-size: 60px;
    font-weight: bold;
    line-height: 75px;
    color: #fff;
}

header .heading-page p {
    font-size: 18px;
    line-height: 25px;
    width: 40%;
    color: #acacac;
    margin: auto;
}

header .count-down {
    width: 60%;
    margin: 90px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .count-down .counter {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

header .counter .count-amount {
    font-size: 60px;
    font-weight: bold;
    display: block;
    color: #ffce00;
}

header .counter .count-period {
    font-size: 30px;
    display: block;
    font-weight: bold;
    color: #fff;
}

header .send-notification p {
    font-size: 18px;
    color: #fff;
}

header .input-group {
    width: 50%;
    margin: auto;
    transform: translateY(50%);
}

header .input-group button {
    background-color: #ffce00;
    padding: 13px 33px;
    border-radius: 0;
    overflow: hidden;
}

header .input-group button:hover,
header .input-group button:active {
    background-color: black !important;
    transition: 0.5s;
}

header .input-group button:hover > img,
header .input-group button:active > img {
    content: url(../images/send2.png) !important;
    transition: 0.1s;
}

header .input-group button:active > img {
    transform: translate(75px, -55px);
}

header .input-group input {
    border-radius: 0;
    border: 2px solid #e6e6e6;
    color: #e6e6e6;
    text-align: right;
    font-size: 18px;
}

section.features {
    padding: 100px 0;
}

section.features h2 {
    font-size: 45px;
    color: #555;
    margin-bottom: 50px;
}

section.features .row .d-flex {
    border: 4px solid #fafafa;
    padding: 40px 10px;
    margin-bottom: 20px;
    max-height: 190px;
}

section.features .row .d-flex h4 {
    font-size: 24px;
    color: #555;
}

section.features .row .d-flex p {
    font-size: 15px;
    line-height: 25px;
    color: #a1a1a1;
}

section.features .row .col-md-6:nth-child(even) {
    direction: ltr;
}

footer {
    background-image: url("../images/footer-bg.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
}

footer .footer-notification {
    background-color: rgba(255, 206, 0, 0.7);
    padding: 70px 0;
}

footer .footer-notification h3 {
    font-size: 30px;
    margin-bottom: 30px;
}

footer .footer-notification .input-group {
    width: 50%;
    margin: auto;
}

footer .input-group input {
    border-radius: 0;
    font-size: 18px;
    color: #c7c7c7;
    border-color: #fff;
    text-align: right;
}

footer .input-group button {
    border-radius: 0;
    background-color: #393939;
    padding: 13px 33px;
}

footer .input-group button:hover,
footer .input-group button:active {
    background-color: #393939 !important;
}

footer .input-group button:hover > img,
footer .input-group button:active > img {
    content: url(../images/send2.png) !important;
}

footer .social-media {
    background-color: rgba(57, 57, 57, 0.9);
    padding: 100px 0 30px;
}

footer .social-media h3 {
    color: #fff;
    margin-bottom: 35px;
}

footer .social-media ul a {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: block;
    transition: 0.3s;
}

footer .social-media ul a:hover {
    background-color: #ffce00;
    color: #393939;
}

footer .social-media hr {
    width: 35%;
    margin: 50px auto 30px;
    border: none;
    height: 3px;
    background-color: #b5afaf5e;
}

footer .social-media a.email {
    text-decoration: none;
    color: #b4b4b4;
}

footer .social-media a.email i {
    color: #ffce00;
}

@media (max-width: 1199px) and (min-width: 992px) {
    section.features .row .d-flex h4 {
        font-size: 18px;
    }

    section.features .row .d-flex p {
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    header .heading-page p {
        width: 70%;
    }

    .input-group {
        width: 50% !important;
    }

    section.features .row .d-flex {
        padding: 15px 10px;
        max-height: fit-content;
    }

    section.features .row .d-flex h4 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    header .count-down {
        width: 80%;
        gap: 20px;
        flex-wrap: wrap-reverse;
        justify-content: space-around;
    }

    header .counter .count-period {
        font-size: 25px;
    }

    header .counter .count-amount {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    header .heading-page h1 {
        font-size: 45px;
    }

    header .heading-page p {
        width: 90%;
    }

    .input-group {
        width: 80% !important;
    }

    header .counter .count-period {
        font-size: 25px;
    }

    header .counter .count-amount {
        font-size: 40px;
    }

    footer .footer-notification h3 {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    footer .social-media ul a {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 20px;
    }
}
