/* Banner Slider Dots */
.slider-area .slick-dots {
    position: absolute;
    bottom: 30px;
    list-style: none;
    display: flex !important;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.slider-area.dots-bottom-center .slick-dots {
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
}

.slider-area.dots-bottom-left .slick-dots {
    left: 30px;
    right: auto;
    justify-content: flex-start;
}

.slider-area.dots-bottom-right .slick-dots {
    right: 30px;
    left: auto;
    justify-content: flex-end;
}

.slider-area .slick-dots li {
    margin: 0 6px;
    padding: 0;
    line-height: 0;
}

.slider-area .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 12px;
    height: 12px;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform-origin: center center;
}

.slider-area .slick-dots li.slick-active button {
    background-color: #ffffff;
    width: 14px;
    height: 14px;
}

.slider-area .slick-dots li button:hover {
    background-color: #ffffff;
}

/* Dots Type: Bars (Lines) */
.slider-area.dots-type-bars .slick-dots li button {
    width: 30px;
    height: 4px;
    border-radius: 2px;
}

.slider-area.dots-type-bars .slick-dots li.slick-active button {
    width: 50px;
    height: 4px;
    border-radius: 2px;
}

/* Hide dots on mobile */
@media (max-width: 767px) {
    .slider-area.hide-dots-mobile .slick-dots {
        display: none !important;
    }
}

/* Review Card Position — reset theme defaults */
.slider-area.style-2 .single-slider-wrapper .sticky-shape-bottom {
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    justify-content: initial;
}

.sticky-shape-bottom {
    position: absolute;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: flex-end;
}

/* Card position: right (default) — container docked right */
.slider-area.style-2 .single-slider-wrapper .sticky-shape-bottom.card-position-right {
    right: 0;
    left: auto;
    flex-direction: row;
}

/* Card position: left — container docked left, reversed order */
.slider-area.style-2 .single-slider-wrapper .sticky-shape-bottom.card-position-left {
    left: 0;
    right: auto;
    flex-direction: row-reverse;
}

/* === SVG positioning === */

/* sticky-right: the corner shape sitting above the card */
.slider-area.style-2 .single-slider-wrapper .sticky-shape-bottom .sticky-right {
    position: absolute;
    top: -34px;
    right: 0;
    left: auto;
    bottom: auto;
    transform: rotate(90deg);
}

/* sticky-bottom: the corner shape at the left/bottom edge */
.slider-area.style-2 .single-slider-wrapper .sticky-shape-bottom .sticky-bottom {
    position: absolute;
    bottom: 0;
    left: -34px;
    top: auto;
    right: auto;
    transform: rotate(90deg);
}

/* When card is on the LEFT, mirror the SVGs */
.slider-area.style-2 .single-slider-wrapper .sticky-shape-bottom.card-position-left .sticky-right {
    right: auto;
    left: 0;
    transform: rotate(90deg) scaleY(-1);
}

.slider-area.style-2 .single-slider-wrapper .sticky-shape-bottom.card-position-left .sticky-bottom {
    left: auto;
    right: -34px;
    transform: rotate(90deg) scaleX(-1);
}

/* Project Style 5 — Title Link */
.project-card.style-5 .project-title-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-card.style-5 .project-title-link .title {
    margin: 0;
    line-height: 1;
}

.project-card.style-5 .content-inner {
    display: flex;
    flex-direction: column;
    align-items: var(--ci-h-align, flex-start);
    justify-content: var(--ci-v-align, flex-end);
    height: 100%;
}

.project-card.style-5 .project-title-icon,
.project-card.style-5 .project-title-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.project-card.style-5 .project-title-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Project Style 5 — Always show content (like hover state) */
.project-card.style-5 .main-content .main-content-wrapper {
    transform: translateY(0%) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.project-card.style-5 .main-content .btn-wrapper {
    transform: translate(0px, 0px) !important;
}

.project-card.style-5 .main-content .shape svg {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Keep same state on hover for style-5 */
.project-card.style-5:hover .main-content .main-content-wrapper {
    transform: translateY(0%) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.project-card.style-5:hover .main-content .btn-wrapper {
    transform: translate(0px, 0px) !important;
}

.project-card.style-5:hover .main-content .shape svg {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* ================================================
   Project Carousel (variableWidth mode)
   ================================================ */
.project-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

/* Override WOW.js / Animate.css hiding inside carousel */
.project-carousel > div,
.project-carousel .slick-slide > div > div {
    visibility: visible !important;
    animation-name: none !important;
    opacity: 1 !important;
}

.project-carousel .slick-list {
    overflow: visible;
}

.project-carousel .slick-track {
    display: flex !important;
    align-items: stretch;
}

.project-carousel .slick-track::before,
.project-carousel .slick-track::after {
    display: none !important;
}

.project-carousel .slick-slide {
    box-sizing: border-box;
    height: auto !important;
    display: flex !important;
    float: none !important;
    width: 350px; /* default, overridden by Elementor control */
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0s;
    backface-visibility: hidden;
}

.project-carousel .slick-slide.slick-cloned {
    opacity: 1 !important;
    visibility: visible !important;
}

.project-carousel .slick-slide > div {
    width: 100%;
    display: flex;
}

.project-carousel .slick-slide > div > div {
    width: 100%;
}

.project-carousel .slick-slide .project-card {
    width: 100%;
}

/* Carousel Arrows */
.project-carousel-wrapper .slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    padding: 0;
    line-height: 1;
}

.project-carousel-wrapper .slider-arrow-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.project-carousel-wrapper .slider-arrow-btn.prev-btn {
    left: 10px;
}

.project-carousel-wrapper .slider-arrow-btn.next-btn {
    right: 10px;
}

/* Carousel Dots */
.project-carousel-wrapper .slick-dots {
    list-style: none;
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 20px 0 0;
}

.project-carousel-wrapper .slick-dots li {
    margin: 0 5px;
    padding: 0;
    line-height: 0;
}

.project-carousel-wrapper .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-carousel-wrapper .slick-dots li.slick-active button {
    background-color: rgba(0, 0, 0, 0.7);
}

.project-carousel-wrapper .slick-dots li button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* ================================================
   Carousel Navigation Widget
   ================================================ */
.carousel-nav-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.carousel-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.carousel-nav-btn:focus {
    outline: none;
}

.carousel-nav-btn i {
    line-height: 1;
}

.carousel-nav-btn svg {
    display: block;
}

.carousel-nav-btn img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Custom SVG Icon in Button Widget */
.circle-arrow-btn .custom-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.circle-arrow-btn .custom-svg-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.circle-arrow-btn .custom-svg-icon img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ================================================
   Floating Notice Carousel (variableWidth marquee)
   ================================================ */
.floating-notice-wrapper {
    position: relative;
    overflow: hidden;
}

.floating-notice-carousel .slick-list {
    overflow: visible;
}

.floating-notice-carousel .slick-track {
    display: flex !important;
    align-items: center;
}

.floating-notice-carousel .slick-track::before,
.floating-notice-carousel .slick-track::after {
    display: none !important;
}

.floating-notice-carousel .slick-slide {
    box-sizing: border-box;
    height: auto !important;
    display: flex !important;
    float: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-width: max-content;
    transition: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.floating-notice-carousel .slick-slide.slick-cloned {
    opacity: 1 !important;
    visibility: visible !important;
    min-width: max-content;
}

.floating-notice-carousel .slick-slide > div {
    width: 100%;
    display: flex;
}

.notice-slide-item {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
    white-space: nowrap;
    width: max-content;
}

.notice-slide-item .brand-marquee-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    color: #292929;
    white-space: nowrap;
}

.notice-slide-item .notice-symbol {
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

/* CSS Marquee track (smooth infinite scroll without Slick) */
.marquee-css-track {
    display: flex !important;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
}

/* Disable Entrance Animation */
.no-entrance-animation.animated,
.no-entrance-animation.elementor-invisible {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ================================================
   Labotrex Timeline — Vertical (alternating)
   ================================================ */
.labotrex-timeline.vertical {
    position: relative;
    max-width: 100%;
}

/* Center line */
.labotrex-timeline.vertical::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

/* Each row spans full width */
.labotrex-timeline.vertical .timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    width: 50%;
}

.labotrex-timeline.vertical .timeline-item:last-child {
    margin-bottom: 0;
}

/* Left items: aligned right, card on left side */
.labotrex-timeline.vertical .timeline-item.timeline-left {
    margin-right: auto;
    margin-left: 0;
    padding-right: 40px;
    justify-content: flex-end;
    text-align: right;
}

/* Right items: aligned left, card on right side */
.labotrex-timeline.vertical .timeline-item.timeline-right {
    margin-left: auto;
    margin-right: 0;
    padding-left: 40px;
    justify-content: flex-start;
    text-align: left;
}

/* Marker centered on the line */
.labotrex-timeline.vertical .timeline-marker {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F2BA19;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.labotrex-timeline.vertical .timeline-item.timeline-left .timeline-marker {
    right: -20px;
}

.labotrex-timeline.vertical .timeline-item.timeline-right .timeline-marker {
    left: -20px;
}

.labotrex-timeline.vertical .timeline-marker .timeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.labotrex-timeline.vertical .timeline-marker i {
    color: #ffffff;
    font-size: 16px;
}

.labotrex-timeline.vertical .timeline-marker svg {
    fill: #ffffff;
    width: 16px;
    height: 16px;
}

/* Card */
.labotrex-timeline.vertical .timeline-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 0;
}

.labotrex-timeline.vertical .timeline-date {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.labotrex-timeline.vertical .timeline-title {
    margin: 0 0 8px;
}

.labotrex-timeline.vertical .timeline-desc {
    margin: 0;
}

.labotrex-timeline.vertical .timeline-image {
    margin-bottom: 12px;
}

.labotrex-timeline.vertical .timeline-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* Mobile: stack to single column */
@media (max-width: 767px) {
    .labotrex-timeline.vertical::before {
        left: 19px;
        transform: none;
    }

    .labotrex-timeline.vertical .timeline-item,
    .labotrex-timeline.vertical .timeline-item.timeline-left,
    .labotrex-timeline.vertical .timeline-item.timeline-right {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
        text-align: left;
    }

    .labotrex-timeline.vertical .timeline-item.timeline-left .timeline-marker,
    .labotrex-timeline.vertical .timeline-item.timeline-right .timeline-marker {
        left: 0;
        right: auto;
    }
}

/* ================================================
   Labotrex Timeline — Horizontal
   ================================================ */
.labotrex-timeline.horizontal {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.labotrex-timeline.horizontal .timeline-track {
    display: flex;
    position: relative;
    padding-top: 40px;
    min-width: max-content;
}

.labotrex-timeline.horizontal .timeline-track::before {
    content: '';
    position: absolute;
    top: 59px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
}

.labotrex-timeline.horizontal .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
    flex: 1;
    position: relative;
}

.labotrex-timeline.horizontal .timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F2BA19;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
    order: -1;
}

.labotrex-timeline.horizontal .timeline-marker .timeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.labotrex-timeline.horizontal .timeline-marker i {
    color: #ffffff;
    font-size: 16px;
}

.labotrex-timeline.horizontal .timeline-marker svg {
    fill: #ffffff;
    width: 16px;
    height: 16px;
}

.labotrex-timeline.horizontal .timeline-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.labotrex-timeline.horizontal .timeline-date {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.labotrex-timeline.horizontal .timeline-title {
    margin: 0 0 8px;
}

.labotrex-timeline.horizontal .timeline-desc {
    margin: 0;
}

.labotrex-timeline.horizontal .timeline-image {
    margin-bottom: 12px;
}

.labotrex-timeline.horizontal .timeline-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* Horizontal timeline: scrollbar styling */
.labotrex-timeline.horizontal::-webkit-scrollbar {
    height: 6px;
}

.labotrex-timeline.horizontal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.labotrex-timeline.horizontal::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* Responsive: horizontal timeline on mobile */
@media (max-width: 767px) {
    .labotrex-timeline.horizontal .timeline-item {
        min-width: 200px;
    }
}
