/* Base Styles */
:root {
    --primary-color: #004aad;          /* Deep Blue - border ring & professional tone */
    --primary-dark: #00337a;           /* Darker shade of blue for hover or headers */
    --secondary-color: #f6c200;        /* Yellow from ribbon - attention-grabbing, warm */
    --accent-color: #c8102e;           /* Rich Red from Africa map - bold and energetic */
    --success-color: #2e7d32;          /* Deep Green - not in the logo but requested */
    
    --light-color: #ffffff;            /* White - clean background */
    --dark-color: #222222;             /* Neutral dark for contrast */
    --gray-color: #6c757d;             /* For secondary text */
    --text-color: #2a2a2a;             /* Main text */
    --text-light: #5f5f5f;             /* Light text for muted areas */
    --background-light: #f4f4f4;       /* Subtle light background */
    --white: #ffffff;

    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
}
.logo-img{
    width: 5.5rem;
    height: 5.5rem;
}


.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}
.motto{
    margin-top: 0;
    padding-top: 0.2rem;
    font-weight: 400;
    color: var(--gray-color);
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    text-align: center;
    display: block;
    width: 100%;

    @media (max-width: 768px) {
        font-size: 0.6rem;
    }

}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background-color: var(--light-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Button Styles */
.cta-button,
.submit-button,
.donate-button,
.event-button,
.category-link,
.download-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.cta-button:hover,
.submit-button:hover,
.donate-button:hover,
.event-button:hover,
.category-link:hover,
.download-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Card Styles */
/* .card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
} */

/* Section Headers */
.section-header,
.gallery-header,
.news h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-header h2,
.gallery-header h2,
.news h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after,
.gallery-header h2::after,
.news h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 77, 46, 0.1);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.alert.error {
    background-color: rgba(143, 29, 20, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.alert.success {
    background-color: rgba(26, 77, 46, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 100px;
    height: 100px;
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.footer-description {
    color: var(--light-color);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links, .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .contact-info li {
    margin-bottom: 0.8rem;
}

.footer-links a, .contact-info li {
    color: var(--light-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-info li i {
    width: 20px;
    color: var(--secondary-color);
}

.office-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.office-hours h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.office-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-hours li {
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.office-hours li i {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.newsletter {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.newsletter p {
    color: var(--light-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form button {
    padding: 0.8rem 1.2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.payment-methods {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
}

.payment-icons i {
    font-size: 1.8rem;
    color: var(--light-color);
    transition: var(--transition);
}

.payment-icons i:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    margin-bottom: 1.5rem;
}

.footer-bottom p {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

.scripture {
    color: var(--light-color);
    font-style: italic;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-main {
        gap: 2rem;
    }

    .footer-brand {
        padding: 0 1rem;
    }

    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-logo img {
        width: 100px;
        height: 100px;
    }

    .footer-logo span {
        font-size: 1.5rem;
    }

    .footer-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .footer-grid {
        flex-direction: row;
        gap: 2.5rem;
    }

    .footer-section {
        text-align: center;
        padding: 0 1rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links, .contact-info {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
        align-items: right;
        gap: 1rem;
        padding: 0 1rem;

    }

    .footer-links li, .contact-info li {
        margin-bottom: 1rem;
        font-size: 1rem;
        text-align: center;
    }

    .footer-links a, .contact-info li {
        justify-content: center;
        font-size: 1rem;
    }

    .office-hours {
        margin-top: 2rem;
    }

    .office-hours ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .office-hours li {
        margin-bottom: 0.8rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }

    .newsletter {
        margin-top: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input {
        width: 100%;
        padding: 1rem;
    }

    .newsletter-form button {
        width: 100%;
        padding: 1rem;
    }

    .payment-methods {
        margin-top: 2rem;
    }

    .payment-icons {
        justify-content: center;
    }

    .footer-bottom {
        padding: 2rem 1rem 0;
    }

    .footer-bottom-content {
        margin-bottom: 2rem;
    }

    .footer-bottom-links {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-bottom-links a {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .scripture {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-header h2,
    .gallery-header h2,
    .news h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-logo img {
        width: 45px;
        height: 45px;
    }

    .footer-logo span {
        font-size: 1.3rem;
    }

    .footer-description {
        font-size: 0.95rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-links a, .contact-info li {
        font-size: 0.95rem;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .payment-icons i {
        font-size: 1.6rem;
    }

    .section-header h2,
    .gallery-header h2,
    .news h2 {
        font-size: 1.8rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-main {
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-section {
        padding: 0 0.5rem;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-link i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    padding: 0.5rem 0;
    animation: dropdownFade 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--primary-dark);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #FFA500;
    padding-left: 2rem;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Dropdown */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 0.8rem 2rem;
        border-left: 3px solid transparent;
    }

    .dropdown-content a:hover {
        border-left-color: #FFA500;
        padding-left: 2rem;
    }
}

