body{
    background-color: blanchedalmond;
    margin: 0px;
}

#intro{
    width: 100%;
    height: 350px;
    background-color: rgb(226, 43, 165);
    background-image: url(../images/Devotion-bible-2110439_1920.jpg);
    background-repeat: no-repeat;
    background-position:bottom;
    filter: contrast(120px)
}

#intro {
    width: 100%;
    height: 350px;

    background-image: url("../images/Devotion-bible-2110439_1920.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    position: relative;
}

#intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

#intro h1,
#intro p {
    position: relative;
    z-index: 1;
    margin: 10px 20px;
}

#intro h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

#intro p {
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.6;
}
#topics{
    width: 100%;
    height: 200px;
    background-color: rgb(134, 116, 123);
    display: flex;
}
.topic1{
    width: 30%;
    height: 200px;
    background-color: darksalmon;
    display: flex;
    flex-direction: column;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}
.topic1 img{
    width:50px ;
    height: 100px;
}

.topic2{
    width: 30%;
    height: 200px;
    background-color: rgb(174, 174, 21);
     display: flex;
    flex-direction: column;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}
.topic2 img{
    width: 50px;
    height:100px ;
}


.topic3{
    width: 30%;
    height: 200px;
    background-color: rgb(255, 80, 217);
     display: flex;
    flex-direction: column;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}
.topic3 img{
        width: 50px;
        height: 100px;
}
/* Parent */
.christ-blog{
    width:90%;
    margin:60px auto;
    display:flex;
    gap:30px;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    padding:30px;
    background:#ffffff;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
}

/* Children */
.christ-image,
.christ-content,
.christ-quote{
    flex:1;
    min-width:280px;
}

/* Image */
.christ-image img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:10px;

}

/* Content */
.christ-content h2{
    color:#1b4f72;
    margin-bottom:15px;
    font-size:30px;
}

.christ-content p{
    font-size:17px;
    line-height:1.8;
    color:#444;
    text-align:justify;
}

.read-btn{
    margin-top:20px;
    padding:12px 28px;
    border:none;
    background:#0b5ed7;
    color:#fff;
    font-size:16px;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

.read-btn:hover{
    background:#084298;
}

/* Quote */
.christ-quote{
    background:#f8f9fa;
    padding:25px;
    border-left:5px solid #d4af37;
    border-radius:8px;
}

.christ-quote h3{
    color:#1b4f72;
    margin-bottom:15px;
}

.christ-quote blockquote{
    font-size:18px;
    line-height:1.8;
    color:#555;
    font-style:italic;
}

/* Responsive */
@media(max-width:900px){
    .christ-blog{
        flex-direction:column;
    }

    .christ-image img{
        height:320px;
    }
}
.gallery{
    width:90%;
    margin:60px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:25px;
}

.gallery-item{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:0.4s;
    background:#fff;
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
    transition:0.4s;
}

.gallery-item:hover{
    transform:translateY(-8px);
}

.gallery-item:hover img{
    transform:scale(1.08);
}

#footer{
    width:100%;
    background:#d782e4;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    padding:50px 8%;
    flex-wrap:wrap;
    box-sizing:border-box;
}

.footer1,
.footer2,
.footer3,
.footer4{
    flex:1;
    min-width:220px;
}

.footer1 h3,
.footer2 h3,
.footer3 h3,
.footer4 h3{
    color:#ffd700;
    margin-bottom:20px;
    font-size:22px;
}

.footer1 p{
    margin-bottom:20px;
    line-height:1.6;
}

.footer1 img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid white;
}

/*================ SOCIAL LINKS ================*/

.social-links{
    display:flex;
    gap:15px;
    margin-top:15px;
}

.social-links img{
    width:40px;
    height:40px;
    transition:0.3s;
    cursor:pointer;
}

.social-links img:hover{
    transform:scale(1.15);
}

/*================ QUICK LINKS ================*/

.footer3 ul{
    list-style:none;
    padding:0;
}

.footer3 ul li{
    margin-bottom:12px;
}

.footer3 ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.footer3 ul li a:hover{
    color:#ffd700;
    padding-left:8px;
}

/*================ CONTACTS ================*/

.ft-row{
    display:flex;
    align-items:center;
    margin-bottom:15px;
}

.ft-row img{
    width:28px;
    height:28px;
    margin-right:12px;
}

.ft-row p{
    margin:0;
}

/*================ FORM ================*/

#userform{
    margin-top:20px;
}

#userform input{
    width:100%;
    padding:12px;
    border:none;
    outline:none;
    border-radius:5px;
    margin-bottom:12px;
}

#userform textarea{
    width:100%;
    height:90px;
    padding:12px;
    border:none;
    outline:none;
    resize:none;
    border-radius:5px;
    margin-bottom:12px;
}

#userform button{
    padding:12px 25px;
    background:#ffd700;
    color:#d62d84;
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

#userform button:hover{
    background:white;
}

/*================ COPYRIGHT ================*/

.copyright{
    width:100%;
    text-align:center;
    background:#e36dea;
    color:white;
    padding:18px;
    font-size:15px;
}

/*================ RESPONSIVE ================*/

@media(max-width:900px){

    #footer{
        flex-direction:column;
        text-align:center;
        gap:35px;
    }

    .social-links{
        justify-content:center;
    }

    .ft-row{
        justify-content:center;
    }

    .footer1 img{
        margin:auto;
    }
}
/*============== DEVOTION TIMINGS ==============*/

#prayers{
    width:80%;
    margin:60px auto;
    padding:30px;
    background:#f8f8f8;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

#prayers h2{
    text-align:center;
    color:#0b3d2e;
    font-size:32px;
    margin-bottom:25px;
    text-transform:uppercase;
    letter-spacing:1px;
}

#prayers table{
    width:100%;
    border-collapse:collapse;
    text-align:center;
}

#prayers th{
    background:#0b3d2e;
    color:white;
    padding:18px;
    font-size:20px;
}

#prayers td{
    padding:18px;
    font-size:18px;
    border:1px solid #ddd;
}

#prayers tr:nth-child(even){
    background:#f2f2f2;
}

#prayers tr:hover{
    background:#e8f5e9;
    transition:0.3s;
}

#prayers table{
    overflow:hidden;
    border-radius:10px;
}