
.iframe-video {
  width:100%;
  height: 350px;
  border-radius: 5px;
}
.h-400 {
  height: 350px;
}
.bg_black_50 {
  background: rgba(0, 0, 0, 0.5);
}
.bg_white {
  background: #fff;
}
.color_white {
  color:white;
}
.text_black {
  color: #000;
}
.text-white {
  color: #fff;
}
.text_shadow_black {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mt-3 {
    margin-top: .75rem;
}
.absolute_text_center {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  display: flex;
  justify-content: center;
}

/*******READ MORE********/
.float-right {
  float: right;
}

/****TESTIMONIAL****/

 .testimonial_div img {
  width: 100%;
  border-top-right-radius: .75rem;
  border-top-left-radius: .75rem;
  margin-bottom: 15px;
}
.testimonial_padding {
  padding-left: 5px;
}

/***Home Menu***/

.nav_home.bg-background\/95 {
    background-color: hsl(0 0% 5% / .95) !important;
}

/***Drop Down Menu***/
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.group\/submenu {
  position: relative;
}

/* FIRST ITEM */
.dropdown-menu a:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* LAST ITEM */
.dropdown-menu a:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* SAME FOR SUBMENU */
.submenu a:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.submenu a:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.dropdown-menu a,
.submenu a {
  display: block;
  position: relative;
  z-index: 1;
}
/* Submenu positioning */
.group\/submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
}

/* Smooth positioning */

.submenu {
  position: absolute;
  top: 0;
  left: calc(100% + 2px); /* 8 adds gap */
  min-width: 220px;
  border-radius: 12px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

/* Optional: prevent gap flicker */
.dropdown-menu,
.submenu {
  pointer-events: auto;
}

#mobileNav a,
#mobileNav button {
  color: #000 !important;
}
#mobileProductsMenu a {
  color: rgba(0, 0, 0, 0.8)
}
/******/

.about-video-thumbnail{
  background: url(../images/about-video-thumbnail.jpg) no-repeat;
  background-size: cover;
}
/* Modal Background */
.custom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1050;
}

/* Show Modal */
.custom-modal.active {
  display: flex;
}

/* Dialog */
.modal-dialog {
  width: 100%;
  max-width: 800px; /* like modal-lg */
  margin: auto;
}

/* Content */
.modal-content {
  background: #000;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 2px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10;
  font-weight: 800;
}

/* Video Responsive */
.modal-body video {
  width: 100%;
  height: auto;
  display: block;
}

/**HERO BANNER **/
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-banner .dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-banner .dot.active {
    width: 26px;
    border-radius: 20px;
    background: #f97316; 
}
#baContainer {
  touch-action: none;
}

#baContainer img {
  pointer-events: none;
  user-select: none;
}

/**TABLE**/

.mounting_details {
  img {
     width:100px !important;
     height: auto !important;
  }
  table {
      width:100%;
  }
  th {
      background-color: hsl(var(--background));
  }
  .table_celling {
      background-color: hsl(var(--background));
  }

}

.product_slider {
/**product slider**/

.productSwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.productSwiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Move dots to TOP RIGHT */
.productSwiper .swiper-pagination {
    top: 10px;
    right: 12px;
    left: auto;
    bottom: auto;
    width: auto;
}

/* Default dots */
.productSwiper .swiper-pagination-bullet {
    background: rgba(197, 194, 194, 0.6);
    opacity: 1;
}

/* Active dot */
.productSwiper .swiper-pagination-bullet-active {
    background: #f97316; /* Tailwind orange-500 */
}

/* Overlay FIX */
.productSwiper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    z-index: 1;
}

/* Text always on top */
.productSwiper .absolute {
    z-index: 3;
}
.productSwiper .swiper-slide .absolute h3 {
    background: rgba(0,0,0,0.5);
    padding:2px 10px;
    color:white;
}
}

/**Product Tab**/
.design-tabs{
max-width:100%;
margin:0;
}

.tabs{
display:flex;
}

.tab{
flex:1;
text-align:center;
padding:18px;
cursor:pointer;
font-weight:600;
}

.tab:last-child{
border-right:none;
}

.tab.active,
.tab:hover  {
background-color: hsl(var(--primary));
}

.tab-contents{
padding:30px;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
}

.tab-content{
display:none;
}
.tab-content img {
  display: block;
  margin: auto;
  width: 90%;
}
.tab-content.active{
display:block;
}

.invidual_products_detail {
  ul{
    list-style: disc;
  }
  ul, ol {
      margin: 0 0 20px;
      padding-left: 18px;
      line-height: 1.7rem;
  }
}

/**Product Gallery**/
.product_gallery {
    .thumbnails img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.6;
    transition: 0.3s;
    }

    .thumbnails img:hover,
    .thumbnails img.active {
        opacity: 1;
        border: 2px solid hsl(var(--primary));
    }
    #imageCaption {
        BACKGROUND: rgba(0, 0, 0, 0.5);
        color: white;
        font-weight: 600; 
    }
    #currentImage {
    transition: transform 0.4s ease, opacity 0.2s ease;
    border: 1px solid hsl(var(--border));
  }
}
.thumb {
  border: 1px solid hsl(var(--border));
}
.gallery_dots {
  bottom:10px;
}
.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  transform: scale(1.2);
  width: 26px;
  border-radius: 20px;
  background: #f97316;
}

/*Product used in project detail page*/
.products_used {
  width:350px;
}

/*****DOORS****/
.wooden_doors {
  .grid-wrapper {
    position: relative;
    height: 650px;
  }

  .tile {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  /* SHOW ACTIVE GRID */
  .tile.active {
    opacity: 1;
    z-index: 1;
  }

  .tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }

  .slider-dots .dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .slider-dots .dot.active {
    width: 30px;
    border-radius: 20px;
    background: #ff6a00;
  }
}

/*Card Hover*/

.hover_card {
 
  .card {
      position: relative;
      overflow: hidden;
      cursor: pointer;
  }

  /* Overlay panel */
  .overlay-panel {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 100%;

      background: rgba(0, 0, 0, 1);
      padding: 18px;

      transform: translateY(100%);
      opacity: 0;
      transition: all 0.45s ease;
      z-index: 20;
  }

  /* Hover effect */
  .card:hover .overlay-panel {
      transform: translateY(0);
      opacity: 1;
  }
}

.whatsapp_div {
    position: fixed;
    bottom: 75px;
    right: 10px;
    z-index: 10;
}
.whatsapp-icon {
width: 50px;
height: 50px;
}

/****Certification*****/

.certification_logo {
  .text-sm {
    line-height: 1.4rem;
}
.bg_certificate {
    background:#fff;
   -webkit-box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.60); 
box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.60);
cursor: pointer;
}
.card {
    position: relative;
    overflow: hidden;
}

/* Overlay panel */
.overlay-panel {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 1);
    padding: 18px;

    transform: translateY(100%);
     opacity: 0;
    transition: all 0.45s ease;
    z-index: 20;
}

/* Hover effect */
.card:hover .overlay-panel {
    transform: translateY(0);
    opacity: 1;
}
}

/*Project Hover Div*/
[data-category] {
    transition: all 0.3s ease;
}

.project-card .default-content {
    background: rgba(0, 0, 0, 0.4);
}

/* Hide hover panel initially (slide down) */
.project_details_hover_div {
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
}
.project-card h3 {
  color:white !important;
}

/* Show hover panel */
.project-card:hover .project_details_hover_div {
    transform: translateY(50%);
}

/* Hide default content on hover */
.project-card:hover .default-content {
    opacity: 0;
    transform: translateY(20px);
}

/* Optional: animate hover text inside */
.hover-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .hover-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

/***Project details***/
.proj_detail_grid {
  width:100%; 
  display:flex;
}
.proj_detail_30 {
  width: 35%;  
}
.proj_detail_70 {
  width: 60%;
  margin-left: 4%; 
}
.table-wrap .proj_detail_30 {
  width: 20%;
}
.table-wrap .proj_detail_70 {
  width: 80%;
  margin-left: 0;
}
/**Collage**/
.collage-grid {
  display: grid;
  gap: 14px;

  /* KEY LINE */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Equal height */
.collage-grid .item {
  height: 220px;
  overflow: hidden;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
}

/* Image */
.collage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Hover Zoom */
.collage-grid .item:hover img {
  transform: scale(1.15);
}

/* Desktop → 4 */
.collage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.display_0 {
  display: none;
}

/**Laminate visual***/
#previewBox {
    position: relative;
}
.w_preview_img {
  width: 55%;
}

.laminate_span_hide .surface-item span {
  margin-left: 0;
}
#surfaceBg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 0.4s ease-in-out;
}

/* Main container */
#mainImage {
    position: absolute;
    inset: 0;
    height:100%;
}
.pet_panel_main_img .layer{
  margin: 0;
}
/* Layers for crossfade */
.layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;    
    background-size: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin:10px;
}

/* Active layer */
.layer.active {
    opacity: 1;
}
.downloadBtn {
    top:5px; 
    right:5px; 
    cursor:pointer;
    z-index: 100; /*100*/
}

/**laminate visual**/
.square_bg {
    width: 75px;
    height: 50px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    margin-bottom:5px;
    margin-top:5px;
    cursor: pointer;
}
#downloadLayout {
    position: fixed;
    top: 0;
    left: -9999px; /* move offscreen */
    width: 794px;  /* A4 width */
    height: 1123px; /* A4 height */
    background: #fff;
    z-index: -1;
}
#downloadPreview {
    width: 500px;   /* 🔼 increase */
    height:500px;  /* 🔼 increase */
    margin: 20px auto 10px auto; /* reduce bottom gap */
    margin-bottom: 8px; /* 🔽 reduce space */
    background-size: cover;
    background-position: center;
}
#pdfFooter {
    position: absolute;
    bottom: 10px;
    width: 100%;
}
.orange_box {
    position:absolute; 
    top:57%; 
    left:50%; 
    transform:translateX(-50%); 
    text-align:left; 
    border: 1px solid #f28c28;
    padding-bottom:10px;
}
#dlSurface {
    border-bottom: 1px solid #f28c28;     
    padding-bottom:10px; 
}
#dlSurface, #dlModel, #dlType {
    color: #000; 
    padding-left:5px;
    padding-right:5px;
}

/**Wooden series slats detail page***/
#downloadModal {
    transition: opacity 0.3s ease;
}
.downloadPDF.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
} 
.downloadPDF {
  
.modal-content {
    background: #fff;
    padding: 20px;
    width: 50%;
    /*max-height: 50vh;
    overflow-y: scroll;*/
    color:#000;
}
#closeModal {
    float: right;
    cursor: pointer;
    font-size: x-large;
}
}

#design_element .bg_foreground {
    background-color: rgb(241 242 241) !important;
}
/***TOOLTIP***/

.toolTip_box_inner {
    display:none;
}
.toolTip_box_inner,
.bg-black {       
    background:rgba(61,62,62,1);
}
.arrow {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(61,62,62,1);
}

/***SHAPES***/
.baffles_clouds_shapes .b_square {
  width:75px !important;
  height: 75px !important;
}
.baffles_clouds_shapes .b_rectangle {
  width:130px !important;
  height: 75px !important;
}
.baffles_clouds_shapes .b_wave {
 width: 155px !important;
 height: 75px !important; 
}
.baffles_clouds_shapes .b_rectangle {
  width:175px !important;
  height: 75px !important;
}
.baffles_clouds_shapes .b_trapezium {
  width:130px !important;
  height: 60px !important;
}
.baffles_clouds_shapes .b_circle {
  width: 75px !important;
  height: 75px !important;
}
.baffles_clouds_shapes .b_hexagon {
  width: 75px !important;
  height: 75px !important;
}
.baffles_clouds_shapes .b_triangle {
  width: 75px !important;
  height: 75px !important;
  border-left: 60px solid transparent !important;
  border-right: 60px solid transparent !important;
  border-bottom: 75px solid #e6e3e3 !important;
}

.b_circle,
.b_square,
.b_rectangle,
.b_hexagon,
.b_trapezium,
.b_wave {
  background: #e6e3e3;
  margin-bottom: 10px;
}
.b_circle {
  width:50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}
.b_square {
  width: 50px;
  height: 50px;
}
.b_rectangle {
  width: 70px;
  height: 50px;
}
.b_hexagon {
  width: 50px;
  height: 50px;
  clip-path: polygon(
    25% 5%, 
    75% 5%, 
    100% 50%, 
    75% 95%, 
    25% 95%, 
    0% 50%
  );
}
#shapeContent .b_triangle {
  width: 50px;
  height: 50px;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid #e6e3e3;
}
#shapePreview.b_triangle {  
  
  width: 50px;
  height: 50px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.bb_wave {
  width: 50px;
  height: 25px;
-webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  /* Smooth wave */
  -webkit-mask: url('data:image/svg+xml;utf8,\
  <svg viewBox="0 0 600 300" xmlns="http://www.w3.org/2000/svg">\
    <path d="M0,100 C160,20 300,180 600,100 L600,0 L0,0 Z" fill="white"/>\
  </svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,\
  <svg viewBox="0 0 600 300" xmlns="http://www.w3.org/2000/svg">\
    <path d="M0,100 C160,20 300,180 600,100 L600,0 L0,0 Z" fill="white"/>\
  </svg>') no-repeat center;
}
.b_wave {
   width: 50px;
  height: 25px;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

 -webkit-mask: url('data:image/svg+xml;utf8,\
  <svg viewBox="0 0 50 25" xmlns="http://www.w3.org/2000/svg">\
    <path d="M0,12 \
             C8,9 16,6 25,8 \
             C34,10 40,14 50,12 \
             L50,0 L0,0 Z" fill="white"/>\
  </svg>') no-repeat center;

  mask: url('data:image/svg+xml;utf8,\
  <svg viewBox="0 0 50 25" xmlns="http://www.w3.org/2000/svg">\
    <path d="M0,12 \
             C8,9 16,6 25,8 \
             C34,10 40,14 50,12 \
             L50,0 L0,0 Z" fill="white"/>\
  </svg>') no-repeat center;
}
.b_trapezium {
  width: 70px;
  height: 30px;

  clip-path: polygon(
    20% 0%, 
    80% 0%, 
    100% 100%, 
    0% 100%
  );
}
#finalImage {
    transition: opacity 0.3s ease;
}
/* Tablet → 3 */
@media (max-width: 1024px) {
  .collage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .md\:border-b {
	border-bottom-width: 1px;
	}

	.md\:border-t {
	border-top-width: 1px;
	}
	.md\:gap-8 {
		gap: 0;
	}
}
/* MOBILE */

@media(max-width:768px){
  
  .mobile_dis {
    display: none;
  }

  .sm\:border-b {
	border-bottom-width: 1px;
	}

	.sm\:border-t {
	border-top-width: 1px;
	}
	.sm\:gap-8 {
		gap: 0;
	}
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #care_instruction .sm\:grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
.tabs{
flex-direction:column;
border:none;
}

.tab{
text-align:left;
border-bottom:1px solid #ddd;
}

.tab-content{
padding:15px;
border-bottom:1px solid #eee;
} /**End Product Tab**/

.proj_detail_grid {
  display:block;
}
.proj_detail_30,
.proj_detail_70 {
  width: 100% !important;
  flex-direction: column;
}

.proj_detail_70 {
  margin-left: 0;
  margin-top: 3rem;
}
.table-wrap .proj_detail_70 {
  margin-top: 0;
}
.collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collage-grid .item {
    height: 180px;
  }
  
  .products_used {
  width:50%;
}
  .downloadPDF {  
    .modal-content {
        width: 85%;
    }
  }
}


/* Mobile Responsive */
@media (max-width: 576px) {
  .modal-dialog {
    max-width: 100%;
  }

  .modal-content {
    border-radius: 8px;
  }
  
  .wooden_doors {
    .grid-wrapper {
      height: 450px;
    }
  }
}
