body{
    /* background-color: lawngreen; */
    margin: 0;
}
#intro{
    width: 100%;
    height: 350px;
    background-color: bisque;
    background-image: url(../images/st.joseph.png);
    filter:contrast(120%);
    background-size: cover;
    background-position: center top;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
    color: aliceblue;
    }

#topics{
    width: 100%;
    height: 350px;
    background-color: azure;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px 50px;
    box-sizing: border-box;
    text-align: center;
    justify-content: space-around;
   }

.topic1{
width: 30%;
height: 350px;
/* background-color: antiquewhite; */
background-position: center;
background-size: 180px;
}

.topic1 img{
    width: 50%;
    height:100px ;
    margin-left: 100px;
    object-fit: cover;
}
.topic2{
    width: 30%;
    height: 350px;
    /* background-color: brown; */
}
.topic2 img{
    width: 50%;
    height:100px ;
    margin-left: 100px;
    align-items: center;
}
.topic3{
    width: 30%;
    height: 350px;
    /* background-color: chocolate; */
}
.topic3 img{
    width: 50%;
    height:100px ;
    margin-left: 100px;
}
/* .topic1 p{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
} */
#subtopics{
    width: 100%;
    height: 300px;
    /* background-color: blue; */
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 40px 60px;
    
}
.subtopics1{
    width:30%;
    height: 250px;
    /* background-color: brown; */
}
.subtopics2{
    width: 30%;
    height:250px ;
    color: brown;
    /* background-color: aquamarine; */
}
#intro h1{
    /* color: blueviolet; */
    margin: 0;
    font-size: 2.5rem;
}
#intro p{
/* color: aliceblue; */
margin-top: 10px;
font-size: 1.2rem;
}
#subtopics img{
    width: 100%;
    height: 200px;
}

.gallery{
    width: 90%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-section{
    width: 100%;
    padding: 60px 8%;
    background: #f5f5f5;
    box-sizing: border-box;
}

/* Heading */
.gallery-section h2{
    text-align: center;
    font-size: 40px;
    color: #2E8B57;
    margin-bottom: 10px;
}

.gallery-section p{
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

/* Gallery */
.gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Images */
.gallery img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.4s ease;
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Hover Effect */
.gallery img:hover{
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Tablet */
@media(max-width:900px){
    .gallery{
        grid-template-columns: repeat(2,1fr);
    }

    .gallery img{
        height:240px;
    }
}

/* Mobile */
@media(max-width:600px){
    .gallery{
        grid-template-columns: 1fr;
    }

    .gallery img{
        height:220px;
    }

    .gallery-section h2{
        font-size:30px;
    }

    .gallery-section p{
        font-size:16px;
    }
}
#program{
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Heading */
#program h3{
    text-align: center;
    /* color: #2E8B57; */
    font-size: 32px;
    margin-bottom: 25px;
    font-family: Georgia, serif;
}

/* Table */
#program table{
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 10px;
}

/* Header */
#program th{
    /* background-color: #09793a1f; */
    background-color: rgb(72, 42, 42);
    color: white;
    padding: 18px;
    font-size: 20px;
    text-transform: uppercase;
}

/* Table Cells */
#program td{
    padding: 18px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ddd;
}

/* Alternate Row Color */
#program tr:nth-child(even){
    background-color: #f2f2f2;
}

/* Hover Effect */
#program tr:hover{
    background-color: #e8f5e9;
    transition: 0.3s;
}

/* Responsive */
@media (max-width:768px){

    #program{
        width:95%;
        padding:20px;
    }

    #program h3{
        font-size:26px;
    }

    #program th,
    #program td{
        padding:12px;
        font-size:16px;
    }
}
