/* General Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide:first-child {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay h1, .hero-overlay h2 {
    font-size: 2.5rem;
    margin: 10px;
}

.hero-overlay p {
    font-size: 1.2rem;
}

.hero-button {
    background-color: #ffa500;
    color: white;
    padding: 12px 25px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Section Colors */
/* About Section Styling */
.about-section {
    background-color: #0d253f; /* Dark blue color */
    color: #e5e8ef; /* Light text color */
    text-align: center;
    padding: 50px 20px;
    border-radius: 8px;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #dce3ec;
}

/* Learn More Button Styling */
.about-section .button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    color: #0d253f; /* Dark text color for contrast */
    background-color: #ffa500; /* Bright orange color */
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-section .button:hover {
    background-color: #ffcb70; /* Lighter orange on hover */
    color: #ffffff; /* White text on hover */
    transform: scale(1.05); /* Slightly enlarges the button */
}


.ministries-section {
    background-color: #ffa500;
    color: #1e3d5a;
    text-align: center;
    padding: 40px 20px;
}

.events-section {
    background-color: #1e3d5a;
    color: #f4f4f9;
    text-align: center;
    padding: 40px 20px;
}

.get-involved-section {
    background-color: #27384d;
    color: #ffcb70;
    text-align: center;
    padding: 40px 20px;
}

/* Cards Layout */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 300px;
}

.card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.card .button {
    background-color: #ffa500;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-overlay h1, .hero-overlay h2 {
        font-size: 1.8rem;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }
}
