body{
    background-color: #079f9f;
    margin: 0;
}

#intro{
width: 100%;
height: 350px;
background-image:url(../images/hopeandvision.webp);
background-position: bottom;
background-size: cover;
background-repeat:no-repeat;
filter: contrast(120%);
align-content: center;
flex-direction: column;
text-align: center;

}
#intro h1{
    background-color: black;
    font-size: 42px;
    margin-bottom: 15px;
}
#topics{
    width: 100%;
    height: 300px;
    background-color: blue;
    display: flex;
}

.topic1{
    width: 30%;
    height: 300px; ;
    background-color: blueviolet;
    display: flex;
}

.topic2{
    width: 30%;
    height: 300px;
    background-color: gold;
    display: flex;
}

.topic3{
    width: 30%;
    height: 300px;
    background-color: greenyellow;
}
#learning{
    width: 100%;
    height: 300px;
    background-color: rgb(209, 225, 34);
    display: flex;
}
.learning1{
    width: 30%;
    height: 300px;
    background-color: maroon;
       
}
.learning2{
    width: 30%;
    height: 300px;
    background-color: rgb(192, 169, 151);

}
    
  intro{
    text-align:center;
    margin:20px;
}

#intro h1{
    color:red;
}

#intro h2{
    color:rgb(28,0,128);
}

/* Conteneur des topics */
#topics{
    display:flex;
    width:100%;
    height:250px;
}


.topic{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:24px;
    font-weight:bold;
}

.topic:nth-child(1){
    background:rgb(182, 99, 99);
}

.topic:nth-child(2){
    background:rgb(169, 20, 203);
}

.topic:nth-child(3){
    background:rgb(199, 104, 104);
}

#years{
    display:flex;
    width:100%;
    height:120px;
}

.year{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:22px;
    font-weight:bold;
}


.year:nth-child(1){
    background:rgb(235, 101, 112);
}

.year:nth-child(2){
    background:rgb(134, 132, 170);
}

.year:nth-child(3){
    background:rgb(135, 166, 135);}


    


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f5f5f5;


}

#intro h1{

    font-size:50px;

    margin-bottom:20px;

    color:white;

}

#intro p{

    font-size:22px;

    width:70%;

    line-height:1.6;

}


#topics{

    display:flex;

    justify-content:center;

    gap:30px;

    padding:50px;

}

.topic{

    flex:1;

    padding:35px;

    border-radius:20px;

    color:white;

    text-align:center;

    box-shadow:0 15px 25px rgba(226, 206, 206, 0.25);

    transition:.4s;

}

.topic:hover{

    transform:translateY(-12px);

}

.topic:nth-child(1){

    background:linear-gradient(#087f8c,#444);

}

.topic:nth-child(2){

    background:linear-gradient(#7B1FA2,#512DA8);

}

.topic:nth-child(3){

    background:linear-gradient(#C62828,#8E0000);

}



.icon i{

    font-size:45px;

}

.topic h2{

    margin-bottom:15px;

    font-size:30px;

}

.topic p{

    line-height:1.8;

    font-size:18px;

}



#years{

    display:flex;

    justify-content:center;

    gap:30px;

    padding:0 50px 60px;

}

.year{

    flex:1;

    height:120px;

    border-radius:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:28px;

    font-weight:bold;

    box-shadow:0 10px 20px rgba(0,0,0,.2);

}

.year:nth-child(1){

    background:#d84343;

}

.year:nth-child(2){

    background:#5c6bc0;

}

.year:nth-child(3){

    background:#43a047;
}

.container {
    display: flex;
    align-items: center; /* aligne verticalement */
    gap: 20px; /* espace entre les deux div */
}

.container {
    display: flex;
    justify-content: space-between; /* espace entre les div */
    align-items: flex-start;
    gap: 20px; /* espace entre les éléments */
}

.container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* même hauteur */
    gap: 20px;
    margin: 20px;
}

.image,
.card {
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* même hauteur */
    gap: 20px;
    margin: 20px;
}

.image,
.card {
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 22px;
    min-height: 300px; /* même hauteur que l'image */
    box-sizing: border-box;
}

#jesus {
    background-color: #43a047;
}

#Marie {
    background-color: #4343a0;
    color: burlywood;
}

#footer{
    width: 100%;
    height: 250px;
    background-color: bisque;
    display: flex;
}

.footer1 {
    width: 25%;
    text-align: center;
}

.footer1 img{
     width: 30px;
    height: 30px;
}

.footer2 {
    width: 25%;
    height: 180px;
    
}

.footer2 img{
    width: 50px;
    margin: 10px;
    text-align: center;
}

.footer3 {
    width: 25%;
    margin: 10px;
    text-align: center;
}
.footer3 ul{
    list-style: none
}

.footer4 {
    width: 25% ;
    height:180px ;

}
.footer4 img{
    width: 15px;
    height: 15px;
    

}
.ft1{
    display: flex;
}
#footer{
    width: 100%;
    height: 200px;
    background-color: blue;
    display: flex;
}


.footer1 {
    width: 25%;
    text-align: center;
}

.footer1 img{
     width: 30px;
    height: 30px;
}

.footer2 {
    width: 25%;
    height: 180px;
    
}

.footer2 img{
    width: 50px;
    margin: 10px;
    text-align: center;
}

.footer3 {
    width: 25%;
    margin: 10px;
    text-align: center;
}
.footer3 ul{
    list-style: none
}

.footer4 {
    width: 25% ;
    height:180px ;

}
.footer4 img{
    width: 15px;
    height: 15px;
    

}
.ft1{
    display: flex;
}

/* Prayer Schedule */

#schendule{
    max-width:700px;
    margin:40px auto;
    padding:30px;
    background:#ffffff;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    text-align:center;
    font-family:Arial, Helvetica, sans-serif;
}

#schendule h2{
    color:#0b7a60;
    margin-bottom:20px;
    font-size:28px;
}

#schendule table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
    overflow:hidden;
    border-radius:10px;
}

#schendule th{
    background:#0b7a60;
    color:#fff;
    padding:15px;
    font-size:17px;
    letter-spacing:.5px;
}

#schendule td{
    padding:18px;
    font-size:16px;
    border:1px solid #ddd;
}

#schendule tr:nth-child(even){
    background:#f8f9fa;
}

#schendule tr:hover{
    background:#e8f5f1;
    transition:0.3s;
}

@media (max-width:768px){

    #schendule{
        padding:20px;
    }

    #schendule th,
    #schendule td{
        padding:12px;
        font-size:14px;
    }

}