*{
    font-family: "Work Sans", serif;

}
.sec1{
    background-image: url(images/first-section.jpg);
    background-size:cover;
    background-repeat: no-repeat; 
    overflow: hidden;
    
}
.logo{
    size:70%;
    padding:20px;
}
.upper{
    display: inline;
}
.maintext{
    font-size: 50px;
    font-weight: 500;
    text-align: center;
    color: #af3b00;
    font-family: 'Seasons', serif;
    position: relative;
    top:-80px;
}
.maintext2{
    font-size: 20px;
    color: #af3b00;
    text-align: center;
    position: relative;
    top:-100px;
}

/* Carousel container styling */
.carousel-container {
    position: relative;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    top: -110px;
    width: 800px;
    height: 400px;
    overflow: hidden;
    }
    
    .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
margin: 40px auto;
}

.carousel-inner .carousel-item {
height: 400px;
width: 100%;
transition-duration: 0.5s;
}

/* Add this */
.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
height: 370px;
width: 100%;
}

.carousel-inner .carousel-item img {
height: 100%;
width: 100%;
object-fit: cover;
border: none;
border-radius: 0;
}
.carousel-inner{
    width: 800px!important;
}
.knowmore{
   position: relative;
   top:-90px;
   left: 670px;
   border: white;
   width: 150px;
   height: 50px;
   border-radius: 30px;
   color: #af3b00;
   transition: 0.8s;
}
.knowmore:hover{
    background-color: #af3b00;
    color: #f0f0f0;
}
.donatepooja{
    position: relative;
    left: 1000px;
    bottom: 200px;
}
.donate{
    width: 100px;
    border-radius: 30px;
    color:yellow;
    text-shadow:black;
    
    border: none;
    background: linear-gradient(to right, #af3b00 0%, #e6a202 100%);
    background-size: 200% 100%;
    transition: background-position 0.3s ease;
    transition: 0.8s;
  
}

.donate:hover {
    background-position: 100% 0; /* Moves gradient on hover */
    color:white;
    width: 150px;
  }
  

.gaupooja{
    width: 100px;
    border-radius: 12px;
    color:yellow;
    text-shadow:black;
    
    border: none;
    background: linear-gradient(to right, #af3b00 0%, #e6a202 100%);
    background-size: 200% 100%;
    transition: background-position 0.3s ease;
    transition: 0.8s;
}

.gaupooja:hover {
    background-position: 100% 0; /* Moves gradient on hover */
    color: white;
    width: 150px;
  }

  .modal-content {
    border-radius: 10px;
}

.modal-body {
    padding: 0; /* Removes default padding */
}

.modal-header {
    background-color: #f8f9fa; /* Light grey background for modal header */
}

iframe {
    border-radius: 10px;
    overflow: hidden;
}

.sec2{
    background-image: url(images/second-section.jpg);
    background-size:cover;
    background-repeat: no-repeat; 
    overflow: hidden;
    
}

.pg2{
    padding-top: 50px;
    text-align: center;
    color: white;
   
}

.pg2txt{
   text-align: center;
   color: white;
   font-size:large;
   text-shadow: 1px 1px rgb(160, 158, 158);
}