 html{
  scroll-behavior: smooth;
 }

.custom-navbar {
  margin-bottom: 20px;
  background-color: #fff7eb;
  border: 5px solid #a10032;
  border-radius: 80px;
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: 100%;
  z-index: 5;
  position: sticky;
  top: 10px;
  min-height: 90px;
}

        /* Logo */
.navbar-brand img {
    width: 80px;
    transition: all 0.3s ease;
}

        /* Brand Text */
.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #212529;
    transition: all 0.3s ease;
}

        /* Buttons */
.nav-link {
    background-color: #a10032;
    color: white !important;
    border-radius: 15px;
    padding: 10px 20px;
    margin-left: 10px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: #7a0025;
    transform: scale(1.05);
}

        /* Navbar toggler customization */
.navbar-toggler {
    border: 2px solid #a10032;
    padding: 5px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(161, 0, 50, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(161, 0, 50, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

        /* Fix for medium screens (700px to 992px) */
@media (min-width: 700px) and (max-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-item {
        flex: 0 0 auto;
    }
    
    .nav-link {
        padding: 8px 15px;
        margin: 2px;
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        width: 70px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}

        /* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
    .custom-navbar {
        border-radius: 50px;
        padding: 8px 15px;
        min-height: 80px;
    }
    
    .navbar-brand img {
        width: 70px;
    }

    .brand-text {
        font-size: 1.3rem;
    }
    
    .nav-link {
        padding: 8px 16px;
        margin: 5px 0;
        width: 100%;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
}

        /* Small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {
    .custom-navbar {
        border-radius: 30px;
        padding: 5px 10px;
        min-height: 70px;
        border-width: 3px;
    }
            
    .navbar-brand img {
        width: 50px;
    }
            
    .brand-container {
        margin-left: 5px;
    }

   .brand-text {
       font-size: 1rem;
   }
          
  .navbar-collapse {
      background-color: #fff7eb;
      border: 2px solid #a10032;
      border-radius: 20px;
      padding: 10px;
      margin-top: 10px;
  }
  
  .navbar-toggler {
      padding: 4px 6px;
  }
  
  .navbar-toggler-icon {
      width: 1.2em;
      height: 1.2em;
  }
  
  /* Ensure menu buttons are smaller than logo */
  .nav-link {
      padding: 6px 12px;
      font-size: 0.9rem;
  }
}

        /* Extra small devices (portrait phones, less than 400px) */
@media (max-width: 400px) {
    .custom-navbar {
        border-radius: 25px;
        min-height: 60px;
    }
    
    .navbar-brand img {
        width: 40px;
    }

  .brand-text {
      font-size: 0.9rem;
  }
  
  .nav-link {
      padding: 5px 10px;
      font-size: 0.85rem;
  }
  
  /* Make sure buttons are smaller than logo */
  .navbar-brand {
      min-width: 50px;
  }
}
    .scrollupbtn{
    background-color: none;
    height: 70px;
    width: 70px;   
   }
@keyframes appear{
  0%{opacity: 0;
    display: none
  }
    
  100%{
    opacity: 1;
    display: block;
}
}



.main{
    padding-top: 10px;
}
.l2e{
   display: flex;
   justify-content: center;
}
 .our-mot {
   background-color: #a10032;
}
.aboutusm{
    width: 100%;
    display: flex;
    justify-content: center;
    /* background-color: #a10032; */
    border-bottom-left-radius: 30px;
     border-bottom-right-radius: 30px;
     color: floralwhite;
}
.para{
    padding-left: 80px;
    padding-right: 80px;
    font-size: 30px;
    border: 3px solid black;
    border-radius: 20px;
    margin: 10px;
    background-color: floralwhite;
}
.sloganr{
    line-height: 0;
    margin-top: 100px;
    padding: 0px;
   justify-content: center;
   font-family: cursive;
   letter-spacing: 5px;
}
.slogan{
    display: block;
    font-size: 25px;
    display: flex;
    justify-content: center;
   padding-right: 60px;
   width: 100%;
}
.slogan2{
    padding-top: 20px;
    padding-left: 170px;
    font-size: 30px;
     display: flex;
    justify-content: center;
    width: 100%;

}
.founder-box {
  background-color: #fff7eb;
  border-top: 8px solid #a10032;
  border-right: 6px solid #a10032;
  border-bottom: 3px solid #a10032;
  border-left:1px solid #a10032 ;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 20px;
  width: 100%;
}
.map-container {
  height: 200px; 
  width: 30%;
}

.map-container iframe {
  height: 100%;
  width: 100%;
}

@media (max-width: 600px) {
    .map-container {
    height: 150px;
    }
}
@media (max-width: 500px) {
    .map-container {
    height: 8.5rem;
    width: 9.5rem;
    }
}
.section-padding {
  padding: 4rem 0;
}
.footer-text {
  height: 5%;
  text-align: center;
  border-top: 1px solid #111922;
  background-color: #a10032;
  color: white;
}
.contact-info div {
  margin-bottom: 6px;
  font-size: 1rem;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter:  brightness(100%); 
  width: 30%;  
  height: 30%;
}
.testimonial-section {
      margin-top: 2%;
      padding: 80px 0;
      background-color: #990d35;
      color: white;
    }
          @media (max-width:768px){
      .testimonial-section{
        padding-bottom: 120px;
      }
    }
    .testimonial-card {
      background-color: rgba(255, 248, 232, 0.9);
      border-radius: 10px;
      padding: 30px;
      margin: 15px;
      color: #333;
    }
    .testimonial-text {
      font-style: italic;
      color: #990d35;
      margin-bottom: 20px;
    }
    .testimonial-author {
      font-weight: 600;
      color: #990d35;
    }
        @media (max-width:768px){
      .card_3{
        margin-top: 75px;
      } 
    }
        @media (max-width:768px){
      .card_2{
        margin-top: 45px;
      } 
    }
      .gallery-section {
      padding: 50px 0;
      background-color: #fff7eb;
    }
    .gallery-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 10px;
      transition: all 0.3s ease;
      margin-bottom: 20px;
      border: 2px solid #990d35;
    }
    .gallery-img:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 20px rgba(153, 13, 53, 0.2);
    }
    .c-more{
      background-color: #fff8e8;
      font-weight: 500;
      width: 98%;
    }
   .c-more:hover {
    background-color: wheat;
    color: black;
   }
   @media (max-width:768px){
    .c-more{
      width: 95%;
    }    
   }
   @Media (max-width:400px){
    .c-more{
      width: 90%;
    }    
   }
   @media (max-width: 300px){
    .c-more{
      width: 90%;
    }
    
   }
   @media (max-width: 768px) {
    .map-container {
    height: 150px;
    width: 100%;
    padding: 3%;
    padding-left: 6%;
    }
   }  

 @media (max-width: 500px) {
    .map-container {
    height: 8.5rem;
    width: 100%;
    
    }
  }
 


   .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #fff8e8;
    color: #a10032;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
}

.back-to-top:hover {
    background-color: #990d35;
    color: #fff8e8;
    transform: translateY(-3px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}