/* 
    Created on : 10 Mar 2025, 11:05:02 AM
    Author     : lamya
*/
.banner-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(#fff, transparent), linear-gradient(rgb(52, 50, 180, 0.58), transparent), linear-gradient(to top left, rgba(159, 218, 255, 1), transparent), linear-gradient(to top right, rgba(0, 30, 255, 1), transparent);*/
    background-blend-mode: screen;
    z-index: 9;
}
.hero-area-inner .thumb:before {
    z-index: 0;
    content: " ";
    background: rgb(26 56 100 / 35%);
    width: 100%;
    height: 100%;
    position: absolute;
}
::-moz-selection {
    background-color: var(--dark);
    color: #ffffff;
}

::selection {
    background-color: var(--dark);
    color: #ffffff;
}

/*parallax video zoom begins*/

@media(max-width : 1199px){
    .video-wrapper{
        display: none;
    }
}
.video-wrapper{
    margin: 0 auto;
    overflow: hidden;
}
.video-wrapper .spacer{
    font-size: 4rem;
    color: var(--dark);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
}

.parallax-section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    top: 0;
    transform-origin: center top;
    will-change: transform, filter;
}

.parallax-image {
    height: 200vh;
    width: 100%;
    object-fit: cover;
    will-change: transform;
    position: relative;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 2.85em;
    z-index: -1; /* Asegura que el video esté detrás del contenido */
}

.video-background video {
    height: 100%;
    width: 100%;
    /*object-fit: cover;*/
    position: absolute;
    top: 0;
    left: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 2.85em;
    z-index: -1;
}

#yt-player {
    height: 100%;
    width: 100%;
    transform: scale(1.185); /* Slight zoom-in */
    transform-origin: center center;
    pointer-events: none; /* Prevent user interaction */
}

/*parallax video zoom ends*/


canvas {
    max-width: 100vw;
    max-height: 50vh;
}

.canvas-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.3d-roatation-canvas .spacer {
    width: 100%;
    height: 250px;
}
.canvas-container {
    position: relative;
}

.caption-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark);
    opacity: 0;
    max-width: 40%;
    pointer-events: none;
}

.caption-1, .caption-3 {
    left: 10%;
    text-align: left;
}
.caption-2, .caption-4 {
    left: 10%;
    text-align: left;
}
.about-area-ui{
    background-color:var(--primary)
}
.dark .about-area-ui{
    background-color:#1b1b1b
}
.about-area-inner-ui{
    padding-top:130px;
    padding-bottom:143px
}
@media only screen and (max-width: 1919px){
    .about-area-inner-ui{
        padding-top:100px;
        padding-bottom:113px
    }
}
@media only screen and (max-width: 1199px){
    .about-area-inner-ui{
        padding-top:60px;
        padding-bottom:63px
    }
}
@media only screen and (max-width: 991px){
    .about-area-inner-ui{
        padding-top:60px;
        padding-bottom:63px
    }
}
@media only screen and (max-width: 767px){
    .about-area-inner-ui{
        padding-top:60px;
        padding-bottom:63px
    }
}
.about-area-ui .section-subtitle{
    font-size:16px;
    text-transform:uppercase;
    color:var(--white-2)
}
.about-area-ui .section-title{
    color:var(--white)
}
.about-area-ui .section-header{
    padding-bottom:91px;
    display:grid;
    gap:20px 60px;
    grid-template-columns:30% 1fr;
}
@media only screen and (max-width: 1919px){
    .about-area-ui .section-header{
        padding-bottom:61px
    }
}
@media only screen and (max-width: 1199px){
    .about-area-ui .section-header{
        grid-template-columns:auto;
    }
}
@media only screen and (max-width: 991px){
    .about-area-ui .section-header{
        grid-template-columns:auto;
    }
}
@media only screen and (max-width: 767px){
    .about-area-ui .section-header{
        grid-template-columns:auto;
    }
}
.about-area-ui .image-wrapper img{
    width:100%
}
.dir-rtl .about-area-ui .image-wrapper img{
    transform:rotateY(180deg)
}
.about-area-ui .text-wrapper{
    margin-top:59px
}
.about-area-ui .text-wrapper .text{
    color:var(--white-2);
    max-width:330px;
    margin-inline-start:62%
}
@media only screen and (max-width: 767px){
    .about-area-ui .text-wrapper .text{
        margin-inline-start:0;
        max-width:100%
    }
}

#hero-pageWrap section{
    background: var(--primary);
    color: #fff;
}
@media(min-width : 1200px){
    .single-line{
        clear: both;
        display: inline-block;
        white-space: nowrap;
    }
}


/*text overlay banner*/

.text-overlay-banner.image-wrapper {
    position: relative;
    overflow: hidden;
}


/* Overlay container */
.text-overlay-banner .overlay {
    position: absolute;
    top: 3em;
    left: 2.5em;
    max-width: 560px;
    z-index: 2;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.text-overlay-banner .overlay *{
    color: white;
    font-size: 1.25rem;
}
/* Text styles */
.text-overlay-banner .headline {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.text-overlay-banner .subtext {
    font-size: 1rem;
    margin-top: 8px;
}
@media only screen and (max-width: 1919px){
    .text-overlay-banner .overlay{
        top: 2em;
        left: 2em;
    }
}
@media only screen and (max-width: 1199px){
    main {
        margin-bottom: 100px;
    }
    .text-overlay-banner.image-wrapper * {
        position: relative;
    }
    .text-overlay-banner .overlay{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        background: var(--dark);
    }
    .text-overlay-banner .overlay .text-dark{
        color: #fff !important;
    }
    .text-overlay-banner .overlay{
        font-size: 16px;
        padding: 10px;
    }
}
/* Responsive tweaks */
@media (max-width: 1024px) {
    .text-overlay-banner .headline {
        font-size: 2rem;
    }

    .text-overlay-banner .subtext {
        font-size: 1.125rem;
    }
}
@media(min-width:1170px){
    .hide-lg{
        display: none;
    }
}
@media(max-width:1169px){
    .visible-only-lg{
        display: none;
    }
    .visible-only-lg-dark-bg{
        display: none;
    }
}
#home .header-area:has(.cd-primary-nav.moves-out) .visible-only-lg.dark-bg{
    display : none;
}
body:not(#home) .visible-only-lg.dark-bg{
    display: none;
}
#home .header-area .visible-only-lg:not(.dark-bg){
    display : none;
}
#home .header-area:has(.cd-primary-nav.moves-out):not(.sticky) .visible-only-lg:not(.dark-bg){
    display : block;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    left: 0;
    width: 100%;
}

.swiper-backface-hidden .swiper-slide{
    padding-bottom: 30px;
}
.white{
    color : #fff;
}
.wc-btn-circle i.fa-download{
    transform: rotate(0deg);
}

.truncated-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines you want to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 10px;
}
.blog-details-quote{
    margin-top: 20px;
    margin-bottom: 20px;
    background-color:var(--theme-color-lightest);
    padding:35px 45px;
    display:grid;
    gap:20px 45px;
    grid-template-columns:60px 1fr;
    position:relative;
    z-index:1;
}
.dark .blog-details-quote{
    background-color:#171717
}
@media only screen and (max-width: 991px){
    .blog-details-quote{
        grid-template-columns:1fr;
        padding:25px 25px
    }
}
.blog-details-quote .shape-1{
    position:absolute;
    inset-inline-end:45px;
    bottom:35px;
    z-index:-1
}
@media only screen and (max-width: 991px){
    .blog-details-quote .icon{
        display:none
    }
}
.blog-details-quote .text{
    font-size:27px;
    color:var(--dark);
}
@media only screen and (max-width: 991px){
    .blog-details-quote .text{
        font-size:23px
    }
}
.blog-details-quote .name{
    font-size:14px;
    line-height:1;
    display:-webkit-inline-box;
    margin-top:30px;
    color:var(--dark)
}
.blogdetails-overview {
    flex-direction: row;
    display: inline-flex;
    max-width: 100%;
    gap: 20px;
}
.blogdetails-overview li {
    text-align: center;
    position: relative;
    line-height: 1.1;
}
.blogdetails-overview li i {
    display: block;
    padding-bottom: 3px;
    color: var(--primary);
}
.gallery-area-text{
    position:relative
}
.gallery-area-text .section-title{
    max-width:340px;
    position:absolute;
    inset-inline-start:40%;
    top:55px
}
@media only screen and (max-width: 1199px){
    .gallery-area-text .section-title{
        max-width:280px;
        top:40px
    }
}
@media only screen and (max-width: 991px){
    .gallery-area-text .section-title{
        max-width:230px;
        top:25px
    }
}
@media only screen and (max-width: 767px){
    .gallery-area-text .section-title{
        text-align:center;
        position:static;
        margin:0 auto;
        margin-bottom:10px
    }
}
.gallery-area .gallerys-wrapper{
    display:grid;
    grid-template-columns:repeat(6, 1fr)
}
@media only screen and (max-width: 767px){
    .gallery-area .gallerys-wrapper{
        grid-template-columns:repeat(3, 1fr)
    }
}
@media(max-width: 575px){
    .gallery-area .gallerys-wrapper{
        grid-template-columns:repeat(2, 1fr)
    }
}
.gallery-area .gallery-box{
    display:flex;
    justify-content:center;
    align-items:center;
    border:1px solid var(--border);
    min-width:100px;
    aspect-ratio:100/100;
    padding:0 20px;
    margin-top:-1px;
    border-inline-start-color:rgba(0,0,0,0)
}
@media only screen and (max-width: 767px){
    .gallery-area .gallery-box{
        border:none;
        aspect-ratio:100/50
    }
}
.gallery-area .gallery-box:hover img{
    opacity:1
}
.gallery-area .gallery-box:nth-child(1){
    grid-column-start:2;
    border-inline-start-color:var(--border)
}
@media only screen and (max-width: 767px){
    .gallery-area .gallery-box:nth-child(1){
        grid-column-start:auto
    }
}
.gallery-area .gallery-box:nth-child(2){
    grid-column-start:1;
    border-inline-start-color:var(--border)
}
@media only screen and (max-width: 767px){
    .gallery-area .gallery-box:nth-child(2){
        grid-column-start:auto
    }
}
.gallery-area .gallery-box:nth-child(7){
    grid-column-start:2;
    border-inline-start-color:var(--border)
}
@media only screen and (max-width: 767px){
    .gallery-area .gallery-box:nth-child(7){
        grid-column-start:auto
    }
}
.gallery-area .gallery-box:nth-child(12){
    grid-column-start:5;
    border-inline-start-color:var(--border)
}
@media only screen and (max-width: 767px){
    .gallery-area .gallery-box:nth-child(12){
        grid-column-start:auto
    }
}
.gallery-area .gallery-box img{
    opacity:.95;
    transition:all .5s
}
/* Hide video by default */
#mobile-video-container {
    display: none;
}

/* Show only on screens smaller than 1199px */
@media (max-width: 1199px) {
    #mobile-video-container {
        display: block;
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
    }

    #mobile-video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
}
