/* hero.css */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem 4rem 2rem;
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 1;
    max-width: 50%;
    margin-top: 15rem;
    padding-left: 16.188rem;
    margin-bottom: 1px;
}

.hero-content h1 {
    font-family: 'WantedSansVariable', sans-serif;
    font-size: 4.875rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-family: 'Lato', sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 0;
    z-index: 0;
    max-width: 50%;
    position: absolute;
    right: 0;
    bottom: 0; 
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1280px) {
    .hero-content {
        padding-left: 0;
    }

    .hero-content h1 {
        font-size: 4.25rem;
    }
}

.see-more {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.see-more a {
    font-family: 'WantedSansVariable', sans-serif;
    color: #007bff;
    text-decoration: none;
    border-bottom: 2px solid #007bff;
    padding: 0.25rem 0;
    transition: color 0.3s, border-color 0.3s;
}

.see-more a:hover {
    color: #0056b3;
    border-color: #0056b3;
}

.hero-top-left-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 5rem;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.hero-top-left-image img {
    object-fit: contain;
}

@media (max-width: 1280px) {
    .hero-top-left-image img {
        width: 15rem;
        top: 0.75rem;
        left: 0.75rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
      height: auto;
      min-height: 60vh;
      padding: 0 1rem 2rem 1rem;
    }
    
    .hero-content {
      margin-top: 4rem;
      padding-left: 1rem;
      max-width: 100%;
    }

    .hero .hero-image {
      display: none;
    }
}
