* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
}

:root {
    --text: 1.5rem;
    --head: 3rem;
    --bg-color: rgb(243, 4, 4);

}

body {
    font-family: 'Baloo Bhai 2', cursive;
    /* color: white; */
}

.top-section {
    min-height: 100vh;
    background: url("https://media.istockphoto.com/photos/blood-donation-concept-picture-id1220217893?b=1&k=20&m=1220217893&s=170667a&w=0&h=T0lhjgVi4Y857sbb0c7myYp9L1p4JB1oJB2LA2oTojk=");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
}

#donar-section {
    min-height: 20vh;
    background: url("https://media.istockphoto.com/photos/light-blue-color-frosted-glass-texture-background-picture-id864477890?k=20&m=864477890&s=612x612&w=0&h=pN7abwNYsJRnMLXGJWUPKxDMx3sWLHfilyh66Wzlz7k=");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    padding: 0rem 1.5rem;
    color: white;
    transform: translateY(-100%);
    animation: movedown 850ms ease-in 0.5s forwards;
    /* margin-right: 183px; */

}

@keyframes movedown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0%);
    }
}

.navbar ul {
    list-style: none;
}

.navbar ul li {
    display: inline-block;
    margin-left: 3rem;
    font-size: var(--text);
}

.navbar ul li a {
    text-decoration: none;
    color: rgb(248, 248, 248);
    border-bottom: 2px solid transparent;

}

.navbar ul li a:hover {
    border-bottom: 2px solid white;
    border-radius: 7px;
}

.brand-name {
    color: rgb(248, 248, 248);
}

.top-text {
    color: white;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slide 1s ease-in-out;
}

@keyframes slide {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0%);
    }
}

.top-text::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(13, 14, 14);
    z-index: -1;
    top: 0;
    opacity: 0.2;
}

.top-text a {
    color: white;
    /* background-color: rgb(243, 4, 4) ; */
    background: var(--bg-color);
    font-weight: 900;
    font-size: var(--text);
    padding: 0.8rem 1rem;
    margin: 0.8rem auto;
    display: block;
    transition: opacity 250ms linear;
    border-radius: 23px;
    text-decoration: none;
}

.top-text h2 {
    font-size: var(--head);
}

.top-text p {
    font-size: 1.8rem;
}

.top-text a:hover {
    opacity: 0.7;
    /* filter: invert(100%); */
}

/* services section  */
#benifits {
    margin: 34px;
    display: flex;
    text-align: center;

}

#benifits .box {
    border: 2px solid brown;
    padding: 4px;
    margin: 2px 55px;
    border-radius: 28px;
    background-color: rgb(255, 255, 255);
    margin-bottom: 20px;

}

#benifits .box img {
    height: 155px;
    margin: auto;
    display: block;
}

#benifits .box p {

    font-family: 'Baloo Bhai 2', cursive;
}

/* donar section  */
#donar-section {
    /* height: 344px; */
    position: relative;
}

#donars {
    display: flex;
    justify-content: center;
    align-items: center;
}

#donars img {
    height: 124px;
}

.donar-item {
    padding: 34px;
}

#donar-section::before {
    content: "";
    position: absolute;
    background: url(../image/bg7.jpg) no-repeat center center/cover;
    width: 100%;
    height: 300px;
    z-index: -1;
    opacity: 0.3;
}

/* Donation process */

#donation-process {
    margin-top: 50px;

    body {
        background-color: #f5f5f5;
    }

    padding: 40px;
    border-radius: 10px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: red;
    margin-bottom: 30px;
}

.step {
    margin-bottom: 40px;
}

.step h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.step p {
    font-size: 18px;
    color: #4db6ac;
    line-height: 1.5;
}

/* Hover effect for steps */
.step:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}




/* FAQ section  */
#faqs {
    margin-top: 50px;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #ff0000;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 24px;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 18px;
    color: #777;
    line-height: 1.5;
}

/* Hover effect for FAQ items */
.faq-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.1);
}


/* contact section  */

#contact {
    position: relative;
    /* display: flex; */

}

#contact-box {
    /* display: flex;
justify-content: center;
text-align: center; */
    /* margin: 34px; */
    margin-left: 134px;
    padding: 23px;
    display: flex;
}

#contact-box form {
    padding: 34px;
    /* border: 34px; */
    width: 520px;
    margin: 82px;
    border: 1px solid #04030300;
    border-radius: 10px;
    box-shadow: 1px 1px 20px 2px rgb(59, 57, 57);
}

#contact-box label {
    /* padding: 34px; */
    font-size: 1.3rem;
    font-family: 'Baloo Bhai 2', cursive;

}

.form-group {
    padding: 9px;
}

#contact-box input,
#contact-box textarea {
    width: 270px;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 1.1rem;


}

#contact-box {
    position: relative;
    justify-content: center;
    align-items: center;
    padding-bottom: 34px;



}

.contact {
    min-height: 30vh;
    background: url("https://media.istockphoto.com/photos/empty-white-studio-room-abstract-background-picture-id1147521090?k=20&m=1147521090&s=612x612&w=0&h=hANr2_z2jYk27erulIAUIyMvToBK1ABbdQ4VcE8VhBU=");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* opacity: 0.1; */

}

#contact-box::before {
    content: "";
    position: absolute;
    height: 510px;
    width: 1900px;
    z-index: -1;
    opacity: 0.7;
    background: url(../image/con1.jpg) no-repeat center center/cover;
    /* background: url(../image/con1.jpg) ; */

}

#submit-btn {
    text-align: center;
    background-color: rgb(255, 102, 0);
    color: aliceblue;
    border-radius: 8px;
    text-decoration: none;
    justify-content: center;
    margin-left: 203px;
    padding: 9px;
    border: 2px solid aliceblue;
    transition: background-color 1s ease-in;
}

#submit-btn:hover {
    /* filter: invert(100%); */
    color: rgb(255, 102, 0);
    background-color: aliceblue;
    border: 2px solid rgb(255, 102, 0);
}

footer {
    color: rgb(251, 250, 252);
    background-color: rgb(0, 0, 0);
    text-align: center;
}