.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5%;
    width: 100%;
    margin: 0 auto;
    gap: 60px;
    min-height: 100vh;
    opacity: 0;
    animation: fadeInUp 1.2s var(--ease-out) 0.3s forwards;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--primary);
    line-height: 1.2;
    animation: fadeInLeft 1s var(--ease-out) 0.5s both;
    text-align: left;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: var(--tertiary);
    line-height: 1.8;
    max-width: 90%;
    animation: fadeInLeft 1s var(--ease-out) 0.7s both;
    text-align: justify;

}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInLeft 1s var(--ease-out) 0.9s both;
}

.hero-image {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(images/hero.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    height: 500px;
    position: relative;
}

.hero-image .copy-right {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
}

.hero-image .copy-right a {
    color: #aed6f1;
    text-decoration: none;
}

.hero-image .copy-right a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .hero {
        gap: 40px;
        padding: 80px 5%;
    }
}


@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .hero-content {
        padding-left: 0;
        flex: 0;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        margin-top: 40px;
        height: 450px;
    }

}