html {
    font-size: 15px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.97rem;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.navbar-custom {
    background: #7a2c32 !important;
}

.donate-btn {
    background: #7a2c32;
    color: #fff;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
}

.contact-bar {
    font-size: 0.95rem;
    background: transparent;
    color: #ffc107;
    padding: 0.25rem 0;
}

.social-icons a {
    color: #ffc107;
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    color: #7a2c32 !important;
    font-weight: 500;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

/* Index page specific navigation styles */
body:has(.hero-section) .navbar-nav .nav-link {
    color: #fff !important;
}

body:has(.hero-section) .navbar-nav .nav-link.active,
body:has(.hero-section) .navbar-nav .nav-link:focus,
body:has(.hero-section) .navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

.who-section {
    padding: 60px 0;
}

.who-img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}

.who-content h2 {
    font-weight: bold;
    margin-bottom: 24px;
}

.who-content p {
    color: #555;
    font-size: 1.15rem;
}

.who-btn {
    background: #f77c1e;
    color: #222;
    border-radius: 40px;
    padding: 0.75rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 32px;
    border: none;
    transition: background 0.2s;
}

.who-btn:hover {
    background: #e86c00;
    color: #fff;
}

.latest-projects-section {
    padding: 60px 0 30px 0;
    background: #fff;
}

.latest-projects-section h2 {
    font-weight: bold;
}

.latest-projects-section p.lead {
    color: #666;
    font-size: 1.1rem;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 32px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 16px;
}

.project-card h4 {
    font-weight: bold;
}

.project-card p {
    color: #444;
}

.all-projects-btn {
    background: #7a2c32;
    color: #fff;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    margin: 0 auto 30px auto;
    display: block;
    transition: background 0.2s;
    min-width: unset;
    width: auto;
    max-width: 180px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.all-projects-btn:hover {
    background: #a94449;
    color: #fff;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #7a2c32;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
    cursor: pointer;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
}

.scroll-to-top:hover {
    background: #a94449;
    opacity: 1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128c7e;
    color: #fff;
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.recaptcha-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.latest-articles-section {
    padding: 50px 0 30px 0;
    background: #fff;
}

.article-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 340px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.article-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    filter: brightness(0.7);
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.article-card h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}

.article-card p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.article-meta {
    font-size: 0.95rem;
    color: #f7f7f7;
    margin-top: 0.5rem;
}

.article-btn {
    background: #f77c1e;
    color: #fff;
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
}

.article-btn:hover {
    background: #e86c00;
    color: #fff;
}

.newsletter-section {
    background: #f5f7f9;
    padding: 40px 0 30px 0;
}

.newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-title {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}

.newsletter-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0;
}

.subscribe-btn {
    background: #f77c1e;
    color: #222;
    border-radius: 40px;
    padding: 0.75rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 500;
    border: none;
    margin-left: 2rem;
    transition: background 0.2s;
}

.subscribe-btn:hover {
    background: #e86c00;
    color: #fff;
}

.site-footer {
    background: #7a2c32;
    color: #fff;
    padding: 50px 0 0 0;
    font-size: 1rem;
}

.site-footer h5,
.site-footer h6 {
    color: #fff;
    font-weight: bold;
    margin-bottom: 1.2rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #ffc107;
}

.site-footer .footer-social a {
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.3rem;
    opacity: 0.8;
}

.site-footer .footer-social a:hover {
    color: #ffc107;
    opacity: 1;
}

.site-footer .footer-social a[href*="facebook"]:hover {
    color: #1877f3 !important;
}

.site-footer .copyright {
    text-align: center;
    padding: 18px 0 10px 0;
    font-size: 0.98rem;
    border-top: 1px solid #fff2;
    margin-top: 30px;
}

@media (max-width: 767px) {
    .newsletter-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-title {
        font-size: 1.3rem;
    }

    .newsletter-desc {
        font-size: 1rem;
    }

    .subscribe-btn {
        margin-left: 0;
        margin-top: 1rem;
    }
}