/* Available Page Styles */
.available-main {
    position: relative;
    width: 100%;
    height: calc(100% - 80px);
    overflow: hidden;
}

.available-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start for fixed positioning */
    justify-content: space-between;
    padding: 0 10%; /* Adjust padding as needed */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content-left {
    flex: 0 0 50%; /* Fixed width to prevent compression */
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 50px; /* Space for axis */
    padding-top: 20vh; /* Reduced from 30vh to fix "too sunken" issue */
}

@media (orientation: portrait) {
    .slide-content-left {
        padding-top: 270px; /* Fixed px for mobile portrait */
    }
}

.slide-title {
    width: 600px; /* Increased size */
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.slide-txt {
    width: 600px; /* Increased size to match title */
    max-width: 100%;
    height: auto;
}

.slide-content-right {
    flex: 0 0 50%; /* Fixed width */
    height: 100%;
    display: flex;
    justify-content: flex-end; /* Align to right */
    align-items: center;
    padding-top: 100px; /* Move phone down */
    padding-right: 0; /* Remove padding to go further right */
}

.slide-phone {
    max-height: 90vh; /* Restore vh for PC */
    width: auto;
    object-fit: contain;
    transform: translateX(150px); /* Move further right */
}

@media (orientation: portrait) {
    .slide-phone {
        max-height: 750px; /* Fixed px for mobile portrait */
    }
}

/* Axis Navigation */
.axis-nav {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px; /* Distance between dots */
    z-index: 10;
}

.axis-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

.axis-dot {
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.axis-dot.active {
    background-color: #a00000; /* Red active dot */
    transform: scale(1.5);
    border: 2px solid white;
}
