@font-face {
    /* font-family: "ignis-et-glacies-sharp";
    src: url("ignis-et-glacies-sharp.bold.ttf");
    src: url("ignis-et-glacies-sharp.regular.ttf"); */
    src: url("Swifted DEMO.otf");
    font-family: "Swifted DEMO";
}
.headings {
    text-transform: capitalize;
    text-align: center;
}
.utility {
    padding: 100px 0 100px;
}
.utility h2{
    text-align: center;
}
.inno-qc-faq {
    background-color: #fff;
    padding: 100px 0 100px;
}
.inno-qc-tiles {
    background-color: #fff;
    padding: 100px 0 100px;
}
.section-heading {
    font-size: 45px;
    padding-bottom: 30px;
    color: #000;
    font-family: Swifted DEMO;
    
}
.question span{
    font-weight: 600;
    font-size: 18px;
}
.sub-heading {
    margin: 20px auto 0;
    max-width: 45ch;
    color: #939393;
    line-height: 1.6;
}
.que-container {
    max-width: 1200px;
    margin: 50px auto 0;
}
.question {
    border-top: 1px solid #ccc;
    font-family: poppins;
}
.question:last-child {
    border-bottom: 1px solid #ccc;
}
.question button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    font-size: 20px;
    color: #131313;
    text-transform: capitalize;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 25px 20px 25px 0;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}
.question button i {
    color: #000;
    transition: transform 0.3s;
}
.question p {
    line-height: 1.6;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.question button.show+p {
    padding-bottom: 25px;
    height: auto;
}
.question button.show {
    color: #000;
}
.question button.show i {
    transform: rotate(180deg);
}
.c-title {
    background-color: #000;
    color: #fff ;
    padding: 15px ;
    box-shadow: 0px 0px 6px 2px #ffffff;
        font-size: 21px;
    font-family: "Be Vietnam Pro", sans-serif !important;
    /* letter-spacing: 2px; */
    
}
.c-heading {
    box-sizing: border-box;
    font-size: 14px;
    margin: 10px 0;
    padding: 12px 5px;
    width: 100%;
    border: 1px solid #ccc;
    font-family: "Be Vietnam Pro", sans-serif !important;
}
.sr-button.button-2 {
    background-color: #000;
    color: #fff;
    width: max-content;
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid;
    margin-top: 10px;
    font-family: "Be Vietnam Pro", sans-serif !important;
    border-radius: 30px;

}
.c-result .c-label {
    margin-right: 10px;
    text-align: left;
    line-height: 25px;
    padding-top: 14px;
}
.hg-tiles-calc h6,
.hg-tiles-calc {
    color: #000 !important;
    font-size: 14px !important;
}
.c-result .c-label {
    font-size: 14px !important;
}
.woocommerce label,
.woocommerce-js label {
    font-size: 14px !important;
}
.tileDiv {
    background: none repeat scroll 0 0;
    display: inline-block;
    height: 375px;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    background-color: #fff;
    color: #000;
}
.tileDiv div {
    border: 1px solid #000000;
    border-top-color: rgb(0, 0, 0);
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: rgb(0, 0, 0);
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: rgb(0, 0, 0);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: rgb(0, 0, 0);
    border-left-style: solid;
    border-left-width: 1px;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    box-shadow: 0 0 8px 5px #fff !important;
    left: 52% !important;
    position: absolute !important;
    top: 43% !important;
    transform: translateX(-50%) translateY(-50%) !important;
    background: url(https://www.lemstoneceramic.com/public/img/tilePattern.png) repeat scroll -4px -4px;;
    filter: grayscale(1);
}
.tileDiv .tileFt {
    background: #868686 none repeat scroll 0 0;
    margin-bottom: 0;
    padding: 0;
    position: absolute;
    text-align: center;
}
.tileDiv .horzFt span {
    margin-left: 50%;
    margin-top: -12px;
    transform: translateX(-50%);
}
.tileDiv .tileFt span {
    background: #f9f9f9 none repeat scroll 0 0;
    color: gray;
    display: block;
    font-size: 12px;
    font-weight: bold;
    height: 20px;
    position: absolute;
    text-transform: uppercase;
    width: 50px;
}
.horzFt {
    border-top: 1px dashed #868686;
    height: 0;
    left: 0;
    top: -20px;
    width: 100%;
}
.vertFt {
    border-left: 1px dashed #868686;
    height: 100%;
    left: -20px;
    top: 0;
    width: 0;
}
.tileDiv .tileFt {
    background: #868686 none repeat scroll 0 0;
    margin-bottom: 0;
    padding: 0;
    position: absolute;
    text-align: center;
}
.tileDiv .tileFt span {
    background: #f9f9f9 none repeat scroll 0 0;
    color: gray;
    display: block;
    font-size: 12px;
    font-weight: bold;
    height: 20px;
    position: absolute;
    text-transform: uppercase;
    width: 50px;
}
.tileDiv .vertFt span {
    margin-left: -27px;
    top: 50%;
    transform: rotate(-90deg) translateX(20%);
}
.c-label {
    padding-top: 15px;
    font-size: 17px;
    font-family: "Be Vietnam Pro", sans-serif !important;
}
.tile-cal-pad {
    padding: 0px 0px 50px;
}
.flex-f{
    display: flex;
    gap: 15px;
}
.width-f{
    width: 100%;
}
.tiles-content{
    padding: 50px 0 0;
}
.tiles-content h2{
    padding-bottom: 20px;
    font-size: 42px;
}
.tiles-content h3{
    font-family: poppins;
    font-size:25px;
    padding-bottom: 25px;
}
.tiles-content h4{
    font-family: poppins;
    font-size: 18px;
}
.padd-tops{
 padding-bottom: 10px;   
}
.media-gallary{
    padding: 100px 0;
    background-color: #f5f5f5;
}
.media_container .popup-gallery{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}
.media_container .popup-gallery .gallery_item{
    background-color: #fff;
    padding: 10px;
}
.blog-details{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}
.meta-content{
  display: flex;
  justify-content: space-between;
}
.blog-cont{
    padding: 10px;
        background-color: transparent;
    border: 1px solid #dbd6d6;
  transition: all .5s ease-in-out;
      display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;

    position: relative;


}
.create{

}
.create span{
  font-size: 13px;
}
.card-creator{
  position: absolute;
    bottom: 20px;
    right: 20px;
}
input:focus,
textarea:focus,
button:focus {
  outline: none !important; 
}
.contect-sec-det{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 25px;
}
.blog-cont:hover img{
  transform: scale(1.03);
  transition: all .5s ease-in-out;
}
.blog-cont:hover{
  transition: all .5s ease-in-out;
  background-color: #fff;
    border: 1px solid transparent;

  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.blog-cont img{
    height: 25vh;
    width: 100%;
    object-fit: cover;
}
.meta-content {
    display: flex;
    gap: 15px;
    padding: 0px 0 10px;
    align-items: center;
    color: #000000;
    font-family: poppins;
    font-weight: 500;
}
.meta-content span{
  font-size: 13px;
}
.meta a{
    color: #000000;
    font-weight: 500;
}
.meta{
    display: flex;
    gap: 10px;
    align-items: center;

}
.blog-data h2 {
    font-size: 20px;
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-weight: 500;
    padding: 0px;
}
.meta-content-det{
    padding: 0px 10px;
}
.blog_link{
    
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    padding: 8px 15px;
    transition: all .5s ease-in-out;
}
.blog_link:hover{
    background-color: #000;
    color: #fff;
    padding: 8px 15px;
    transition: all .5s ease-in-out;

}
.blog-data{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#btncontainer {
    text-align: center;
    padding: 0px 0 25px;
    font-family: poppins;
}
/* Add this CSS to your existing stylesheet */
#btncontainer .btn-active {
    color: #004552; 
    padding: 6px 18px;
    border-bottom: 1px solid #004552;
    border-radius: 0px;
    font-weight: 600;
    
}


.cal-f{
    
    gap: 25px;
    /*justify-content: start;*/
    /*align-items: center;*/
    flex-direction: column;
}




/**/

.attribute{
    background-color: #fff;
    padding: 100px 0;
}
.home-text{
    text-align: center;
}
.attribute-grid{
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 20px;
}
.attri {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    justify-content: flex-end;
}
.attri img{
        width: 100px;
    background-color: #D6B36A;
    padding: 20px;
    border-radius: 20px;
    height: 100px;
    overflow: visible;
}
.attri p{
    margin: 0;
    padding-top: 15px;
    color: #004552;
    font-size: 18px;
    font-weight: 500;    
}
.roof{
    text-align: center;
}
.roof h2{
    /*color: #004552;*/
    font-size: 42px;
    font-weight: 700;
    font-family: poppins;
}
.roof h2 span{
    /*color: #004552;*/
    font-size: 42px;
    font-weight: 500;
}
.roof h5{
    /*color: #004552;*/
    font-size: 30px;
    font-weight: 400;
    font-family: poppins;
    padding: 5px 0 10px;

}
.roof p{
    /*color: #004552;*/
    /*font-size: 18px;*/
}
.home-text h2{
    font-size: 42px;
    /*color: #004552;*/
    font-weight: 700;
    font-family: poppins;
}
.home-text h2 span{
    /*color: #004552;*/
    font-size: 42px;
    font-weight: 500;
}
.home-text h3{
    /*color: #004552;*/
       font-weight: 300;
    font-family: poppins;
    padding-top: 10px;
}
.home-text h5{
    /*color: #004552;*/
       font-weight: 700;
    font-family: poppins;
}
.roof-group{
    padding: 0px 0px 100px;
    background-color: #fff;
}
.roof-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    padding: 50px 0;
    align-items: baseline;
}

.roof-data {
    display: flex;
    flex-direction: column;
    align-items: anchor-center;
    gap: 10px;
}
.roof-data h3{
    font-size: 42px;
    font-weight: 700;
    color: #D6B36A;
    font-family: poppins;

}
.roof-data p{
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}
.roof-data img{
    width: 100px;
}
.profile-ani{
    background-color: #fff;
    margin: auto;
    padding-bottom: 20px;
}
.profile-s img{
    width: 100%;
}
.sliders-new{
    background-color: #f5f5f5;
    border-radius: 30px;
}
.slider-items2{
        display: flex;
        /* grid-template-columns: repeat(3,1fr); */
        gap: 50px;
        padding: 40px 0;
        border:none;
       
        margin: 50px 0 0;
        align-items: center;
        justify-content: center;
    
}
.slider-items2 img{
    width: 200px;
 }
 .about-text-n h2{
    font-size: 42px;
    /*color: #004552;*/
    font-weight: 700;
    font-family: poppins;
}
.about-text-n h2 span{
    /*color: #004552;*/
    font-size: 42px;
    font-weight: 500;
}
.about-text-n p{
    /*color: #004552;*/
}
.arrow-lin{
    margin: auto;
    width: 50px;
}

.about-text-n a {
    border: 1px solid transparent;
    position: absolute;
    background: #D6B36A;
    /* border-radius: 0px; */
    color: #fff;
    padding: 10px 30px;
    font-weight: 300;
}

/*.ps-timeline-sec {*/
/*    position: relative;*/
     /*background: #fff; */
/*  }*/
/*  .ps-timeline-sec .container {*/
/*    position: relative;*/
/*  }*/
/*  @media screen and (max-width: 767px) {*/
/*    .ps-timeline-sec .container ol:before {*/
/*      background: #348e80;*/
/*      content: "";*/
/*      width: 10px;*/
/*      height: 10px;*/
/*      border-radius: 100%;*/
/*      position: absolute;*/
/*      top: 130px !important;*/
/*      left: 36px !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol:after {*/
/*      background: #348e80;*/
/*      content: "";*/
/*      width: 10px;*/
/*      height: 10px;*/
/*      border-radius: 100%;*/
/*      position: absolute;*/
/*      top: inherit !important;*/
/*      left: 36px;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline {*/
/*      margin: 130px 0 !important;*/
/*      border-left: 2px solid #348e80;*/
/*      padding-left: 0 !important;*/
/*      padding-top: 120px !important;*/
/*      border-top: 0 !important;*/
/*      margin-left: 25px !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li {*/
/*      height: 220px;*/
/*      float: none !important;*/
/*      width: inherit !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li:nth-child(2) .img-handler-bot img {*/
/*      width: 70px;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li:last-child {*/
/*      margin: 0;*/
/*      bottom: 0 !important;*/
/*      height: 120px;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li:last-child .img-handler-bot {*/
/*      bottom: 40px !important;*/
/*      width: 40% !important;*/
/*      margin-left: 25px !important;*/
/*      margin-top: 0 !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li:last-child .img-handler-bot img {*/
/*      width: 100%;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li:last-child .ps-top {*/
/*      margin-bottom: 0 !important;*/
/*      top: 20px;*/
/*      width: 50% !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li span {*/
/*      left: 0 !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:before {*/
/*      content: none !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:after {*/
/*      content: none !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:before {*/
/*      content: none !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:after {*/
/*      content: none !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li .img-handler-top {*/
/*      position: absolute !important;*/
/*      bottom: 150px !important;*/
/*      width: 30% !important;*/
/*      float: left !important;*/
/*      margin-left: 35px !important;*/
/*      margin-bottom: 0 !important;*/

/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li .img-handler-top img {*/
/*      margin: 0 auto !important;*/
/*      width: 80% !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li .img-handler-bot {*/
/*      position: absolute !important;*/
/*      bottom: 115px !important;*/
/*      width: 30% !important;*/
/*      float: left !important;*/
/*      margin-left: 35px !important;*/
/*      margin-bottom: 0 !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li p {*/
/*      text-align: left !important;*/
/*      width: 100% !important;*/
/*      margin: 0 auto !important;*/
/*      margin-top: 0px !important;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li .ps-top {*/
/*      width: 60% !important;*/
/*      float: right !important;*/
/*      right: 0;*/
/*      top: -40px;*/
/*    }*/
/*    .ps-timeline-sec .container ol.ps-timeline li .ps-bot {*/
/*      width: 60% !important;*/
/*      float: right !important;*/
/*      right: 0;*/
/*      top: -40px;*/
/*    }*/
/*  }*/
/*  .ps-timeline-sec .container ol:before {*/
/*    background: #bebebe;*/
/*    content: "";*/
    /* width: 10px;
    height: 10px; */
/*    border-radius: 100%;*/
/*    position: absolute;*/
/*    left: 8px;*/
/*    top: 49.5%;*/
/*  }*/
/*  .ps-timeline-sec .container ol:after {*/
/*    background: #bebebe;*/
/*    content: "";*/
/*    width: 10px;*/
/*    height: 10px;*/
/*    border-radius: 100%;*/
/*    position: absolute;*/
/*    right: 8px;*/
/*    top: 49.5%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline {*/
/*    margin: 320px 0 350px;*/
/*    padding: 0;*/
    /*border-top: 2px solid #bebebe;*/
/*    list-style: none;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li {*/
/*    float: left;*/
/*    width: 25%;*/
/*    padding-top: 30px;*/
/*    position: relative;*/
/*    border-top: 1px solid #bebebe;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li span {*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    margin-left: -25px;*/
/*    background: #D6B36A;*/
/*    border: 0px solid #bebebe;*/
/*    border-radius: 50%;*/
/*    box-shadow: 0 0 0 0px #fff;*/
/*    text-align: center;*/
/*    line-height: 50px -10;*/
/*    color: #df8625;*/
/*    font-size: 2em;*/
/*    font-style: normal;*/
/*    position: absolute;*/
/*    top: -26px;*/
/*    left: 50%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:before {*/
/*    content: "";*/
/*    color: #bebebe;*/
/*    width: 2px;*/
/*    height: 50px;*/
/*    background: #bebebe;*/
/*    position: absolute;*/
/*    top: -50px;*/
/*    left: 50%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:after {*/
/*    content: "";*/
/*    color:#bebebe;*/
/*    width: 8px;*/
/*    height: 8px;*/
/*    background: #bebebe;*/
/*    position: absolute;*/
/*    bottom: 90px;*/
/*    left: 44%;*/
/*    border-radius: 100%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:before {*/
/*    content: "";*/
/*    color: #bebebe;*/
/*    width: 2px;*/
/*    height: 50px;*/
/*    background: #bebebe;*/
/*    position: absolute;*/
/*    bottom: -50px;*/
/*    left: 50%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:after {*/
/*    content: "";*/
/*    color: #bebebe;*/
/*    width: 8px;*/
/*    height: 8px;*/
/*    background: #bebebe;*/
/*    position: absolute;*/
/*    top: 90px;*/
/*    left: 44%;*/
/*    border-radius: 100%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li .img-handler-top {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    margin-bottom: 130px;*/
/*    width: 100%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li .img-handler-top img {*/
/*    display: table;*/
/*    margin: 0 auto;*/
/*    background-color: #D6B36A;*/
/*    padding: 25px;*/
/*    width: 125px;*/
/*    border-radius: 50%;*/
/*    overflow: auto;*/

/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li .img-handler-bot {*/
/*    position: absolute;*/
/*    margin-top: 60px;*/
/*    width: 100%;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li .img-handler-bot img {*/
/*    display: table;*/
/*    margin: 0 auto;*/
/*    background-color: #D6B36A;*/
/*    padding: 25px;*/
/*    width: 125px;*/
/*    border-radius: 50%;*/
/*    overflow: auto;*/

/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li p {*/
/*    text-align: center;*/
/*    width: 80%;*/
/*    margin: 0 auto;*/
/*    padding: 15px 0;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li .ps-top {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    margin-bottom: 100px;*/
/*  }*/
/*  .ps-timeline-sec .container ol.ps-timeline li .ps-bot {*/
/*    position: absolute;*/
/*    margin-top: 35px;*/
/*  }*/

/*  .ps-timeline-sec .container ol.ps-timeline li h1 {*/
/*    text-align: center;*/
/*    width: 80%;*/
/*    margin: 0 auto;*/
/*    color: #cdcdcd;*/
/*    font-weight: 700;*/
/*    font-family: 'Poppins';*/
/*    font-size: 42px;*/
/*}*/
/*.ps-timeline-sec .container ol.ps-timeline li h3 {*/
/*    text-align: center;*/
/*    width: 100%;*/
/*    margin: 0 auto;*/
/*    color: #004552;*/
/*    font-weight: 700;*/
/*    font-family: 'Poppins';*/
/*    font-size:18px;*/
/*}*/
.food-slider-title {
  position: absolute;
  bottom: 30px;
  left: 40px;
  z-index: 10;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.food-slider-title-text {
  z-index: 11;
  position: relative;
}
.swiper-slide {
  position: relative;
}

.food-slider-title {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  z-index: 2;
}



/**/


.ps-timeline-sec h2{
    font-size: 42px;
    text-align: center;
    font-family: Poppins;
    font-weight: 700;
}

.ps-timeline-sec {
    position: relative;
    /* background: #fff; */
  }
  .ps-timeline-sec .container {
    position: relative;
  }
  @media screen and (max-width: 767px) {
    .ps-timeline-sec .container ol:before {
      background: #348e80;
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 100%;
      position: absolute;
      top: 130px !important;
      left: 36px !important;
    }
    .ps-timeline-sec .container ol:after {
      background: #348e80;
      content: "";
      width: 0px;
      height: 0px;
      border-radius: 100%;
      position: absolute;
      top: inherit !important;
      left: 36px;
    }
    .ps-timeline-sec .container ol.ps-timeline {
      margin: 130px 0 !important;
      border-left: 2px solid #348e80;
      padding-left: 0 !important;
      padding-top: 120px !important;
      border-top: 0 !important;
      margin-left: 25px !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li {
      height: 220px;
      float: none !important;
      width: inherit !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li:nth-child(2) .img-handler-bot img {
      width: 70px;
    }
    .ps-timeline-sec .container ol.ps-timeline li:last-child {
      margin: 0;
      bottom: 0 !important;
      height: 120px;

      
    }
    .ps-timeline-sec .container ol.ps-timeline li:last-child .img-handler-bot {
      bottom: 40px !important;
      width: 40% !important;
      margin-left: 25px !important;
      margin-top: 0 !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li:last-child .img-handler-bot img {
      width: 100%;
    }
    .ps-timeline-sec .container ol.ps-timeline li:last-child .ps-top {
      margin-bottom: 0 !important;
      top: 20px;
      width: 50% !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li span {
      left: 0 !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:before {
      content: none !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:after {
      content: none !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:before {
      content: none !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:after {
      content: none !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li .img-handler-top {
      position: absolute !important;
      bottom: 150px !important;
      width: 30% !important;
      float: left !important;
      margin-left: 35px !important;
      margin-bottom: 0 !important;

    }
    .ps-timeline-sec .container ol.ps-timeline li .img-handler-top img {
      margin: 0 auto !important;
      width: 80% !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li .img-handler-bot {
      position: absolute !important;
      bottom: 115px !important;
      width: 30% !important;
      float: left !important;
      margin-left: 35px !important;
      margin-bottom: 0 !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li p {
      text-align: left !important;
      width: 100% !important;
      margin: 0 auto !important;
      margin-top: 0px !important;
    }
    .ps-timeline-sec .container ol.ps-timeline li .ps-top {
      width: 50% !important;
      float: right !important;
      right: 0;
      top: -40px;
    }
    .ps-timeline-sec .container ol.ps-timeline li .ps-bot {
      width: 50% !important;
      float: right !important;
      right: 0;
      top: -40px;
    }
  }
  .ps-timeline-sec .container ol:before {
    background: #bebebe;
    content: "";
    /* width: 10px;
    height: 10px; */
    border-radius: 100%;
    position: absolute;
    left: 8px;
    top: 49.5%;
  }
  .ps-timeline-sec .container ol:after {
    background: #bebebe;
    content: "";
    width: 0px;
    height: 0px;
    border-radius: 100%;
    position: absolute;
    right: 8px;
    top: 49.5%;
  }
  .ps-timeline-sec .container ol.ps-timeline {
    margin: 390px 0;
    padding: 0;
    /* border-top: 2px solid #bebebe; */
    list-style: none;
    width: 25%;
  }
  .ps-timeline-sec .container ol.ps-timeline li {
    float: left;
    width: 25%;
    padding-top: 30px;
    position: relative;
    border-top: 2px solid #bebebe;

  }
  .ps-timeline-sec .container ol.ps-timeline li span {
    width: 50px;
    height: 50px;
    margin-left: -25px;
    background: #004552;
    border: 12px solid #D6B36A;
    border-radius: 50%;
    box-shadow: 0 0 0 0px #fff;
    text-align: center;
    line-height: 50px -10;
    color: #df8625;
    font-size: 2em;
    font-style: normal;
    position: absolute;
    top: -26px;
    left: 56%;
  }
  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:before {
    content: "";
    color: #bebebe;
    width: 2px;
    height: 50px;
    background: #bebebe;
    position: absolute;
    top: -64px;
    left: 50%;
  }
  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-top:after {
    content: "";
    color:#bebebe;
    width: 8px;
    height: 8px;
    background: #bebebe;
    position: absolute;
    bottom: 89px;
    left: 41%;
    border-radius: 100%;
  }
  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:before {
    content: "";
    color: #bebebe;
    width: 2px;
    height: 50px;
    background: #bebebe;
    position: absolute;
    bottom: -64px;
    left: 50%;
  }
  .ps-timeline-sec .container ol.ps-timeline li span.ps-sp-bot:after {
    content: "";
    color: #bebebe;
    width: 8px;
    height: 8px;
    background: #bebebe;
    position: absolute;
    top: 89px;
    left: 41%;
    border-radius: 100%;
  }
  .ps-timeline-sec .container ol.ps-timeline li .img-handler-top {
    position: absolute;
    bottom: 0;
    margin-bottom: 140px;
    width: 100%;
  }
  .ps-timeline-sec .container ol.ps-timeline li .img-handler-top img {
    display: table;
    margin: 0 auto;
    background-color: #D6B36A;
    padding: 15px;
    width: 90px;
    border-radius: 50%;
    overflow: auto;

  }
  .ps-timeline-sec .container ol.ps-timeline li .img-handler-bot {
    position: absolute;
    margin-top: 60px;
    width: 100%;
  }
  .ps-timeline-sec .container ol.ps-timeline li .img-handler-bot img {
    display: table;
    margin: 0 auto;
    background-color: #D6B36A;
    padding: 15px;
    width: 90px;
    border-radius: 50%;
    overflow: auto;

  }
  .ps-timeline-sec .container ol.ps-timeline li p {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    padding: 15px 0;
  }
  .ps-timeline-sec .container ol.ps-timeline li .ps-top {
    position: absolute;
    bottom: 0;
    margin-bottom: 100px;
    width: 100%;
  }
  .ps-timeline-sec .container ol.ps-timeline li .ps-bot {
    position: absolute;
    margin-top: 35px;
    width: 100%;
  }

  .ps-timeline-sec .container ol.ps-timeline li h1 {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    color: #cdcdcd;
    font-weight: 700;
    font-family: 'Poppins';
    font-size: 42px;
}
.ps-timeline-sec .container ol.ps-timeline li h3 {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    color: #004552;
    font-weight: 700;
    font-family: 'Poppins';
        font-size: 16px;
}



.ps-timeline-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px;
  }


  .ps-timeline-sec {
    position: relative;
    background: #fff;
  }
  
  .ps-timeline-sec .container {
    position: relative;
    overflow: hidden; /* Hide overflowing items */
  }
  
  .ps-timeline-sec .ps-timeline-scroll {
    /* display: flex; */
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap scrolling */

  }
  
  .ps-timeline-sec .ps-timeline {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .ps-timeline-sec .ps-timeline li {
    /* flex: 0 0 25%;  */
    box-sizing: border-box;
    padding: 20px;
    scroll-snap-align: start; /* Align items to the start of the scroll container */
  }
  
  .ps-timeline-sec .ps-timeline li .img-handler-top,
  .ps-timeline-sec .ps-timeline li .img-handler-bot {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .ps-timeline-sec .ps-timeline li img {
    /* width: 50px;
    height: 50px; */
    border-radius: 50%;
  }
  
  .ps-timeline-sec .ps-timeline li h3,
  .ps-timeline-sec .ps-timeline li p,
  .ps-timeline-sec .ps-timeline li h1 {
    text-align: center;
    margin: 5px 0;
  }
  
  .ps-timeline-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px; /* space for scrollbar */
    scrollbar-width: 1px; /* Firefox */
    scrollbar-color: #ccc transparent;
  }
/*  */


.ps-timeline-sec .container {
    position: relative;
    overflow: hidden;
  }
  
  .ps-timeline-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .ps-timeline-scroll::-webkit-scrollbar {
    display: none;
  }
  
  .ps-timeline {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
  }
  
  .ps-timeline li {
    flex: 0 0 100%; /* 4 items at a time */
    box-sizing: border-box;
    padding: 20px;
    scroll-snap-align: start;
  }
  
  /* Arrows */
  .scroll-arrow {
    position: absolute;
    top: 49.5%;
    transform: translateY(-50%);
    z-index: 2;
     background: #fff; 
    color: #004552;
    border: none;
    padding: 1px 10px;
    cursor: pointer;
    font-size: 32px;
    border-radius: 50%;
    border: 1px solid #004552;
}
  
  .scroll-arrow.left {
    left: 0;
  }
  
  .scroll-arrow.right {
    right: 0;
  }
  @media screen and (max-width: 991px) {
  .ps-timeline li {
    flex: 0 0 100%; /* Show 2 items */
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .ps-timeline li {
    flex: 0 0 100%; /* Show 1 item */
  }
.ps-timeline-sec .container ol.ps-timeline {
    margin: 390px 0;
    padding: 0;
    /* border-top: 2px solid #bebebe; */
    list-style: none;
    width: 50%;
}
.ps-timeline-sec .container ol.ps-timeline li .ps-bot {
    width: 100% !important;
    float: right !important;
    right: -10px;
    top: -3px;
}
.ps-timeline-sec .container ol.ps-timeline li .img-handler-top {
    position: absolute !important;
    bottom: 260px !important;
    width: 39% !important;
    float: left !important;
    margin-left: 87px !important;
    margin-bottom: 0 !important;
}
.ps-timeline-sec .container ol.ps-timeline {
    margin: 390px 0;
    padding: 0;
    /* border-top: 2px solid #bebebe; */
    list-style: none;
    width: 100%;
}
.ps-timeline-sec .container ol.ps-timeline li .ps-top {
    width: 100% !important;
    float: right !important;
    right: 0;
    top: -175px;
}
.ps-timeline-sec .container ol.ps-timeline li .img-handler-bot {
    position: absolute !important;
    bottom: 60px !important;
    width: 79% !important;
    float: left !important;
    margin-left: 19px !important;
    margin-bottom: 0 !important;
}
.ps-timeline-sec .container ol.ps-timeline li .ps-top {

    float: right !important;
    right: 0;
    top: -213px !important;
}
.ps-timeline-sec .container ol.ps-timeline li span {
    left: 50% !important;
}
.ps-timeline-sec .container ol.ps-timeline li .img-handler-top img {
    margin: 0 auto !important;
    width: 100px !important;
}
.ps-timeline-sec .container ol.ps-timeline li:nth-child(2) .img-handler-bot img {
    width: 100px;
}
.ps-timeline-sec .container ol.ps-timeline li .img-handler-bot img {
    display: table;
    margin: 0 auto;
    background-color: #D6B36A;
    padding: 15px;
    width: 100px;
    border-radius: 50%;
    overflow: auto;
}
.ps-timeline-sec .container ol.ps-timeline li span {
    width: 50px;
    height: 50px;
    margin-left: -17px;
    background: #004552;
    border: 12px solid #D6B36A;
    border-radius: 50%;
    box-shadow: 0 0 0 0px #fff;
    text-align: center;
    line-height: 50px -10;
    color: #df8625;
    font-size: 2em;
    font-style: normal;
    position: absolute;
    top: -26px;
    left: 56%;
}
.ps-timeline-sec .container ol.ps-timeline {
   
    border-left: 0px solid #348e80;

}
.scroll-arrow {
    display: none;
}
.ps-timeline-sec .container ol.ps-timeline li p {
     text-align: center !important; 
    width: 80% !important;
    margin: 0 auto !important;
    margin-top: 0px !important;
}
}


/**/
.food-slider-title-text {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  display: inline-block;
  border-radius: 6px;
}
.about-text-n h4{
    font-size: 16px;
    font-family: Poppins;
}


 .color-swatch {
         display: block;
         width: 25px;
         height: 25px;
         border-radius: 50%;
         padding: 10px;
         border: 1px solid #1F4D53;
      }
      .color-switch {
         display: flex;
         align-items: start;
         justify-content: left;
         flex-direction: column;
         gap: 10px;
         border: none;
         width: fit-content;
      }
      .main-color-switch {
         display: grid;
         grid-template-columns: repeat(3, 1fr);
         gap: 0px;
      }
      .main-color-switch .submenu-link {
         padding: 10px 5px;
      }
      
      
      .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        /* flex-wrap: wrap; */
        /* gap: 20px; */
        height: auto !important;
        /* âœ… Ensure height auto */
        position: static !important;
        /* âœ… Remove relative if unnecessary */
        padding: 0px 0px 50px;

    }
    
    
    
.about_home_page{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    color: #ffff;
}

.about_home_page h2{
 text-align: center;
 font-family: "Swifted DEMO";
    font-size: 65px;
}



.breadcum {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style-type: none;
    color: #fff;
}
.breadcum li a{
    color:#fff;
}
.breadcum li span{
    color:#fff;
}
.innovation h2{
   font-family: "Swifted DEMO";
    font-size: 56px; 
    text-align: center;
    line-height: 65px;
    letter-spacing: 0.5px;
}
.innovation p{
  text-align: center;
}
.result-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}
.cal-res{
    background: #f5f5f5;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
}
.cal-res img{
    width:90px;
}
.flex-cols{
    display: flex;
    flex-direction: column;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    border-radius: 0px;
}

.gallery_container {
	margin: 0 auto;
	padding-top: 25px;
  }
  
  @media (min-width: 1300px) and (max-width: 2560px) {
	.popup-gallery {
	  display: grid;
	  grid-template-columns: repeat(4, 1fr);
	  gap: 10px;
	}
  }
  
  @media (min-width: 700px) and (max-width: 1299px) {
	.popup-gallery {
	  display: grid;
	  grid-template-columns: repeat(3, 1fr);
	  gap: 10px;
	}
  }
  
  @media (min-width: 300px) and (max-width: 699px) {
	.popup-gallery {
	  display: grid;
	  grid-template-columns: repeat(2, 1fr);
	  gap: 5px;
	}
  }
  
  .gallery_item {
	margin-bottom: 5px;
	overflow: hidden;
  }
  
  .popup-gallery a {
	display: block;
	width: 100%;
	border: 1px solid #fff;
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease;
  }
  
  .popup-gallery a:hover {
	transform: scale(1.08);
	border-color: #fff;
  }
  
  .popup-gallery img {
	display: block;
	width: 100%;
	object-fit: cover;
	min-height: 300px;
	max-height: 300px;
  }
  
  @media only screen and (max-width: 1000px) {
	.popup-gallery img {
	  min-height: 150px;
	  max-height: 150px;
	}
  }
  
  /* END  */
  
  
.gallery_container {
	margin: 0 auto;
	padding-top: 25px;
  }
  
  @media (min-width: 1300px) and (max-width: 2560px) {
	.popup-gallery {
	  display: grid;
	  grid-template-columns: repeat(4, 1fr);
	  gap: 10px;
	}
  }
  
  @media (min-width: 700px) and (max-width: 1299px) {
	.popup-gallery {
	  display: grid;
	  grid-template-columns: repeat(3, 1fr);
	  gap: 10px;
	}
  }
  
  @media (min-width: 300px) and (max-width: 699px) {
	.popup-gallery {
	  display: grid;
	  grid-template-columns: repeat(2, 1fr);
	  gap: 5px;
	}
  }
  
  .gallery_item {
	margin-bottom: 5px;
	overflow: hidden;
  }
  
  .popup-gallery a {
	display: block;
	width: 100%;
	border: 1px solid #fff;
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease;
  }
  
  .popup-gallery a:hover {
	transform: scale(1.08);
	border-color: #fff;
  }
  
  .popup-gallery img {
	display: block;
	width: 100%;
	object-fit: cover;
	min-height: 300px;
	max-height: 300px;
  }
  
  @media only screen and (max-width: 1000px) {
	.popup-gallery img {
	  min-height: 150px;
	  max-height: 150px;
	}
  }
  
  /* END  */
  
  .singicon_btn_nlf {
	position: absolute;
	top: 44%;
	bottom: 56%;
	left: 44%;
	right: 56%;
	opacity: 0;
  }
  
  .singicon_btn_nlf svg {
	color: #fff;
  }
  
  .popup-gallery a:hover .singicon_btn_nlf {
	opacity: 1;
  }
  
  .hover_affect_nlf:hover img {
	opacity: 0.8;
  }
  
  .gall-tect{
	text-align: center;
  }
  .gall-tect h2{

	font-size: 42px;
  }

  .card-link {
	font-size: 30px;
  }

  .select-block {
	list-style: none;
	padding: 0;
	cursor: default;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
  }
  
  .select-block li {
	cursor: default;
	display: inline-block;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	border: 2px solid #fff;
	border-radius: 50%;
  }
  .select-block li.active {
	border-color: #ddd;
  }
  .bg-block img {
	width: 100%;
	height: 380px;
  }
  /* musthave style */
  .bg-container {
    position: relative;
    /* margin: auto; */
    top: -190px;
}
  .bg-container:before {
	content: "";
	display: block;
	height: 0;
  }
  .bg-block {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	filter: alpha(opacity=0);
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  }
  
  .bg-block.active {
	filter: alpha(opacity=100);
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
  }
  .flex-f{
      display: flex;
          gap: 15px;
  }
  .plan-im img{
      /*height:45vh;*/
      width: 12%;
      padding: 25px 0;
      object-fit: cover;
      margin: auto;
  }
  .export-im img {
    /* height: 70vh; */
    width: 70%;
    object-fit: cover;
    margin: auto;
}

  .card-creator:hover{
      color: #fff;
  }
  
  

  .form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    /* CSS Animation for form load */
    animation: fadeInScale 0.6s ease-out;
    margin: auto;
}


.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input,
.input-group textarea,
.input-group select { /* Added select element */
    width: 100%;
    padding: 15px 10px 5px 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    font-size: 16px;
    background: transparent;
    box-sizing: border-box;
    transition: border-bottom-color 0.3s;
    resize: none;
    -webkit-appearance: none; /* Removes default select styling */
    -moz-appearance: none;
    appearance: none;
    border-radius: 0px;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-bottom-color: #000;
}

/* Specific styling for the Select field */
.input-group.select-group {
    padding-top: 10px; /* Gives space for the label */
}
.input-group input, .input-group select {
    width: 100%;
    padding: 10px 0 0; 
    /* border: 1px solid #ccc; */
    border-radius: 0px;
    background: #f9f9f900;
    color: #000;
}
.input-group select {
    color: #333; /* Default text color for selected option */
}
.input-group select:required:invalid {
    color: #999; /* Color for the disabled 'Select Query Type' option */
}


.input-group label {
    position: absolute;
    top: 10px;
    left: 0px;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease-out;
    font-size: 12px;
}

/* Animated label movement on input focus or when filled */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group select:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label,
.input-group select:not(:nth-child(1)) + label.select-label { /* Special rule for select: moves when an option is selected */
    top: -20px;
    left: 5px;
    font-size: 12px;
    color: #000;
    font-family: "Be Vietnam Pro", Sans-serif;

}

/* Select Label position fix for when an option is chosen */
.input-group select:valid + label.select-label {
    top: -10px;
    left: 5px;
    font-size: 12px;
    color: #000;
    font-family: "Be Vietnam Pro", Sans-serif;

}




/* Animation Keyframes */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* JavaScript Feedback Styling */
#message-feedback {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.feedback-hidden {
    opacity: 0 !important;
    height: 0;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}



/* faq */

.master-box {
}

.faq-header {
  padding: 0 30px 25px 0;
  border-radius: 1px;
  color: white;
}

h1.title {
  font-size: 2.1em;
  margin-bottom: 40px;
  letter-spacing: 0px;
  font-weight: 400;
}

  .faq-section-title {
    font-weight: 500;
    padding: 25px 0;
    font-family: "Be Vietnam Pro", Sans-serif;
  }
h4.subtitle {
  font-weight: 200;
}

#myInput {
  width: 50%;
  font-size: 18px;
  padding: 5px 20px 5px 20px;
  border: 1px solid #ddd;
  margin: 15px 0 15px 0;
  border-radius: 5px;
}

hr.hr-sep {
  width: 80%;
  border-radius: 50%;
}

#myBtnContainer {
  letter-spacing: 5px;
}

/* Style the buttons */
.btn-faq {
  border: none;
  outline: none;
  padding: 5px 20px;
  background-color: #fff;
  color: #000;
  border: 1px solid;
  cursor: pointer;
  border-radius: 10px;
  font-size: 17px;
  
}

.btn-faq:hover {
  background: #000;
  color: white;
  
  transition: all 0.2s ease;
}
.btn-faq.active {
  background: #000;
  color: white;
  
}

.btn-faq::before {
  content: "\00bb ";
  font-size: 18px;
  transition: 0.4s;
}

.btn-faq.active::before {
  content: "\00bb   ";
  opacity: 1;
  transition: 0.5s;
}

#myUL {
  list-style-type: none;
  width: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.01);
}

#myUL li a {
  margin-top: -1px;
  padding: 10px 0px 10px 0px;
  margin: 0;
  text-decoration: none;
  font-size: 20px;
  color: #000;
  display: block;
  border-radius: 3px;
}

#myUL li a:hover:not(.header) {
  background-color: #f5f5f5;
}

.filterDiv {
  display: none; /* Hidden by default */
  transition: all 0.3s;
  margin-bottom: 4px;
  border-bottom: 1px solid lightgrey;
    padding: 10px 0px;

}

.show {
  display: block;
}

.accordion-thumb {
  font-weight: bold;
  background: white;
}

/* Active answer */
.filterDiv.is-active .accordion-thumb::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.accordion-thumb::before {
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
  margin-right: 1rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  border-right: 1px solid;
  border-bottom: 1px solid;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  transition: -webkit-transform 0.2s ease-out;
  transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
}

.accordion-panel {
  margin: 0 0;
  padding: 10px 20px 10px 20px;
  display: none;
  color: black;
  font-size: 17px;
  font-weight: normal;
  border-radius: 3px;
  background: white;
}


 .submit-button {
            padding: 8px 25px; 
            background-color: #000; 
            color: white; 
            border: none; 
            cursor: pointer; 
            margin-left: 20px;
            transition: background-color 0.3s;
        }
        .submit-button:hover {
            background-color: #000;
        }
        #product-container{
            display:grid;
                grid-template-columns: repeat(4, 1fr);
                gap:15px
        }
        /* Product Card Styling (List View) */
        .product-card {
            /* border: 1px solid #ccc;  */
            padding: 15px; 
            width: 100%;
            box-shadow: 0 10px 30px rgba(2,8,20,.08), 0 2px 10px rgba(2,8,20,.06);
            background-color: #fff;
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
            cursor: pointer;
            height: 100%; /* Ensure equal height in flex layout */
            display: flex;
            flex-direction: column;
            border-radius: 5px;
            /* align-items: center;
            text-align: center; */
        }
        .product-view{
          background-color: #000;
          color: #fff;
          padding: 8px 20px;
          /* border-radius: 10px; */
        }
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }
        .product-card h3 { margin-bottom: 5px; font-size:18px;text-align: left;}
        .product-card img { height: 35vh; object-fit: cover; width: 100%;}
.product-card p{
  margin-bottom: 0;color: #888888; font-size: 14px;
}

        /* --- Product Detail View Styles --- */
        .detail-container {
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
        }

        .product-title {
            text-align: center;
            color: #fff;
            
            font-size: 50px;
        }
        
        .back-button {
            display: inline-block;
            margin-bottom: 20px;
            padding: 10px 15px;
            background-color: #f8f8f8;
            border: 1px solid #ddd;
            color: #333;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        .back-button:hover {
            background-color: #e0e0e0;
        }

        .detail-content {
            display: grid;
            grid-template-columns: repeat(2,1fr);
            gap: 40px;
            padding: 50px 0;
        }

        .gallery-section {
            flex: 1;
            min-width: 350px;
        }

        .main-detail-image {
            width: 100%;
            height: auto;
            max-height: 450px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .thumbnail-container {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 5px 0;
            justify-content: center;
        }

        .thumbnail-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 4px;
            border: 2px solid #ddd;
            cursor: pointer;
            transition: border-color 0.2s;
        }
        .thumbnail-image:hover {
            border-color: #007bff;
        }

        .info-section {
            flex: 2;
        }

        .section-heading {
            color: #34495e;
            border-bottom: 1px solid #ccc;
            padding-bottom: 5px;
            margin-top: 0;
            margin-bottom: 15px;
        }

        .specs-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 30px;
            background-color: #fff;
            border: 1px solid #eee;
            border-radius: 6px;
            overflow: hidden;
        }
        .specs-table th, .specs-table td {
            padding: 10px 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        .specs-table th {
            /* width: 30%; */
            background-color: #fff ;
            font-weight: bold;
            color: #000;
        }
        .specs-table tr:last-child th, .specs-table tr:last-child td {
            border-bottom: none;
        }

        .product-description {
            line-height: 1.6;
            color: #555;
            white-space: pre-wrap; /* Preserve formatting from nl2br */
        }
        
        .enquiry-button {
            padding: 12px 25px;
            background-color: #28a745;
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1em;
            cursor: pointer;
            margin-top: 20px;
            transition: background-color 0.3s, transform 0.1s;
        }
        .enquiry-button:hover {
            background-color: #218838;
            transform: translateY(-1px);
        }

        /* Mobile Adjustments */
        @media (max-width: 768px) {
            .detail-content {
                flex-direction: column;
            }
            .gallery-section {
                min-width: 100%;
            }
            .detail-container {
                padding: 10px;
            }
        }

        .product-top{
          margin-top: 100px;
        }

        .page-link {
            display: inline-block;
            padding: 8px 15px;
            margin: 0 5px;
            border: 1px solid #ccc;
            text-decoration: none;
            color: #333;
            border-radius: 4px;
        }
        .active-page {
            background-color: #000;
            color: white;
            border-color: #000;
        }
        .page-link:hover:not(.active-page) {
            background-color: #f5f5f5;
        }

        .main-product-sec{
          background: linear-gradient(0deg, rgba(0, 0, 0, 0.486), rgba(0, 0, 0, 0.459)), url(https://my-paper-print.s3-accelerate.amazonaws.com/uploads/products/33/thump_17513461241.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXWMA6HSWSC3Z2XOB%2F20251106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251106T050807Z&X-Amz-SignedHeaders=host&X-Amz-Expires=90000&X-Amz-Signature=646ca06294f38ed2977a006b2fbb86f8d0770dec1595b440290b17b6130fbbc4);
          background-size: cover;
          background-position: center;
          padding: 150px 0;
          margin-top: 80px;
          text-align: center;
        }
  .pagination-controls {
        user-select: none;
    }

    .active-page {
        /* You can customize the active page styling here */
    }

    .page-link:hover:not(.active-page) {
        background-color: #f0f0f0;
    }

    .filter-form {
        display: flex;
        align-items: center;
        padding: 15px 0;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .product-card {
        text-align: center;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(2, 8, 20, .08), 0 2px 10px rgba(2, 8, 20, .06);
    }

    .product-image {
        max-width: 100%;
        height: auto;
    }

    .mar-100 {
        margin-top: 100px;
    }

    /* --- STYLES FOR PRODUCT DETAIL VIEW (Single Image + Static Grid) --- */

    /* Container for the single main image */
    .single-image-slot {
        width: 100%;
        margin-bottom: 20px;
        height: 400px;
        overflow: hidden;
        border-radius: 10px;
        background: #f8f8f8;
    }

    .main-detail-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .static-image-grid-container {
        width: 100%;
        margin-bottom: 40px;
    }

    .static-image-grid-container h3 {
        margin-bottom: 15px;
        text-align: left;
    }
    .detail-contents{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
    .static-image-grid {
        /* Display the tiles in a 4-column grid */
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .grid-tile-item {
        /* Fixed height for tiles */
        overflow: hidden;
        border: 1px solid #ccc;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .grid-tile-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
        /*  */

        :root{
    --bg: #fff;
    --text: #0a0a0a;
    --muted:#6b6b6b;      /* neutral grey - Tailwind's gray-500 carries a blue cast */
    --line:#e6e6e6;       /* neutral grey */
    --danger:#000;        /* monochrome theme: state is shown by weight/icon, not hue */
    --success:#000;
    --radius:14px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
  }



  .card1{
    background:var(--bg); width:min(94vw, 440px);
    border-radius:var(--radius); box-shadow:var(--shadow);
    padding:28px 22px; border:1px solid var(--line);
  }

  .title1{margin:0 0 18px; font-size:30px; font-weight:700; letter-spacing:.2px;text-align: center;}

  form{display:grid; gap:14px;font-family: "Be Vietnam Pro", Sans-serif;}

  .field{
    display:grid; gap:6px;
  }

  #inquiryForm label{
    font-size:13px; color:var(--muted);
    text-align: left;
    align-items: start;
    justify-content: start;
  }
.inquiry-bb{
  background-color: #000;
}
  .input{
    display:flex; align-items:center; gap:10px;
    border:1px solid var(--line); border-radius:12px;
    background:#fff; padding:12px 12px;
    transition:border-color .2s, box-shadow .2s;
  }
  .input:focus-within{
    border-color:#111; box-shadow:0 0 0 3px rgba(0,0,0,.06);
  }
  .input input, .input textarea, .input select{
    border:0; outline:0; flex:1; width:100%;
    font:inherit; color:inherit; background:transparent;
  }
  .input textarea{min-height:120px; resize:vertical}

  .icon{width:18px;height:18px;flex:0 0 18px;color:#111}

  .row1{
    display:grid; grid-template-columns:150px 1fr; gap:10px;
  }

  .error{
    display:none; color:var(--danger); font-size:12px;
    margin-top:2px;
  }
  .field.invalid .error{display:block}
  .field.invalid .input{border-color:var(--danger); box-shadow:0 0 0 3px rgba(239,68,68,.15)}

  .actions{margin-top:6px}
  /* button{
    width:100%; padding:12px 16px; border-radius:12px;
    border:2px solid #000; background:#000; color:#fff;
    font-weight:700; cursor:pointer; transition:transform .06s ease, background .2s;
  } */
  /* button:hover{background:#111}
  button:active{transform:translateY(1px)} */
  .note{font-size:12px; color:var(--muted); text-align:center; margin-top:6px}

  .alert{
    display:none; border:1px solid #d1fae5; background:#ecfdf5;
    color:var(--success); padding:10px 12px; border-radius:10px; font-size:14px;
    margin-bottom:8px;
  }
  .alert.show{display:block}

  @media (max-width:420px){
    .row1{grid-template-columns:110px 1fr}
  }



/* Existing styles... (Keeping the previous functional CSS untouched) */

/* 1. Set the card image as the position context for the overlay */
.card-image {
    position: relative;
    overflow: hidden; /* Ensures image and overlay stay within bounds */
}

/* Make the image fill the space */
.card-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth hover effect for image */
}

/* 2. Style and hide the overlay - MODIFIED to align items at the bottom */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    flex-direction: row; /* Change to row to put elements side-by-side at the bottom */
    justify-content: end; /* Space out the button and icon */
    align-items: flex-end; /* 💡 FIX: Align items to the BOTTOM */
    padding: 15px; /* Add padding from the edges */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Smooth fade-in */
    z-index: 10; /* Ensure overlay is above the image */
    gap: 15px;
}

/* 3. Show the overlay on hover */
.card-image:hover .card-overlay {
    opacity: 1;
}

/* Optional: Zoom effect on the image itself */
.card-image:hover img {
    transform: scale(1.05); 
}


/* 4. Style the View Button (The "upper view button") - POSITIONAL FIX */
.view-btn {
    background: #ffffff;
    color: #000000;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    /* Removed margin-bottom and transform properties, relying on flex alignment */
    /* Add a transition for subtle movement if desired, but flex alignment is key */
}

.view-btn svg {
    width: 18px;
    height: 18px;
}

/* 5. Style the Location Icon (The "location icon") - POSITIONAL FIX */
.overlay-location {
    /* Removed absolute positioning and top/right/transform properties */
    padding: 8px 15px;
    background: rgb(255 255 255);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.overlay-location svg {
    width: 24px;
    height: 24px;
}

/* Your existing styles (product-card, filter-form, etc.) go here... */


.card-image {
    position: relative;
    overflow: hidden;
}

/* 2. Style and hide the overlay - MODIFIED to use column layout */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    flex-direction: column; /* 💡 FIX: Stack content vertically */
    justify-content: space-between; /* Push date to top, actions to bottom */
    align-items: flex-start; /* Default alignment, ensures date starts at left */
    padding: 15px; 
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* 3. Show the overlay on hover */
.card-image:hover .card-overlay {
    opacity: 1;
}

/* 💡 NEW: Date element style (Top-Left) */
.overlay-date {
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.4); /* Subtle background for visibility */
    border-radius: 5px;
    transform: translateY(-20px); /* Start hidden/off-screen */
    transition: transform 0.3s ease 0.1s; /* Slight delay on entrance */
    position: absolute;
    left: 10px;
    top: 10px;
}

.card-image:hover .overlay-date {
    transform: translateY(0); /* Move into position on hover */
}

.overlay-date svg {
    width: 18px;
    height: 18px;
    stroke: white; /* Ensure the clock icon is white */
}


/* 💡 NEW: Container for View Button and Location Icon (Bottom) */
.overlay-bottom-actions {
    width: 100%;
    display: flex;
    justify-content: end; /* Space out button and icon */
    align-items: flex-end; 
    gap: 15px;
    height: 100%;
    /* The whole container is managed by the parent .card-overlay's justify-content: space-between */
}


/* 4. Style the View Button */
.view-btn {
    background: #ffffff;
    color: #000000;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    /* Add subtle movement for the bottom elements */
    transform: translateY(20px); 
    transition: transform 0.3s ease 0.1s;
}

/* Move button up when visible */
.card-image:hover .view-btn {
    transform: translateY(0);
}

.view-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* 5. Style the Location Icon */

/* Move location icon up when visible */
.card-image:hover .overlay-location {
    transform: translateY(0);
}

.overlay-location svg {
    width: 24px;
    height: 24px;
}

/* ---------------------------------------------------------------------------
   Inquiry form: status banners, honeypot, accessible labels, error state.
   Added with the contact-submit.php handler.
   --------------------------------------------------------------------------- */
/* Monochrome by design: success and error are told apart by fill vs outline and by
   the leading glyph, not by hue. */
.inquiry-banner {
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.inquiry-banner::before {
    margin-right: 9px;
    font-weight: 700;
}

/* Success: solid black, reads as a confirmation. */
.inquiry-banner.inquiry-ok {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.inquiry-banner.inquiry-ok::before {
    content: '\2713';
}

/* Error: outlined, so it reads as something still needing attention. */
.inquiry-banner.inquiry-err {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    font-weight: 500;
}

.inquiry-banner.inquiry-err::before {
    content: '\0021';
}

.inquiry-banner a {
    color: inherit;
    text-decoration: underline;
}

/* Honeypot: kept in the layout but out of sight and out of the tab order. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Label text that screen readers announce but sighted users do not see. */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.has-error {
    border-color: #000 !important;
    outline: 1px solid #000;
    background-color: #f2f2f2;
}


/* ---------------------------------------------------------------------------
   Product mega-menu (header.php)

   Editorial split panel: a text rail on the left, two full-bleed image cards on
   the right with the label sitting over the image. Strictly monochrome - the
   Quartz card is separated from Porcelain by desaturation and an outlined pill,
   never by hue.

   Lives inside a Bootstrap .dropdown, so click and keyboard already work; the
   `.nav-item.dropdown:hover .dropdown-menu` rule in style.css opens it on hover.
   --------------------------------------------------------------------------- */

/* Anchor the panel to this nav item. Without it the panel would resolve against
   .bg-tra (the positioned navbar) and centre on the whole bar instead of the link. */
.mega-dropdown {
    position: relative;
}

.navbar-expand-lg .navbar-nav .dropdown-menu.mega-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(920px, calc(100vw - 40px));
    margin-top: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2px;
    background: #000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .7);
    overflow: hidden;
}

/* Bridges the gap between the nav link and the panel so the pointer can travel
   down without the hover state dropping out. */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.mega-inner {
    display: grid;
    grid-template-columns: 216px 1fr;
    gap: 30px;
    padding: 30px;
}

/* ---- left rail ---------------------------------------------------------- */

.mega-rail {
    display: flex;
    flex-direction: column;
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.mega-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.mega-rail-text {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .74);
}

.mega-rail-link {
    position: relative;
    margin-top: auto;
    padding-top: 22px;
    align-self: flex-start;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.mega-rail-link:hover {
    color: #fff;
}

/* Underline that draws in from the left, matching .animated-link in footer.php. */
.mega-rail-line {
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 1px;
    width: 26px;
    background: #fff;
    transition: width .45s cubic-bezier(.2, .8, .2, 1);
}

.mega-rail-link:hover .mega-rail-line,
.mega-rail-link:focus-visible .mega-rail-line {
    width: 100%;
}

/* ---- image cards -------------------------------------------------------- */

.mega-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.mega-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.mega-card:hover,
.mega-card:focus-visible {
    color: #fff;
}

.mega-card:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.mega-card-media {
    position: absolute;
    inset: 0;
    display: block;
}

.mega-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}

/* Keeps the overlaid type readable over any part of the photograph. */
.mega-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .88) 0%,
            rgba(0, 0, 0, .55) 38%,
            rgba(0, 0, 0, .12) 72%,
            rgba(0, 0, 0, .3) 100%);
    transition: opacity .45s ease;
}

.mega-card:hover .mega-card-media img {
    transform: scale(1.1);
}

.mega-card:hover .mega-card-scrim {
    opacity: .82;
}

/* The Quartz range is unreleased, so its image is held back. Desaturation and the
   outlined pill carry that meaning instead of a colour. */
.mega-card.is-soon .mega-card-media img {
    filter: grayscale(1) brightness(.72) contrast(1.06);
}

.mega-card.is-soon:hover .mega-card-media img {
    filter: grayscale(1) brightness(.86) contrast(1.06);
}

/* The photograph behind this card is already very dark, so it needs less scrim
   than the Porcelain card to stay legible as an image. */
.mega-card.is-soon .mega-card-scrim {
    background: linear-gradient(to top,
            rgba(0, 0, 0, .65) 0%,
            rgba(0, 0, 0, .45) 40%,
            rgba(0, 0, 0, 0) 75%);
}

.mega-card-index {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .55);
}

.mega-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(3px);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1.7;
}

.mega-card-body {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 18px;
}

.mega-card-title {
    display: block;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.2;
    color: #fff;
}

.mega-card-desc {
    display: block;
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .72);
}

/* Revealed on hover so the resting state stays calm. */
.mega-card-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    transition: max-height .4s cubic-bezier(.2, .8, .2, 1), opacity .3s ease, margin-top .4s cubic-bezier(.2, .8, .2, 1);
}

.mega-card-cta svg {
    width: 15px;
    height: 15px;
    flex: none;
}

.mega-card:hover .mega-card-cta,
.mega-card:focus-visible .mega-card-cta {
    max-height: 28px;
    opacity: 1;
    margin-top: 13px;
}

/* Hairline that traces the card edge on hover. */
.mega-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 2px;
    pointer-events: none;
    transition: border-color .35s ease;
}

.mega-card:hover::after,
.mega-card:focus-visible::after {
    border-color: rgba(255, 255, 255, .55);
}

/* ---- narrow desktop ----------------------------------------------------- */

/* Between 992px and 1200px the navbar is still expanded but "Product" sits well
   left of centre, so a 920px panel centred on it ran off the left edge of the
   viewport. Anchor it to the link's left edge and drop the rail instead. */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .navbar-expand-lg .navbar-nav .dropdown-menu.mega-menu {
        left: 0;
        transform: none;
        width: min(560px, calc(100vw - 40px));
    }

    .mega-rail {
        display: none;
    }

    .mega-inner {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .mega-cards {
        gap: 14px;
    }

    .mega-card {
        aspect-ratio: 1 / 1;
    }
}

/* ---- collapsed navbar --------------------------------------------------- */

@media (max-width: 991.98px) {

    .navbar-expand-lg .navbar-nav .dropdown-menu.mega-menu,
    .mega-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .mega-menu::before {
        display: none;
    }

    .mega-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 10px 0 18px;
    }

    .mega-rail {
        padding-right: 0;
        padding-bottom: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .mega-rail-link {
        margin-top: 18px;
        padding-top: 0;
    }

    .mega-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mega-card {
        aspect-ratio: 16 / 9;
    }

    /* No hover on touch, so the call to action is always visible here. */
    .mega-card-cta {
        max-height: 28px;
        opacity: 1;
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mega-card-media img,
    .mega-card-scrim,
    .mega-card-cta,
    .mega-card::after,
    .mega-rail-line {
        transition: none;
    }

    .mega-card:hover .mega-card-media img {
        transform: scale(1.02);
    }
}

/* ---------------------------------------------------------------------------
   Monochrome theme guard.

   Bootstrap ships a blue link colour (--bs-link-color: #0d6efd). Any anchor
   without an explicit colour of its own picked it up - the phone, email and
   social links on contact.php among them. Overriding the variables keeps the
   fix scoped to links that were relying on Bootstrap's default, rather than
   forcing a colour onto every anchor on the site.
   --------------------------------------------------------------------------- */
:root {
    --bs-link-color: #000;
    --bs-link-hover-color: #000;
    --bs-link-color-rgb: 0, 0, 0;
    --bs-link-hover-color-rgb: 0, 0, 0;
}

/* ---------------------------------------------------------------------------
   Country select sizing.

   Both forms used to hold five short options ("+91", "+971"). With the full ISO
   list the widest option is "Saint Vincent and the Grenadines (+1784)", and a
   <select> sizes itself to its widest option unless it is told not to. On
   contact.php the desktop width was never constrained - the 100px cap in
   style.css sits inside a max-width:790px media query - so the select expanded
   and squeezed the phone field down to a stub. min-width:0 matters too: flex and
   grid items default to min-width:auto, which lets content push past the track.
   --------------------------------------------------------------------------- */

/* contact.php */
.phone_group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.phone_group .country_code {
    flex: 0 0 190px;
    width: 190px;
    min-width: 0;
    max-width: 190px;
    text-overflow: ellipsis;
}

.phone_group > div {
    flex: 1 1 auto;
    min-width: 0;
}

/* index.php - .row1 was a 150px / 1fr grid. The first cell also holds a globe icon,
   which left the select about 96px wide: too narrow for "India (+91)", let alone a
   longer country name. */
.row1 {
    grid-template-columns: 210px 1fr;
}

.row1 > .input {
    min-width: 0;
}

.row1 select#country {
    width: 100%;
    min-width: 0;
    text-overflow: ellipsis;
}

@media (max-width: 575.98px) {

    /* Stack rather than let a 190px select crowd the number on small screens. */
    .phone_group {
        flex-wrap: wrap;
    }

    .phone_group .country_code {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }

    .phone_group > div {
        flex: 1 1 100%;
    }

    .row1 {
        grid-template-columns: 1fr;
    }
}
