/* Background Slideshow */
.backgroundCarousel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 70%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
}

/* Content  */
.homeTitle {
    position: absolute;
    top: clamp(20vh, 30vh, 35vh);
    left: clamp(5%, 19vw, 20%);
    right: clamp(5%, 19vw, 20%);

    color: #ffffff;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: bold;
    line-height: 30px;
    text-shadow: 0.06rem 0.06rem 0.3rem rgba(0, 0, 0, 0.7);
}

.slideSubtitle {
    position: absolute;
    top: clamp(28vh, 40vh, 45vh);
    left: clamp(5%, 19vw, 20%);
    right: clamp(5%, 19vw, 20%);

    color: #fff;
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    font-weight: bold;
    line-height: clamp(1.6rem, 3vw, 2rem);
    padding-block: clamp(0.4rem, 1vw, 0.6rem);
}

.homeLearnMore {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    position: absolute;
    top: clamp(35vh, 47vh, 50vh);
    left: clamp(8%, 19vw, 22%);

    color: #fff;
    background-color: transparent;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: clamp(8rem, 15vw, 12rem);
    min-height: clamp(2.5rem, 4vw, 3rem);

    transition: color 0.3s ease;
}

.homeLearnMore:hover {
    color: rgb(214, 213, 213);
}

.fa-arrow-right-long {
    position: relative;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #fff;
    margin-right: clamp(0.4rem, 1vw, 0.6rem);
}

.slideText {
    position: absolute;
    top: clamp(40vh, 53vh, 60vh);
    left: clamp(10%, 21.5vw, 25%);
    right: clamp(10%, 35vw, 40%);

    color: #fff;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 500;
    line-height: clamp(1.6rem, 3vw, 2rem);
    padding-block: clamp(0.4rem, 1vw, 0.6rem);

    display: none;
    text-shadow: 0.06rem 0.06rem 0.3rem rgba(0, 0, 0, 0.7);
}

.backgroundCarousel .slide:first-child .homeLearnMore {
    top: clamp(25vh, 40vh, 45vh);
}

.backgroundCarousel .slide:first-child .slideText {
    top: clamp(30vh, 47vh, 50vh);
    display: none;
}

/* Slideshow Arrows */
.carouselArrows {
    position: fixed;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
}

.arrowLeft, .arrowRight {
    pointer-events: auto;
    font-size: clamp(1.8rem, 3vw, 3rem);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.8rem, 2vw, 1.25rem);
    cursor: pointer;
    user-select: none;
    transition: background 0.6s;
}

.arrowLeft:hover, .arrowRight:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Dots, Lines & Titles */
.carouselDots {
    position: fixed;
    bottom:10vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(4vw, 9vw, 12vw);
    z-index: 10;
    pointer-events: none;
}

.dot-line-before {
    width: clamp(40vw, 58vw, 65vw);
    height: 0.12rem;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    left: -58vw;
    top: 0.25rem;
}

.dot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    pointer-events: auto;
    cursor: pointer;
}

.dot-line {
    width: clamp(6vw, 9vw, 10vw);
    height: 0.12rem;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: -9vw;
    top: 0.25rem;
}

.dot-item:last-child .dot-line {
    width: clamp(40vw, 58vw, 65vw);
    right: -58vw;
}

.dot-disc {
    width: clamp(0.5rem, 0.6vw, 0.6rem);
    height: clamp(0.5rem, 0.6vw, 0.6rem);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot-item.active .dot-disc {
    background-color: #fff;
    transform: scale(1.3);
}

.dot-title {
    position: absolute;
    bottom: 150%;
    display: none;
    text-align: center;
    color: #fff;
    font-size: clamp(0.7rem, 0.7vw, 1rem);
    font-weight: 500;
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 3vw, 2.5rem);
    white-space: nowrap;
    z-index: 1;
    min-width: max-content;
}

.dot-item.active .dot-title {
    display: block;
    width: clamp(9rem, 12vw, 12.5rem);
    padding: clamp(0.5rem, 1vw, 0.6rem) clamp(1rem, 3vw, 1.25rem);
}

.border-svg {
    z-index: 0;
}

.dot-item.active .border-rect {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawSvgBorder 14s linear forwards;
}

@keyframes drawSvgBorder {
    to {
        stroke-dashoffset: 0;
    }
}

        /* Footer  */
.copyright {
    position: fixed;
    bottom: 5vh;
    left: 0;
    width: 100%;
    z-index: 10;
}

.copyright-inner {
    max-width: 1200px;     
    margin: 0 auto;
    padding-inline: clamp(1rem, 5vw, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: clamp(0.7rem, 0.7vw, 1rem);
}

.copyright span {
    font-weight: 200;
}

.copyright a {
    text-decoration: none;
    color: #fff;
    border-bottom: 3px solid transparent;  
    transition: border-color 0.2s ease;     
}

.copyright a:hover {
    border-color: #357ABD;                 
}