  *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header{
    margin: 25px 83px;
    position: absolute;
    z-index: 9999;
    width: 89%;
    font-family:  "PT Serif", serif;
    font-weight: 400;
}
.heaad{
    display:flex;
   justify-content: inherit;
    width: 100%;
    color: white;
    font-size: larger;
    padding: 17px 0;
    display: none;
  
}
.header1{
    margin-right: 10px;
   
   display: flex;
  
   justify-content: center;
   align-items: center;
}
.header2{
    margin-right: 10px;

   display: flex;
  
   justify-content: center;
   align-items: center; 
}
.logo{
    width: 30%;
    margin-left: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fafafa;
    
  }


  #logohed{
    font-family:"Barrio", cursive;
    font-weight:bold;
   color: #fafafa ;
    font-size: 40px;
    margin-left: 50px;
}

  #hhh{
    color: #fafafa;
  }
#hhh:hover{
    transition: all 0.6s;
    color: #fbc50b;
 }

.location{

margin-right: 10px; 

display: flex;
justify-content: center;
align-items: center;
   
  

}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
   

}
.navbar{
    padding-top: 0px;
}
.container-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}



.nav-item{
box-sizing: border-box;
}
.nav-item.dropdown:hover .dropdown-menu {
    transition: all 0.6s;
    display: block;
}


.dropdown-menu {
    display: none;
}


.dropdown-menu {
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: center;
}
.col{
    color: white;
    content: "";
    background-color:  #007d3a;
    height: 4px;
   padding-bottom: 5px;
    display: flex;
    align-items: end; box-sizing: border-box;
    margin-top: 22px;
 
}


.col:hover {
  

   background-color: #fbc50b;
   width: 100%;
   transition: all 0.6s;
   
    
}
.btn1{
    background-color: #fbc50b;
    color: black;
    width: 160px;
    height: 60px;
    border-radius: 35px;
    font-family:"PT Serif", serif; 
    margin-left: 25px;
}
.btn1:hover{
    transition: all 0.6s;
    background-color: #cba004;
}
/* Namaz container */
.namztime {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive columns */
    gap: 0px; /* Space between items */
    padding: 0 20px 20px 20px;
}

/* Individual Namaz Items */
.namz {
    text-align: center;
    border: 1px solid #007d3a;
    border-radius: 50%; /* Circular shape */
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    padding: 22px; /* Inner padding */
    position: relative;
    overflow: hidden;
    width: 100%; /* Ensure responsiveness */
    aspect-ratio: 1 / 1; /* Maintain square shape */
    background-color: #fff;
    transition: 0.3s ease-in-out;
    height: 260px;
    
}

.namz:hover{
    color: #fafafa;
}

.namz img {
    width: 50%; /* Responsive image size */
    margin-bottom: 15px;
    margin-top: 8px;
}

.namz h4 {
    font-family: "PT Serif", serif;
    font-size: 27px;
    color: #08cd64;
    font-weight: 400;
    margin-top: 10px;
}

.namz h5 {
    font-family: "PT Serif", serif;
    font-size: 1rem;
    margin-top: 10px;
    color: #333;
}

.namz p {
    font-family: "PT Serif", serif;
    font-size: 0.9rem;
    color: #666;
}
.namz::after {
    content: "";
    height: 0;
    width: 216px; 
    background-image: url(bg.jpg); 
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transform: rotate(0deg) translateY(65px);
    transition: 0.7s; 
    border-radius: 50%;
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    z-index: -1;
    overflow: hidden;
    right: 0;
  }


/* Hover Effects */
.namz:hover::after {
    background-image: url(bg.jpg); 
    height: 314px;
    width: 216px;
    transform: rotate(0deg) translateY(-260px); 
    border-radius: 50%;
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    z-index: -1; 
  }
  
  .namz:hover {
    z-index: 1; 
    color: white;
  }

   



.title{
    text-align: center;
    padding-top: 55px;
    font-family:"PT Serif", serif;  
    margin-top:55px;

}
.title1{
    text-align: center;
    padding-top: 110px;
    font-family:"PT Serif", serif;  
    }

.btn3{
    transition:all 0.6s ;
    border: 4px solid #fbc50b;
    width: 198px;
    height: 60px;
    border-radius: 35px;
    text-align: center;
    font-family:"PT Serif", serif;
margin-top:25px;
}
.btn3:hover{
    background-color: #fbc50b;
    color: white;
}
#vv::before{width: 15px;
    height: 15px;
    content: "";
    position: absolute;
    border-radius: 50%;
   background-color: #007d3a;

    left: 96px;
    padding-top: 12px;
    margin-top: 14px;
}
#vv{
    font-size: 25px;
    list-style: none;
 gap: 25px;
 font-family:"PT Serif", serif;
}
#hh{

    padding-top: 25px;

}
#p1{width: 85%;
   
    background-size: cover;
    border-bottom-left-radius: 150%;
    border-bottom-right-radius:150% ;
}

.p2::after{
    content: "";
    width: 100px;
    height: 100px;
    background-color: #cba004;
 position: absolute;

   

}
@keyframes ract{
  
   0%{
    transform: rotateZ(0deg);
   }
   100%{
    transform: rotateZ(180deg);
   }
   
}
.ract{
    animation: 12.5s infinite ract;
    background-image:url(text-circle.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
    width: 200px;
    background-color:#fbc50b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 50px;
    padding: 25px;
    margin-bottom:25px ;

}
.p3{
    background-size: cover;
    
    border-top-left-radius: 150%;
    border-top-right-radius:150% ;
  
    overflow: hidden;
}

.m1{position: relative;
    overflow: hidden;
}
.m1::before{
    content: "";
    position: absolute;
    height: 505px;
    width: 40px;
    background: #fafafa;
    box-shadow: 0 0 10px #fff;
    filter: blur(1px);
    opacity: 0.7;
    transition: 0.7s;
   
    transform: rotate(20deg) translate(28px);
overflow: hidden;
margin-top: -73px;
  margin-left: -94px;
}
.m1:hover:before{

    transform: rotate(0deg) translate(480px);
}

.m2{
    position: relative;
    overflow: hidden;
}

.m2::before{
    content: "";
    position: absolute;
    height: 713px;
    width: 40px;
    background: #fafafa;
    box-shadow: 10px 10px 10px #fff;
    filter: blur(1px);
    opacity: 0.7;
    transition: 0.7s;
  
    transform: rotate(6deg) translate(-45px);
    
overflow: hidden;

}
.m2:hover:before{
  transform:  translate(500px);
}



.coursetext{
    font-family: "PT Serif", serif;
    line-height: 38px;
    background-color: #fafafa;
    height: 100%;
    padding-top: 10px;
    padding-top: 35px;
    margin-top: -66px;
}

.week{
    display:flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fbc50b;
}
#imgcourse{
    position: relative;
    overflow: hidden;

}
#imgcourse:after{
    content: "";
    height: 0%;
    width: 100%;;
    background-color: #007d3a;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    opacity: 0.7;
    border-radius: 50%;
    border-bottom-right-radius:0 ;
    border-bottom-left-radius: 0;
 transform: translateY(0);
    transition: all 0.7s;
  
}
#imgcourse:hover:after{
    transform: translateY(-360px);
    height: 100%;
    width: 300px;

}
.main2{
    background-image: url(10.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 180px;
  ;z-index: -1;
    position: relative;
}
.www{
    position: relative;
}

.www::after{
    
    height: 100vh;z-index:-1 ;
    content: "";
    width:95%;
    height: 107%;
 background-image: url(bg.jpg);
 display: flex;
   justify-content: center;
   align-items: center;
   position: absolute;
 top: 0px;
   border-radius: 50%;
   border-top-left-radius:0 ;
   border-top-right-radius: 0;
}


#donete{
    border: 20px solid #fbc50b;
    border-top-width: 10px;
    border-top-style: solid;
    border-top-color: rgb(251, 197, 11);
    border-left-width: 10px;
    border-left-style: solid;
    border-left-color: rgb(251, 197, 11);
    position: relative;
  border-radius: 77%;
  border-top-left-radius: 77%;
  height: 155px;
  width: 155px;
  text-align: center;
  border-left: 0;
  border-top-left-radius: 0;
  border-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  margin-left: 257px;
}
#bt1{
    background-color: #cba004;
    margin-left: 257px;}
#yellow{
    content: "";
    height:100px;
    width: 100px;
    position: absolute;
    background-color:#fbc50b ;
    border-radius: 50%;
}
.pilarname{
    position: relative;
    border-radius: 127px;
    border-bottom-left-radius: 127px;
  border-bottom-left-radius: 0;
  border: 1px solid #bcbcbc;
  padding-bottom: 30px;
  width: 106%;
  height: 103%;
  
}
.pillar{
   display: flex;
   margin: auto;
   width: 100%;
   justify-content: space-around;
   margin-top: 60px;

}
#dd:hover{
   
    animation: top-bottom 1s ease-in-out;
}

#data1{
    background-image: url(bg.jpg);
    height: 300px;
    border-radius: 50%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.Ishtehar {
    background-image: url(background.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .ayat {
    background-image: url(frame.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 568px;
    width: 290px;
    border: #000000 solid 3px;
    border-radius: 50px;
   

    overflow: hidden;

  }
  .ayat1 {
    background-image: url(frame.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 568px;
    width: 290px;
    border: #000000 solid 3px;
    border-radius: 50px;
    margin-left: 171px;

    overflow: hidden;

  }
.navigat::before{
    content: "";
    height: 529px;
    width: 100px;
    background-color: #fafafa85;
    box-shadow: 10px 10px 10px 0 azure;
    position: absolute;
   left: -63px;
   transform: rotate(5deg) translate(-37px);
  
    
}
.navigat:hover:before{
    transition: all 0.6s;
    transform: rotate(-3deg) translate(400px);
}

.navigat1::before{
    content: "";
    height: 539px;
    width: 100px;
    background-color: #fafafa85;
    box-shadow: 10px 10px 10px 0 azure;
    position: absolute;
   left: 10px;
   transform: rotate(5deg) translate(-151px);
 
    
}
.navigat1:hover:before{
    transition: all 0.6s;
    transform: rotate(-3deg) translate(400px);
}
#dd{
    overflow: hidden;
    position: relative;
}

.ourcomminuty{
 background-image: url(bg.jpg);
 background-size: cover;
 border-radius: 235px;
 border-top-left-radius: 0;
 height: 450px;
 text-align: center;
}


.connectus{
    text-decoration: none;
    list-style: none;
    border: #fbc50b solid 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}
.connectwith{
    margin-left: -22px;
    display: flex;
 
}
#hhf{
    color:#fafafa;
    
}
.connectus:hover{
    transition: all 0.4s;
    background-color: #fbc50b;
    z-index: 1;
    #hhf{
        transition: all 0.4s;
        color: black;
        z-index: 2;
    
    }
}
.footer2{
    background-image: url(footer-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
z-index: 1;
} 
.footer2::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    background-color: rgba(0,25, 0);
    z-index: -1;
 opacity: .8;
}

   

@media (max-width: 1200px) {
    .header {
        padding: 0 10px;
    }

    .logo {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .heaad {
        flex-direction: row;
        align-items: center;
    }

    .navbar-nav {
        flex-direction: column;
    }

    .btn1 {
        width: 140px;
        height: 50px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 0px;
        margin-left: 26px;
        margin-top: 25px;
    }
    .heaad {
        display: none;
    }
    

    .btn1 {
        width: 120px;
        height: 40px;
        font-size: 12px;
    }

    .namz {
        width: 100%;
    }

    .title {
        font-size: 18px;
    }
}
/* namaz round  */
@media (max-width: 1200px) {
    .namztime {
grid: 0lvh;
    }
    .namz {
        grid-template-columns: repeat(2, 1fr); /* 4 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .namz {
        grid-template-columns: repeat(2, 1fr); /* 3 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .namz {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on very small screens */
    }
}



/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .namztime {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Larger columns for tablets */
    }
}

@media (max-width: 768px) {
    .namztime {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust for smaller screens */
    }
    .namz h4 {
        font-size: 1rem;
    }
    .namz h5, .namz p {
        font-size: 0.8rem;
    }
}


@media (max-width: 480px) {
    .namztime {
        grid-template-columns: repeat(2, 1fr); /* Two columns for very small screens */
        margin-top: -50px;
    }
    .namz {
        padding: 10px;
    }
    .namz h4 {
        font-size: 0.9rem;
    }
    .namz h5, .namz p {
        font-size: 0.7rem;
    }
    
}

@media (max-width: 768px) {
    .heading {
      font-size: 2rem;
    }

    .donation-section h1 {
      font-size: 1.5rem;
    }

    .donation-progress {
      font-size: 1.5rem;
    }
    #donete{
        margin: 45px;
    }
    #bt1{
        margin: 45px;
    }
    .www::after{
        height: 100%;
    }
    .ayat{
        width: 400px;
        
}
.ayat1{
    margin: 0;
}

#withayat{
    bottom: 0;
    right: 0px;
}
#search1{
    width: 300px;
}
#bnn{
    left: 190px;
}
}


@media (max-width: 480px) {
    
    #withayat{
        bottom: 0;
        left:  0px;
    }
    .ayat1{
        background-repeat: no-repeat;
        background-size: cover;
       
        }
    .ayat{
        width: 300px;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #logohed{
        margin: 0;
    }
    #pill{
        display: flex;
        flex-direction: column;
        
    }
    .pilarname{
        width: 240px;
        height:96% ;
     
    }
    #zz{
        font-size: 4px;
         margin: 0;
    }
    .location1{
        display: none;
    }
  
}
.btn4{
    transition:all 0.6s ;
    text-decoration: none;
    
    border: 4px solid #007d3a;
    width: 198px;
    height: 60px;
    border-radius: 35px;
    text-align: center;
    font-family:"PT Serif", serif;
margin-top:25px;
}
.btn4:hover{
    background-color: #007d3a;
    color: white;
}
s
#zz{
    font-size: 24px;
}

#withayat{
position: relative;
    bottom: -309px;
    right: -85px;
}










@media (max-width: 768px) {
    .carousel-item {
        height: 80vh; /* Set height to 80% of the viewport height on smaller screens */
        font-size: 16px;
        
      
    }

    .carousel-caption {
        left: 20px; /* Adjust left position for mobile */
        right: 20px; /* Adjust right position for mobile */
        bottom: 20px; /* Adjust bottom position for mobile */
        text-align: center;
    }
    
    .carousel-item .row {
        display: block;
        text-align: center;
        height: 100%;
        
    }
    
    .carousel-item .col-lg-6,
    .carousel-item .col-lg-5 {
        margin-bottom: 20px;
        font-size: small;
        height: 50%;
        
    }
    
    .carousel-item .col-sm-12 {
        width: 100%;
        height: 100%;
        display: block;
    }
    
    .carousel-item .btn1 {
        margin-top: 20px;
        padding: 12px 24px;
        font-size: 16px;
    }
    .w-100
    {height: 100vh;}
    #vv::before{
        left: 21px;
    }
   
   
}
.carousel-caption{
    position: absolute; 
    left: 97px;
}

@media (max-width: 450px) {
    .carousel-item {
        height: 100vh; /* Adjust height to fill viewport */
        font-size: 14px; /* Smaller font size for better readability */
    }

    .carousel-caption {
        left: 10px; /* Further adjust for smaller screens */
        right: 10px;
        bottom: 10px;
        text-align: center;
        padding: 10px;
        
    }

    .carousel-item .row {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        text-align: center;
        height:80%; /* Allow content height to grow */
    }

    .carousel-item .col-lg-6,
    .carousel-item .col-lg-5,
    .carousel-item .col-sm-12 {
        width: 100%;
        margin-bottom: 10px; /* Add spacing between items */
        height: 80%;
      }
      
      .carousel-item .btn1 {
        margin-top: 10px;
        padding: 10px 20px; /* Adjust padding for smaller buttons */
        font-size: 14px;
      }
      
      .carousel-item img {
      height: 90%;
        max-width: 100%;
       
    }

    .w-100 {
        height: 80vh; /* Ensure full-screen height for images */
    }

    #vv::before {
        left: 10px;
    }
    #lo2{
        display: none;
    }
}







.v1 {
    content: "";
    height: 125px;
    width: 125px;
    border-radius: 50%;
    background-color: #007d3a;
    position: relative;
    top: 325px;

  }

  .v2 {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
  }

  .v2::before {
    content: "";
    width: 100px;
    height: 400px;
    background-color: #fafafa89;
    box-shadow: 10px 10px 10px 0 azure;
    position: absolute;
    transform: rotate(20deg) translate(-94px);
    overflow: hidden;
  }

  .v2:hover:before {
    transition: all 0.6s;
    transform: rotate(20deg) translate(500px);

  }



  .v2:hover{
  
    .v1 img{
      transition: all 0.7s;
      transform: scale(1.2);
    }
    
    }


    #yellow{
        display: flex;
        justify-content: center;
        align-items:center ;
   
    }
.pilarname:hover{
    #yellow img{
        transform: scale(1.2);
        transition: all 0.7s;
    }
}