
/* Top Bar */
.top-bar {
    font-size: 0.9rem;
    z-index: 1030;
    background-color: #008060;
}

.top-bar a {
    color: #343a40; /* Dark text for contrast */
    text-decoration: none;

}

.top-bar .social-icons a {
    font-size: 1.2rem;
    padding-right: 5px;
}




/* Navbar */
.navbar {
    z-index: 1029; /* Ensure it's behind the top bar */
    border-bottom: 1px solid rgb(231, 229, 229);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.navbar-nav .nav-link {
    color: #343a40; /* Dark text */
    font-size: 1rem; /* Ensure readability */
    padding: 0.5rem 1rem; /* Adjust spacing */
}

.navbar-nav .nav-link:hover {
    color: #007bff; /* Bootstrap blue on hover */
}

.navbar-toggler {
    border: none; /* Cleaner look for toggler button */
}

/* Buttons */
.btn-outline-dark {
    color: #343a40;
    border-color: #343a40;
    margin: 10px;
}

.btn-outline-dark:hover {
    background-color: #343a40;
    color: #fff;
    
}

.btn-dark {
    background-color: #343a40;
    border-color: #343a40;
    margin: 10px;
}

.btn-dark:hover {
    background-color: #007bff; /* Bootstrap blue */
}

/* Mobile Specific Styling */
@media (max-width: 576px) {
    .top-bar {
        font-size: 0.8rem;
    }

    .top-bar .container {
        flex-direction: column; /* Stack items vertically on small screens */
        text-align: center;
    }

    .top-bar .social-icons {
        margin-top: 0.5rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}

/*====================================================================================*/
/* Custom CSS for the carousel */
.carousel-item img {
   
    height: 500px;
    object-fit: cover; 
    padding-top: 110px;
}

/* Optional: Styling for carousel control buttons */
/* .carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000; 
} */

/* Optional: Styling for carousel caption */
/* .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
} */

/* Optional: Adjust padding for carousel */
/* .carousel-inner {
    border-radius: 10px; 
    overflow: hidden;
} */

/*======================================Welcome to Money Drop For Life============================================*/


.icon-box {
    text-align: center;
    padding: 20px;
    border-radius: 10px; 
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    height: 200px;
    margin-bottom: 80px;
    margin-top: 40px;
}
.icon-box:hover {
    transform: scale(1.05); /* Slight zoom-out for the entire box */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
}
.icon-box img {
    width: 90px;
    height: 100px;
    transition: transform 0.3s ease; /* Smooth hover effect for the image */
}
.icon-box img:hover {
    transform: scale(0.9); 
}
.icon-box h6 {
    margin-top: 10px;
    font-size: 20px;
    color: #007bff;
}


/*====================================our-story section=========================================================================*/


/* Custom Styling for Our Story section */


.our-story .row {
    align-items: center;
}

.our-story .story-image {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.our-story .story-text {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
}

.our-story h2 {
    font-size: 2.7rem;
    font-weight: bold;
    color: #343a40;
}
.story-text h4{
    color: #008060;
}

.our-story p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}



/* Responsive Design */
@media (max-width: 768px) {
    .our-story .story-image {
        max-height: 300px;
    }
}


/*=================================================================*/

#causes {
    padding-top: 50px;
    padding-bottom: 50px;
}

.cause-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cause-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.cause-card-body {
    padding: 20px;
}

.cause-card-body h5 {
    color: #008060;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.cause-card-body p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.progress-bar-container {
    margin-bottom: 20px;
}

.progress-bar {
    background-color: #008060;
}

.donate-btn {
    display: inline-block;
    background-color: #008060;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #006d4e;
}

@media (max-width: 768px) {
    .cause-card-body h5 {
        font-size: 1.1rem;
    }
    .cause-card-body p {
        font-size: 0.9rem;
    }
    .cause-card-body .btn {
        width: 100%;
    }
}

/**===============================Happy Customers=============================================**/




/* Testimonial Section */
/* General Styling for the Testimonial Section */
.testimonial-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-section h2 {
    font-size: 2rem;
    color: #008060;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 1.2rem;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    padding: 0 15px;
    line-height: 1.6;
}

/* Avatar Container */
.avatars {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.avatar {
    width: 80px;
    height: 80px;
    border: 2px solid #008060;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Effect for Avatars */
.avatar:hover {
    transform: scale(1.1);
    border-color: #005040;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 30px 15px;
    }

    .testimonial-section h2 {
        font-size: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .testimonial-quote {
        font-size: 0.9rem;
    }

    .avatar {
        width: 50px;
        height: 50px;
    }
}
/* Avatar Styling */
img.rounded-circle {
    border: 2px solid #008060;
}

div[style*="display: flex"] {
    margin: 20px 0; /* Adds spacing around the flex container */
}

div[style*="display: flex"] h3 {
    margin: 0 0 10px; /* Spacing below the heading */
    color: #333; /* Heading color */
}

div[style*="display: flex"] p {
    margin: 5px 0; /* Spacing between details */
    color:#746d6d;
}


/*========================== Additional Styling for the Contact Section =================================*/
#contact {
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-info {
    color: #333;
}

form {
    max-width: 400px;
    border-radius: 30px;
}

form .form-label {
    font-weight: bold;
}

form button {
    transition: all 0.3s ease-in-out;
}

form button:hover {
    transform: scale(1.05);
}

#contact-section h1 {
    font-size: 2rem;
    font-weight: bold;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    #contact {
        padding-top: 2rem;
        height: auto; /* Allow the height to adjust naturally */
    }

    .contact-info, .contact-info h3 {
        text-align: center; /* Center align on smaller screens */
    }

    .contact-info p {
        text-align: center; /* Center align text */
    }

    form {
        margin-top: 2rem; /* Add spacing between sections */
    }
}







/* .container-info{
    margin-left: 20px;
} */


.footer {
    background-color: #233544;
    color: #fff;
    padding: 40px 20px;
}

.footer .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc00;
}

.footer .footer-logo span {
    color: #00d7a3;
}

.footer h5 {
    color: #00d7a3;
    margin-bottom: 20px;
}

.footer a {
    color: #b3cdd1;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

.footer .contact-info p {
    margin-bottom: 8px;
}

.footer .social-icons a {
    color: #b3cdd1;
    font-size: 1.2rem;
    /* margin-right: 15px; */
    transition: color 0.3s ease;
   
}

.footer .social-icons a:hover {
    color: #00d7a3;
}

.footer-bottom {
    background-color:  #1a2f41;
    text-align: center;
    padding: 10px 0;
    height: 80px;
    color: #b3cdd1;
    /* margin-top: 20px; */
}
.footer .social-icons {
    display: flex;
    justify-content: center; /* Centers icons horizontally */
    gap: 15px; /* Adds space between icons */
   /* Optional: Adds space above the icons */
}

















 .background-image{
    margin: 0;
    padding: 0;
    height: 86vh;
    background-image: url('image/slaider1.png'); 
    background-size: cover;
    background-position: top; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.login-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

.login-form .form-group {
    margin-bottom: 15px;
}

.login-form .form-control {
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}

.login-form .btn {
    width: 100%;
    padding: 10px;
    background-color: gray;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 1.2rem;
}

.login-form .btn:hover {
    background-color: #0056b3;
}

.login-form .forgot-password {
    text-align: center;
    margin-top: 10px;
}

.login-form .forgot-password a {
    color: #007bff;
} 


/*=======================================================================*/
/* Registration Form styling */
.registration-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    width: 100%;
    max-width: 500px;
    /* padding-top: 80px; */
}

.registration-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

.registration-form .form-group {
    margin-bottom: 15px;
}

.registration-form .form-control {
    border-radius: 10px;
    padding: 10px;
    background-color: rgb(197, 223, 231);
    font-size: 1rem;
}

.registration-form .btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}

.registration-form .btn:hover {
    background-color: #0056b3;
    color: white;
}

/* .registration-form .terms {
    text-align: center;
    margin-top: 10px;
} */

/* .registration-form .terms input {
    margin-right: 10px;
} */

.registration-form .terms label {
    font-size: 0.9rem;
}

.registration-form .login-link {
    text-align: center;
    margin-top: 10px;
}

.registration-form .login-link a {
    color: #007bff;
}

/*==============================================================================================*/

/* General Styles */
/* body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
background: linear-gradient(to bottom, #d9f1fc, #ffffff);
} */

/* Hero Section */
.hero-section {
position: relative;
background-image: url('image/slaider.png'); 
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 60vh;
display: flex;
align-items: center;
justify-content: center;
margin-top: 100px;
}

.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6); /* Add a dim effect for better readability */
}

.hero-content {
position: relative;
z-index: 2;
max-width: 800px;
text-align: center;
}

/* .hero-title {
font-size: 3rem;
font-weight: bold;
margin-top: 8rem;
margin-left: 200px;

text-align: center;
} */

.hero-subtitle {
font-size: 1.2rem;
margin-bottom: 1.5rem;  
color: #ffffff;
}

.hero-content .btn {
padding: 0.8rem 1.5rem;
font-size: 1rem;
border-radius: 5px;
}

/* Main Section */
.main-section {
background-color: #ffffff;
border-radius: 10px;
border: 1px solid #d4e1ed;
}

.main-title {
font-size: 2rem;
font-weight: bold;
color: #333;
}

.main-description {
font-size: 1rem;
color: #555;
}

/* Terms Section */
.terms-section {
background-color: #ffffff;
border-radius: 10px;
border: 1px solid #d4e1ed;
}

.terms-title {
font-size: 1.5rem;
font-weight: bold;
color: #007bff;
}

.terms-description {
font-size: 1rem;
color: #555;
text-align: justify;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Optional overlay for contrast */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers content vertically */
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fff; 
    margin: 0;
}




/* Responsive Styles */
@media (max-width: 768px) {
.hero-title {
    font-size: 2rem;
    
}

.hero-subtitle {
    font-size: 1rem;
}

.main-title, .terms-title {
    font-size: 1.3rem;
}

.main-description, .terms-description {
    font-size: 0.95rem;
}
}



/* Mission Cards Styling */
.mission-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* margin-top: 10px; */
    gap: 15px; /* Spacing between cards */
}

.mission-card {
    flex: 1 1 calc(33.33% - 30px); /* 3 cards per row, minus spacing */
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: #008060;
}

.mission-card p {
    margin: 0;
}

/* Hover Effects */




/* Responsive Styles */
@media (max-width: 768px) {
    .our-story-image,
    .our-story-content {
        max-width: 100%;
    }

    .mission-card {
        flex: 1 1 calc(50% - 20px); /* 2 cards per row for medium screens */
    }
}

@media (max-width: 480px) {
    .mission-card {
        flex: 1 1 90%; /* Stack cards for smaller screens */
    }
}