/* Global Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    color: white;
    text-align: center;
}

/* Lipsum Animation Styles */
.slideshow-container {
    position: absolute;
    top: 50px; /* Default for desktop */
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.mySlides {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.mySlides img {
    width: 30%;
    max-width: 250px;
    height: auto;
}

/* Maintain spacing for hero text */
.container {
    position: relative;
    z-index: 1;
}

/* Hero Text Styles */
.hero-text {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-in-out; /* Animation added */
}

/* Button Styles */
.services-btn {
    background-color: #808080;
    color: #fff;
    border-radius: 32px;
    border: 0;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-in-out; /* Animation added */
}

/* Hover effect for the button */
.services-btn:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile-specific adjustments */
@media screen and (max-width: 768px) {
    .slideshow-container {
        top: 80px; /* Move animation further down on mobile */
    }

    .hero-text {
        font-size: 1.5rem;
    }

    .services-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media screen and (max-width: 480px) {
    .hero-text {
        font-size: 1.2rem;
    }

    .services-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}
