/* :root {
    /* Color Variables : original ones
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    /

    /* My changes /
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
} */

:root {
    --primary-color: #3AAA35;      /* Green from "A" and part of the logo icon */
    --secondary-color: #0071CE;    /* Blue from "YDI" */
    --accent-color: #2BAE66;       /* Teal/green from the circle behind the Africa silhouette */
    --light-color: #ffffff;        /* White background and inner icon */
    --dark-color: #000000;         /* Black text in the tagline */
    --gradient-start: rgba(10, 250, 6, 0.85);
    --gradient-end: rgba(2, 42, 84, 0.84);
}


/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
} */
body {
    font-family: 'Mona Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    line-height: 1.5;
    font-size: 13px;
}
/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    transition: all 0.3s;
}

.top-logo {
    height: 30px !important;
}
.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: white !important;
    margin: 0 10px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    border-bottom: var(--secondary-color) 2px dashed;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg,rgba(5, 207, 5, 0.7), rgba(15, 122, 184, 0.7)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--light-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    color: #045801;
    background-color: #66f361;
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
    /* position: relative; */
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title.text-start:after {
    left: 0;
    transform: none;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.program-card {
    height: 100%;
}

.program-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.program-card .card-body {
    padding: 25px;
}

.program-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.team-card {
    text-align: center;
}

.team-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.testimonial-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Gallery */
.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.gallery-item img {
    transition: all 0.3s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.overlay-content h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

/* Forms */
.form-control {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    background:
            linear-gradient(135deg, var(--gradient-start), var(--gradient-end)),
            url('assets/images/african-child-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 50px 0 20px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-links h5 {
    color: var(--accent-color);
    color: white;
    margin-bottom: 20px;
    font-weight: 900;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.lower-logo {
    height: 30px !important;
}
.social-icons a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
}

/* Utility Classes */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 40px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Donation Page Specific */
.amount-btn {
    padding: 8px;
}

.amount-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.impact-item h5 {
    color: var(--secondary-color);
}

.other-ways {
    list-style: none;
    padding: 0;
}

.other-ways li {
    margin-bottom: 10px;
}

.other-ways a {
    color: var(--primary-color);
    text-decoration: none;
}

.other-ways a:hover {
    color: var(--secondary-color);
}

/* Donation Page Styles */
.donation-options-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.impact-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.impact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.amount-option {
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    padding: 10px;
}

.amount-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.testimonial-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.other-ways a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.other-ways a:hover {
    color: var(--secondary-color);
}

.abt-link {
    color: #045801;
}

.abt-link:hover {
    color: #045801;
    color: #66f361;
}

/* btn-branded {
    color:#045801 !important;
    background-color: #2BAE66 !important;
} */