/*
 Theme Name: Fabrica Child 
 Description: Child theme of Fabrica
 Author: Saroop
 Template: fabrica
 Version: 1.0.0
*/
/* Add your custom CSS below this line */

.sc_icons .sc_icons_item.sc_icons_item_linked.with_more .sc_icons_item_link{z-index:10!important;}

#site-header, .top_panel_default .sc_layouts_row_type_compact{background:#131313 !important;}
.sc_layouts_menu_nav > li.current-menu-item > a{color:#80FF72!important;}
.sc_icons .sc_icons_icon{background: linear-gradient(93.86deg, #80FF72 4.19%, #7EE8FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;}
.sc_icons .sc_icons_item .sc_icons_item_title + .sc_icons_item_more_link, .sc_icons .sc_icons_item .sc_icons_item_description + .sc_icons_item_more_link {
    margin-top: 1.1em;
}

.about-column h3, .about-column h4{margin:0 0 10px 0;background: #1B979F;
background: linear-gradient(to right, #1B979F 0%, #EDDD53 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.about-box{background: #222;    padding: 28px;    color: #cecece;    border-bottom: solid 1px #fff;}
/* ++++++++++++++++++++++++ ACCORDION SLIDER STYLE BEGINS HERE ++++++++++++++++++++++++++++++++++ */
.accordion-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.accordion-slider {
  display: flex;
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  gap: 15px;
  padding: 0;
}

.slide-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
  position: relative;
  /* FIXED: Smoother transition with optimized timing */
  transition: flex 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: flex;
}

.slide-link:hover {
  text-decoration: none;
}

.slide-link.active {
  flex: 5;
}

.accordion-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  /* FIXED: Removed transition from here - handled by parent */
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px;
}

.slide-link.active .accordion-slide {
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.accordion-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
  transition: background 0.6s ease;
  z-index: 1;
}

.slide-link.active .accordion-slide::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.accordion-content {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 2;
  opacity: 0;
  text-align: center;
  width: 80%;
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.slide-link:not(.active) .accordion-content {
  bottom: 0;
  left: 0;
  top: 0;
  transform: none;
  opacity: 1;
  width: 100%;
}

.slide-link.active .accordion-content {
  opacity: 1;
  transform: translate(-50%, 50%);
}

.slide-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 1px;
  /* FIXED: Added smooth transition for text rotation */
  transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  transform-origin: center;
}

.slide-link:not(.active) .slide-title {
  font-size: 1.5rem;
  white-space: normal;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 0;
  transform: rotate(180deg);
  /* Ensure smooth rotation transition */
  transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide-description {
  color: #ffffff;
  font-size: 1.3rem;
  margin: 0 0 25px 0;
  opacity: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  transition: opacity 0.6s ease 0.4s;
}

.slide-link.active .slide-description {
  opacity: 1;
}

.slide-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #ff6b35;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.slide-link.active .slide-button {
  opacity: 1;
  transition: opacity 0.6s ease 0.5s, transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-button:hover {
  background-color: #ff8559;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background-color: #ffffff;
  width: 40px;
  border-radius: 10px;
  border: 2px solid #ffffff;
}

@media screen and (max-width: 1024px) {
  .accordion-slider {
    height: 500px;
  }
  .slide-title {
    font-size: 2.5rem;
  }
  .slide-description {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  .accordion-slider {
    height: 450px;
  }
  .slide-title {
    font-size: 2rem;
  }
  .slide-link:not(.active) .slide-title {
    font-size: 1.5rem;
  }
  .slide-description {
    font-size: 1rem;
  }
  .slide-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
  .slider-dots {
    bottom: 20px;
    gap: 10px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .dot.active {
    width: 30px;
  }
}

/* FIXED: Improved mobile layout with vertical stacking */
@media screen and (max-width: 680px) {
  .accordion-slider {
    flex-direction: column;
    height: 600px;
    border-radius: 15px;
    gap: 10px;
  }
  
  .slide-link {
    flex: 1;
    /* Smooth vertical transition */
    transition: flex 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  }
  
  .accordion-slide {
    border-radius: 10px;
  }
  
  .slide-link.active {
    flex: 3;
  }
  
  /* FIXED: Horizontal text on mobile (no vertical writing) */
  .slide-link:not(.active) .slide-title {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: rotate(0);
    font-size: 1.3rem;
    white-space: nowrap;
  }
  
  .accordion-content {
    width: 90%;
  }
  
  .slide-title {
    font-size: 1.8rem;
  }
  
  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }
}

/* ++++++++++++++++++++++++ ACCORDION SLIDER STYLE ENDS HERE ++++++++++++++++++++++++++++++++++ */

/* +++++++++++ Marquee CSS Begins ++++++++++++++++++ */
:root {
  --marquee-width: 100%;
  --marquee-height: 120px;
  --marquee-elements-displayed: 6;
  --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.marquee {
  background-color: #fff;
  overflow: hidden;
  height: 120px;  
  display: flex;
  align-items: center;
}

.marquee::before,
.marquee::after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}
.marquee-content {
  list-style: none;
  display: flex;
  align-items: center;
  width: max-content;
  padding: 0;
  gap: 20px; 
  animation: scroll 25s linear infinite;
  will-change: transform;
	height: 100%;
}
.marquee.reverse .marquee-content {
  animation-direction: reverse;
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
.marquee-content li {
  display: flex;  justify-content: center;  align-items: center;  flex-shrink: 0; /*height: 100%;  */
  padding: 0.5rem 1rem; border:solid 1px #cecece; border-radius:5px;box-sizing: border-box; }

.marquee-content li img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
display: block;
}

@media (max-width: 768px) {
  :root {
    --marquee-elements-displayed: 3;
  }
	

  .marquee::before,
  .marquee::after {
    width: 5rem;
  }
}
/* +++++++++++ Marquee CSS Ends ++++++++++++++++++ */
@media screen and (max-width: 767px) {
	.mdp-galerie-elementor-filter-nav-scroll{display:block!important;}
	.elementor-3182 .elementor-element.elementor-element-5c2dd0e .mdp-galerie-elementor-filter-item{margin-left:0px!important; margin-right:0px!important;}
}
/* =============================================
   CONTACT FORM STYLES
   Floating labels + line animation + Fontello icons
   ============================================= */
div.wpcf7 .form-style-3 .style-line[class*="icon-"]:before{top:20px!important}
.floating-field label, div.wpcf7 .form-style-3 .style-line[class*="icon-"] textarea, div.wpcf7 .form-style-3 .style-line[class*="icon-"] select, div.wpcf7 .form-style-3 .style-line[class*="icon-"] input{padding-left:30px;}

.custom-search-container {
    max-width: 850px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.search-heading {
    font-size: 28px;
    margin-bottom: 40px;
}

.search-heading span {
    color: #1a0dab;
}

.search-result-item {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.search-url {
    font-size: 13px;
    color: #006621;
    margin-bottom: 5px;
}

.search-title-link {
    display: block;
    font-size: 20px;
    color: #1a0dab;
    text-decoration: none;
    margin-bottom: 6px;
}

.search-title-link:hover {
    text-decoration: underline;
}

.search-snippet {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.6;
}

.search-highlight {
    background: #ffeb3b;
    padding: 2px 4px;
    border-radius: 3px;
}

.no-results {
    font-size: 16px;
}


