#orange-logo {
    height: 40px;
}

#orange-logo img {
    display:block;
    position: relative;
    height: 100%;
    margin-left:20px;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 450px;
    min-height: 300px;
    overflow: hidden;
    background-color: #000;
}

/* Slides */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b35 0%, #f77737 50%, #000 100%);
}

/* Slides with background images */
.slide[data-background="image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay for image slides to ensure text readability */
.slide[data-background="image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

/* Slide Content */
.slide-content {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    animation: slideContentIn 1.5s ease-out;
    position: relative;
    z-index: 2;
}

/* Image only slides */
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image-container .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide h2 {
    font-size: clamp(1.8rem, 4.8vw, 3.8rem);
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.slide p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.95);
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

/* Enhanced text shadow for image backgrounds */
.slide[data-background="image"] h2 {
    text-shadow: 2px 2px 12px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.5);
}

.slide[data-background="image"] p {
    text-shadow: 1px 1px 8px rgba(0,0,0,0.7), 0 0 15px rgba(0,0,0,0.5);
}

/* Slide Indicators */
.indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 50px;
    height: 4px;
    background-color: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.indicator.active {
    background-color: #ff6b35;
    transform: scaleX(1.2);
}

.indicator:hover {
    background-color: rgba(255,255,255,0.6);
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,107,53,0.3);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 4px;
}

.nav-arrow:hover {
    background-color: #ff6b35;
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

/* Subscription Section */
.subscription-section {
    display:block;
    position:relative;
    text-align: center;
    overflow: hidden;
}

.subscription-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-left:auto;
    margin-right: auto;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
}

.subscription-content h3 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.email-form {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255,255,255,0.95);
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: transparent;
    color: #333;
    outline: none;
}

.email-input::placeholder {
    color: #999;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b35, #f77737);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #f77737, #ff6b35);
    transform: scale(1.05);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(135deg, #ff6b35, #f77737);
    color: white;
    padding: 2rem 3rem;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message.show {
    transform: translate(-50%, -50%) scale(1);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #000 0%, #ff6b35 50%, #000 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slideshow-container {
        height: 450px;
    }

    .nav-arrow {
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }

    .nav-arrow.prev {
        left: 10px;
    }

    .nav-arrow.next {
        right: 10px;
    }

    .subscription-section {
        /* height: calc(100vh - 450px); */
        display:block;
        position:relative;
    }

    .email-form {
        flex-direction: column;
        border-radius: 8px;
        max-width: 90%;
    }

    .submit-btn {
        padding: 1rem;
        border-radius: 0 0 8px 8px;
    }

    .email-input {
        border-radius: 8px 8px 0 0;
    }

    .indicators {
        bottom: 20px;
    }

    .indicator {
        width: 35px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .slide h2 {
        font-size: 1.8rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .subscription-content h3 {
        font-size: 1.3rem;
    }
}