* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.slides-container {
    height: 100vh;
    width: 100vw;
    position: relative;
}

.slide {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

/* Different background colors for each slide */
.slide[data-slide="1"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide[data-slide="2"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide[data-slide="3"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide[data-slide="4"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide[data-slide="5"] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.content {
    text-align: center;
    color: white;
    padding: 20px;
    animation: fadeInUp 0.8s ease;
}

.content.overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    max-width: 80%;
}

.content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Fullscreen Image Styling */
.fullscreen-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer for last slide */
.end-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    opacity: 0;
    animation: slideUpFooter 1s ease 0.5s forwards;
}

.end-footer p {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes slideUpFooter {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation dots */
.nav-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.nav-dot.active {
    background: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.5rem;
    }
    
    .content p {
        font-size: 1.2rem;
    }
    
    .content.overlay {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .end-footer p {
        font-size: 1.3rem;
    }
    
    .nav-dots {
        right: 15px;
    }
}
