/* Default navbar style */
.navbar {
    transition: background-color 0.5s, box-shadow 0.5s, opacity .5s;
    position: sticky;
    top: 0;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

#navbarNav.scrolled {
    opacity: 1 !important;
}

@media (min-width: 992px) {

    /* This targets screens larger than 992px (Bootstrap's lg breakpoint) */
    .navbar {
        padding: 10px !important;
        /* Increase padding for a thicker navbar */
    }
}

#logostate {
    width: 70%;
    height: auto;
}

@media (max-width: 992px) {

    /* This targets screens smaller than 992px (Bootstrap's lg breakpoint) */
    #logostate {
        width: 80% !important;
        /* Increase padding for a thicker navbar */
        height: auto;

    }
}

/* Default text color */
.navbar .nav-link,
.navbar .btn {
    color: black;
    /* Default text color */
    opacity: 100% !important;
    font-family: 'Quicksand', sans-serif;
    font-weight: 300;
    /* Regular weight */
    font-size: 20px;
}

/* Make nav links bold on hover */
.navbar-nav .nav-link:hover {
    color: #ffc108 !important;
    /* Set hover color to #ffc108 */
    font-weight: bold;
    /* Make text bold on hover */
}

/* Scrolled navbar style */
.navbar.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.nav-item {
    padding-left: 10px;
}

/* Video container */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    display: block;
    /* Remove any space below the image */

}

/* Video element */
#bg-video {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    transition: opacity 1s ease-in-out;
    /* Smooth transition for opacity */
    opacity: 1.5;
    display: block;
    /* Remove any space below the image */

}

.imgcontainer {
    position: absolute;
    top: 100;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Ensures that the image doesn’t overflow outside the container */

}

.imgcontainer img {
    object-fit: cover;
    /* Ensure the image covers the entire container */
    width: 100%;
    height: 100%;
    display: block;
    /* Remove any space below the image */
}


.card-overlay {
    position: absolute;
    top: 60%;
    left: 20%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* Above the video */
}

@media (max-width: 992px) {
    .card-overlay {
        top: 50%;
        left: 50%;
        margin-top: 50px !important;
    }
}

.card {
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
}




/* Page Setup */
#home {
    height: 100vh;
}


.donation-card {

    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    padding: 20px;
    width: 400px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);

}

@media (max-width: 992px) {

    /* Target phones, tablets, etc. */
    .donation-card {
        width: 280px;
    }
}


.donation-card h2 {
    background-color: #ffc108;
    border-radius: 10px;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.donation-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.donation-stats div {
    background-color: #fdeac8;
    border-radius: 10px;
    padding: 10px;
    width: 45%;
    text-align: center;
    color: black;
    text-shadow: 0px 0px 0px;

}

.donation-stats div h3 {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 3px black;
}

.donation-stats div p {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: bold;
}

.donation-buttons button {
    display: block;
    width: 100%;
    border: none;
    border-radius: 8px;
    margin: 10px 0;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.5s
}

.donation-buttons .paypal {
    background-color: #00008B;
    color: #fff;
}

.donation-buttons .paypal:hover {
    background-color: #2c2c7f;
}

.donation-buttons .venmo {
    background-color: #00a4de;
    color: #fff;
}

.donation-buttons .venmo:hover {
    background-color: #35b9e9;
}

.donation-buttons .zelle {
    background-color: #6534d1;
    color: #fff;
}

.donation-buttons .zelle:hover {
    background-color: #7a49e4;
}

.donation-buttons .debit {
    background-color: #000;
    color: #fff;
}

.donation-buttons .debit:hover {
    background-color: #2e2e2e;
}



.form-container {
    border-width: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    height: 30vh;
    /* Space between form and image */

    border-top: 5px solid #ffc108;
    border-bottom: 5px solid #ffc108;
}


.plane-img {
    width: 70px;
    /* Adjust size as needed */
    height: auto;
}

@media (max-width: 991px) {
    .plane-img {
        display: none;
    }
}



/* Mission Styling (Majority Inline) */
#mission {
    background-color: white;
    height: 100vh;
    color: black;
    position: relative;
    overflow: hidden;
    /* Hide overflow */
}

[x-cloak] {
    display: none !important;
}



@media (max-width: 992px) {

    /* Target phones, tablets, etc. */
    .missionshift {
        margin-top: 10px !important;
    }

    .missiontitle {
        display: none;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    #mission {
        height: 170vh !important;
    }

    .projectimg {
        height: 100px !important;
    }

    /* */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    /* Changes white to black */
}

.carousel-controls button {
    background: none;
    border: none;
    font-size: 2rem;
    color: black;
    /* Change color as needed */
    cursor: pointer;
}

.carousel-controls button:hover {
    color: #ffc108;
    /* Yellow hover effect */
}

.white-section {
    background-color: #fff;
    height: 20%;
}

@media (max-width: 768px) {
    .white-section {
        height: 100vh !important;
        /* Increase height on mobile screens */
    }

    .hi {
        margin-top: 0px !important;
    }

}

#contact {
    background-color: white;
    height: 100vh;
    color: black;
    padding: 50px;
    /* Add padding for better spacing */
}

/* Section Background */
@media (max-width: 992px) {

    /* Target phones, tablets, etc. */
    .Contitle {
        text-align: center !important;
        transform: translateX(0) translateY(0) !important;
        font-size: calc(1.375rem + 1.5vw + 3px) !important;
    }

    .Consubtitle {
        text-align: center !important;
        transform: translateX(0) translateY(0) !important;
        font-size: calc(1.375rem + 1.5vw - 10px) !important;
    }

    .Conitemdiv {
        transform: translateX(0) translateY(0) !important;
    }

    .contact-item {
        text-align: center !important;
        font-size: calc(1.375rem + 1.5vw + 10px) !important;
        word-wrap: break-word;
        /* Ensures long words break */
        overflow-wrap: break-word;
        /* Modern equivalent */
        white-space: normal;
        /* Allows text to wrap */
    }

    .contact-item-two {
        text-align: center !important;
        font-size: calc(1.375rem + 1.5vw - 5px) !important;
        word-wrap: break-word;
        /* Ensures long words break */
        overflow-wrap: break-word;
        /* Modern equivalent */
        white-space: normal;
        /* Allows text to wrap */
    }


}

/* team styles*/
#team {
    background-color: white;
    height: 100vh;
    color: black;
    padding: 50px;
    /* Add padding for better spacing */
}

.profile-card {
    display: none;
    background-color: #FBC97E;
    padding: 20px;
    border-radius: 10px;
    margin: 10px auto 50px auto;
    /* Centers horizontally */
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    height: fit-content !important;
    width: 10000vh;
    max-width: 90%;
    /* Ensures responsiveness */
}

.profile-card img {
    /* width: 1020px !important;
    height: 120px !important; */
    border-radius: 10px;
    margin-right: 15px;
}

.profile-card div {
    text-align: left;
}

.profile-card h3 {
    margin: 0;
    font-size: 1.5rem;
}

.profile-card p {
    margin-top: 5px;
    font-size: 1rem;
}

#profile-img {
    height: 200px !important;
    width: 200px !important;
}

/* Team Grid */
.team-section {
    margin-top: 30px;
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.team-member {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, border 0.3s;
}

.team-member:hover {
    transform: scale(1.1);
    border: 3px solid orange;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 700px;

        margin: 10px auto 50px auto;
        /* Centers horizontally */

        height: 450px;
        width: auto;
    }

    .profile-card img {
        margin-right: 0;
        margin-bottom: 10px;

    }


    .team-member {
        width: 70px;
        height: 70px;
    }

    #team {
        height: 200vh !important;
    }
}

.readmore:hover {
    color: #00a4de !important;
}