/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 1rem; /* Added horizontal padding for mobile */
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2025-08-12/NExobKTsRo.png);
    display: flex;
    align-items: center;
    min-height: 60vh; /* Minimum height for hero */
}

/* Container to limit max width */
.hero-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 2rem; /* Added padding for better spacing */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0; /* Remove default margins */
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem); /* Made responsive */
    font-weight: 400;
    line-height: 1.6;
    max-width: 60ch;
    width: 100%; /* Ensures proper centering */
    margin: 0; /* Remove default margins */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1rem;
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 1rem;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
}