@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

body.rtl {
    font-family: "Cairo", sans-serif;
    direction: rtl;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    direction: ltr !important;
    text-align: left !important;
}

.language-switcher .lang-label {
    direction: ltr !important;
    text-align: left !important;
    margin: 0;
}

body.rtl .language-switcher {
    right: 30px;
    left: auto !important;
    flex-direction: row !important;
}

.lang-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    direction: ltr !important;
    text-align: left !important;
    margin: 0;
}


.lang-label.inactive {
    opacity: 0.5;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* Slideshow Background */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}



/* Content Container */
.content {
    position: absolute;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Countdown Timer */
.countdown {
    display: flex;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    gap: clamp(20px, 5vw, 40px);
    margin: 0 0 0 100px;
    padding: 25px;
    justify-content: flex-start;
}


body.rtl .countdown {
    margin: 0 100px 0 0;
}


.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: white;
}

.time-label {
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    margin-top: 2px;
    text-transform: capitalize;
}

.separator {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    align-self: center;
    margin-top: -20px;
    color: white;
}

.promo-text {
    margin: 0 0 0 100px;
    display: flex;
    flex-direction: column;
}

body.rtl .promo-text {
    margin: 0 100px 0 0;
}

.promo-text .small {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ddd;
    margin-top: 60px;
    letter-spacing: 0.05em;
}

.promo-text .small-01 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ddd;
    margin-top: 30px;
    letter-spacing: 0.05em;
}


.promo-text .highlight,
.promo-text .highlight-01 {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    text-align: center;
    min-width: 240px;
}

.promo-text .highlight {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.promo-text .highlight-01 {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.promo-text .highlight:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-text .highlight-01:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Remove the underline effect */
.promo-text .highlight::after,
.promo-text .highlight-01::after {
    display: none;
}

.slideshow-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    body.rtl {
        direction: ltr;
    }

    body.rtl .content {
        align-items: center;
    }

    body.rtl .countdown,
    body.rtl .promo-text {
        margin: 0;
        direction: rtl;
    }

    .content {
        padding: 0 5%;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .countdown {
        margin: 0;
        gap: 40px;
        justify-content: center;
        padding: 20px 30px;
    }

    .time-value {
        font-size: 3.5rem;
    }

    .time-label {
        font-size: 0.9rem;
    }

    .separator {
        font-size: 3.2rem;
        font-weight: 700;
        line-height: 1;
        align-self: center;
        margin-top: -20px;
        color: white;
    }

    .promo-text {
        margin: 0;
        align-items: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .promo-text .small,
    .promo-text .small-01 {
        font-size: 1.1rem;
        margin: 40px 0 20px;
        text-align: center;
        width: 100%;
    }

    .promo-text .highlight,
    .promo-text .highlight-01 {
        font-size: 1rem;
        padding: 12px 25px;
        min-width: 220px;
        margin: 5px 0;
    }

}


/* Mobile Responsive Styles */
@media (max-width: 480px) {
    .content {
        padding: 0 5%;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .countdown {
        margin: 0;
        gap: 10px;
        justify-content: center;
        padding: 15px 20px;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.7rem;
    }

    .separator {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1;
        align-self: center;
        margin-top: -20px;
        color: white;
    }

    .promo-text {
        margin: 0;
        align-items: center;
        width: 100%;
    }

    .promo-text .small,
    .promo-text .small-01 {
        font-size: 0.9rem;
        margin: 30px 0 15px;
        text-align: center;
        width: 100%;
    }

    .promo-text .highlight,
    .promo-text .highlight-01 {
        font-size: 0.9rem;
        padding: 10px 20px;
        min-width: 200px;
        margin: 5px 0;
    }


    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 5px 12px;
        gap: 8px;
        border-radius: 20px;
        backdrop-filter: blur(8px);
        direction: ltr !important; /* keep labels fixed */
    }

    body.rtl .language-switcher {
        right: 15px; 
        left: auto !important;
        flex-direction: row !important; /* keep labels in same order */
    }

    .lang-label {
        font-size: 0.75rem;
        font-weight: 500;
        direction: ltr !important;
        text-align: left !important;
        margin: 0;
    }

    .switch {
        width: 40px;
        height: 20px;
    }

    .slider {
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.25);
    }

    .slider:before {
        height: 16px;
        width: 16px;
        left: 2px;
        bottom: 2px;
        border-radius: 50%;
    }

    .switch input:checked + .slider:before {
        transform: translateX(20px);
    }




}