﻿/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 6rem;
    gap: 2rem;
    background: beige;
}

.hero-text {
    flex: 1 1 480px;
    max-width: 600px;
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

    .hero-text h1 .highlight {
        color: #1ab9d6;
    }

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted, #666);
    margin-bottom: 2rem;
}

.cta-btn {
    background-color: #1ab9d6;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

    .cta-btn:hover {
        background-color: #00e67e;
    }

.hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

/* Responsive: Mobile & Tablet */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        margin-top: 115px;
    }

    .hero-text {
        align-items: center;
        text-align: center;
        animation: none; /* Optional: skip animation on small screens */
        opacity: 1;
    }

        .hero-text h1 {
            font-size: 2.4rem;
        }

        .hero-text p {
            font-size: 1rem;
        }

    .cta-btn {
        justify-content: center;
    }

    .hero-image {
        margin-top: -195px;
        margin-bottom: 50px;
    }

        .hero-image img {
            max-width: 90%;
        }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .cta-btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
}

/*swiper*/
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }