*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    min-height: 100vh;
}

.title h1{
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #004800;
    font-family:'Cinzel';
}

.logo{
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  align-items: center;
  justify-content: center;
}

.logo img{
    height: 200px;
}

.card {
    width: 23%;
    margin: 60px auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 72, 0, 0.15);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 72, 0, 0.22);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card .container {
    padding: 25px;
    text-align: center;
}


.cardContainer{
    display: flex;
}

.card h4 {
    color: #004800;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.card p{
    font-weight: bold;
}

.card a {
    display: inline-block;
    background-color: #0f5132;
    color: white;
    padding: 12px 22px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
}

.card a:hover {
    background-color: #006000;
}



.fajrCard,
.duhurCard,
.asrCard,
.maghribCard,
.ishaCard {
    width: 18%;
    margin: 60px auto;
    background-color: white;
    border-radius: 12px;
    border-top: 4px solid #004800;
    box-shadow: 0 8px 25px rgba(0, 72, 0, 0.15);
    text-align: center;
    padding: 15px;
}

.prayerHeading h1{
    text-align: center;
}

.prayerWrapper h3 {
    color: #004800;
    font-family: 'Cinzel', serif;
    margin-bottom: 8px;
}

.prayerWrapper p {
    font-size: 20px;
    font-weight: bold;
}
.prayerWrapper{
    display: flex;
}


header {
    position: relative;
    min-height: 270px;
}

nav{
    background-color: white;
 
   
}


nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


nav li{
    height: 50px;
}

nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}


nav a:hover{
    color: #004800;
}


.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255,255,255, 0.2);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);




}


#textContainer{
    display: flex;
}


#imgMedia {
    align-items: center;
    justify-content: center;
    padding: 100px;
    justify-content: space-evenly;
    width: 35%;
    display: flex;
   
}


#imgMedia .img1, .img2, .img3 {
    width: 85%;
    flex-wrap: wrap;
    margin: 45%;
    margin-left: 10px;
    border-radius: 30px;
    background-color: green;

}

.welcome{
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 5%;
    padding: 15px;
     font-family:'Cinzel';
   
}




.sidebar li{
    width: 100%;
}



.heroImage {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/quran.jpg");
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


.heroText{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}



.heroButton {
    display: inline-block;
    background-color: #0f5132;
    color: white;
    text-decoration: none;
    padding: 14px 25px;
    margin: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.heroButton:hover {
    background-color: #006000;
}











.heroImage2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/blur.jpg");
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  
}


.heroText2{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}



.heroButton2 {
    display: inline-block;
    background-color: #0f5132;
    color: white;
    text-decoration: none;
    padding: 14px 25px;
    margin: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.heroButton2:hover {
    background-color: #006000;
}


    .indexText{
        width: 30%;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 35vw;
        margin: 95px auto;
        padding: 15px;
        border: solid 10px ;
        border-color: #0f5132; 
        border-radius: 9px;
        background-color: #F3F6F1;
        box-shadow: 0 8px 25px rgba(0, 72, 0, 0.12);
        margin-top: 5px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        margin-top: 5%;
        flex-direction: column;        
      
    }


       .contactText{
        width: 30%;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 35vw;
        margin: 95px auto;
        padding: 15px;
        border: solid 10px ;
        border-color: #0f5132; 
        border-radius: 9px;
        background-color: #F3F6F1;
        box-shadow: 0 8px 25px rgba(0, 72, 0, 0.12);
        margin-top: 5px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        margin-top: 5%;
        flex-direction: column;        
      
    }


       .prayerText{
        width: 30%;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 35vw;
        margin: 95px auto;
        padding: 15px;
        border: solid 10px ;
        border-color: #0f5132; 
        border-radius: 9px;
        background-color: #F3F6F1;
        box-shadow: 0 8px 25px rgba(0, 72, 0, 0.12);
        margin-top: 5px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        margin-top: 5%;
        flex-direction: column;        
      
    }



.wrapper {
    width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #F1F5F0;
    border: 1px solid #6B8F71;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: Arial, sans-serif;
}

.wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wrapper label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-weight: bold;
    color: #1C1C1C;
}

.wrapper input,
.wrapper textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #6B8F71;
    border-radius: 6px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    background: white;
}

.wrapper textarea {
    height: 140px;
    resize: vertical;
}

.wrapper input:focus,
.wrapper textarea:focus {
    outline: none;
    border: 2px solid #004800;
}

.wrapper button {
    padding: 12px;
    background: #004800;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.wrapper button:hover {
    background: #0f5132;
}

.wrapper h2{
    text-align: center;
}





    
.indexText h1{
    font-size: 30px;
    color: #004800;
}

.indexText p{
     color: #333333;
}





    .aboutText{
        width: 30%;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 20vw;
        margin: 95px auto;
        padding: 15px;
        border: solid 3px ;
        border-color: #6B8F71; 
        border-radius: 9px;
        background-color: #F1F5F0;
        box-shadow: 0 8px 25px rgba(0, 72, 0, 0.12);
        margin-top: 5px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        margin-top: 5%;
        flex-direction: column;        
      
    }




.aboutText p{
     color: #004800;;
}


.aboutText h1{
    font-size: 30px;
    color: #004800;
}







    .aboutPara{
        width: 30%;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 35vw;
        margin: 95px auto;
        padding: 15px;
        border: solid 3px ;
          border-color: #6B8F71; 
        border-radius: 9px;
        background-color: #F1F5F0;
        box-shadow: 0 8px 25px rgba(0, 72, 0, 0.12);
        margin-top: 5px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        margin-top: 5%;
        flex-direction: column;        
      
    }




.aboutPara p{
  color: #004800;;
}


.aboutPara h1{
    font-size: 30px;
    color: #004800;
}













    footer {
    background-color:#F3F6F1;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
     margin-top: 70px;
     border-radius: 5px;
   
    
   
}

 .footer-watermark a{
        color: black;
        font-weight: bold;
        text-decoration: none;
    }


    .footer-watermark a:hover{
        color: gray;
    }
   
#copyright{
    color: #1C1C1C;
    text-align: center;
    position: relative;
    
    
   }


   .footerNav a{
    text-decoration: none;
    color: black;
   margin: 10px 10px;
   font-size: 20px;
  
  
   
}


.footerEmail a{
    text-decoration: none;
    color: #1C1C1C;
    font-weight: bold;
}


.footerEmail a:hover{
    color: blue;
}


.footerEmail p{
    color: black;
}



footer  #map iframe{
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 90%;
    height: 400px;
    
   }






.footerNav a:hover{
border: 3px solid #004800;
border-inline: #004800;
}

.footerNav{
    margin: 20px;
}



.policyText {
    width: 65%;
    margin: 60px auto;
    padding: 30px;
    background-color: #F3F6F1;
    border: 3px solid #6B8F71;
    border-radius: 9px;
    box-shadow: 0 8px 25px rgba(0, 72, 0, 0.12);
    font-family: Arial, Helvetica, sans-serif;
}

.policyText h1 {
    text-align: center;
    color: #004800;
    font-family: 'Cinzel', serif;
    font-size: 30px;
    margin-bottom: 10px;
}

.policyText h2 {
    color: #004800;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.policyText p {
    color: #333333;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.form-watermark a{
    color: blue;
    text-decoration: none;
}


.social a {
    color: green;
    margin: 0 15px; 
    text-decoration: none;
}

.social i {
    font-size: 32px; 
}

.social{
    margin-bottom: 10px;
}



#hoursText{
    color: black;
}


.sidebar a{
    width: 100%;
}

.menuButton{
    display: none;
}

@media(max-width: 990px) {
    .hideOnMobile{
        display: none;
    }

    .menuButton{
        display: block;
    }

    .logo img{
        height: 120px;
    }

      .indexText{
        width: 20%;
        align-items: center;
        display: flex;
        justify-content: center;
        width: 60vw;
        margin: 85px auto;
        padding: 15px;
        border: solid 10px ;
        border-color: #0f5132; 
        border-radius: 9px;
        background-color: #F3F6F1;
        box-shadow: 0 8px 25px rgba(0, 72, 0, 0.12);
        margin-top: 5px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        margin-top: 5%;
        flex-direction: column;        
      
    }

.cardContainer {
        display: block;
    }

    .card {
        width: 70%;
        margin: 40px auto;
    }

    .card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

  .aboutText {
        width: 60%;
        margin: 50px auto;
        padding: 15px;
        font-size: 18px;
        height: auto;
    }

    .aboutText h1 {
        font-size: 26px;
    }

    .aboutPara {
        width: 70%;
        margin: 50px auto;
        padding: 20px;
        font-size: 18px;
    }

    .aboutPara h1 {
        font-size: 26px;
    }


  

#textContainer{
    display: block;
}



.contactText{
    width: 60%;
    margin: 50px auto;
}

.prayerText{
    width: 60%;
    margin: 50px auto;
}



.wrapper {
    width: 60%;
    margin: 50px auto;
    padding: 25px;
}

.prayerWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.fajrCard,
.duhurCard,
.asrCard,
.maghribCard,
.ishaCard {
    width: 40%;
    margin: 15px 0;
    padding: 15px;
}


 .policyText {
        width: 75%;
        margin: 50px auto;
        padding: 25px;
    }

    .policyText h1 {
        font-size: 27px;
    }

    .policyText h2 {
        font-size: 20px;
    }

    .policyText p {
        font-size: 16px;
        line-height: 1.6;
    }

    .footerNav {
        padding: 20px 15px;
    }

    .footerNav a {
        font-size: 19px;
        white-space: nowrap;
    }

}





@media(max-width: 600px){
    .sidebar{
        width: 100%;
    }


    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        margin-top: 30px;

    }

    .logo img {
        display: block;
        height: 120px;
    }

     .card {
        width: 85%;
        margin: 30px auto;
    }

    .card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .card .container {
        padding: 20px;
    }

    .card h4 {
        font-size: 18px;
    }
    .aboutText {
        width: 85%;
        margin: 30px auto;
        font-size: 16px;
    }

    .aboutText h1 {
        font-size: 23px;
    }

    .aboutPara {
        width: 85%;
        margin: 30px auto;
        padding: 15px;
        font-size: 16px;
    }

    .aboutPara h1 {
        font-size: 23px;
    }

     .wrapper {
        width: 50%;
        margin: 30px auto;
        padding: 20px;
    }

       .prayerText {
        width: 50%;
        margin: 30px auto;
        padding: 15px;
        font-size: 16px;
    }

    .prayerText h1 {
        font-size: 23px;
    }

     .indexText {
        width: 50%;
        margin: 30px auto;
        padding: 15px;
        font-size: 16px;
    }

    .indexText h1 {
        font-size: 23px;
    }

.policyText {
        width: 85%;
        margin: 30px auto;
        padding: 20px;
    }

    .policyText h1 {
        font-size: 24px;
    }

    .policyText h2 {
        font-size: 18px;
    }

    .policyText p {
        font-size: 15px;
        line-height: 1.5;
    }


       .footerNav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        padding: 20px;
    }

    .footerNav a {
        white-space: nowrap;
        font-size: 18px;
    }

}



@media(max-width: 373px) {

    .footerNav {
        padding: 15px 5px;
    }

    .footerNav a {
        font-size: 16px;
        white-space: nowrap;
    }
}

