/* ========================================
   STARTER SLIDER - MAIN STYLES
   ======================================== */

.starter-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #0a0a28;
}

.starter-slider .slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ========================================
   SLIDE STYLES
   ======================================== */

.starter-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    z-index: 1;
}

.starter-slider .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Image */
.starter-slider .slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay */
.starter-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 40, 0.7) 0%, rgba(10, 10, 40, 0.3) 100%);
    z-index: 2;
}

/* ========================================
   CONTENT STYLES - BASE
   ======================================== */

.starter-slider .slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 60px 80px;
    padding-bottom: 120px;
    box-sizing: border-box;
}

/* Persian Content */
.starter-slider .slide-content-persian {
    direction: rtl;
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

.starter-slider .slide-title-persian {
    font-size: 64px;
    font-weight: 700;
    color: #00d4ff;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    font-family: 'IRANSans', 'Vazir', 'Tahoma', sans-serif;
}

.starter-slider .slide-subtitle-persian {
    font-size: 48px;
    font-weight: 500;
    color: #00d4ff;
    margin: 0 0 30px 0;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    font-family: 'IRANSans', 'Vazir', 'Tahoma', sans-serif;
}

/* Button Wrapper */
.starter-slider .slide-button-wrapper {
    display: flex;
    margin-top: 30px;
}

/* Primary Button */
.starter-slider .slide-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 6px;
    border-radius: 40px;
    border: 2px solid #1ec4ff;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.starter-slider .button-text {
    background: #34aaff;
    padding: 8px 20px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    box-shadow: inset 0 0 8px rgba(255,255,255,0.4);
}

.starter-slider .slide-button:hover {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.6) 0%, rgba(102, 126, 234, 0.6) 100%);
    border-color: rgba(0, 200, 255, 0.7);
    transform: translateX(-5px);
    box-shadow: 0 5px 25px rgba(0, 200, 255, 0.3);
}

.starter-slider .slide-button .button-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.starter-slider .slide-button:hover .button-arrow {
    transform: translateX(-5px);
}

/* English Content */
.starter-slider .slide-content-english {
    direction: ltr;
    text-align: left;
    position: absolute;
    bottom: 120px;
    left: 80px;
}

.starter-slider .slide-title-english {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.starter-slider .slide-subtitle-english {
    font-size: 14px;
    font-weight: 400;
    color: #a0a0a0;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.starter-slider .slide-description-english {
    font-size: 12px;
    font-weight: 400;
    color: #ff6b9d;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ========================================
   CONTENT POSITION CLASSES
   ======================================== */

/* ===== HORIZONTAL POSITION ===== */

/* Right (Default for RTL) */
.starter-slider.content-h-right .slide-content {
    align-items: flex-end;
}

.starter-slider.content-h-right .slide-content-persian {
    text-align: right;
    align-items: flex-end;
}

.starter-slider.content-h-right .slide-content-english {
    left: auto;
    left: 80px;
    text-align: left;
}

.starter-slider.content-h-right .slide-button-wrapper,
.starter-slider.content-h-right .secondary-buttons-wrapper {
    justify-content: flex-end;
}

/* Center */
.starter-slider.content-h-center .slide-content {
    align-items: center;
}

.starter-slider.content-h-center .slide-content-persian {
    text-align: center;
    align-items: center;
}

.starter-slider.content-h-center .slide-content-english {
    left: 50%;
    left: auto;
    transform: translateX(-50%);
    text-align: center;
}

.starter-slider.content-h-center .slide-button-wrapper,
.starter-slider.content-h-center .secondary-buttons-wrapper {
    justify-content: center;
}

/* Left */
.starter-slider.content-h-left .slide-content {
    align-items: flex-start;
}

.starter-slider.content-h-left .slide-content-persian {
    text-align: left;
    align-items: flex-start;
}

.starter-slider.content-h-left .slide-content-english {
    left: 80px;
    left: auto;
    text-align: left;
}

.starter-slider.content-h-left .slide-button-wrapper,
.starter-slider.content-h-left .secondary-buttons-wrapper {
    justify-content: flex-start;
}

/* ===== VERTICAL POSITION ===== */

/* Top */
.starter-slider.content-v-top .slide-content {
    justify-content: flex-start;
    padding-top: 100px;
}

/* Middle */
.starter-slider.content-v-middle .slide-content {
    justify-content: center;
}

/* Bottom */
.starter-slider.content-v-bottom .slide-content {
    justify-content: flex-end;
    padding-bottom: 180px;
}

/* ========================================
   SECONDARY BUTTONS STYLES
   ======================================== */

.starter-slider .secondary-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.starter-slider .secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border: 2px solid #ff6b9d;
    border-radius: 30px;
    background-color: transparent;
    color: #ff6b9d;
    text-decoration: none;
    font-size: 14px;
    font-family: 'IRANSans', 'Vazir', 'Tahoma', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}

.starter-slider .secondary-button:hover {
    background-color: rgba(255, 107, 157, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

.starter-slider .secondary-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.starter-slider .secondary-button-icon i,
.starter-slider .secondary-button-icon svg {
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.starter-slider .secondary-button:hover .secondary-button-icon i,
.starter-slider .secondary-button:hover .secondary-button-icon svg {
    color: #ffffff;
    fill: #ffffff;
}

.starter-slider .secondary-button-text {
    white-space: nowrap;
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */

.starter-slider .slider-navigation {
    position: absolute;
    bottom: 40px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

/* Arrows */
.starter-slider .slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.starter-slider .slider-arrow:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.starter-slider .slider-arrow svg {
    width: 20px;
    height: 20px;
}

/* Dots */
.starter-slider .slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.starter-slider .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.starter-slider .slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.starter-slider .slider-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.starter-slider .slide.active .slide-title-persian {
    animation: slideInRight 0.8s ease-out forwards;
}

.starter-slider .slide.active .slide-subtitle-persian {
    animation: slideInRight 0.8s ease-out 0.1s forwards;
}

.starter-slider .slide.active .slide-button-wrapper {
    animation: slideInRight 0.8s ease-out 0.2s forwards;
}

.starter-slider .slide.active .secondary-buttons-wrapper {
    animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.starter-slider .slide.active .slide-content-english {
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reset animations for non-active slides */
.starter-slider .slide:not(.active) .slide-title-persian,
.starter-slider .slide:not(.active) .slide-subtitle-persian,
.starter-slider .slide:not(.active) .slide-button-wrapper,
.starter-slider .slide:not(.active) .secondary-buttons-wrapper,
.starter-slider .slide:not(.active) .slide-content-english {
    opacity: 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .starter-slider .slide-content {
        padding: 40px 50px;
        padding-bottom: 140px;
    }

    .starter-slider .slide-title-persian {
        font-size: 48px;
    }

    .starter-slider .slide-subtitle-persian {
        font-size: 36px;
    }

    .starter-slider .slide-content-english {
        left: 50px;
        bottom: 100px;
    }

    .starter-slider.content-h-right .slide-content-english {
        left: 50px;
        left: auto;
    }

    .starter-slider.content-h-center .left {
        left: 50%;
        left: auto;
    }

    .starter-slider.content-h-left .slide-content-english {
        left: 50px;
        left: auto;
    }

    .starter-slider .slider-navigation {
        left: 50px;
        bottom: 30px;
    }

    .starter-slider.content-v-top .slide-content {
        padding-top: 80px;
    }

    .starter-slider.content-v-bottom .slide-content {
        padding-bottom: 160px;
    }

    .starter-slider .secondary-buttons-wrapper {
        gap: 12px;
    }

    .starter-slider .secondary-button {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .starter-slider .slide-content {
        padding: 30px;
        padding-bottom: 160px;
        padding-top: 100px;
    }

    .starter-slider .slide-title-persian {
        font-size: 32px;
    }

    .starter-slider .slide-subtitle-persian {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .starter-slider .slide-button {
        font-size: 14px;
    }

    .starter-slider .slide-content-english {
        left: 30px;
        bottom: 100px;
        right: 30px;
    }

    .starter-slider .slide-title-english {
        font-size: 18px;
    }

    .starter-slider .slide-subtitle-english {
        font-size: 12px;
    }

    .starter-slider .slide-description-english {
        font-size: 10px;
    }

    .starter-slider .slider-navigation {
        left: 30px;
        bottom: 25px;
    }

    .starter-slider .slider-dot {
        width: 8px;
        height: 8px;
    }

    .starter-slider .slider-arrow {
        width: 30px;
        height: 30px;
    }

    .starter-slider .slider-arrow svg {
        width: 16px;
        height: 16px;
    }

    /* Reset all horizontal positions for mobile RTL */
    .starter-slider.content-h-left .slide-content,
    .starter-slider.content-h-center .slide-content,
    .starter-slider.content-h-right .slide-content {
        align-items: flex-start;
    }

    .starter-slider.content-h-left .slide-content-persian,
    .starter-slider.content-h-center .slide-content-persian,
    .starter-slider.content-h-right .slide-content-persian {
        text-align: right;
        align-items: flex-start;
    }

    .starter-slider.content-h-left .slide-content-english,
    .starter-slider.content-h-center .slide-content-english,
    .starter-slider.content-h-right .slide-content-english {
        left: 30px;
        right: 30px;
        transform: none;
        text-align: left;
    }

    .starter-slider.content-h-left .slide-button-wrapper,
    .starter-slider.content-h-center .slide-button-wrapper,
    .starter-slider.content-h-right .slide-button-wrapper,
    .starter-slider.content-h-left .secondary-buttons-wrapper,
    .starter-slider.content-h-center .secondary-buttons-wrapper,
    .starter-slider.content-h-right .secondary-buttons-wrapper {
        justify-content: flex-start;
    }

    .starter-slider.content-v-top .slide-content {
        padding-top: 80px;
    }

    .starter-slider.content-v-bottom .slide-content {
        padding-bottom: 160px;
    }

    .starter-slider .secondary-buttons-wrapper {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .starter-slider .secondary-button {
        justify-content: center;
        padding: 10px 20px;
        font-size: 13px;
    }

    .starter-slider .secondary-button-icon i,
    .starter-slider .secondary-button-icon svg {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .starter-slider .slide-content {
        padding: 20px;
        padding-bottom: 150px;
        padding-top: 80px;
    }

    .starter-slider .slide-title-persian {
        font-size: 26px;
    }

    .starter-slider .slide-subtitle-persian {
        font-size: 20px;
    }

    .starter-slider .slide-content-english {
        left: 20px;
        bottom: 90px;
    }

    .starter-slider.content-h-left .slide-content-english,
    .starter-slider.content-h-center .slide-content-english,
    .starter-slider.content-h-right .slide-content-english {
        left: 20px;
        right: 20px;
    }

    .starter-slider .slider-navigation {
        left: 20px;
        bottom: 20px;
        gap: 10px;
    }

    .starter-slider .slider-dots {
        gap: 6px;
    }

    .starter-slider .secondary-buttons-wrapper {
        gap: 8px;
        margin-top: 20px;
    }

    .starter-slider .secondary-button {
        padding: 8px 15px;
        font-size: 12px;
        gap: 8px;
    }

    .starter-slider .secondary-button-icon i,
    .starter-slider .secondary-button-icon svg {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }
}