/* Body Styling */
body{
    font-family: Arial, Helvetica, sans-serif;
   background: linear-gradient(135deg, #005ca9 0%, #d9001b 100%);
    padding: 40px;
    margin: 0;
}
/* Reset default browser styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#intro{
    width: 100%;
    height: 350px;
    background-image: url(../images/Bible.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 50px;
    border-radius: 12px;
    display: flex;
flex-direction: column;
text-align: center;
align-items: center;
justify-content: center;
}
/* Mother Div */
.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Sub Divs (Cards) */
.card{
    flex: 1;
    height: 500px;
    min-width: 280px;
    max-width: 350px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.card:hover{
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Image Styling */
.card img{
    width: 100%;
    height: 250px;
    /* object-fit: cover; */
}

/* Heading */
.card h2{
    font-size: 24px;
    color: #333;
    text-align: center;
    padding: 15px 10px;
}

/* Paragraph */
.card p{
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    padding: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 992px){
    .container{
        justify-content: center;
    }

    .card{
        max-width: 300px;
    }
}

@media (max-width: 768px){
    .container{
        flex-direction: column;
        align-items: center;
    }

    .card{
        width: 90%;
        max-width: 400px;
    }
}

#intro h1{
color:black;
font-size: 30px;
font-style: italic;

}
#intro p{
    color: red;
    font-size: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#topics{
    width: 100%;
    height: 300px;
    display: flex;
   background-color: aliceblue;
    
}

.topic1{
    width: 30%;
    height: 200px;
    /* background-color: rgb(232, 82, 82) */
}

.topic2{
    width: 30%;
    height: 200px;
    background-color: black;
}

.topic3{
    width: 30%;
    height: 200px;
    background-color: aliceblue;
}

Reset
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Noto Sans', sans-serif;
}

/* Parent Container */
.blog-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    background:#ffffff;
    padding:70px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
    margin-top: 10px;
}

/* Image Div */
.blog-image{
    flex:1;
}

.blog-image img{
    width:100%;
    height:420px;
    object-fit:fill;
    border-radius:12px;
}

/* Content Div */
.blog-content{
    flex:1;
}

.blog-content h2{
    color:#005ca9;
    font-size:2rem;
    margin-bottom:20px;
}

.blog-content p{
    color:#555;
    line-height:1.8;
    font-size:16px;
    margin-bottom:30px;
}

/* Read More Button */
.read-btn{
    
    text-decoration:none;
    background:#d9001b;
    color:#fff;
    padding:12px 28px;
    border-radius:6px;
    transition:0.3s ease;
    font-weight:bold;
    float: right;
}

.read-btn:hover{
    background:#005ca9;
    transform:translateY(-3px);
}

/* Responsive Design */
@media(max-width:768px){

    .blog-container{
        flex-direction:column;
        text-align:center;
    }

    .blog-image img{
        height:280px;
    }

    .blog-content h2{
        font-size:28px;
    }

    }

.gallery-title h1{
    font-family: "Noto Sans", sans-serif;
    font-size: 42px;
    color:white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 12px;
    position: relative;
    text-align: center;
}

/* Gallery Section */
.gallery{
    width: 90%;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Images */
.gallery img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Hover Effect */
.gallery img:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 92, 169, 0.4);
}

/* Responsive */
@media (max-width: 768px){

    .gallery{
        width: 95%;
        gap: 15px;
    }

    .gallery img{
        height: 250px;
    }

}/* Gallery Section */
.gallery{
    width: 90%;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Images */
.gallery img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Hover Effect */
.gallery img:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 92, 169, 0.4);
}

/* Responsive */
@media (max-width: 768px){

    .gallery{
        width: 95%;
        gap: 15px;
    }

    .gallery img{
        height: 250px;
    }

}

/* Table Container */
#table{
    width: 80%;
    margin: 60px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    text-align: center;
}

/* Heading */
#table h3{
    font-family: "Noto Sans", sans-serif;
    font-size: 30px;
    color: #005ca9;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Table */
#table table{
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 10px;
}

/* Header */
#table th{
    background: #005ca9;
    color: white;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Table Data */
#table td{
    padding: 16px;
    font-size: 17px;
    color: #444;
    border-bottom: 1px solid #ddd;
}

/* Zebra Striping */
#table tr:nth-child(even){
    background: #f7f9fc;
}

/* Hover Effect */
#table tr:hover{
    background: #eaf4ff;
    transition: 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px){

    #table{
        width: 95%;
        padding: 20px;
    }

    #table h3{
        font-size: 24px;
    }

    #table th,
    #table td{
        padding: 12px;
        font-size: 15px;
    }

}