/* Hero Banner Slider (home page only) */
.hero {
    height: 55vh;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: opacity 1s ease-in-out;

    overflow: hidden;
}

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

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.hero-content {
    position: relative;

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 0 40px;

    z-index: 2;
}

.slide h2 {
    color: #0FFF50;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 12px;
}

.slide h1 {
    color: #FFFF00;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 28px;
    max-width: 700px;
    line-height: 1.2;
}

.slide.active h2 {
    animation: fadeInDown 1s ease;
}

.slide.active h1 {
    animation: fadeInUp 1s ease;
}

.slide.active .cta-button {
    animation: fadeIn 1s ease 0.5s both;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #FFFF00;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #2c3e50;
    z-index: 5;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: #0FFF50;
    color: white;
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FF0000;
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active {
    background: #008000;
    border-color: #f4a261;
    transform: scale(1.2);
}

/* Services Section */
.services {
    padding: 100px 40px;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 70px;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card:nth-child(1) .service-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(2) .service-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card:nth-child(3) .service-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 380px;
    }

    .slide h1 {
        font-size: 28px;
    }

    .slide h2 {
        font-size: 17px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }
}