/* Make sure the page takes full height */
/* Ensure the background image covers the full page */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
 /* Ensure correct path */
    background-size: cover; /* Makes sure the image covers the entire background */
    background-repeat: no-repeat; /* Prevents image repetition */
    background-position: center center; /* Centers the image */
    background-attachment: fixed; 

    overflow-x: hidden;
    width: 100%;
}



/* Push footer to the bottom */
.main-content {
    flex: 1;
}

/* Footer Styling */
.footer {
    background-color: whitesmoke;
    color:  purple;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

/* Navbar Logo */
.logo {
    height: 50px;
    width: auto;
    max-width: 150px;
}


@media (max-width: 576px) {  /* Adjusts for mobile screens */
    .btn-lg {
        font-size: 14px; /* Reduce font size */
        padding: 8px 20px; /* Reduce padding */
        width: auto; /* Ensure it doesn't stretch */
    }
}






/* Navbar Styling */
.navbar {
    background-color: whitesmoke !important;
    position: Fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar Links Styling */
.navbar .nav-link {
    color: purple !important;
    font-weight: bold;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect for Navbar Links */
.navbar .nav-link:hover {
    color: palevioletred !important;
    text-shadow: 1px 1px 5px powderblue(0, 123, 255, 0.5);
}

/* Navbar Brand (Logo Text) Styling */
.navbar-brand {
    color: purple !important;
    font-weight: 300;
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease-in-out;
}


/* Custom Button Styles */
.signup-btn {
    background-color:palevioletred ; /* Green for Sign Up */
    border-color: palevioletred;
    
}

.signup-btn:hover {
    background-color: grey; /* Darker Green on Hover */
    border-color: grey;
}

.login-btn {
    background-color: teal; /* Blue for Login */
    border-color: teal;
}

.login-btn:hover {
    background-color: ghostwhite; /* Darker Blue on Hover */
    border-color: ghostwhite;
}
.navbar {
    padding-left: 20px !important; /* Reduce left padding */
    padding-right: 20px !important; /* Reduce right padding */
}
.navbar-nav .nav-item {
    margin: 0 8px; /* Adjust spacing between links */
}
.navbar-collapse {
    transition: height 0.3s ease-in-out; /* Smooth animation */
}


.welcome-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    padding: 20px;
}

.text-section {
    flex: 1;
    text-align: left;
    padding: 20px;
    margin-top :100px;
}

.text-section h4 {
    font-size: 24px;
    font-weight: bold;
    
    color: purple; 
}



.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    width: 80px;
    height: 80px;
    position: relative;
    overflow: hidden;
    border-radius: 50%; /* Circular shape */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 110px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.image-container img.active {
    opacity: 1;
}

.image-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bolder;
    color: black;
    text-align: center;
}


.welcome-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    padding: 20px;
    color: black; 
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Adds glow effect for visibility */
    z-index: 1;
}


/* Fade-in Animation for Text */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}


.text-section {
    flex: 1;
    text-align: left;
    padding: 10px;
}

.text-section h3 {
    font-size: 24px;
    font-weight: bold;
    animation: fadeIn 2s ease-in-out;
    color:purple;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-left:200px;
}
.image-container {
    width: 400px;
    height: 400px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);

}




@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.custom-btn {
    background-color: #0056b3; /* Blue Color */
    color: white;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 18px;
    border: none;
    transition: 0.3s;
}

.donate-btn {
    background-color: teal; /* Green Color */
}

.custom-btn:hover {
    background-color: #0056b3;
    color: white;
}

.donate-btn:hover {
    background-color: teal;
}

.btn-lg {
    font-size: 18px;
    padding: 12px 30px;
    margin: 10px;
}