/* 
    Inotek Hero Section Integration for Helios 
    Variables scoped to .tv-hero-section to avoid global conflicts
*/

/* ============================================================
   FULL-BLEED FIX — eliminates all left/right gaps
   ============================================================ */

/* Force the section itself to be edge-to-edge */
.tv-hero-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

/* Strip Bootstrap bg-light padding if inherited */
.tv-hero-section.bg-light {
    background-color: transparent !important;
    padding: 0 !important;
}

/* hero-inner: break out of the old 2-col grid */
.tv-hero-section .hero-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
}

/* container-fluid: strip any residual padding */
.tv-hero-section .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* swiper wrapper: full width */
.tv-hero-section .hero-slider {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.tv-hero-section .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
}

.tv-hero-section .swiper-slide {
    width: 100% !important;
    flex-shrink: 0 !important;
    height: 100% !important;
}

.tv-hero-section {
    --theme-color: #1053f3;
    --theme-color2: #1c276a;
    --theme-color3: #061153;
    --title-color: #061153;
    --body-color: #a0a3b5;
    --dark-color: #061153;
    --dark-color2: #09155c;
    --white-color: #ffffff;
    --light-color: #f4f7ff;
    --light-color4: #b9bfe4;
    --bs-text-color2: rgb(255 255 255 / 60%);
    --bs-border-color3: rgba(255, 255, 255, 0.1);
    --title-font: "Manrope", sans-serif;
    --body-font: "Noto Sans", sans-serif;
    --icon-font: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    --ripple-ani-duration: 5s;
}

.tv-hero-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.tv-hero-section .section-shape {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

.tv-hero-section .hero-inner .hero-slider .hero-area {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 850px;
    display: flex;
    align-items: center;
}

.tv-hero-section .hero-inner .hero-slider .hero-area .container {
    width: 100%;
}

@media (max-width: 1399px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area {
        border-radius: 0px !important;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area::before {
    background-image: linear-gradient(100deg, rgb(5, 17, 83) 0%, rgb(5, 17, 83) 38%, rgba(5, 17, 83, 0) 58%, rgba(5, 17, 83, 0) 100%);
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

@media (max-width: 767px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area::before {
        background-image: linear-gradient(100deg, rgb(5, 17, 83) 0%, rgb(5, 17, 83) 38%, rgba(5, 17, 83, 0) 85%, rgba(5, 17, 83, 0) 100%);
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    z-index: 2;
    border: 30px solid var(--light-color);
    border-radius: 50% 0 0 50%;
    background: var(--light-color);
}

@media (max-width: 1299px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box {
        border: none;
        background: transparent;
        right: 40px;
    }
}

@media (max-width: 575px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box {
        top: 80%;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box::before {
    position: absolute;
    right: 0px;
    top: -59px;
    content: "";
    height: 30px;
    width: 30px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-11 h-11"><path d="M11 1.54972e-06L0 0L2.38419e-07 11C1.65973e-07 4.92487 4.92487 1.62217e-06 11 1.54972e-06Z" fill="%23f4f7ff"></path></svg>');
    transform: rotate(180deg);
}

@media (max-width: 1299px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box::before {
        all: unset;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box::after {
    position: absolute;
    right: 0px;
    bottom: -58px;
    content: "";
    height: 30px;
    width: 30px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-11 h-11"><path d="M11 1.54972e-06L0 0L2.38419e-07 11C1.65973e-07 4.92487 4.92487 1.62217e-06 11 1.54972e-06Z" fill="%23f4f7ff"></path></svg>');
    transform: rotate(90deg);
}

@media (max-width: 1299px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box::after {
        all: unset;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--theme-color3);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

@media (max-width: 991px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 430px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box {
        width: 120px;
        height: 120px;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .logo-box {
    position: absolute;
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .logo-box i {
    color: var(--white-color);
    font-size: 30px;
}

@media (max-width: 430px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .logo-box i {
        font-size: 20px;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .text-inner svg {
    width: 120px;
    max-width: 100%;
    height: auto;
    overflow: visible;
    word-spacing: 20px;
    transform: rotate(0) scaleX(1) scaleY(1);
}

@media (max-width: 991px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .text-inner svg {
        width: 100px;
    }
}

@media (max-width: 430px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .text-inner svg {
        width: 80px;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .text-inner path {
    fill: transparent;
    stroke: transparent;
    stroke-width: 1px;
    transition: 0.3s stroke, 0.3s fill;
}

.tv-hero-section .hero-inner .hero-slider .hero-area .video-box .circle-box .text-inner text {
    fill: var(--white-color);
    direction: ltr;
    transition: 0.3s stroke, 0.3s stroke-width, 0.3s fill;
    font-size: 30px;
    font-weight: 600;
    font-family: var(--title-font);
}

.tv-hero-section .hero-inner .hero-slider .hero-area .slide-number {
    position: absolute;
    left: 3%;
    top: 20%;
    font-size: 150px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.14);
    font-weight: 700;
    font-family: var(--title-font);
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content {
    position: relative;
    z-index: 1;
    padding: 180px 0 155px 0;
}

@media (max-width: 1399px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content {
        padding: 150px 0 125px 0;
    }
}

@media (max-width: 1299px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content {
        padding: 130px 0 100px 0;
    }
}

@media (max-width: 1199px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content {
        padding: 100px 0 100px 0;
    }
}

@media (max-width: 767px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content {
        padding: 80px 0 80px 0;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--white-color);
    font-family: var(--title-font);
    font-weight: 800;
    margin-bottom: 25px;
    padding: 8px 25px 8px 18px;
    border-radius: 40px;
    background-color: var(--theme-color);
    border: 1px solid var(--bs-border-color3);
    line-height: 1;
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .sub-title img {
    margin-right: 8px;
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .hero-title {
    font-size: 110px;
    line-height: 1;
    color: var(--white-color);
    font-weight: 800;
    font-family: var(--title-font);
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .hero-title span {
    font-weight: 600;
}

@media (max-width: 1299px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .hero-title {
        font-size: 100px;
    }
}

@media (max-width: 1199px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .hero-title {
        font-size: 80px;
    }
}

@media (max-width: 575px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .hero-title {
        font-size: 60px;
    }
}

@media (max-width: 390px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .hero-title {
        font-size: 50px;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .text-icon {
    display: flex;
    align-items: start;
    gap: 20px;
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .text-icon .icon {
    flex-shrink: 0;
}

@media (max-width: 1399px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .text-icon .icon {
        display: none !important;
    }
}

.tv-hero-section .hero-inner .hero-slider .hero-area .hero-content .text-icon .text {
    font-size: 17px;
    line-height: 28px;
    color: var(--bs-text-color2);
    font-weight: 400;
    margin: -3px 0;
}

.hero-bg-image {
    background-position: center 25%;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Bottom-left decorative shape — scoped to hero to override .wow opacity:0 */
.tv-hero-section .p-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;          /* above the dark overlay (z-index:0) but below content (z-index:1+) */
    opacity: 1 !important;   /* override .wow { opacity: 0 } from solvior-integration.css */
    pointer-events: none;
    animation: shapeSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.tv-hero-section .p-bottom-left img {
    display: block;
    max-width: 100%;
    height: auto;
}

@keyframes shapeSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll To Top Sync */
@keyframes text-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Button & Link Effects */
.link-effect {
  position: relative;
  overflow: hidden;
  display: block;
  height: 26px;
}
.link-effect .effect-1 {
  display: block;
  height: 100%;
  position: relative;
  top: 0%;
  transition: 0.3s;
}
.theme-btn:hover .effect-1 {
  top: -100%;
}

.theme-btn {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--title-font);
  position: relative;
  padding: 14px 30px;
  color: var(--white-color);
  background-color: var(--theme-color);
  display: inline-flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 30px;
  z-index: 1;
  width: fit-content;
}

.theme-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  transform: skewx(-20deg);
  background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  z-index: 0;
}

.theme-btn i {
  font-size: 16px;
  height: 26px;
  line-height: 1.66;
  margin-left: 10px;
}


/* Slider Animations */
.hero-content .sub-title { transform: translateY(50px); opacity: 0; transition: all 1s ease; }
.hero-content .hero-title { transform: translateX(-50px); opacity: 0; transition: all 1s ease; }
.hero-content .text-icon { transform: translateY(50px); opacity: 0; transition: all 1s ease; }
.hero-content .theme-btn { transform: scale(0.8); opacity: 0; transition: all 1s ease; }

.swiper-slide-active .hero-content .sub-title { transform: translateY(0); opacity: 1; transition-delay: 0.6s; }
.swiper-slide-active .hero-content .hero-title { transform: translateX(0); opacity: 1; transition-delay: 1s; }
.swiper-slide-active .hero-content .text-icon { transform: translateY(0); opacity: 1; transition-delay: 1.4s; }
.swiper-slide-active .hero-content .theme-btn { transform: scale(1); opacity: 1; transition-delay: 1.8s; }

/* ==== Inotek Global Utilities Ported for Hero Section ==== */
.mx-30 {
  margin-right: 30px !important;
  margin-left: 30px !important;
}

.mx--30 {
  margin-right: -30px !important;
  margin-left: -30px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.br-30 {
  border-radius: 30px;
}

.z-1 {
  z-index: 1 !important;
}

.z-2 {
  z-index: 2 !important;
}

@media (min-width: 992px) {
  .ml-mx-0 {
    margin-right: 0px !important;
    margin-left: 0px !important;
  }
}
@media (max-width: 1199px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area {
        height: 750px;
    }
}

@media (max-width: 991px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area {
        height: 650px;
    }
}

@media (max-width: 767px) {
    .tv-hero-section .hero-inner .hero-slider .hero-area {
        height: 550px;
    }
}
