/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a; /* Dark background */
    color: #f0f0f0; /* Light text */
    line-height: 1.6;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images are cropped and scaled proportionally */
    opacity: 0;
    transform: translateX(100%);
    transition: all 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
    opacity: 0;
}

/* Crop the second image to the top */
.slide:nth-child(2) {
    object-position: top;
}

/* Parallax Section */
.parallax {
    background-image: url('images/footer.png'); /* Updated parallax background image */
    background-attachment: fixed; /* Creates the parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto; /* Stretch to 100% width, maintain aspect ratio */
    min-height: 100vh;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b30, #9c88ff30); /* Subtle gradient overlay */
    z-index: -1;
}

.services {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #9c88ff; /* Purple accent */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* Hover effect */
}

.service-card h3 {
    color: #ff6b6b; /* Coral accent */
    margin-bottom: 1rem;
}

.service-card p {
    color: #f0f0f0;
}