/*
Theme Name: Haptic Child
Theme URI: http://themexriver.com/wp/haptic
Template: haptic
Author: Your Name
Description: Child theme for the Haptic theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haptic-child
*/

/* Add your custom styles below this line */

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.alignwide {
  max-width: 1200px; /* adjust as needed */
  margin-left: auto;
  margin-right: auto;
}

.bi-footer-social-content {
  border: none;
}
a.bi-btn-main:before,
a.bi-btn-main:after {
  display: none;
}
.bi-footer-newslatter button{background: #c82a2e !important;}body::-webkit-scrollbar-thumb{background: #c82a2e !important;}

#video-wrapper > .elementor-widget-wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
#video-wrapper .elementor-widget-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0) calc(100% - 80px), rgba(0,0,0,1) 100%);

}
#video-wrapper > .elementor-widget-wrap > div {
	grid-column: 1;
  grid-row: 1;
}
#video-wrapper #video-inner {
	position: relative;
  justify-self: center;
  z-index: 10;
	padding-top: 15%;
}
#video-inner > .e-con-inner {
    max-width: 85%;
    background-color: rgba(0,0,0,.4);
    padding: 30px;
    margin-bottom: 80px;
    border-radius: 8px;
}
.tagline > .elementor-widget-container {
	box-shadow: none!important;
}

.highlight-stats .elementor-column {
	border-left: 1px solid #ccc;
}
.highlight-stats .bi-counter-item:before,
.highlight-stats .bi-counter-item:after {
	display: none!important;
}
.highlight-stats .bi-counter-item {
	max-width: 100%;
	gap: 20px;
	justify-content: center !important;
}


/*==============================*/
/* Tagline animation */
.tagline {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 0.8s ease-out forwards;
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* H1 animations */
.animated-title h1 {
  display: grid;
}
.animated-title h1 div {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(30px);
  animation-fill-mode: forwards;
}
.animated-title h1 div:nth-child(1) {
  animation: fadeUpOut 3s ease-out 1s;
}
.animated-title h1 div:nth-child(2) {
  animation: fadeUpOut 3s ease-out 4s;
}
.animated-title h1 div:nth-child(3) {
  animation: fadeUp 1s ease-out 7s forwards;
}
@keyframes fadeUpOut {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bi-main-slider-area:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: rgba(0,0,0,.4);
}
.bi-main-slider {
    z-index: 1;
    position: relative;
}
.bi-main-slider > .swiper-wrapper {
    display: flex;
    align-items: center;
}
.bi-main-slide-item {
    padding: 45px 0 45px;
}
.bi-main-slide-item .bi-slide-text-area {
    max-width: 750px;
}
.bi-main-slide-item .bi-slide-text-area h1 {
   font-size: 60px;
}
.bi-main-slide-item .bi-slide-text-area li {
    font-feature-settings: 20px;
    font-family: var(--heading-3);
}

/* .bi-section-title-1 h2,
.bi-section-title-2 h2 {
  font-size: 55px;
}*/

.bi-storyboard-item h3 {
  font-size: 40px;
}

.headline h3 {
  font-size: 35px;
}

body {
    font-family: Roboto, sans-serif;
}
h1, h2, h3, h4, h5, h6,
.bi-counter-item p,
.split-line,
.bi-section-title-1 .bi-subtitle,
.bi-blog-item .bi-blog-text-area .bi-blog-meta a,
.bi-btn-1 a {
    font-family: Industry, Roboto, sans-serif!important;
}

.highlight-stats .bi-counter-item {
    flex-direction: column;
    gap: 12px;
}
.highlight-stats h3 .counter {
    font-size: 60px;
}
.bi-counter-item p {
    max-width: 100%;
    font-size: 20px;
    font-weight: normal;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 7px 50px;
}
.header-top p {
    margin: 0;
}
.header-top > .elementor-container {
    width: 100%;
}

.slick-prev,
.slick-next {
    width: auto!important;
    height: auto!important;
}
.slick-prev:before,
.slick-next:before {
    color: #c82a2e!important;
    font-size: 35px!important;
}
.slick-prev {
    left: -45px!important;
}
.slick-next {
    right: -45px!important;
}

.stack-carousel .e-con-inner {
    max-width: 85%!important;
    flex-wrap: nowrap!important;
}
.stack-carousel .slick-slide {
    padding: 20px!important;
    gap: 15px;
    display: flex;
    flex-direction: column;
}
.stack-carousel .slick-slide img {
    border-radius: 8px;
}
.slick-slide h3 {
    margin: 20px 0;
}

/* TABS*/
/* Right column needs relative positioning */
#tabs-wrapper #content {
  position: relative;
  min-height: 500px;
}

/* All content containers positioned absolutely to overlay */
#tabs-wrapper #content > .elementor-widget-wrap > .e-con {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* First one visible by default and stays in flow for height */
#tabs-wrapper #content > .elementor-widget-wrap > .e-con:first-of-type {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* Active state */
#tabs-wrapper #content > .elementor-widget-wrap > .e-con.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Style active tab link */
#tabs-wrapper #tabs .elementor-icon-list-item a {
  transition: all 0.2s;
}

#tabs-wrapper #tabs .elementor-icon-list-item a.active {
  font-weight: 700;
}

#tabs-wrapper #tabs ul li a {
    padding: 5px;
    font-family: Industry, Roboto, sans-serif;
}

#tabs-wrapper #content > .elementor-widget-wrap {
    padding: 0;
    border-radius: 8px;
}
#tabs-wrapper #content > .elementor-widget-wrap > .elementor-element {
    border-radius: 8px;
}


body.elementor-editor-active #tabs-wrapper #content > .elementor-widget-wrap > .e-con {
    opacity: 1;
    visibility: visible;
}

#posts-carousel-wrapper > .elementor-widget-container > .bi-blog-content .bi-blog-item > .row {
    display: flex;
    flex-direction: column;
}

#posts-carousel-wrapper > .elementor-widget-container > .bi-blog-content .bi-blog-item > .row > .col-lg-6 {
    width: 100%;
}

#posts-carousel-wrapper > .elementor-widget-container > .bi-blog-content .slick-track {
    display: flex;
    gap: 50px;
}
#posts-carousel-wrapper > .elementor-widget-container > .bi-blog-content .bi-blog-text {
    padding: 0;
}
#posts-carousel-wrapper > .elementor-widget-container > .bi-blog-content h3 {
    font-size: 36px;
}
#posts-carousel-wrapper > .elementor-widget-container > .bi-blog-content h3,
#posts-carousel-wrapper > .elementor-widget-container > .bi-blog-content div {
    text-align: left;
}

#posts-carousel-wrapper .bi-blog-item .bi-blog-text-area .bi-blog-meta {
    transform: translate(0);
}
#posts-carousel-wrapper .bi-blog-item .bi-blog-text-area .bi-blog-meta a {
    border-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 0!important;
}
#posts-carousel-wrapper .bi-blog-meta:before {
    right: 0;
    left: auto !important;
    width: 85%;
    z-index: -1;
    top: 13px;
}
#posts-carousel .bi-blog-img img {
    max-height: 300px;
    object-fit: cover;
}

.inner-page-padding {
    padding: 60px 0;
}


.product-banner {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
}
.product-banner:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) calc(100% - 80px), rgba(0,0,0,1) 100%);
}

@media(min-width: 1024px) {
    .product-banner {
        min-height: 90vh;
    }
}

@media(min-width: 768px) {
    .product-banner {
        min-height: 70vh;
    }
}

.product-banner .inner {
    padding: 30px 80px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.product-banner .inner h1 {
    font-size: 5vw;
    color: #fff;
    font-weight: 900;
    border-top: 3px solid #fff;
    padding-top: 40px;
}

.border-right {
    border-right: 1px solid #d4d6d3;
    padding-right: 30px;
}
.border-radius img {
    border-radius: 8px;
}
.case-studies {
    display: block!important;
}
.case-studies .slick-track {
    display: flex;
}
.case-studies .slick-track .slick-slide {
    padding: 0 20px;
}
.case-studies img {
    border-radius: 8px;
}
.case-studies h3 {
    font-size: calc(1.3rem + .6vw);
    font-weight: 600;
}
.case-studies p {
    color: #7a7a7a;
}

.case-studies .wp-block-column .wp-block-buttons {
    margin-top: auto;
}
.wp-block-button a {
    font-size: 15px!important;
    font-weight: 500;
    line-height: 1;
    padding: 12px 24px;
}
.wp-block-button a:hover {
    color: #fff;
}
.wp-block-separator {
    width: 100px;
    border-width: 1px;
    border-color: #555;
    margin: 16px auto;
}
.case-studies .wp-block-separator {
    margin-top: 0;
}
.wp-block-media-text .wp-block-media-text__content {
    padding-left: 15%;
}
.wp-block-table tbody tr {
    border-bottom: 1px solid #d4d6d3;
}
.wp-block-table tbody tr:first-child td {
    font-family: Industry, Roboto, sans-serif;
}
.wp-block-table tbody tr td {
    border: none;
    padding: 25px 15px;
    font-weight: 500;
    color: #373c41;
    font-size: 14px;
}
section.shop-single-section {
    padding-top: 0;
}

.bi-header-section .dropdown-menu {
    min-width: 300px;
    min-width: max-content;
}

.page-header p {
    max-width: 700px;
}
#tabs-wrapper p {
    font-size: 20px;
    max-width: 95%;
}
.operations-grid > .elementor-widget-text-editor {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 25px;
}

@media all and (max-width: 768px) {
    #tabs-wrapper #tabs > .elementor-widget-wrap {
        margin-right: 0;
        border: none;
        margin-bottom: 30px;
        border-bottom: 2px solid #c82a2e;
    }
}