﻿
.carousel-wrapper {
    /*background: linear-gradient(to right, #ff0000, #ff0070, #00b3ff82, #00ffffdb);*/
    padding: 100px 0;
}

.carousel-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.carousel-img {
    width: 21%;
    cursor: pointer;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    border-radius: 10px;
}

.carousel-dimention {
    height: 44vh !important;
}

.sec-left-right-img {
    height: 22vh !important;
}

.sec-center-img {
    height: 32vh !important;
    z-index: 200;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.center-img {
    transform: scale(2.10) !important;
    z-index: 200;
}

.carousel-img, .center-img {
    transform: scale(1.30) !important; /* slight zoom for center */
    object-fit: cover;
}


/* Indicators centered */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    display: flex !important;
    justify-content: center;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #888;
        border: none;
        opacity: 0.7;
    }

    .carousel-indicators .active {
        background-color: #fff;
        opacity: 1;
    }

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 8%;
}

/* Smooth transition for items */
.carousel-item {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out !important;
}
/**/
/* Mobile adjustments */
/* Mobile adjustments */
@media (max-width: 768px) {
    /* Center the carousel container */
    .carousel-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 85px 0;
    }

    /* Center the inner carousel */
    #landscapeCarousel {
        margin: 0 auto;
        width: 100%;
        max-width: 90%; /* keep some margin on sides */
    }

    /* Center images */
    .carousel-images {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-img {
        width: 90%;
        margin: 0 auto;
        border-radius: 15px;
        transform: scale(1);
        opacity: 1;
    }

        /* Hide side images on mobile */
        .carousel-img.left-img,
        .carousel-img.right-img {
            display: none;
        }

    /* Smooth transition for items */
    /*.carousel-item {
        transition: transform 1s ease-in-out, opacity 1s ease-in-out !important;
    }*/



    /* Center indicators */
    .carousel-indicators {
        justify-content: center;
        left: 70%;
        transform: translateX(-50%);
    }

    .carousel-inner-max {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
}


/* Ensure wrapper is relative */
.carousel-wrapper {
    position: relative;
}

/* Overlay container */
.sec-carousel-overlay {
    position: absolute;
    top: 25px; /* adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    color: #fff;
}

/* Alias Name */
.sec-carousel-alias-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Intro Text */
.sec-carousel-intro {
    /*font-size: 16px;*/
    font-weight: 400;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-alias-name {
        font-size: 24px;
    }

    .carousel-intro {
        font-size: 14px;
    }

    .carousel-overlay {
        top: 15px;
        padding: 0 15px;
    }

    .sec-carousel-overlay {
        top: 0px !important;
    }
}

/* Fullscreen modal carousel */
#imageModal .modal-dialog {
    max-width: 100%;
    margin: 0;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
}

#imageModal .modal-body {
    padding: 20px;
}

    #imageModal .modal-body img {
        width: 100%;
        height: auto;
        max-height: 90vh;
        object-fit: contain;
    }

@media (max-width: 768px) {
    .carousel-indicators {
        justify-content: center;
        left: 36%;
        transform: translateX(-50%);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .sec-carousel-container {
        /* height: 3420px;
        max-height: 420px;*/
    }
}

/* Mobile */
@media (max-width: 576px) {
    .sec-carousel-container {
        /*height: 300px;*/ /* reduced mobile height */
        /*max-height: 300px;*/
    }
}

@media (max-width: 768px) {


    /* Keep carousel inside gradient width */
    .sec-carousel-container,
    .carousel-wrapper,
    #landscapeCarousel,
    .carousel-inner,
    .carousel-item {
        width: 100%;
        overflow: hidden;
    }

    /* Control image layout */
    .carousel-images {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        box-sizing: border-box;
    }

    /* Center image – smaller & responsive */
    .sec-center-img,
    .center-img {
        width: 85%;
        max-height: 180px;
        object-fit: cover;
        flex-shrink: 0;
    }

    /* Side images – reduced size */
    .sec-left-right-img {
        width: 15%;
        max-height: 180px;
        object-fit: cover;
        opacity: 0.6;
        flex-shrink: 0;
    }
}



/*-----------------Partners Detail -------------------------*/


.partners-section {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
}

.partners-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

    .partners-header h6 {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 2px;
        color: #121212;
    }

    .partners-header .line {
        width: 120px;
        height: 2px;
        background: linear-gradient(to right, #ff3d00, #00c6ff);
    }

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-card {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #121212;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

    .partner-card:hover {
        transform: scale(1.05);
    }




/*-----------------About button -------------------------*/


/* ABOUT Button */
.btn-about {
    display: inline-block;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(135deg, #6a2cff, #ff5c8d);
    text-decoration: none;
    transition: all 0.3s ease;
}

    /* Hover effect */
    .btn-about:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        color: #fff;
    }



/*-----------------Route button -------------------------*/


/* Ensure container is relative */
.parallax-container {
    position: relative;
}

/* Button wrapper */
.parallax-cta {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

/* ROUTE Button */
.btn-route {
    display: inline-block;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #6a2cff, #ff5c8d);
    text-decoration: none;
    transition: all 0.3s ease;
}

    /* Hover effect */
    .btn-route:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
        color: #fff;
    }

/* Mobile spacing */
@media (max-width: 768px) {
    .parallax-cta {
        bottom: 20px;
    }
}

.sec-carousel-container .carousel-item.active
.side-img {
    transform: scale(0.95);
    opacity: 0.85;
    transition-delay: 0.05s;
}

/* Fullscreen modal background */


/* Remove default padding */
.modal-carousel-black .modal-body {
    background-color: #121212;
}

/* Carousel takes full height */
.modal-carousel-black .carousel,
.modal-carousel-black .carousel-inner,
.modal-carousel-black .carousel-item {
    height: 100vh;
}

    /* Image centered and responsive */
    .modal-carousel-black .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* show full image */
        background-color: #121212;
    }

/* Close button (top-right) */
.modal-carousel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2000; /* above carousel */
    pointer-events: auto; /* force click */

    transform: scale(2);
    opacity: 0.95;
    /* background: rgba(0, 0, 0, 0.6);*/ /* black transparent */
    border-radius: 50%;
    padding: 6px;
}

    .modal-carousel-close:hover {
        opacity: 1;
    }

.modal-carousel-black .modal-content {
    background-color: #121212;
    border: none;
    position: relative; /* IMPORTANT */
}
