body{
    margin: 0;
}

#intro{
    width: 100%;
    height: 600px;
    background-color: aliceblue;
    background-image: url(../images/women\ 5.jpg);
    background-repeat: no-repeat;
    margin-top: -50px;
    background-size: cover;
    

}
#intro p{
font-size: 30px;
color: aliceblue;
text-align: center;
padding-top: 30px;
margin-left: 360px;
}
 #intro h3{
    font-size: 50px;
    color: blue;
    text-align: center;
    
 }   
#topics{
    width: 100%;
    height: 400px;
    display: flex;
}
.topic1{
    width: 30%;
    height: 300px;
    
}
.topic1 h2{
    text-align: center;
    
}
.topic1 p{
    font-size: 15px;
    text-align: center;
}
.topic1 img{
    width: 200px;
    margin-left: 100px;
}
.topic2{
    width: 30%;
    height: 300px;
    
}
.topic2 img{
    width: 300px;
    height: 170px;
    margin-left: 80px;  
}
.topic2 h2{
text-align: center;
}
.topic2 p{
    text-align: center;
    font-size: 15px;

}
.topic3{
    width: 30%;
    height: 300px;

}
.topic3 h3{
    text-align: center;
}
.topic3 p{
    text-align: center;
    font-size: 15px;
}
.topic3 img{
    width: 300px;
    height: 200px;
    margin-left: 100px;
}

#njori{
    width: 100%;
    height: 300px;
    display: flex;
}
.lucia{
    width: 45%;
    height: 300px;
    
}
.lucia img{
    width:60% ;
    height: 300px;
}
.joy{
    width: 45%;
    height: 300px;

}
.joy h2{
    text-align: center;
}
.joy p{
    text-align: center;
}
#intro img{
width: 800px;
height: 500px;
}
/* .gallery img{
    width: 100px;
    height: 100px;
} */
 /* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* Gallery Heading */
.gallery-title {
    text-align: center;
    margin: 30px 0 10px;
}

.gallery-title h3 {
    font-size: 2rem;
    color: #2e7d32;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.gallery-title h3::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: #2e7d32;
    margin: 8px auto 0;
    border-radius: 5px;
}

/* Mobile */
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .gallery img {
        height: 200px;
    }

    .gallery-title h3 {
        font-size: 1.6rem;
    }
}
#devotion {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

#devotion h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

#devotion table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 10px;
}

#devotion th {
    background: #2e7d32;
    color: white;
    padding: 15px;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
}

#devotion td {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #ddd;
}

#devotion tr:nth-child(even) {
    background: #f2f2f2;
}

#devotion tr:hover {
    background: #e8f5e9;
    transition: 0.3s;
}

@media (max-width: 600px) {
    #devotion {
        padding: 15px;
    }

    #devotion th,
    #devotion td {
        padding: 10px;
        font-size: 14px;
    }

    #devotion h3 {
        font-size: 20px;
    }
}