/* Integrity */
.hero {
    display: flex;
    height: auto;
}
.hero-image {
    flex: 1;
    background: url(../images/image.png) no-repeat center center / cover;
    position: relative;
    padding-bottom: 50px;
    z-index: 1;
}

.hero-logo {
    width: 300px;
    margin: 0;
    z-index: 2;
    margin: auto;
    margin-top: 150px;
    animation: fadeIn 1s ease forwards; /* Apply the fade-in animation */
}

.hero-text {
    flex: 0.3;
    background-color: #4c3829;
    color: white;
    padding: 40px;
    z-index: 2;
    display: block;
    text-align: center;
}

.hero-text p {
    font-size: 17px;
    color: #a58b6c;
    margin-top: 0;
    transform: scale(1);
    background: transparent;
    padding: 10px;
    position: relative;
    left: -30px;
    z-index: 2;
    margin: auto;
    margin-bottom: 33px;
    text-align: center;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(58 39 20 / 58%);
    z-index: 1;
}

.nav {
    position: relative;
    z-index: 2;
}

.text-tall {
    color: white;
    z-index: 2;
    position: relative;
    text-align: left;
    padding: 10px;
    font-weight: bold;
    max-width: 900px;
    margin: auto;
    overflow-y: auto;
    margin-top: 50px;
    max-height: 700px;
    padding-right: 100px;
}

.text-tall p {
    margin-bottom: 35px;
    width: 100%;
    color: #bebaba;
    font-size: 20px;
    font-weight: normal;
}

.text-tall .part2 {
    font-weight: bold;
}

.text-tall .social-icons {
    margin: auto;
    text-align: center;
}

.text-tall .social-icons a {
    font-size: 37px;
}

/* تخصيص شريط التمرير */
.text-tall::-webkit-scrollbar,
.card-container::-webkit-scrollbar {
    width: 10px;
    /* عرض الشريط */
    border-radius: 120px;
    /* زوايا دائرية للمقبض */
}

/* تخصيص لون المسار */
.text-tall::-webkit-scrollbar-track,
.card-container::-webkit-scrollbar-track {
    background: transparent;
    /* لون خلفية المسار */
    border-radius: 120px;
    /* زوايا دائرية للمقبض */
}

/* تخصيص لون المقبض (الإبهام) */
.text-tall::-webkit-scrollbar-thumb,
.card-container::-webkit-scrollbar-thumb {
    background-color: #3d2a21;
    /* لون المقبض */
    border-radius: 120px;
    /* زوايا دائرية للمقبض */
    border: 2px solid transparent;
    /* لون الإطار حول المقبض */
}

/* لون عند تمرير الماوس على المقبض */
.text-tall::-webkit-scrollbar-thumb:hover,
.card-container::-webkit-scrollbar-thumb:hover {
    background-color: #000;
    /* لون جديد عند التمرير */
    border-radius: 120px;
    /* زوايا دائرية للمقبض */
}

@media (max-width: 768px) {
    .hero-image {
        display: block;
        height: auto;
    }

    .hero-text {
        display: none;
    }

    .text-tall {
        margin-top: 165px !important;
        max-height: 700px;
        padding-right: 10px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .text-tall p {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .hero-image {
        display: block;
        height: auto;
    }

    .hero-text {
        display: none;
    }

    .text-tall {
        margin-top: 50px;
        max-height: 700px;
        padding-right: 10px;
        margin-left: 10px;
        margin-right: 20px;
    }

    .text-tall p {
        margin-bottom: 35px;
        width: 100%;
        color: #bebaba;
        font-size: 16px;
    }
}

@media (max-width: 1100px) {
    .text-tall {
        margin-top: 50px;
        max-height: 630px;
        padding-right: 10px;
        margin-left: 10px;
        margin-right: 20px;
    }

    .text-tall p {
        margin-bottom: 35px;
        width: 100%;
        color: #bebaba;
        font-size: 16px;
    }
}

.hero-image::before {
    display: none;
}

/* Impect and action */

.card-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 3;
    overflow-y: auto;
    max-height: 700px;
    padding-right: 20px;
    padding-left: 20px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card {
    background-color: #3d2a21;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 20px;
    max-width: 400px;
    flex: 1;
    align-items: center;
    gap: 20px;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle img {
    width: 50px;
    height: 50px;
    filter: invert(1);
}

.arrow {
    font-size: 40px;
    color: #d5ad82;
    margin: 0 20px;
    animation: fadeIn 1s ease forwards; /* Apply the fade-in animation */
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-row {
        flex-direction: column;
        gap: 20px;
    }
}

.circle img {
    width: 50px;
    height: 50px;
    filter: invert(1);
}

.card-number {
    font-size: 35px;
    color: #d5ad82;
}

.card-text {
    text-align: left;
    flex: 1;
}

.card-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #d5ad82;
}

.card-paragraph {
    font-size: 12px;
    color: #d5ad82;
}

/* Left-Right Alignment */
.card-parent:nth-child(even) .card {
    flex-direction: row-reverse;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-parent {
        flex-direction: column;
        align-items: center;
    }
.text-tall {
    max-height: 665px !important;
}
    .card {
        flex-direction: column;
        text-align: center;
    }

    .card-parent:nth-child(even) .card {
        flex-direction: column;
        text-align: center;
    }
}

.card-parent {
    display: flex;
    justify-content: flex-end;
    /* الصف الأول إلى أقصى اليمين */
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    /* جعل الصفوف أقرب إلى بعضها */
}

.card-parent:nth-child(even) {
    justify-content: flex-start;
    /* الصف الثاني إلى أقصى اليسار */
}

.card {
    max-width: 450px;
    padding: 10px;
    position: relative;
    z-index: 2;
}

.circle {
    width: 85px;
    height: 85px;
    position: absolute;
    top: -7px;
    z-index: -7;
    right: 0;
}

.circle::before {
    content: "";
    position: absolute;
    top: 18px;
    background: url(../images/child.png) no-repeat center center / cover;
    width: 60px;
    height: 55px;
    z-index: 4;
    left: 15px;
}

.circle img {
    width: 80px;
    /* تكبير الصورة داخل الدائرة */
    height: 80px;
}

.white {
    color: #bebaba;
}

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

    .card-row {
        display: block;
        margin: auto;
        text-align: center;
    }

    .card-container {
        max-height: 680px;
        padding-bottom: 30px;
    }

    .card-container .white {
        font-size: 15px;
        text-align: left;
    }

    .fa-arrow-right:before {
        content: "\f063";
    }

    .arrow {
        margin: 15px;
    }
}

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

    .card-container {
        max-height: 626px;
        margin-top: 200px;
    }

    .card {
        max-width: 450px;
        padding: 10px;
        position: relative;
        z-index: 2;
        margin-bottom: 30px;
    }

    .title-responsive {
        font-size: 30px;
        color: white;
        margin: auto;
        text-align: center;
        display: block !important;
        position: relative;
        margin-top: 140px;
        margin-bottom: -150px;
        z-index: 2;
    }
}

/* Title in responsive */

.title-responsive {
    display: none;
}

.shoes::before {
    background: url(../images/icons/shoes.png) no-repeat center center / cover;
    width: 77px;
    height: 70px;
    z-index: 4;
    left: 8px;
}
.blankets::before {
    background: url(../images/icons/blanket.png) no-repeat center center / cover;
}
.women::before {
    background: url(../images/icons/supplies.png) no-repeat center center / cover;
    width: 60px;
    height: 60px;
    z-index: 4;
    left: 18px;
    filter: invert(1);
}
.food::before {
    background: url(../images/icons/food.png) no-repeat center center / cover;
    filter: invert(1);
}
.cooking::before {
    background: url(../images/icons/cooking.png) no-repeat center center / cover !important;
    filter: invert(1) !important;
}
.medicine::before {
    background: url(../images/icons/medicine.png) no-repeat center center / cover;
    filter: invert(1);
}
/* Animation for fade-in effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background-color: #3d2a21;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 20px;
    max-width: 400px;
    flex: 1;
    align-items: center;
    gap: 20px;
    opacity: 0; /* Default opacity for fade-in */
    animation: fadeIn 1s ease forwards; /* Apply the fade-in animation */
}

/* Adding delay to each card for a staggered effect */
.card:nth-child(1) {
    animation-delay: 0.1s;
}
.card:nth-child(2) {
    animation-delay: 0.2s;
}
.card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Hover animation effect for scaling */
.card:hover {
    transform: scale(1.05); /* Slightly enlarge the card */
    transition: transform 0.3s ease; /* Smooth transition */
}
.donate-btn {
    animation: fadeIn 1s ease forwards; /* Apply the fade-in animation */
}
.popup-location {
    height: 100px;
}
.popup-location p {
    font-size: 16px;
    text-align: left;
}