﻿.head-home {
    background-image: url("/assets/Images/back-header.png");
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    background-color: #FAFAFA;
    display: flex;
    justify-content: space-between;
}

.head {
    color: var(--Secondary-500, #D12839);
    font-size: clamp(20px, 4vw, 37px); /* يتغير من 24px إلى 43px حسب حجم الشاشة */
    font-style: normal;
    font-weight: 500;
}

.content {
}

.sub-head {
    color: var(--Primary-800, #0C2A5A);
    font-size: clamp(30px, 10vw, 96px); /* يتغير من 30px إلى 115px حسب حجم الشاشة */
    font-style: normal;
    font-weight: 700;
}

.masged {
    background-image: url("/assets/Images/header-masged.png");
    background-repeat: no-repeat;
    background-size: contain; /* عرض الصورة بالكامل */
    width: 100%;
    height: 100%;
    display: flex;
}

.donate-home {
    border-radius: 12px;
    background: var(--Primary-500, #14489C);
    color: var(--Neutral-White, var(--Dark-White, #FFF));
    font-size: clamp(12px, 2vw, 16px); /* حجم النص في الزر يتغير أيضًا */
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    padding: 15px 33px;
}

.head-home {
    height: 100vh; /* Override vh-100 for smaller screens */
}

.donate-home:hover {
    color: var(--Neutral-White, var(--Dark-White, #FFF));
    background: var(--Secondary-500, #0C2A5A);
}

@media (min-width: 1300px) {
    .content {
        padding-right: 120px
    }
}

@media (max-width: 1200px) {
    .head-home {
        flex-direction: column;
        align-items: center; /* Center-align elements for smaller screens */
        padding: 30px 0px 0px 0px;
    }

    .content {
        padding-right: 77px
    }

    .content {
        padding-right: 0; /* Remove large padding */
        text-align: center; /* Center text for smaller screens */
        width: 100%;
        margin-bottom: 20px; /* Add space below the text */
    }

    .masged {
        width: 100%;
        height: 632px; /* Adjust height for smaller screens */
        margin-bottom: 20px; /* Add spacing between elements */
    }

    .head {
        font-size: clamp(20px, 4vw, 25px); /* Smaller font size for smaller screens */
    }

    .sub-head {
        font-size: clamp(24px, 3vw,50px); /* Smaller sub-header size */
    }

    .donate-home {
        width: 30%; /* Make button full width */
        padding: 10px 20px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Adjust button font size */
        text-align: center; /* Center-align text inside the button */
        margin-top: 15px; /* Add space between button and other content */
    }

    .head-home {
        height: auto; /* Override vh-100 for smaller screens */
        flex-direction: column; /* Stack content vertically */
    }
}

@media (max-width: 992px) {
    .donate-home {
        width: 50%; /* Make button full width */
        padding: 10px 20px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Adjust button font size */
        text-align: center; /* Center-align text inside the button */
        margin-top: 15px; /* Add space between button and other content */
    }

    .content {
    }
}

@media (max-width: 769px) {
    .navbar-brand svg {
        width: 154px;
        height: 100%;
    }

    .masged {
        width: 100%;
        height: 300px; /* Adjust height for smaller screens */
        margin-bottom: 20px; /* Add spacing between elements */
    }

    .donate-home {
        width: 70%; /* Make button full width */
        padding: 10px 20px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Adjust button font size */
        text-align: center; /* Center-align text inside the button */
        margin-top: 15px; /* Add space between button and other content */
    }
}

@media (max-width: 1200px) {
    .navbar-nav {
        gap: 0px;
    }
}

@media (max-width: 500px) {
    .my-div {
        align-items: flex-start !important;
    }

    .content {
        text-align: start; /* Center text for smaller screens */
    }
}
