/* ============================================
   WHY CHOOSE US - SPLIT SCREEN LAYOUT
   Lanka Matha Tours - About Page
   ============================================ */

.choose-us-split {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* ============================================
   SPLIT CONTAINER
   ============================================ */

.split-container {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* ============================================
   LEFT COLUMN - STICKY VISUAL
   ============================================ */

.visual-column {
    position: sticky;
    top: 100px;
    height: calc(100vh - 200px);
    min-height: 500px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stack-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.1);
}

.stack-img.active {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   PROGRESS TIMELINE
   ============================================ */

.progress-timeline {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
}

.timeline-line {
    position: relative;
    width: 4px;
    height: 100%;
    background: rgba(3, 166, 168, 0.2);
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: height 0.3s ease-out;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid rgba(3, 166, 168, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.timeline-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--glow-primary);
}

/* ============================================
   RIGHT COLUMN - SCROLLING CONTENT
   ============================================ */

.content-column {
    padding: 20px 0;
}

.feature-block {
    margin-bottom: 60px;
    opacity: 0.4;
    transform: translateX(40px);
    transition: all 0.6s var(--ease-smooth);
}

.feature-block.active {
    opacity: 1;
    transform: translateX(0);
}

.feature-block:last-child {
    margin-bottom: 0;
}

/* ============================================
   FEATURE CONTENT
   ============================================ */

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(3, 166, 168, 0.1), rgba(31, 85, 123, 0.1));
    border-radius: 20px;
    margin-bottom: 25px;
    transition: all 0.4s var(--ease-bounce);
}

.feature-block.active .feature-icon-wrapper {
    animation: bounce-in 0.6s var(--ease-bounce);
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.feature-icon-wrapper .icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #555;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

.choose-us-split::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(3, 166, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-shape 20s ease-in-out infinite;
    pointer-events: none;
}

.choose-us-split::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(31, 85, 123, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-shape 15s ease-in-out infinite reverse;
    pointer-events: none;
}

/* ============================================
   SECTION HEADER (Optional)
   ============================================ */

.choose-us-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.choose-us-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.choose-us-header p {
    font-size: 1.2rem;
    color: #666;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .visual-column {
        position: relative;
        top: 0;
        height: 500px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .progress-timeline {
        display: none;
    }

    .content-column {
        padding: 0;
    }

    .feature-block {
        margin-bottom: 60px;
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .choose-us-split {
        padding: 80px 0;
    }

    .visual-column {
        height: 400px;
    }

    .choose-us-header {
        margin-bottom: 60px;
    }

    .choose-us-header h2 {
        font-size: 2.2rem;
    }

    .choose-us-header p {
        font-size: 1rem;
    }

    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .feature-icon-wrapper .icon {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.6rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    .feature-block {
        margin-bottom: 50px;
    }

    .split-container {
        gap: 50px;
    }
}

@media (max-width: 480px) {
    .visual-column {
        height: 300px;
    }

    .image-stack {
        border-radius: 20px;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }

    .feature-icon-wrapper .icon {
        font-size: 1.8rem;
    }

    .feature-title {
        font-size: 1.4rem;
    }

    .choose-us-header h2 {
        font-size: 1.8rem;
    }
}