* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto";
}

:root {
    --primary: #111827;
    --accent: #f8e008;
    --white: #ffffff;
    --light: #f3f4f6;
}

.container {
    width: 100%;
    min-height: 90vh;
    background-color: var(--light);
    border-radius: 15px;
}

.topbar {
    width: 100%;
    height: 50px;
    background-color: var(--light);
    border-radius: 15px 15px 0 0;


}

.topbar h2 {
    color: var(--accent);
    margin: 5px;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;

}

.menu {
    width: 100%;
    height: 120px;
    background-color: white;
    margin: auto;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menunav {
    width: 100%;
    height: 120px;
    padding: 10px;
    margin: auto;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: var(--accent);
  cursor: pointer;
  margin-left: auto;
  margin-top: -70px; 
  padding: 20px;
}

nav {
    display: flex;
}

nav img {
    width: 100px;
    height: 100px;
    margin-left: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 20px;
    padding-left: 100px;
}

nav ul li {
    padding: 10px;
    margin-top: 10px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 20px;
}


nav ul li a:hover {
    color: var(--accent);
}




.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn {
    font-size: 20px;
    border: none;
    outline: none;
    color: black;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    color: var(--accent);

}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* SUB DROPDOWN */
.subdropdown {
    position: relative;
}

.subdropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.subdropdown-content a {
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.subdropdown:hover .subdropdown-content {
    display: block;
}

/* hover effect */
.dropdown-content a:hover,
.subdropdown-content a:hover {
    background-color: #f1f1f1;
}

/* 
end of menubar */


.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: white;
  border-top: 2px solid #111827;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin: 10px auto;
}

.marquee__wrapper {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee:hover .marquee__wrapper {
  animation-play-state: paused;
}

.news-link {
  text-decoration: none;
}

.marquee__text {
  flex: 0 0 auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-right: 1px solid rgba(0, 0, 0, 0.188);
  transition: .3s;
  margin: 10px;
}

.marquee__text:hover {
  transform: translateY(-5px);
}

.marquee__text img {
  max-width: 80px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.heme h1 {
  color: rgb(155, 155, 1);
  font-size: 1rem;
  padding: 5px;
}

.heme p {
  color: black;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

/* Animation */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* 📱 Mobile adjustments */
@media (max-width: 768px) {
  .marquee__text {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 5px;
  }

  .marquee__text img {
    max-width: 60px;
  }

  .heme h1 { font-size: 0.9rem; }
  .heme p { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .marquee__text {
    padding: 5px;
    gap: 8px;
  }

  .marquee__text img {
    max-width: 50px;
  }

  .heme h1 { font-size: 0.8rem; }
  .heme p { font-size: 0.75rem; }
}














.themain {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    animation: bgSlider 24s infinite ease-in-out;
    position: relative;
    color: white;
}

.themain::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.themain * {
    position: relative;
    z-index: 2;
}

.themain h3 {
    color: white;
    font-size: 25px;
    text-align: left;
    margin-left: 30px;
    padding: 20px;
}

.themain h1 {
    color: white;
    padding: 20px;
    font-size: 35px;
    margin-left: 30px;

}

.cla {
    width: 120px;
    border: 2px solid white;
    margin-left: 50px;
}

.themain p {
    color: white;
    padding: 50px;
    font-size: 18px;
    text-align: left;

}

.themain button {
    padding: 14px 30px;
    background-color: rgb(71, 71, 153);
    color: white;
    border-radius: 5px;
    border: none;
    margin-left: 50px;
    cursor: pointer;
}


.themain button:hover {

    background-color: rgba(110, 110, 239, 0.784);
}

@keyframes bgSlider {

    0% {
        background-image: url("../images/church.jpeg");
    }

    16% {
        background-image: url("../images/Apropos.jpeg");
    }

    33% {
        background-image: url("../images/Godisgood.jpeg");
    }

    50% {
        background-image: url("../images/teall.jpeg");
    }

    66% {
        background-image: url("../images/mayotte.jpeg");
    }

    83% {
        background-image: url("../images/BackyMama.jpeg");
    }

    100% {
        background-image: url("../images/church.jpeg");
    }
}




.news {
    width: 100%;
    min-height: 700px;
    background-color: #cdcccbb8;
    padding-top: 20px;
    padding-bottom: 30px;
    margin-bottom: 10px;
}

.newsh1 {
    width: 98.3%;
    height: 45px;
    background-color: Yellow;
    margin: 12px;
}

.newsh1 h1 {
    background-color: Yellow;
    width: 24%;
    height: 45px;
    padding: 5px;
    color: white;
}

.newscath {
    width: 100%;
    min-height: 600px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.newspaper {

    width: 23.5%;
    min-height: 280px;
    background-color: white;
    margin-left: 12px;
    padding: 7px;



}

.newspaper:hover {

    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: translateY(-5px);




}


.newspaper img {
    width: 330px;
    height: 250px;
}

.newspaper h3 {
    text-align: left;
    padding: 10px;
    color: #111827;
}

.flenewp {
    min-width: 20%;
    min-height: 50px;
    border-bottom: 1px solid #111827;
    display: flex;
    padding: 5px;
    gap: 20px;

}

.flenewp p {
    margin-top: 10px;
    text-align: center;

}

.newspaper p {
    text-align: left;
    color: #111827;
    padding: 7px;
}









/* 

.thebigmain {
    width: 100%;
    height: 500px;
    background-color: white;
    border-bottom: 2px solid rgb(22, 150, 22);
}

.thebigmain h1 {
    color: rgb(71, 71, 153);
    font-size: 70px;
    margin-left: 100px;
    padding: 30px;
}

.thebigmain h1 span {
    margin-right: 45px;
    margin-left: 25px;
}

.flexmvm {
    width: 90%;
    height: 350px;
    display: flex;
    padding: 10px;
    gap: 10px;
    align-items: center;
    margin: auto;
}

.flexmvm .mvm {
    width: 35%;
    height: 320px;
}

.mvm i {
    font-size: 40px;
    border: 2px solid rgb(22, 150, 22);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 15px;
    margin-left: 120px;
    color: rgb(22, 150, 22);
}

.mvm h2 {
    color: rgb(71, 71, 153);
    text-align: center;
    padding: 10px;

}

.mvm p {
    text-align: center;
    color: rgb(71, 71, 153);
    font-size: 18px;
    padding: 7px;
} */



.thebigannounce {
    width: 100%;
    height: 450px;

    background-color: black;
    display: flex;
    gap: 100px;
    padding: 40px;



}

#applee {
    border-radius: 10px 150px 10px 10px;
}

.leftann {
    width: 40%;
    height: 400px;
    margin-left: 100px;
}

.leftann h1 {
    color: white;
    padding: 5px;
    border-bottom: 1px solid white;
    margin-bottom: 10px;

}

.blo h2 {
    font-size: 20px;
    color: white;
    font-weight: 300;
    margin-top: 20px;
}

.blo i {
    color: white;
    padding: 10px;
    width: 50px;
    height: 50px;
    font-size: 25px;
    border: 1px solid white;
    margin: 10px;
    border-radius: 50%;
}

.kennedy {
    width: 100%;
    height: 80px;
    background-color: rgba(172, 172, 244, 0.33);
    margin: 8px;
    display: flex;
}

.kennedy img {
    width: 130px;
    height: 80px;
    padding: 0;
}

.kennedy i {
    color: white;
    margin-top: 30px;
    margin-left: 10px;
}

.kenbro {
    width: 68%;
    height: 70px;
    margin: 5px;
    padding: 5px;
}

.kenbro h3 {
    text-align: left;
}

.leftann button {
    padding: 15px 60px;
    color: rgb(71, 71, 153);
    background-color: white;
    margin-top: 20px;
    margin-bottom: 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.leftann button:hover {
    background-color: rgb(82, 82, 232);
    color: white;
}



.rightann {
    width: 35%;
    height: 400px;
}

.rightann img {
    width: 700px;
    height: 410px;
    border-radius: 8px 8px 0 100px;
}

.blo {
    display: flex;
}




.thebigaboutus {
    width: 100%;
    height: 600px;
    background-color: white;
    display: flex;
    gap: 10px;
}

.leftab {
    width: 55%;
    height: 500px;
    margin-top: 100px;
    margin-left: 100px;
}

.leftab .ico {
    width: 55px;
    height: 60px;
    background-color: rgb(254, 246, 4);
    border-radius: 2px 2px 2px 30px;
    margin: 20px;
    margin-left: 60px;
}

.leftab h1 {
    color: rgb(242, 218, 2);
    padding: 20px;
    font-size: 38px;
    margin-left: 40px;
}

.leftab h3 {

    text-align: left;
    margin-left: 60px;
    font-size: 22px;
    color: #111827;
}

.leftab p {
    padding: 0 40px 40px 60px;
    font-size: 18px;
    color: rgba(82, 72, 72, 0.63);
}

.leftab button {
    padding: 15px 60px;
    margin-left: 60px;
    background-color: rgb(250, 221, 2);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.leftab button:hover {
    background-color: rgb(255, 242, 0);
    color: white;
}

.ico i {
    color: white;
    width: 32px;
    height: 32px;
    border: 3px solid white;
    border-radius: 50%;
    padding: 5px;
    font-size: 18px;
    margin: 10px;
}



.rightab {
    width: 35%;
    height: 500px;
    margin-top: 100px;
    margin-left: 50px;
}

.rightab img {
    width: 600px;
    height: 400px;
    border-radius: 12px 12px 12px 200px;

}

.clos {
    width: 90%;
    border: 1px solid rgba(251, 239, 4, 0.627);
    margin-top: 20px;
    margin-left: 60px;
}

/* 

.thebigmember {
    background: url(/images/cart.jpeg);
    background-size: cover;
    width: 100%;
    height: 640px;

}

.gamestar {
    width: 100%;
    height: 640px;
    background-color: rgba(0, 0, 0, 0.568);
    justify-items: center;
}

.thebigmember h2 {
    color: white;
    padding: 50px 10px 10px 10px;
    font-size: 40px;
}

.bby {
    width: 7%;
    border: 1px solid white;
}

.thebigmember h1 {
    color: white;
    padding: 25px;
    font-size: 46px;
}

.thebigmember p {
    color: white;
    font-size: 18px;
    padding: 10px;
}


.thebigmember h3 {
    color: white;
    padding: 8px;
    font-weight: 500;
}

.thebigmember h4 {
    color: white;
    padding: 20px;
    font-weight: 500;
    font-size: 23px;
}

.thebigmember span {
    font-weight: 700;
}

.thebigmember button {
    padding: 15px 60px;
    background-color: rgb(71, 71, 153);
    margin-left: 600px;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    color: white;
    cursor: pointer;
}

.thebigmember button:hover {
    background-color: rgb(82, 82, 232);
    color: white;
}
 */










/* garelly css for improving */

/* .gallery-filter{
    width:90%;
    margin:50px auto;

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.gallery-filter button{
    padding:12px 25px;

    border:none;
    border-radius:30px;
    cursor:pointer;

    background:#f3f4f6;
}

.gallery-filter button.active{
    background:#1e40af;
    color:white;
}




.gallery-grid{
    width:90%;
    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:25px;
}


.gallery-card{
    position:relative;

    overflow:hidden;

    border-radius:15px;

    height:280px;

    cursor:pointer;
}

.gallery-card img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:.5s;
}

.gallery-card:hover img{
    transform:scale(1.1);
} */


/* 
.gallery-overlay{
    position:absolute;

    left:0;
    right:0;
    bottom:0;

    padding:20px;

    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,.8)
    );

    color:white;
}

.gallery-overlay h3{
    margin-bottom:8px;
}

.gallery-overlay span{
    background:#1e40af;
    padding:5px 12px;
    border-radius:20px;
    font-size:.8rem;
} */



/* .media-hero {
    background: #152a6e;
    color: white;
    text-align: center;
    padding: 100px 20px;
} */

.hero-content{
    text-align:center;
    max-width:800px;
    padding:20px;
}

.hero-content p{
    color:white;
    line-height:1.8;
    font-size:1.1rem;
    margin-top:15px;
}


.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 20px;
    border-radius:50px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    color:white;
    margin-bottom:20px;
}

.media-search{
    margin-top:30px;
}

.media-search input{
    width:100%;
    max-width:500px;
    padding:15px 20px;
    border:none;
    border-radius:50px;
    outline:none;
    font-size:1rem;
}

.media-hero{
    background:
        linear-gradient(rgba(0,0,0,.65),
        rgba(0,0,0,.65)),
        url('../images/church.jpeg');

    background-size:cover;
    background-position:center;
    min-height:50vh;

    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-badge{
    color: white;
}

.media-hero h1 {
    font-size: 3rem;
    color: white;
}

.media-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 30px;
    background: white;
} 


.tab-btn {
    border: none;
    background: #eee;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
}

.tab-btn.active {
    background: #152a6e;
    color: white;
}

.tab-content {
    display: none;
    padding: 50px 5%;
}

.tab-content.active {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
/* 
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
} */


.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:15px;
    cursor:pointer;
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}


/* 
.gallery-item::after{
    content:"Voir";

    position:absolute;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;
    font-weight:600;

    background:rgba(0,0,0,.4);

    opacity:0;

    transition:.3s;
} */

.gallery-item:hover::after{
    opacity:1;
}








/*Pure Media For Video After be Corrected*/

/*.video-grid{*/

/*    display:grid;*/
/*    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));*/
/*    gap:30px;*/
/*    margin-top:40px;*/

/*}*/

/*.video-card{*/

/*    background:#fff;*/
/*    border-radius:18px;*/
/*    overflow:hidden;*/
/*    box-shadow:0 12px 35px rgba(0,0,0,.08);*/
/*    transition:.35s;*/

/*}*/

/*.video-card:hover{*/

/*    transform:translateY(-8px);*/

/*}*/

/*.video-frame{*/

/*    position:relative;*/
/*    width:100%;*/
/*    padding-top:56.25%;*/

/*}*/

/*.video-frame iframe{*/

/*    position:absolute;*/
/*    inset:0;*/
/*    width:100%;*/
/*    height:100%;*/
/*    border:0;*/

/*}*/

/*.video-content{*/

/*    padding:20px;*/

/*}*/

/*.video-content h3{*/

/*    margin-bottom:12px;*/
/*    color:#152a6e;*/

/*}*/

/*.video-content p{*/

/*    color:#666;*/
/*    line-height:1.7;*/

/*}*/

/*.video-content a{*/

/*    display:inline-block;*/
/*    margin-top:15px;*/
/*    color:#0b6efd;*/
/*    text-decoration:none;*/
/*    font-weight:600;*/

/*}*/


/*.video-grid{*/
/*    display:grid;*/
/*    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));*/
/*    gap:25px;*/
/*}*/


/*.video-card{*/
/*    background:white;*/
/*    border-radius:15px;*/
/*    overflow:hidden;*/
/*    box-shadow:0 5px 20px rgba(0,0,0,.08);*/
/*}*/

/*.video-card iframe{*/
/*    width:100%;*/
/*    height:250px;*/
/*    border:none;*/
/*}*/


/*.video-content{*/
/*    padding:20px;*/
/*}*/





.document-list{
    display:grid;
    gap:20px;
}

.document-card{
    display:flex;
    align-items:center;
    gap:20px;
    padding:20px;
    background:white;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
}


.document-icon{
    font-size:2.5rem;
    color:#d9220e;
}


.document-content a{
    display:inline-block;
    margin-top:10px;
    background:#152a6e;
    color:white;
    padding:10px 15px;
    border-radius:8px;
    text-decoration:none;
}


.publication-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.publication-card{
    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;
}


.publication-card:hover{
    transform:translateY(-8px);
}

.publication-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.publication-content{
    padding:20px;
}

.pub-tag{
    display:inline-block;
    background:#152a6e;
    color:white;
    padding:5px 12px;
    border-radius:50px;
    font-size:.8rem;
    margin-bottom:10px;
}

.tagg{
     display:inline-block;
    background:#152a6e;
    color:white;
    padding:10px 22px;
    border-radius:5px;
    font-size:.8rem;
    margin-bottom:10px;
    margin-top: 10px;
    text-decoration: none;
}


.empty-state{
    text-align:center;

    padding:60px 20px;

    background:#f8f9fa;

    border-radius:15px;

    color:#666;
}


/* Garelly overlay */
/* 
.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:15px;
}

.gallery-item img{
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.4);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    transition:.3s;
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}

 */



/* end */











.prog{
    width:90%;
    margin:80px auto;
    display:flex;
    gap:30px;
    align-items:stretch;
}

/* LEFT SIDE */

.leftpro{
    flex:1;
    min-height:600px;
    background:url(../images/prog.jpg);
    background-size:cover;
    background-position:center;
    border-radius:15px;
    overflow:hidden;
}

.skipper{
    height:100%;
    background:rgba(0,0,0,.55);
    padding:50px 40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.skipper h1{
    color:#fff;
    font-size:3rem;
    margin-bottom:20px;
    line-height:1.2;
}

.skipper h3{
    color:#f3f4f6;
    line-height:1.8;
    font-weight:400;
    margin-bottom:30px;
}

.skipper button{
    width:max-content;
    padding:15px 30px;
    border:none;
    border-radius:8px;
    background: rgba(251, 243, 2, 0.737);
    color:white;
    cursor:pointer;
    font-size: 20px;
    transition:.3s;
}

.skipper button:hover{
    background:#b5f005;
}

/* RIGHT SIDE */

.rightpro{
    flex:2;
}

.program-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.program-card{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.program-card:hover{
    transform:translateY(-8px);
}

.icon-box{
    width:60px;
    height:60px;
    border-radius:50%;
    background:rgba(255, 255, 0, 0.79);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:15px;
}

.icon-box i{
    color:white;
    font-size:27px;
    font-weight: 900;
}

.category{
    display:inline-block;
    background:#e0f2fe;
    color: black;
    padding:5px 12px;
    border-radius:20px;
    font-size:.8rem;
    margin-bottom:12px;
}

.program-card h2{
    color:#111827;
    font-size:1.3rem;
    margin-bottom:10px;
}

.program-card p{
    color:#6b7280;
    line-height:1.7;
    margin-bottom:20px;
}

.program-card a{
    text-decoration:none;
    color:white;
    font-weight:600;
    background-color: rgba(255, 255, 0, 0.79);
    padding: 10px 20px;
}


/* program-details CSS */

/* .program-hero{
    position:relative;
    height:450px;
}

.program-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    bottom:40px;
    left:40px;
    color:white;
} */

.program-details{
    width:90%;
    margin:auto;
    padding:60px 0;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
}

.content h2{
     text-align: left;
    color: #0369a1;
    padding: 15px;
}

.program-sidebar{
    background:#f5f5f5;
    padding:10px;
    border-radius:10px;
}

.program-sidebar img{
    border-radius:  10px 10px 0 0;
}

.program-sidebar h3{
    text-align: left;
    color: #0369a1;
    padding: 5px;
}

.program-sidebar p{
    padding: 5px;
}

/* end */


.blackmail {
    background: url(../images/catr.jpeg);
    background-size: cover;
    width: 100%;
    min-height: 800px;
    background-position:center;
    overflow:hidden;
}

.wasri {

    width: 100%;
    min-height: 800px;
    background-color: rgba(0, 0, 0, 0.695); 
    
    margin: 0;
}


.stats1 {
    width: 100%;
    height: 280px;
    display: flex;
    gap: 10px;
    justify-content: center;
    background-color: var(--accent);
}

.stat {
    background-color: none;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 350px;
    height: 200px;
    transition: 0.3s ease;
    margin: 35px 10px;
}

.stat:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 4rem;
    color: white;
}

.stat p {
    color: #f3f4f6;

}

.stat h1 {
    color: #f3f4f6;
    font-size: 60px;
}



.tteam {
    width: 100%;
    height: 350px;
    display: flex;
    margin-top: 10px;
    padding: 10px;
    gap: 10px;
    justify-content: space-around;
}


.hblo {

    display: block;
}

.hblo h1 {
    margin-top: 50px;
    padding: 10px;
    color: white;
    font-size: 30px;
    text-align: center;
}


/* 


.tteam .teamme {
    width: 19%;
    height: 330px;
    margin-top: 10px;
    align-items: center;
    padding: 3px;
    border-radius: 5px;
    background-color: #013a7a69;

}

.tteam .teamme img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin-left: 50px;
    border: 1px solid white;
}

.tteam .teamme h2,
h3 {
    padding: 2px;
    text-align: center;
    color: rgb(192, 191, 191);

}

.tteam .teamme p {
    text-align: center;
    padding: 5px;
    color: rgb(214, 214, 214);
}

.teamme:hover {
    transform: translateY(-10px);
}


 */

 

/* consiel paroisserl */




.section-parish,
#conseil,
#commissions,
#groupes,
#organisation,
#messes,
#actualites,
#events,
#contact {

    width: 100%;
    padding: 80px 8%;
    border-bottom: 2px solid rgb(246, 255, 0);
}

.section-title,
.hblo {

    text-align: center;
    margin-bottom: 50px;
}

.section-title h1,
.hblo h1 {

    font-size: 42px;
    color: #d2f703;
    position: relative;
    display: inline-block;
}

.section-title h1::after,
.hblo h1::after {

    content: "";
    width: 70px;
    height: 4px;
    background: #fff700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

/* ----------------Official Team Original */
/* 

.tteam {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.teamme {

    background: white;
    border-radius: 15px;
    overflow: hidden;

    text-align: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);

    transition: .4s;
}

.teamme:hover {

    transform: translateY(-8px);
}

.teamme img {

    width: 100%;
    height: 280px;
    object-fit: cover;
}

.teamme h2 {

    color: #0b3d91;
    margin-top: 15px;
}

.teamme h3 {

    color: #777;
    font-weight: 400;
}

.teamme p {

    padding: 15px;
    color: #555;
}
 */



/* under lower to top 0 to Hero (Iammaconha) */



.box {
    opacity: 0;
    animation: appear 0.6s ease forwards;
}

.box:nth-child(1) {
    animation-delay: 0.1s;
}

.box:nth-child(2) {
    animation-delay: 0.2s;
}

.box:nth-child(3) {
    animation-delay: 0.3s;
}

.box:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.etapes {
    width: 100%;
    min-height: 150px;
    padding: 5px;

}

.fleetape {
    width: 85%;
    min-height: 140px;
    border-bottom: 2px solid  rgb(246, 255, 0);
    display: flex;
    padding: 5px;
    gap: 40px;
    margin: auto;

}

.fleetape .eapesme {

    width: 25%;
    min-height: 120px;

}

/* 
.blackme{
      width: 81%;
    height: 2px;
    border-bottom: 2px solid blue;
    display: flex;
    gap: 40px;
    padding-top: -100px;

} */


.fleetape .eapesme i {
    color: rgb(246, 255, 0);
    font-size: 40px;
    height: 60px;
    width: 60px;
    padding: 5px;
    background-color: white;
    border-radius: 50%;
    margin-left: 90px;
}

.eapesme p{
    color: rgb(246, 255, 0);
    text-align: center;
}




.fleetape .eapesme h2,
p {
    color: white;
    text-align: center;
}


.principaux {

    width: 100%;
    min-height: 250px;
    padding: 5px;


}

.fleprincipaux {
    width: 99%;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    padding: 5px;
    gap: 10px;
    margin: auto;

}

.fleprincipaux .principame {

    width: 15%;
    min-height: 120px;
    margin: 5px;
    background-color: #fce703db;
    padding: 20px;
    border-radius: 6px;


}





.fleprincipaux .principame i {
    color: white;
    font-size: 70px;
    text-align: center;
    margin-left: 40px;
}




.fleprincipaux .principame h2 {
    color: white;
    text-align: center;
}



.fleprincipaux .principame
p {
    color: white;
    text-align: center;
}





/* .for parish profile */



.padilprof {
    width: 100%;
    min-height: 350px;
    display: flex;
    gap: 40px;
    justify-content: center;
    background-color: white;

}

.padilprof img {
    border-radius: 6%;
    width: 400px;
    height: 300px;
    margin-top: 20px;
}

.rightpadii {
    width: 55%;
    min-height: 350px;
    margin: 10px;
    margin-top: 10px;
    padding-top: 10px;
}

.rightpadii h2 {
    color: rgba(254, 229, 5, 0.69);
    padding: 10px;
    font-weight: 600;
    font-size: 40px;
}

.rightpadii p {
    color: #111827a3;
    font-weight: 900;
    font-size: 20px;
    padding: 10px;
    text-align: justify;


}

.rightpadii h6 {
    padding: 5px;
    color: rgb(35, 30, 30);
    border-bottom: 1px solid rgb(35, 30, 30);
    font-size: 20px;
    font-weight: 500;
}

.rightpadii pre {
    padding: 5px;
    color: rgba(252, 199, 5, 0.744);
}


#moreText {
    display: none;
}

#readBtn {
    background: rgba(254, 229, 5, 0.69);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

#readBtn:hover {
    background: #fcef02;
}



















.cont {
    width: 100%;
    min-height: 450px;
    background: url(images/hist.jpeg);
    background-size: cover;

}

.statss {
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.statss h1 {
    color: #f3f4f6;
    font-size: 45px;
    padding: 10px;
}

.stats {
    background: rgba(246, 209, 0, 0.62);
    border-radius: 10px;
    width: 475px;
    height: 220px;
    transition: 0.3s ease;
    margin: 10px;
    display: flex;

}

.stats img {
    margin: 0;
    border-radius: 10px 0 0 10px;
}



.stats:hover {
    transform: translateY(-5px);
}

.did {
    display: block;
}

.did h2 {
    color: #f3f4f6;
    font-size: 18px;
    padding: 10px;
}

.did p {
    padding: 5px;
    color: #dfdfdf;
}

.did a {
    text-decoration: none;
    color: #022d5d;
    padding: 5px;
    padding-right: 30px;
    border-bottom: 2px solid #022d5d;
    margin-left: 5px;
}


/* 
.clever {
    width: 100%;
    height: 140px;
    background-color: rgba(107, 107, 255, 0.815);
    display: flex;
    gap: 10px;
}

.cleverpart {
    width: 18%;
    height: 120px;
    border-right: 2px solid #01397a;
    display: flex;
    margin: 10px;
    padding: 5px;
}

.cleverpart i {
    color: white;
    font-size: 45px;
    margin: 0;
}

.clebro {
    padding: 15px;
}

.clebro h4 {
    color: #01397a;
    padding: 5px;
}

.clebro p {
    text-align: left;
}
 */



.alliancegarelly {

    width: 100%;
    height: 500px;
    background-color: #111827;
    display: flex;

}

.alliaimage {
    width: 45%;
    height: 500px;
}

.alliaimage img {
    width: 678px;
    height: 495px;
}

.alliavideo {
    width: 50%;
    height: 500px;

}

.alliavideo video {
    width: 830px;
    height: 480px;
    margin: 0;
}


.formmap {

    width: 100%;
    min-height: 400px;
    background-color: #111827;
    display: flex;

}

.formme {
    width: 45%;
    min-height: 395px;
}

.formme form {
    width: 95%;
    min-height: 370px;
    padding: 15px;
    margin: 13px;
}

.formme form label {
    color: #dfdfdf;
    padding: 15px;
    margin: 5px;
}

.formme form input {
    background-color: #111827;
    width: 500px;
    height: 45px;
    /* padding: 10px 150px; */
    margin: 5px 15px;
    border: none;
    border-bottom: 2px solid white;
    color: white;
    font-size: 18px;


}

.formme form button {
    padding: 12px 60px;
    margin: 10px 15px;
    background-color: rgba(251, 243, 2, 0.737);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

.formme form button:hover {
    background-color: rgba(251, 243, 2, 0.851);

}

.mapme {
    width: 55%;
    height: 450px;
}

.mapme iframe {
    width: 100%;
    height: 450px;
}




/* Footer css */

.alinefooter {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 5%;
    background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
                url("../images/cath.jpeg");
    background-size: cover;
    background-position: center;
}


/* .alinefooter img {
    width: 250px;
    height: 180px;
    margin-left: 30px;
} */

.alinefooter img {
    width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}



.aliifoo {
    flex: 1;
    min-width: 220px;
    min-height: 270px;
    padding: 10px;
    text-align: center; 
}

.aliifoo ul {
    list-style: none;
}

.aliifoo ul li {
    padding: 5px;
      text-align: center;
}

.aliifoo ul li a {
    text-decoration: none;
    color: white;
}

#leftmy{
    margin-left: 55px;
}


.alinei i {
    margin-top: 10px;
    font-size: 40px;
    color: rgb(251, 243, 2);
}


.aliifoo h3 {
    padding: 5px;
    color: rgb(251, 243, 2);
    font-size: 25px;
    font-weight: 300;
}

.aliifoo p{
    color: white;
    text-align: center;
}

.alinei a{
    color:white;
    margin-right:15px;
    font-size:24px;
    transition:.3s;
    text-align: center;
  
}

.alinei a:hover{
    transform:translateY(-3px);
}




.footer-donate{
    display:inline-block;
    margin-top:15px;
    background: rgba(251, 243, 2, 0.737);
    color:white;
    text-decoration:none;
    padding:10px 18px;
    border-radius:6px;
    margin-left: 0;
}



/* =====================
   DONATION PAGE UI
   ===================== */

.donation-container {
    width: 100%;
    min-height: 100vh;
    background: #f3f4f6;
    padding-bottom: 50px;
}

/* HERO */
.donation-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/cath.jpeg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.donation-hero h1 {
    font-size: 40px;
}

.donation-hero p {
    font-size: 18px;
    margin-top: 10px;
}

/* MAIN BOX */
.donation-box {
    width: 80%;
    margin: auto;
    margin-top: -50px;
    background: white;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* LEFT */
.donation-options {
    width: 50%;
    padding: 30px;
    background: #111827;
    color: white;
}

/* .amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
} */

.amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

#customAmount {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.amounts button {
    padding: 15px;
    border: none;
    cursor: pointer;
    background: #1f2937;
    color: white;
    border-radius: 5px;
}

.amounts button:hover {
    background: #374151;
}

.donation-options input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

/* RIGHT */
.donation-form {
    width: 50%;
    padding: 30px;
}

.donation-form form {
    display: flex;
    flex-direction: column;
}

.donation-form input,
.donation-form select {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.donation-form button {
    padding: 15px;
    background:#ffff00d8;
    color: #f3f4f6;
    font-size: 23px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.donation-form button:hover {
    background: #8f8f01;
}

/* 
message after donation */

.confirmation-box {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background: #faf9d1; 
    border: 2px solid #b6b910; 
    border-radius: 10px;
    text-align: center;
    color: #9c9e0a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.confirmation-box h2 {
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}








/* login section */


.login-container {
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light);
}

.login-box {
    width: 380px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.login-box p {
    text-align: center;
    color: gray;
    margin-bottom: 20px;
}

.login-box label {
    display: block;
    margin-top: 10px;
    color: var(--primary);
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.login-box button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-box button:hover {
    background: #ea580c;
}

.login-links {
    text-align: center;
    margin-top: 10px;
}

.login-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}






/* end of login */



/* start of parishpage */


.contract {
    width: 100%;
    min-height: 600px;
    background: url(/images/hist.jpeg);
    background-size: cover;
    margin-bottom: 30px;


}

.stateof {
    background-color: rgba(72, 72, 72, 0.637);
    width: 100%;
    min-height: 400px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 0;
    padding-bottom: 30px;
}

.stateof h1 {
    color: #f3f4f6;
    font-size: 45px;
    padding: 20px;
    text-align: center;
}

.atlanta {
    background: rgba(82, 82, 232, 0.621);
    border-radius: 10px;
    width: 1300px;
    min-height: 520px;
    transition: 0.3s ease;
    margin: auto;
    display: flex;

}

.atlanta img {
    margin: 0;
    width: 650px;
    height: 520px;
    border-radius: 10px 0 0 10px;
}



.atlanta:hover {
    transform: translateY(-5px);
}

.dearmom {
    display: block;
    width: 650px;
    min-height: 520px;
    padding-bottom: 30px;
}

.dearmom h2 {
    color: #f3f4f6;
    font-size: 40px;
    padding: 10px;
}

.dearmom p {
    padding: 15px;
    color: #dfdfdf;
    text-align: left;

}

.dearmom a {
    text-decoration: none;
    color: #022d5d;
    padding: 5px;
    margin: 10px;
    padding-right: 30px;
    border-bottom: 2px solid #022d5d;
    margin-left: 5px;
}

.messe {
    background-color: rgba(41, 41, 130, 0.71);
    width: 100%;
    min-height: 300px;
    padding-bottom: 45px;
}

.messflex {
    display: flex;
    padding: 0 30px;
}

.messflex {
    display: flex;
    padding: 0 20px;
}

.messflex .messeflex {
    width: 50%;
    height: 50px;
    border-bottom:1px solid white ;



}

.messeflex p{
    text-align: center;
}



/* //galletysection */

.gallery-section {
    width: 90%;
    margin: auto;
    margin-top: -50px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
}



.gallery-filter {
    width: 100%;
    height: 50px;
    padding: 5px;
    margin-bottom: 10px;

}

.gallery-filter button {
    padding: 10px 60px;
    margin-left: 70px;
    background-color: #1e4fa3;
    border-radius: 5px;
    border: none;
    color: white;
    transition: .4s;
}

.gallery-filter button:hover {
    cursor: pointer;
    transform: scale(1.08);
}





.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* .gallery-item {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}
 */

.gallery-item{

    position:relative;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.gallery-item img{

    width:100%;
    height:280px;
    object-fit:cover;
    transition:.6s;

}
.gallery-item:hover img{
    transform:scale(1.12);
}
.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:25px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );

    color:white;

}

.gallery-overlay span a{
    background:#1e40af;
    padding:9px 18px;
    border-radius:20px;
    font-size:.8rem;
    margin-top: 10px;
    text-decoration: none;
    color: white;
} 

.gallery-overlay p{
    margin-bottom: 10px;
    color: yellow;
}


.gallery-item{
animation:fadeUp .8s ease;
}

@keyframes fadeUp{

from{opacity:0;
transform:translateY(30px);}
to{opacity:1;
transform:none;}
}






.section-title {
    width: 100%;
    height: 80px;
    padding: 5px;
    margin-bottom: 10px;
}

.section-title h2,
p {
    color: #01397a;
    text-align: left;
}




/* 14 April is My Birthday */

/* ==========================
   EVENTS PAGE
========================== */

.events-hero {
    background:
        linear-gradient(rgba(0, 0, 0, .6),
            rgba(0, 0, 0, .6)),
        url("../images/MayGodBlessYouMa2.jpeg");

    background-size: cover;
    background-position: center;

    color: white;
    text-align: center;
    padding: 120px 20px;
}



.events-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.events-hero p{
    color: white;
    text-align: center;
}

.events-page {
    padding: 80px 5%;
}

/* .events-grid {
    display: flex;
    gap: 20px;
}
 */

/* 
.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, .1);
} */
/* 
.event-image {
    position: relative;
}

.event-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;

    background: #152a6e;
    color: white;

    padding: 8px 15px;
    border-radius: 5px;
}

.event-content {
    padding: 20px;
}

.event-content h4 {
    margin-bottom: 15px;
    color: #0e1c4a;
}

.event-content p {
    margin-bottom: 20px;
    line-height: 1.7;
} */

.event-content a{
    color: #152a6e;
    text-decoration: none;
    border-bottom: 1px solid #152a6e;
}

.event-btn {
    display: inline-block;
    background: #152a6e;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
}

/* ==========================
   EVENT DETAILS
========================== */

.event-details-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.event-details {
    max-width: 100%;
    margin: auto;
    padding: 40px 10px;
}


.fleevents{
     max-width: 100%;
    margin: auto;
    padding: 20px 10px;
    display: flex;
    gap: 20px;

}

.eventimage{
    width: 40%;
    padding: 10px 5px;

}

.eventimage img{
    width: 100%;
    height: 450px;
}


.eventothers{
     width: 58%;
    padding: 10px 5px;

}

.event-header {
    text-align: center;
    margin-bottom: 30px;
}

.event-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #152a6e;
}

.event-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.event-description {
    line-height: 1.7;
    font-size: 18px;
}

.event-description ul {
    margin-top: 15px;
    padding-left: 25px;
    color: #00234b;
}

.event-gallery {
    padding: 60px 5%;
}

.event-gallery h2 {
    text-align: center;
    margin-bottom: 30px;
}

.event-gallery .gallery-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.event-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}


/* envent-redesign */

.related-events{
    width:90%;
    margin:60px auto;
}

.related-events h2{
    color: #152a6e;
    padding: 10px;
    margin: 10px;
}


 .events-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
} 

.event-card{
    background: #fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.event-card:hover{
    transform:translateY(-5px);
}

.event-image{
    height:220px;
    overflow:hidden;
}

.event-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.event-content{
    padding:20px;
}

.event-content h4{
    margin-bottom:10px;
}

.event-content p{
    margin-bottom:15px;
    font-size:14px;
}

.event-content a{
    text-decoration:none;
    font-weight:bold;
}









/* ==========================
   NEWS DETAILS
========================== */
/* 
.news-details-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
} */

.news-details {
    max-width: 100%;
    margin: auto;
    padding: 40px 10px;
}

.news-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #152a6e;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.news-content {
    line-height: 1.7;
    font-size: 18px;

}

.news-content p {
    margin-bottom: 20px;
}

.news-content blockquote {
    border-left: 5px solid #152a6e;
    padding: 20px;
    margin: 30px 0;
    background: #f5f5f5;
    font-style: italic;
}

/* ==========================
   CONTACT PAGE
========================== */

.contact-hero {
    background:
        linear-gradient(rgba(0, 0, 0, .6),
            rgba(0, 0, 0, .6)),
        url("../images/MayGodBlessYouMa2.jpeg");

    background-size: cover;
    background-position: center;

    color: white;
    text-align: center;
    padding: 120px 20px;
}

.contact-page {
    padding: 80px 5%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: #152a6e;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

.contact-info h2 {
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.contact-form textarea {
    height: 180px;
}

.contact-form button {
    background: #152a6e;
    color: white;
    border: none;
    padding: 14px;
    cursor: pointer;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
}


/* gallery=details=css */



.gallery-hero{
    position:relative;
    height:500px;
    overflow:hidden;
}

.gallery-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:50px;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.8)
    );
    color:white;
}

.overlay span{
    background:#c62828;
    padding:8px 15px;
    border-radius:20px;
}

.overlay h1{
    margin-top:15px;
    font-size:40px;
}

.overlay p{
    margin-top:10px;
}

/* DETAILS */

.gallery-details{
    width:90%;
    margin:50px auto;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
}

.gallery-content{
    background:white;
    padding:30px;
    border-radius:10px;
}

.gallery-content h2{
    margin-bottom:20px;
}

.gallery-content p{
    line-height:1.8;
    margin-bottom:20px;
}

.gallery-info{
    background:white;
    padding:30px;
    border-radius:10px;
    height:fit-content;
}

.gallery-info h3{
    margin-bottom:20px;
}

.info-box{
    margin-bottom:20px;
}

/* RELATED */

.related-gallery{
    width:90%;
    margin:50px auto;
}

.related-gallery h2{
    margin-bottom:30px;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.related-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
    transition:.3s;
}

.related-grid img:hover{
    transform:scale(1.05);
}

/* RESPONSIVE */



/* end */


/* 
NewAboutus */







/* ==========================
   SEARCH PAGE
========================== */

.search-hero {
    background:
        linear-gradient(rgba(0, 0, 0, .6),
            rgba(0, 0, 0, .6)),
        url("../images/Apropos.jpeg");

    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}


.search-page {
    padding: 20px 5%;
}

.search-box {
    max-width: 800px;
    margin: auto;

}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
}

.search-box button {
    background: #ffff00b1;
    color: #f3f4f6;
    border: none;
    font-size: 25px;
    padding: 15px 30px;
    cursor: pointer;
}

.search-results {
    padding: 0 5% 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.result-card {
    background: #152a6e1c;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);

}

.result-card img {
    width: 100%;
    height: 300px;
    border-radius: 5px;
}

.result-type {
    background: #152a6e;
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 13px;
    width: 30%;
    margin: 10px;
}

.result-card h2 {
    margin: 15px 0;
    color: #152a6e;
}

.result-card a {
    color: #152a6e;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #152a6e;
}














footer {
    text-align: center;
    padding: 20px;
    background: var(--primary);
    color: white;
}

footer p{
    text-align: center;
    color: white;
}


















/* General fix for images */
img {
  max-width: 100%;
  height: auto;
}

/* Headings scale better */
@media (max-width: 480px) {
  .themain h1 { font-size: 16px; }
  .themain h3 { font-size: 14px; }
  .error-content h1 { font-size: 3rem; }
  .error-content h2 { font-size: 1.2rem; }
}

/* Remove fixed widths */
.newsh1 h1,
.marquee__text {
  width: auto;
  max-width: 100%;
}

/* Collapse columns fully */
@media (max-width: 480px) {
  .cleverpart,
  .stat {
    width: 100%;
  }
}

/* Avoid huge min-heights */
.thebigaboutus,
.leftab,
.rightab {
  min-height: auto;
}










/* =========================
   RESPONSIVE DESIGN LAYER
   DO NOT REMOVE ORIGINAL CSS
   ========================= */

/* Tablets */
@media screen and (max-width: 1024px) {

    /* .container{
        width: 100%;
        background-color: red;
        margin: 0;
        padding: 0;
    } */

    nav {
        flex-direction: column;
        align-items: center;
    }

    /* nav img {
        margin-left: 0;
    }


    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 0;
    } */

    .themain h1 {
        font-size: 28px;
    }

    .themain p {
        padding: 20px;
    }

    .newscath {
        justify-content: center;
    }

    .newspaper {
        width: 45%;
    }

    .flexmvm {
        flex-wrap: wrap;
        height: auto;
    }

    .flexmvm .mvm {
        width: 45%;
    }

    .prog {
        flex-direction: column;
    }

    .leftpro,
    .rightpro {
        width: 95%;
        margin: 10px auto;
    }

    .padilprof {
        flex-direction: column;
        align-items: center;
    }

    .rightpadii {
        width: 90%;
    }

    .formmap {
        flex-direction: column;
        height: auto;
    }

    .formme,
    .mapme {
        width: 100%;
    }
}

/* Mobile phones */
@media screen and (max-width: 768px) {

    .topbar h2 {
        font-size: 14px;
    }

    /* nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        padding: 5px;
    } */

    .themain h1 {
        font-size: 22px;
    }

    .themain p {
        font-size: 14px;
    }

    .marquee__text {
        width: 300px;
    }

    .newspaper {
        width: 90%;
    }

    .flexmvm .mvm {
        width: 100%;
    }


    .thebigmain h1 {
        font-size: 30px;
        margin-left: 20px;
    }

    /* .tteam {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .teamme {
        width: 80%;
    } */

    .clever {
        flex-wrap: wrap;
        height: auto;
    }

    .cleverpart {
        width: 45%;
    }






    /* .stats1 {
        flex-wrap: wrap;
    } */

    .stat {
        width: 45%;
    }

    .stats {
        flex-direction: column;
        height: auto;
    }

    .alliancegarelly {
        flex-direction: column;
        height: auto;
    }

    .alliaimage,
    .alliavideo {
        width: 100%;
    }

    .formme form input {
        width: 90%;
    }
}






/* Small phones */
@media screen and (max-width: 480px) {

    .themain h1 {
        font-size: 18px;
    }

    .themain h3 {
        font-size: 16px;
    }

    .newsh1 h1 {
        width: 60%;
        font-size: 16px;
    }

    .stat {
        width: 90%;
    }

    .cleverpart {
        width: 100%;
    }

    .marquee__text {
        width: 250px;
    }


}

@media(max-width:768px) {

    .events-hero h1 {
        font-size: 2.2rem;
    }

    .event-details-hero img {
        height: 300px;
    }

    .event-header h1 {
        font-size: 2rem;
    }





    @media(max-width:768px) {

        .contact-container {
            grid-template-columns: 1fr;
        }

        .news-details-hero img {
            height: 300px;
        }

        .news-header h1 {
            font-size: 2rem;
        }

    }



    @media(max-width:768px) {

        .search-box form {
            flex-direction: column;
        }

        .error-content h1 {
            font-size: 5rem;
        }

        .error-content h2 {
            font-size: 1.5rem;
        }

    }



}




/* 
@media(max-width:768px){

    .alinefooter{
        flex-direction:column;
        text-align:center;
    }

    .aliifoo{
        width:100%;
    }

} */



/* Responsive menu */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    align-items: center;
  }

  nav img {
    margin-left: 20px;
  }

  .menu-toggle {
    display: block; /* show hamburger */
  }

  nav ul {
    display: none; /* hide links initially */
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    background: white;
    border-top: 1px solid #ccc;
  }

  nav ul.show {
    display: flex; /* show when toggled */
  }

  nav ul li {
    text-align: center;
    padding: 15px;
    margin: 0;
  }

  nav ul li a {
    font-size: 18px;
    display: block;
  }

  /* Dropdown inside mobile */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
  }
}




/* Responsive Donation */

@media (max-width: 768px) {
    .donation-box {
        flex-direction: column;
        width: 95%;
    }

    .donation-options,
    .donation-form {
        width: 100%;
    }


    /* Apropos/ About us */

       .thebigaboutus
    {
    width: 95%;
    min-height: 1000px;
    background-color: white;
    display: block;
    margin: auto;
    }

    
.thebigaboutus .leftab {
    width: 100%;
    min-height: 500px;
    margin-top: 0;
    margin-left: 0;
    }


    
.leftab .ico {
    width: 45px;
    height: 50px;
    background-color: rgb(254, 246, 4);
    border-radius: 2px 2px 2px 20px;
    margin: 0;
    margin-left: 10px;
}

.leftab h1 {
    color: rgb(242, 218, 2);
    padding: 5px;
    font-size: 28px;
    margin-left: 10px;
}

.leftab h3 {

    text-align: left;
    margin-left: 10px;
    font-size: 20px;
    color: #111827;
}

.leftab p {
    padding: 0 5px 5px 10px;
    font-size: 18px;
    color: rgba(82, 72, 72, 0.63);
}

.leftab button {
    padding: 15px 60px;
    margin-left: 10px;
    background-color: rgb(250, 221, 2);
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
}

.program-details {
    width: 90%;
    margin: auto;
    padding: 60px 0;
    display: block;
}

.fleevents{
     width: 90%;
    margin: auto;
    padding: 60px 0;
    display: block;
}

.eventimage{
    width: 100%;

}
.eventothers{
     width: 98%;
    padding: 10px 5px;

}



.ico i {
    color: white;
    width: 28px;
    height: 28px;
    border: 2px solid white;
    border-radius: 50%;
    padding: 4px;
    font-size: 16px;
    margin: 8px;
}

.clos {
    width: 95%;
    border: 1px solid rgba(251, 239, 4, 0.627);
    margin-top: 20px;
    margin-left: 10px;
}

.rightab {
    width: 100%;
    height: 500px;
    margin-top: 0;
    margin-left: 0;
}

.rightab img {
    width: 450px;
    height: 400px;
    border-radius: 12px;

}


.stats1{
    border: 3px solid white;
    display: none;
}


.etapes{
    display: none;
}
/* 
.fleprincipaux {
    display: block;
} */



.fleprincipaux .principame {

    width: 45%;
    min-height: 120px;
    margin: 5px;
    background-color: #fce703db;
    padding: 20px;
    border-radius: 6px;


}

#nosio{
 color: var(--accent);
 font-size: 25px;
}










/* 
.blackmail {
    margin-top: 700px;
}

 */

}






/* Footer Responsiveness */

@media (min-width: 600px) and (max-width: 991px) {
    .aliifoo {
        flex: 0 0 48%; 
    }
}


@media (min-width: 992px) {
    .aliifoo {
        flex: 0 0 23%; 
        text-align: left; 
    }

    .aliifoo h3 {
        text-align: left;
    }

    .aliifoo p {
        text-align: left;
    }

    .footer-donate {
        margin-left: 0;
    }


}




@media(max-width:900px){

    .gallery-details{
        grid-template-columns:1fr;
    }

    .overlay{
        padding:30px;
    }

    .overlay h1{
        font-size:30px;
    }

}

@media(max-width:600px){

    .gallery-hero{
        height:350px;
    }

    .overlay h1{
        font-size:24px;
    }

    .overlay p{
        font-size:14px;
    }

    .gallery-content,
    .gallery-info{
        padding:20px;
    }

}

