/* Global Styles */
body {
    padding-top: 80px;
    background-color: #ffffff;
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* Navbar Customization */
.navbar {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
}

.navbar-brand img {
    height: 40px;
    border-radius: 7px;

}

.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover {
    color: #28a745 !important;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none;
    width: 24px;
    height: 24px;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-toggler-icon::before {
    top: 6px;
}

.navbar-toggler-icon::after {
    bottom: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateX(-50%) rotate(45deg);
    top: 12px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateX(-50%) rotate(-45deg);
    bottom: 12px;
}
/* Mobile Menu Customization */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, #1e3c72, #2a5298);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        margin-right: 0;
    }
}

/* Carousel Customization */
.carousel-item img {
    height: 400px;
    object-fit: cover;
    /*border-radius: 10px;*/
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

/* Cards Customization */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 20px;
    text-align: center;
}
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.card-text {
    font-size: 1rem;
    color: #666;
}

/* Text truncation */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* About Us Section */
.about-us {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.about-us h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: bold;
}

.about-us p {
    font-size: 1.1rem;
    color: #555;
}

/* Donation Section */
.donation-section {
    padding: 60px 0;
}

.donation-section h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: bold;
}

.donation-section p {
    font-size: 1.1rem;
    color: #555;
}

/* Contact Us Section */
.contact-us {
    padding: 60px 0;
}

.contact-us h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: bold;
}

.contact-us p {
    font-size: 1.1rem;
    color: #555;
}

.map-container iframe {
    border-radius: 10px;
    border: none;
}

/* Social Links */
.social-links {
    margin-top: 30px;
}

.social-links a {
    font-size: 24px;
    margin: 0 10px;
    color: #1e3c72;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.social-links a:hover {
    color: #28a745;
    transform: scale(1.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #28a745;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #1e3c72;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }

    .about-us h2,
    .donation-section h2,
    .contact-us h2 {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}


/*num*/
.animate-number {
    font-weight: bold;
    color: #333;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-number.animated {
    animation: countUp 1s ease-out;
}



.row {
    display: flex;
    align-items: stretch;
}
.card {
    flex-grow: 1;
    min-height: 400px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.7);
}
