*{
    padding: 0px;
    margin: 0px;
}

/*------------- nav bar  --------------*/

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar{
    --bs-navbar-padding-x: 1;
}

.nav-text{
    font-size: 20px;
    color: rgb(188,32,47);
  
}

.liststyle {
        display:flex;
        justify-content:space-around;
    }
    
.btnsize1{
    font-size: 16px;
    width:36%;
    height:58px;

}
.btnsize1:hover{
    font-size: 18px;
}

.nav-text:hover{
    border-bottom: 2px solid rgb(188,32,47); 
}


/* ul {
    margin-top: -1.8rem;
    
} */

.inline-p {
    display: inline;
    margin-right: 10px;
}

.logo{
    width: 90px;
}

.bgtop{
    background-color: rgb(188,32,47);
    padding-left: 4%;
    padding-right: 4%;
}

.desktop-banner {
    display: block; /* Show desktop banner */
}

.mobile-banner {
    display: none; /* Hide mobile banner */
}

.btnslider{
    width: 24%;
    height: 10%;
    background-color: rgb(188,32,47) ;
    color: #fff;
    font-size: 16px;
}

.btnslider:hover{
    background-color: rgb(187, 18, 35) ;
    color: #fff;
    font-size: 18px;
}

.btnslider2{
    width: 24%;
    height: 10%;
    font-size: 16px;
}
.btnslider2:hover{
   
    font-size: 18px;
}

.btnslider3{
    width: 36%;
    height: 52px;
    background-color: rgb(188,32,47) ;
    color: #fff;
    font-size: 16px;
}

.btnslider3:hover{
    background-color: rgb(187, 18, 35) ;
    color: #fff;
    font-size: 18px;
}

.hidden {
    display: none;
}

.center-container {
    text-align: center; 
}
.imgtext{
    height: 100% !important;
}

.aa{
    padding-left: 8%;
    padding-right: 8%;
}

/*---------------- banner css------------- */

#carouselExampleCaptions {
    position: relative;
    z-index: 100;
    margin-top: 70px; 
}


.banner-img{
    height: 670px;
    filter: brightness(70%) contrast(100%);
  }


  .carousel-caption {
    position: absolute;
    top: 24%;
   
    text-align: center;
    color: #fff; 
    padding: 0 15px; 
  }


.banner-txt{
    font-size: 20px;
}

.txtstyle{
    font-family: Tahoma, Verdana, sans-serif;
}
.headtext{
    font-family: "Times New Roman", Times, serif;
}

.headtext1{
    font-family: 'Fjalla One', sans-serif;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
}
.headtext2{
    font-family: 'Fjalla One', sans-serif;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
}
#mobile-icon {
    display: none; /* Hide by default */
}
.headtext3{
    font-family: 'Fjalla One', sans-serif;
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
}

.txt-res1{
    font-size:30px !important;
    color:rgb(188,32,47) !important;
}

.image-stack {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
  }

  .section-gap{
      margin-top:50px !important;
  }
 
  .btn{
    padding: 11px 4px;
    margin-right: 16px;
    font-size: 16px;
  }

 
  .nav-number {
    display: none;
    color: rgb(188, 32, 47);
    font-size: 14px;
    margin-left: auto;
    align-items: center;
    margin-right: 5%;
    margin-left: 1%;
    display: flex; /* Ensure the div uses flexbox for alignment */
}

.nav-number i {
    margin-right: 8px; /* Adjust space between icon and text */
}

  .home-section{
    background-color: #F0F0F0;
}

ul{
    list-style-type: none;
}
li{
    /* margin-top: 28px; */
    /* font-size: 20px; */
    padding-left: 2%;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24,
 
}

.material-symbols-outlined{
    color: #568203;
    width: 40px;
    height: 4px;
}

.icon-size{
    font-size: 150px;
}

.txt-size{
    font-size: 24px;

}
.txt-res{
    font-size: 24px;
}

.bottam-line {
    border-bottom: none; 
 
}

.bottam-line.scroll {
    border-bottom: 2px solid rgb(188,32,47); 
   
}
.slide-up {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
  }

  .slide-down {
    max-height: 200px; /* Adjust based on your content's height */
    transition: max-height 0.5s ease-in-out;
  }

  .headtext5{
    font-size: 50px;
    text-transform: uppercase;   
}

.headtext10{
    /* font-family: "Times New Roman", Times, serif; */

    font-size: calc(4px + 3*((100vw - 420px) / 820));
    font-size: calc(2.5rem + 2*((100vw - 26.25rem) / 820));
    line-height: 1.02em;
    display: block;
    margin-bottom: 10px;
    padding-top: 12px;
    position: relative;
    text-transform: uppercase;
    /* color: #000; */

}

.service-box{
    box-shadow: 1px 1px 8px gray;
    background-color: white;

}
.line{
    border: 1px solid rgb(188,32,47);
    width: 20%;
    
}

.cardtext{
    font-size: 18px;
    text-align: justify;
}

.btntext{
    text-decoration: none;
    color: #fff;
}

/*----------------------- image-text ------------------------*/


* {
  box-sizing: border-box;
}

img {
  width: 100%;
  display: block;
}

.xyz{
    background-color:white;
    box-shadow: 0px 0px 1px black;
    margin-top: 10%;
    margin-bottom: 10%;
    background: rgb(240, 240, 240, 0.7);
    padding: 8%;
}


/* Base styles for the sections */
.image-stack__item, .image-stack__item1 {
    position: relative;
    opacity: 0; /* Start as invisible */
    /* transform: translateY(30px);  */
    /* transition: opacity 0.5s ease, transform 0.5s ease; */
}

/* Animation classes */
.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes for complex animations if needed */
@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.image-stack::after {
    content: ' ';
    display: table;
    clear: both;
  }

  .image-stack__item--top {
      float: left;
      width: 66%;
      margin-right: -100%;
      position: relative;
      z-index: 1;
  }

  .image-stack__item--bottom {
      float: right;
      width: 75%;
  }

@supports (display: grid) {
  .image-stack {
    display: grid;
    position: relative; 
    grid-template-columns: repeat(12, 1fr);
  }

  .image-stack__item--bottom {
    grid-column: 4 / -1;
    grid-row: 1;
    width: 100%;
  }

  .image-stack__item--top {
    grid-row: 1;
    grid-column: 1 / span 8;
    padding-top: 8%; 
    width: 70%;
  }
}


/*---------------------- image-text2 -----------------*/


* {
    box-sizing: border-box;
}

img {
    width: 100%;
    display: block;
}

.xyz1 {
    background-color: white;
    box-shadow: 0px 0px 1px black;
    margin-top: 20%;
    background: rgb(240, 240, 240, 0.7);
    margin-bottom: 20%;
 
    position: relative; 
    right: 0; 
    z-index: 1;
 
    padding: 4%;
}

.cardtext {
    font-size: 18px;
}

.image-stack1::after {
    content: ' ';
    display: table;
    clear: both;
}

.image-stack__item--top1 {
    float: right;
    width: 66%;
    margin-left: 0; 
    /* z-index: 1; */
}

.image-stack__item--bottom1 {
    float: left;
    width: 100%;
}

@supports (display: grid) {
    .image-stack1 {
        display: grid;
        position: relative;
        grid-template-columns: repeat(12, 1fr);
    }

    .image-stack__item--bottom1 {
        grid-column: 1 / span 8;
        grid-row: 1;
        width: 100%;
    }

    .image-stack__item--top1 {
        grid-row: 1;
        grid-column: 9 / -1;
        padding-top: 14%;
        width: 140%;
     
        justify-self: end; 
        padding-right: 15%; 
        padding-left: 15%; 
    }
    
}


@media (max-width: 768px) {
    .xyz {
        padding: 5%;
    }
    .cardtext{
        font-size: 12px !important;
        
    }

    li {
        margin-top: 4px;
        font-size: 20px;
    }
    .headtext{
        font-family: "Times New Roman", Times, serif;
        font-size: 22px;
    }
    .headtext1{
        font-family: 'Fjalla One', sans-serif;
        font-size: 28px !important;
        font-weight: 780;
    }

    .headtext2{
        font-family: 'Fjalla One', sans-serif;
        font-size: 26px !important;
        font-weight: 780;
    }
    .headtext3{
        font-family: 'Fjalla One', sans-serif;
        font-size: 26px !important;
        font-weight: 780;
    }
    .image-stack__item--top {
        float: left;
        width: 80%;
        margin-right: -100%;
        position: relative;
        z-index: 1;
    }

    .image-stack__item--top1 {
        grid-row: 1 ;
        grid-column: 9 / -1;
        padding-top: 14%;
        width: 180% !important;
        justify-self: end;
        padding-right: 20px;
    }

    .txt-res{
        font-size: 18px !important;
    }
    .txt-res1{
        font-size:10px !important;
         color:rgb(188,32,47);
    }
.nav-res{
    font-size: 12px;
}

.inline-p {
    display: inline;
    margin-right: 0px;
}

/* ---------carousel-------------- */

.headtext5{
    font-size: 32px !important;
    text-transform: uppercase;
   
}

    .carousel-caption {
        position: absolute;
        top: 20%;
        text-align: center;
        color: #fff; 
        padding: 0 15px; 
      }

      .btnslider {
        width: 30%;
        height: 12%;
      }

      .btnslider2{
        width: 25%;
        height: 13%;
    }
    
    .btnslider3 {
        width: 50%;
        height: 34px;
        background-color: rgb(188, 32, 47);
        color: #fff;
        font-size: 12px;
    }

      .banner-txt {
        font-size: 16px;
    }

   .slidetxt{
     font-size: 12px !important;
      }

      .mt{
        margin-top: 0px !important;
      }

     .btn{
    padding: 23px;
     }

.carousel-indicators{
    margin-bottom: 0rem;
}
      .btnsize{
        font-size: 10px;
      }

      .headtext10{
        /* font-family: "Times New Roman", Times, serif; */
    
        /* font-size: calc(4px + 3*((100vw - 420px) / 820)); */
        font-size:22px;
        line-height: 1.02em;
        display: block;
        margin-bottom: 10px;
        padding-top: 12px;
        position: relative;
        text-transform: uppercase;
        /* color: #000; */
    
    }

    .p-5 {
        padding: 0rem !important;
    }  
}

@media only screen and (max-width: 480px) {
    .xyz {
        padding: 4%;
        background: rgb(240, 240, 240, 0.6) !important;
        
    }
    
    .xyz1 {
        
        background: rgb(240, 240, 240, 0.6) !important;
        
    }
    

    .top-banner{
        margin-top: 10% !important;
    }

    .image-stack {
        display: block;
        grid-template-columns: repeat(12, 1fr);
        position: relative;
    
    }
    
     .desktop-banner {
        display: none; /* Hide desktop banner */
    }
     .section-gap{
      margin-top:10px !important;
  }
    .mobile-banner {
        display: block; /* Show mobile banner */
    }
    
    .txt-res{
        font-size: 16px !important;
    }
    .txt-res1{
        font-size:12px !important;
         color:rgb(188,32,47);
    }
    .hide-nav-icon{
        display: none;
    }
    .bottam-line.scroll .nav-number {
        display: flex; 
    }

    .btnslider{
        /* width: 24%;
        height: 23%; */
        background-color: rgb(188,32,47) ;
        color: #fff;
        font-size: 16px;
    }

    #mobile-icon {
        display: none; /* Hide by default */
    }
    
    
    #mobile-icon.scroll{
        display: block; 
    }


    .btnmobile{
        width: 56%;
        height: 11%;
    }


    .btnmobile1{
        width: 47%;
        height: 11%;
    }
    .btnmobile2{
        width: 47%;
        height: 11%;
        background-color:#6c757d;
    }
    
    .bgtop{
        padding-left:0% ;
        /* padding-left: 0%; */
    }

    .p-1{
        padding: 0px;
    }

    .slidetxt {
        display: none;
      }
    

    .inline-p {
        display: inline;
        margin-right: 0px;
    }
    .headtext10{
        /* font-family: "Times New Roman", Times, serif; */
    
        /* font-size: calc(4px + 3*((100vw - 420px) / 820)); */
        font-size:20px;
        line-height: 1.02em;
        display: block;
        margin-bottom: 10px;
        padding-top: 12px;
        position: relative;
        text-transform: uppercase;
        /* color: #000; */
    
    }

    .imgtext{
        height: 300px !important;
    }



    .btnslider3 {
        width: 51%;
        height: 32px;
        background-color: rgb(188, 32, 47);
        color: #fff;
        font-size: 12px;
    }
  
    .homespace{
        padding-top: 20px;
    }
    
    .carousel-caption {
        position: absolute;
        top: 15%;
        text-align: center;
        color: #fff; 
        padding: 0px; 
      }

      
      .banner-txt {
        font-size: 18px;
    }


    .headtext5{
        font-size: 22px !important;
        text-transform: uppercase;
       
    }


.slider-img{
    height: 540px;
    filter: brightness(70%) contrast(100%);
   object-fit:cover;
}

   .slidetxt{
     font-size: 8px !important;
      }

      .mt{
        margin-top: 0px !important;
      }

     .btn{
    padding: 14px 4px;
    margin-right: 4px;
     }

.carousel-indicators{
    margin-bottom: 0rem;
}


      .btnsize{
        font-size: 14px;
      }

      .btnsize:hover{
        font-size: 14px;
      }
      .btnsize1:hover{
        font-size: 12px;
    }

.liststyle {
        /*flex-direction: column;*/
        /*align-items: flex-start;*/
        display:inline;
    
    }
    .marlist{
        padding-left:20px;
    }
    /*.mobmargin{*/
    /*    padding-left: 0rem !important;*/
    /*}*/
    .mobmargin{
        padding-left: 1rem !important;
    }

    .image-stack__item--top {
        float: left;
        width: 100%;
        margin-right: -100%;
        position: relative;
        z-index: 1;
        margin-top: 215px;
    }

    .bgtop{
    padding-left: 0.6rem;
    padding-right: 0%;
   
    }
  
    .nav-res {
        font-size: 13px;
    }

.d-flex{
    justify-content: center;
}
.p-1{
    padding: 0px;
}
   
    .logo {
        width: 70px;
    }

    .cardtext{
        font-size: 14px !important;
        text-align: justify
        
    }
    
    .image-stack__item--top1{
        width: 100% !important;
        margin-top: -100px;
        padding-right: 15px; 
        padding-left: 15px; 
    }

    .line {
        width: 30%; 
        max-width: 200px; 
        height: 1px; 
        margin: 0 auto; 
      
    }

    .marlist{
        padding-left:2px;
    }
    .headtext{
        font-family: "Times New Roman", Times, serif;
        font-size: 14px !important;
    }
    .headtext1{
        font-family: 'Fjalla One', sans-serif;
        font-size: 18px !important;
        font-weight: 780;
    }

    .headtext2{
        font-family: 'Fjalla One', sans-serif;
        font-size: 16px !important;
        font-weight: 780;
    }
    .headtext3{
        font-family: 'Fjalla One', sans-serif;
        font-size: 16px !important;
        font-weight: 780;
    }
    
    .p-5 {
        padding: 0rem !important;
    }  

    .image-stack {
        display: block;
        flex-direction: column-reverse; 
        align-items: center;
        text-align: center;
    }

    .image-stack__item--top {
        order: 2; 
    }

    .image-stack__item--bottom{
        order: 1; 
        margin-bottom: 15px; 
    }

    .image-stack__item--top h1, .image-stack__item--top1 h1 {
        font-size: 1.5rem; 
    }

    .cardtext, .cardtext1 {
        font-size: 16px !important; 
    }

    .image-stack1 {
        display: flex; 
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }

    .image-stack__item--top1 {
        order: 2; 
        padding-top: 4%;
    }

    .image-stack__item--bottom1{
        order: 1; 
        margin-bottom: 15px; 
    }

} 


