.about-us-bg {
    /*background: url(assets/img/about/about-us-dark-noise.webp), url(assets/img/about/about-us-bg.svg),
        linear-gradient(122.39deg, #0961fb 7.89%, #870666 99.93%);*/
    padding: 40px 40px;
    background: #e8b561;;
    border-radius: 20px;
    color: #e6e8f2;
    background-blend-mode: overlay, normal;
    background-position:100%, 71% 81%, 100% !important;
    background-repeat: repeat, no-repeat, no-repeat !important;
    position: relative;
    top: -30%;
    z-index: 1;
}
.about-us-bg h2 {
    /*font-size: 45px;*/
}
.about-us-bg .founder-pic {
    position: relative;
    top: 11.5%;
}
.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.icon-list li {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}
.icon-list li i {
    color: var(--theme-color);
    margin-right: 10px;
}
.visa-item .count {
    position: unset !important;
}
.card-footer .theme-btn {
    padding: 3px 15px;
    float: right;
}
.bg-card {
    background: var(--theme-color-light);
}
.card-footer {
    background-color: transparent !important;
}
.animation {
    height: 50px;
    overflow: hidden;
    margin-left: 1rem;

    color: #ffffff;
    font-weight: 400;
}
.slidingVertical {
    height: clamp(80px, 15vw, 130px); /* grows for smaller screens */
    overflow: hidden;
    position: relative;
    width: 100%;
}
.slidingVertical .slide-track {
    display: flex;
    flex-direction: column;
    animation: swipeLoop 10s ease-in-out infinite;
}
.slidingVertical .slide-track span {
    height: clamp(80px, 15vw, 130px); /* match container height */
    line-height: clamp(30px, 4vw, 51px); /* smoother multi-line */
    text-align: center;
    font-weight: 600;
    font-size: clamp(25px, 5vw, 54px);
    background: linear-gradient(90deg, #ffd400 58.55%, #f15d27 81.66%);
    background-clip: text;
    color: #0a25401a;
    -webkit-text-fill-color: #0000;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: normal;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Adjusted animation for 5 items */
:root {
    --slide-height: clamp(80px, 15vw, 130px);
}
.slidingVertical .slide-track {
    animation: swipeLoop 12s ease-in-out infinite;
}
@keyframes swipeLoop {
    0%,
    18% {
        transform: translateY(0);
    }
    20%,
    38% {
        transform: translateY(calc(-1 * var(--slide-height)));
    }
    40%,
    58% {
        transform: translateY(calc(-2 * var(--slide-height)));
    }
    60%,
    78% {
        transform: translateY(calc(-3 * var(--slide-height)));
    }
    80%,
    98% {
        transform: translateY(calc(-4 * var(--slide-height)));
    }
    100% {
        transform: translateY(0);
    }
}

.video-section {
    /*width: 100%;
    height: 60vh; 
    position: relative;
    overflow: hidden;
    background-color: #0f6080;*/
}
/*.language-dropdown{
    font-size: 16px;
    padding: 8px 20px;
    transition: all 0.5s;
    text-transform: capitalize;
    position: relative;
    border-radius: 3px;
    font-weight: 500;
    cursor: pointer;
    text-align: left; 
    vertical-align: middle;
    overflow: hidden;
    border: none;
    box-shadow: var(--box-shadow);
    z-index: 1;
    border: 2px solid transparent;
    color: #000000;
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(90deg, #00ffff, #ff00ff) border-box;
    transition: all 0.3s;
}*/
/*.language-dropdown{
    font-size: 16px;
    padding: 8px 20px;
    transition: all 0.5s;
    text-transform: capitalize;
    position: relative;
    border-radius: 3px;
    font-weight: 500;
    cursor: pointer;
    text-align: left; 
    vertical-align: middle;
    overflow: hidden;
    border: none;
    box-shadow: var(--box-shadow);
    z-index: 1;
    transition: all 0.3s;
    background: transparent;
    border: 1px solid #000;
}*/
.language-dropdown:focus-visible {
  outline: 0px solid;
}
.language-dropdown {
    font-size: 16px;
    font-weight: 200;
    background: transparent;
    border: 1px solid white;
    padding: 5px 30px 5px 12px;
    border-radius: 5px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: right 5px center; /* 👈 arrow moves left, adds space */
    color: white;
}

/* dropdown arrow color */
.language-dropdown option {
    background-color: #281a39 !important;   /* default option background */
    color: white;            /* default option text */
}

/* hover for options */
.language-dropdown option:hover {
    background-color: #3c2e5a !important;
    color: white;
}

.videocontainer {
    top: 0%;
    width: 100%;
    height: 100%;
    position: relative;
}
.videocontainer::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(
        to top,
        rgba(40, 26, 57, 1) 0%, rgba(40, 26, 57, 0.95) 15%, rgba(40, 26, 57, 0.85) 20%,
         rgba(40, 26, 57, 0.65) 30%, rgba(40, 26, 57, 0.35) 52%, rgba(40, 26, 57, 0.1) 90%,
          rgba(40, 26, 57, 0) 100% 
    );*/
    z-index: 1;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}
.videocontainer::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: rgba(40, 26, 57, 0.4);
    backdrop-filter: blur(20px);
    mask-image: linear-gradient(to top, black 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 80%);*/
    z-index: 2;
    pointer-events: none;
}

.videoembed {
    width: 100%;
    height: clamp(25vh, 27vw, 50vh);
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 15px;
}
/* ✅ Keep text visible on top */
.video-text-box {
    position: absolute;
    top: 20%;
    left: 40px;
    z-index: 3; /* Must be higher than overlay */
    color: #fff;
    text-align: left;
    max-width: 600px;
}
.abt-james{
    /*position: relative;
    top: 30%;*/
}
.james-name{
    font-family: 'Exo', sans-serif;
    font-size: clamp(24px, 2.5vw, 40px);
    text-align: center;
    color: #fff;
    font-weight: 300;
    margin-bottom: 10px;
}
.about-founder {
    font-size: 20px;
    line-height: 42.5px;
    font-weight: 400;
    color: #c3dbf4;
    line-height: 1.4;
    /*text-transform: uppercase;*/
    /*font-family: "Bebas Neue", sans-serif;*/
    text-align: center;
    position: relative;
}
.about-founder:before {
    content: "";
    position: absolute;
    height: 1px;
    background: #8b9094;
    width: 60%;
    left: 20%;
    top: 0%;
}
.about-founder:after {
    content: "";
    position: absolute;
    height: 1px;
    background: #8b9094;
    width: 60%;
    left: 20%;
    bottom: 0%;
}
@media (max-width: 768px) {
    /* .video-section, .videoembed {
        height: 80vh;
    } */
    .about-us-bg {
        position: relative;
        top: -18%;
    }
    .video-text-box {
        bottom: 20px;
        left: 0%;
    }
    .about-founder {
        font-size: 20px;
        top: 0%;
    }
}

/* whole background color */
.bg_color_all {
    position: relative;
    background: #281a39;
}

.bg_color_all::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 300px;*/
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(40, 26, 57, 0)), to(#281a39));
    background: -webkit-linear-gradient(bottom, rgba(40, 26, 57, 0) 0%, #281a39 100%);
    background: -o-linear-gradient(bottom, rgba(40, 26, 57, 0) 0%, #281a39 100%);
    background: linear-gradient(0deg, rgba(40, 26, 57, 0) 0%, #281a39 100%);
    z-index: 0;
}
.bg_color_all::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /*height: 300px;*/
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(40, 26, 57, 0)), to(#281a39));
    background: -webkit-linear-gradient(top, rgba(40, 26, 57, 0) 0%, #281a39 100%);
    background: -o-linear-gradient(top, rgba(40, 26, 57, 0) 0%, #281a39 100%);
    background: linear-gradient(180deg, rgba(40, 26, 57, 0) 0%, #281a39 100%);
    z-index: 0;
}
.sm-icons {
    background:linear-gradient(#281a39, #281a39) padding-box,linear-gradient(90deg, #00ffff, #ff00ff) border-box;
    color: #fff;
    border-radius: 0px;
    width: 35px;
    text-align: center;
    height: 35px;
    align-items: center;
    justify-content: center;
    display: flex;
}
.sm-icons i {
    margin-left: 0px;
    transform: rotate(360deg);
}

.theme-bg-lite {
    background: #3c2e5a !important;
}
.smt-cls{
    scroll-margin-top: 100px;
}
.about-us-bg-striped-lines{
    background: #3c2e5a !important;
    background-image: url(../../assets/img/about/striped-lines.webp) !important;
    background-position: center center !important;
    background-size: 110% auto !important;
}
@media (max-width: 576px){
    .about-us-bg-striped-lines {
        background-size: 280% auto !important;
    }
}
@media (max-width: 767px){
    .about-us-bg-striped-lines {
        background-size: 240% auto !important;
    }
}

.carousel-wrapper .gallery-carousel {
    padding: 120px 0;
}

.swiper-slide {
    width: 350px !important;
    height: 330px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    transform: scale(0.75);
    opacity: 0.4;
    transition: 0.5s ease;
}

.swiper-slide-active {
    transform: scale(0.95) !important;
    opacity: 1;
    z-index: 10;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Overlay */
.slide-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.slide-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.slide-desc {
    font-size: 15px;
    line-height: 1.4;
    opacity: 0.8;
}

/* Show text ONLY on center */
.swiper-slide-active .slide-info {
    opacity: 1;
    transform: translateY(0);
}

.swiper-button-prev,
.swiper-button-next {
    color: white;
    background: rgba(255,255,255,0.15);
    padding: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.swiper-pagination-bullet {
    background-color: white;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

    /* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .carousel-wrapper .gallery-carousel {
        padding: 60px 0;
    }

    .swiper-slide {
        width: 80% !important;     /* slide width smaller */
        height: 260px;             /* reduce height */
        transform: scale(0.85);
        opacity: 0.4;
    }

    .swiper-slide-active {
        transform: scale(1);
        opacity: 1;
    }

    .slide-info {
        padding: 15px;
        transform: translateY(10px);
    }

    .slide-title {
        font-size: 18px;
    }

    .slide-desc {
        font-size: 13px;
        line-height: 1.3;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        padding: 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .swiper-slide {
        width: 90% !important;
        height: 220px;
        transform: scale(0.9);
    }

    .swiper-slide-active {
        transform: scale(1);
    }

    .slide-title {
        font-size: 16px;
    }

    .slide-desc {
        font-size: 12px;
    }
}
/* Always give space under the slider */
.movieSwiper {
    padding-bottom: 80px !important;
}

/* Pagination position */
.swiper-pagination {
    position: absolute !important;
    bottom: 10px !important;   /* Safe zone for all devices */
    left: 0;
    width: 100%;
}

/* Center pagination dots */
.swiper-pagination-bullets {
    display: flex;
    justify-content: center;
    align-items: center;
}

.movieSwiper {
    position: relative;   /* required */
    padding-bottom: 30px !important;
}

.movieSwiper .swiper-pagination {
    position: absolute !important;
    bottom: 20px !important;   /* perfect bottom spacing */
    left: 0;
    width: 100%;
}

.swiper-button-prev, .swiper-button-next{
  top:45%;
}

.swiper-pagination-bullet{
    background: #fff !important;
}

.swiper-pagination-bullet-active{
    background: #fff !important;
}

.book-consultation-btn{
    padding: 5px 15px 5px 1px !important;
    float: right;
    margin-top: 0px;
}
.consul-amount{
    background: #3c2e5a;
    color: #e8b561 !important;
    padding: 3px 9px;
    margin: 0px 5px;
    border-radius: 25px;
    font-size: 15px;
    line-height: 4px;
}

/* MOBILE FIX */
@media (max-width: 768px) {

    .movieSwiper {
        padding-bottom: 50px !important; /* Increase space under carousel */
    }

    .swiper-pagination {
        bottom: 5px !important;  /* Bring dots inside visible area */
    }
}

@media (max-width: 480px) {

    .movieSwiper {
        padding-bottom: 50px !important; /* More space for small phones */
    }

    .swiper-pagination {
        bottom: 0px !important; /* Perfect placement for tiny screens */
    }

    .swiper-button-prev, .swiper-button-next{
      top:40%;
    }
}
