body{
 margin: 0;   
}

#intro{
    width: 100%;
    height: 350px;
    background-color: blueviolet;
    background-image: url(../images/unitsuperiors.jpg);
    background-size: cover;
    background-attachment: fixed;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-position: top;
    margin-top: 60px;
    padding-bottom: 100px;
}
    
#intro h1{
 color: blue;
    font-size: 50px;
    text-align: center;
}
   

#intro p{
     color: blueviolet;
     width: 90%;
     font-size: 50px
         
}
#topics img{
    width: 80%;
    height: 150px;
}
#topics{
    width: 100%;
    height: 350px;
    display: flex;
    
    
}
.topic1{
    width: 30%;
    height: 300px;
    
}
.topic2{
    width: 30%;
    height: 300px;
    
}
.topic3{
    width: 30%;
    height: 300px;
    
}
#names{
    width: 100%;
    height: 350px;
    background-color: brown;
    display: flex;
}
.judy{
    width: 45%;
    height: 300px;
    background-color: aliceblue;
}
.judy img{
    width: 90%;
    height: 350px;
}
.mary{
    width: 45%;
    height: 300px;
    background-color: bisque;
}
/* .gallery img{
    width: 20%;
    height: 80px;
    display: flexbox;
} */
/* ===========================
   Devotion Timetable Section
=========================== */
/* Gallery Section */
.gallery{
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Gallery Images */
.gallery img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid royalblue;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Hover Effect */
.gallery img:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* Tablet */
@media (max-width: 992px){
    .gallery{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px){
    .gallery{
        grid-template-columns: 1fr;
    }

    .gallery img{
        height: 220px;
    }
}
#Prayers{
    width: 90%;
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px;
    background: #f8fbff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* Heading */
#Prayers h2{
    color: #003366;
    font-size: 36px;
    margin-bottom: 25px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Table */
#Prayers table{
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

/* Header */
#Prayers th{
    background: royalblue;
    color: white;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid white;
}

/* Data Cells */
#Prayers td{
    padding: 16px;
    border: 1px solid #ddd;
    font-size: 17px;
    background: white;
}

/* Alternate Row Colour */
#Prayers tr:nth-child(even){
    background-color: #eef5ff;
}

/* Hover Effect */
#Prayers tbody tr:hover{
    background-color: #d9ebff;
    transition: 0.3s ease;
}

/* Responsive Design */
@media (max-width:768px){

    #Prayers{
        width: 95%;
        padding: 20px;
    }

    #Prayers h2{
        font-size: 28px;
    }

    #Prayers table{
        display: block;
        overflow-x: auto;
    }

    #Prayers th,
    #Prayers td{
        padding: 12px;
        font-size: 15px;
    }
}
#Prayers{
    width: 90%;
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px;
    text-align: center;
    background: #f8fbff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Heading */
#Prayers h2{
    color: #003366;
    font-size: 36px;
    margin-bottom: 25px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Table */
#Prayers table{
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

/* Table Header */
#Prayers th{
    background: royalblue;
    color: white;
    padding: 18px;
    font-size: 18px;
    text-transform: uppercase;
}

/* Table Data */
#Prayers td{
    padding: 18px;
    font-size: 17px;
    border: 1px solid #ddd;
    background: white;
}

/* Alternate Row Color */
#Prayers tr:nth-child(even){
    background: #f2f7ff;
}

/* Hover Effect */
#Prayers tbody tr:hover{
    background: #dcecff;
    transition: 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px){

    #Prayers{
        width: 95%;
        padding: 20px;
    }

    #Prayers h2{
        font-size: 28px;
    }

    #Prayers table{
        display: block;
        overflow-x: auto;
    }

    #Prayers th,
    #Prayers td{
        padding: 12px;
        font-size: 15px;
    }
}

#footer{
   width: 100%;
   height: 250px; ;
   background-color: rgb(132, 132, 247);
   display: flex;
   margin-bottom: 0;
}  

   
.footer1{
    width :25%;
    background-color:rgb(127, 127, 239);
}
.footer1 img{
    width: 50px;
    height: 50px;
}
.footer2 {
    width :25%;
    
}
.footer2 img{
    width: 50px;
    height: 50px;
    padding-left: 10px;
    color: rgb(27, 12, 12) bold ;
}
.footer3 {
    width :25%;
    text-align: center;
    color: rgb(1, 5, 5) bold;
}
.footer3 ul{
    list-style: none;

}
.footer3 ul li a{
    color:white;
}
    .footer4 img{
     width :30px;
    
    background-color:rgb(141, 248, 11);
    text-align: center;
    display: flex;
}
     .footer4 img{
      width :20%;
      height:20 px;
      text-align:left;
      display: flex;
}
     
      