body{
    background-color: aqua;
}

/* #intro{
    width: 100%;
    height: 350px;
    background-color: aqua;
    background-image: url(../images/prayers.jpg);
    background-size: cover;
    background-position:center ;
    position: relative;

} */

#intro{
    width: 100%;
    height: 350px;
    background-image: url("../images/prayers.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

#intro h1{
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

#intro p{
    color: #0102fd;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    margin-top: 15px;
    text-shadow: 1px 1px 4px rgba(255,255,255,0.7);
}
/* DEVOTION CARDS */

#topics{
    width: 96%;
    margin: 50px auto;
    display: flex;
    gap: 22px;
    justify-content: center;
    align-items: stretch;
}

#topics > div{
    width: 25%;
    background: linear-gradient(to bottom, #ffffff, #f2fbff);
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    border-bottom: 6px solid #02cbff;
    transition: 0.4s ease;
}

#topics > div:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.28);
}

#topics img{
    width: 95px;
    height: 95px;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px auto;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

#topics h3{
    color: #0102fd;
    font-size: 22px;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 18px;
}

#topics p{
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    color: #222;
}


/* SPIRITUAL EXERCISES */

#spiritual_exercises{
    width: 96%;
    margin: 60px auto;
    display: flex;
    gap: 25px;
    align-items: stretch;
    background-color: mediumturquoise;
    padding: 20px;
    box-sizing: border-box;
}

.topic5{
    width: 40%;
}

.topic5 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.daily_exercises{
    width: 60%;
    background-color: white;
    padding: 25px;
    box-sizing: border-box;
}

.daily_exercises h1{
    color: red;
    font-size: 36px;
    margin-bottom: 20px;
}

.daily_exercises p{
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.btn-readmore{
    display: inline-block;
    background-color: #0189ff;
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
}

.btn-readmore:hover{
    background-color: #f60100;
}
/* ===========================
   IMAGE GALLERY
=========================== */
#gallery-section{
    width:100%;
    padding:60px 0;
    background-color:#f8fbff;
}

#gallery-section h1{
    text-align:center;
    color:#f60100;
    font-size:42px;
    font-weight:bold;
    margin-bottom:40px;
    text-transform:uppercase;
    letter-spacing:2px;
}

.gallery{
    width: 95%;
    margin: 60px auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
   
}

.gallery img{
    width: 100%;
    height: 250px;
    object-fit: cover;

    border-radius: 20px;
    overflow: hidden;

    border: 5px solid white;

    box-shadow: 0 10px 25px rgba(0,0,0,.18);

    transition: transform .5s ease,
                box-shadow .5s ease;
}

.gallery img:hover{
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 18px 35px rgba(0,0,0,.30);
}
/* ==========================
   PRAYER EXERCISES TABLE
========================== */

#prayer_exercises{
    width: 90%;
    margin: 50px auto;
}

#prayer_exercises h2{
color: #f60100;
}

#prayer_exercises table{
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    overflow: hidden;
}

#prayer_exercises th{
    background-color: #0189ff;
    color: white;
    padding: 18px;
    font-size: 22px;
    font-weight: bold;
}

#prayer_exercises td{
    padding: 18px;
    font-size: 20px;
    color: #333;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

#prayer_exercises tr:nth-child(even) td{
    background-color: #f5f9ff;
}

#prayer_exercises tr:hover td{
    background-color: #d9f0ff;
    transition: 0.3s;
}