body {
    position: relative;
}
header {
    display: flex;
    justify-content: space-between;
    background: var(--bg_main2);
    padding: 15px;
    /* align-items: center; */
}
header img {
    width: 105px;
}
ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-right: 15px;
}
header ul li {
    font-size: 1.2rem;
    font-family: var(fonts);
}
header #menuList , 
#menuList2 , 
.menuList2 {
    display: none;
}
#menuList2 {
    position: fixed;
    top: 0;
    margin: 0;
    z-index: 999;
    background: var(--bg_main3);
    height: 100vh;
    padding: 15px;
    flex-direction: column;
    gap: 25px;
}
#menuList2 li a{
    font-size: large;
    font-family: var(--fonts);
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(5, 5, 5, 0.8);
}
.menu i , 
.menu2 i{
    color: var(--primary);
    font-size: x-large;
    cursor: pointer;
}
header a:hover {
    color: var(--secondary_title);
}
.heroSection {
    background: url(../img/heroSection.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}
.heroSection h2 {
    color: var(--primary);
    font-size: 3.5rem;
    font-family: var(--fonts4);
    text-align: center;
    margin-bottom: 25px;
    animation: title 5s ease-out 0.85s forwards;
    animation-iteration-count: infinite;
    text-shadow: 2px 2px 5px rgba(5, 5, 5, 0.8);
}
@keyframes title {
    0% {
        opacity: 0;
        text-transform: scale(0.75);
    }
    50% {
        color: #28a745;
    }
    100% {
        text-transform: scale(1);
        opacity: 1;
        color: var(--primary);
    }
}
.heroSection button {
    padding: 10px;
    margin: 10px;
    font-size: large;
    font-family: var(--fonts);
}
.aboutSection {
    background: var(--bg_main);
    padding: 20px;
}
.titleSection {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 2.5rem;  
    font-family: var(--fonts);
}
.aboutSection .all {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
}
.aboutSection .all iframe {
    border-radius: 25px;
    overflow: auto;
}
.aboutSection .all .right {
    display: flex;
    flex-flow: column wrap;
    gap: 20px;
}
.aboutSection .all .right h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    font-family: var(--fonts);
}
.aboutSection .all .right h5 {
    color: var(--color_main);
    font-family: var(--fonts2);
    font-size: 1.1rem;
    margin: 10px 0;
}
.aboutSection .all .right h5 span {
    color: green;
    cursor: pointer;
}
.aboutSection .all .right h5 span:hover {
    text-decoration: underline;
}
.ourServices {
    background: var(--bg_main2);
    padding: 20px;
}
.ourServices .titleSection {
    color: var(--secondary);
}
.ourServices .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.ourServices .cards .card {
    height: 175px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
    color: rgb(0, 255, 0);
    font-family: var(--fonts);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}
.ourServices .cards .card:hover {
    transform: scale(1.1);
    transition: all 0.5s ease;
}
.ourServices .cards .card img {
    border-radius: 0;
}
.ourServices .cards .meetingsCard {
    background: url(../img/meetings.webp);
}
.ourServices .cards .centerCard {
    background: url(../img/center.webp);
}
.ourServices .cards .clubCard {
    background: url(../img/club.webp);
}
.ourServices .cards .MassesCard , 
.ourServices .cards .MassesCard2 {
    background: url(../img/masses.webp);
}
.ourServices .cards .sundaySchoolCard {
    background: url(../img/sundaySchool.webp);
}
.ourServices .cards .hospitalsCard {
    background: url(../img/hospital.jpg);
}
.ourServices .cards .activitiesCard {
    background: url(../img/activities.jpg);
}
.fathersSection {
    background: var(--bg_main2);
    padding: 20px;
}
.fathersSection .all {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 0;
}
.member {
  text-align: center;
  max-width: 250px;
}
.member img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.member img:hover {
  transform: scale(1.05);
}
.member .fatherName {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--secondary_title);
    font-family: var(--fonts);
}
footer {
    background: var(--bg_main);
    padding: 20px;
    text-align: center;
    color: var(--primary);
    font-family: var(--fonts);
    font-size: 1.2rem;
}
footer p {
    color: var(--secondary);
}
footer .socialMedia {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
#toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #28a745;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 999;
    bottom: 30px;
    right: 30px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, bottom 0.5s ease-in-out;
  }
#toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
@media screen and (max-width: 767px) {
    header ul {
        display: none;
    }
    #menuList {
        display: flex;
    }
    #menuList2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .heroSection h2 {
        font-size: 2.5rem;
    }
    .aboutSection .all {
        flex-direction: column;
        align-items: center;
    }
    .aboutSection .all iframe {
        width: 100%;
        height: 200px;
    }
}