/* Shared Hero Section Styles */

/* Common Hero Section */
.hero-section,
.contact-hero {
    position: relative;
    height: 24vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg,
.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 1;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
}

.hero-bg::after,
.contact-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-content,
.contact-hero-content {
    position: relative;
    z-index: 3;
    color: white;
    width: 100%;
    margin: 0;
}

.hero-content .container,
.contact-hero-content .container {
    text-align: left;
    max-width: 95%;
    margin-left: 5vw;
    margin-right: auto;
    margin-top: 30px;
}

.hero-title,
.contact-hero-title {
    font-size: 2rem;
    font-weight: 300;
    margin: 0;
   
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 18vh;
    }

    .contact-hero {
        height: 20.7vh; /* 15% more than 18vh */
    }
    
    .hero-title,
    .contact-hero-title {
        font-size: 1.6rem;
    }
    
    .contact-hero-title {
        font-size: 1.6rem; /* Same as hero-title on mobile */
        margin-left: 0;
    }
    
    .hero-content .container,
    .contact-hero-content .container {
        margin: 0 auto; /* Center the container instead of left margin */
    }
}

@media (max-width: 480px) {
    .hero-title,
    .contact-hero-title {
        font-size: 1.2rem;
    }
    
    .contact-hero-title {
        font-size: 1.68rem; /* 40% larger from 1.2rem */
        margin-left: 40px;
    }
    
    .hero-content .container,
    .contact-hero-content .container {
        width: 90%;
    }
}