/* Reset default styles */
body, h1, p, ul {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}


.text-item {
    display: inline-block; /* Keeps text inline */
    min-width: 200px; /* Ensures all text blocks start from the same position */
    text-align: left; /* Aligns text to the left */
}

/* Video Background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Keeps the video in the background */
}

/* Content Wrapper */
.content {
    position: relative;
    z-index: 0; /* Keeps the content on top of the video */
    color: white;
    text-align: center;
}

/* Navigation Bar with Gradient & Glass Effect */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 0.3s ease-in-out; /* Smooth effect */
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(50, 50, 50, 0.6)); /* Gradient */
    backdrop-filter: blur(10px); /* Glass Blur Effect */
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

.logo img {
    height: 100px;
    margin-top: 7px;
}

/* Navigation Menu */
.menu {
    list-style: none;
    display: flex;
    justify-content: center; /* Center items */
    align-items: center;
    flex-grow: 1; /* Makes menu take available space */
    margin-left: auto; /* Pushes menu to the right */
}

.menu li {
    display: inline;
}

/* Fix for "Contact" Being Cut Off */
.menu li:last-child {
    margin-right: 0; /* Ensures last item is properly spaced */
}
/* Navigation Links */
.menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px; /* Adds more padding */
    transition: all 0.3s ease;
    border-radius: 10px;
}

/* Hover Effects */
.menu a:hover {
    background: linear-gradient(90deg, #ff5722, #ff9800);
    transform: scale(1.05);
}




/* ABOUT SECTION */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh; /* Adjust height */
    padding: 50px 20px;
    margin-bottom: -220px;;
    width: 90%;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1); /* Glass effect */
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: white;
}

/* Heading Styling */
.hero-content h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

/* Paragraph Styling */
.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left; /* Ensures proper alignment */
}



/* STYLISH BUTTON */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn:hover {
    background: linear-gradient(90deg, #ff5722, #ff9800);
    transform: scale(1.05);
}


.btn {
    background: #0044ff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 9px;
}



/* OUR MISSION SECTION */
.vision-section {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh; /* Adjust height */
    padding: 50px 20px;
    margin-top: 10px; /* Ensures spacing from previous section */
}

.vision-content {
    max-width: 800px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1); /* Glass effect */
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: white;
}

/* Heading Styling */
.vision-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

/* Paragraph Styling */
.vision-content p {
   margin-top: 5px;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left; /* Ensures proper alignment */
}


 /*DONATION CONTAINER*/
.donation-container {
    position: fixed;
    right:2%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 300px;
    text-align: center;
}
.donation-container h2 {
    color: #ffffff;
}


.donation-container input {
    width: 93%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 9px;
}
.donation-container button {
    background: #0044ff;
    color: white;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    width: 100%;
}

.donation-container button:hover {
background: linear-gradient(90deg, #ff5722, #ff9800);
transform: scale(1.05);
}
.donation-details {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    color: white;
    text-align: left;
}


/* FOOTER SECTION*/
footer {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex; 
    align-items: center;
    justify-content: center;
}


.footer-info p {
    margin: 5px 0;
    font-size: 16px;
}

.footer-info a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.footer-info a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #28a745;
}

.footer-bottom {
    margin-top: 15px;
    font-size: 14px;
    opacity: 5;
}



/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .menu li {
        margin: 10px 0;
    }


    .hero-section {
        margin-top: 280px;
    }

    .vision-section {
       padding-top: 100px;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }


    .donation-container {
        position: static;
        width: 90%; /* Make it fit smaller screens */
        margin: 20px auto;
        transform: none;
        }

    .footer-container {
        flex-direction: column;
        text-align: center;
        } 
}
