:root {
    --hero-overlay: rgba(10, 22, 60, 0.65);
    /* Professional Deep Blue Overlay */
}

.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background-image: url('../images/main.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-slogan {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features-section {
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        /* Fixed attachment often fails on mobile */
        height: 70vh;
        /* Slightly shorter for mobile screens */
    }

    .hero-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .hero-slogan {
        padding: 0 2rem;
    }
}