/* AnySmart - Reusable Hero Section Component */
/* This component can be used across multiple pages with dynamic title/subtitle */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Hero Section */
.hero-section {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(3, 169, 244, 0.35), rgba(2, 136, 209, 0.35)), url('../../assets/images/CPT_BG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 0.5rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0.3;
}

.hero-container {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.company-name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        max-height: 25vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        padding: 1rem 1rem;
        width: 100%;
    }

    .company-name {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: -1px;
        padding-top: 5rem;
    }

    .tagline {
        font-size: clamp(0.9rem, 3vw, 1rem);
        letter-spacing: 1px;
        margin-top: -0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 18vh;
        max-height: 22vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        padding: 0.5rem 1rem;
    }

    .company-name {
        font-size: 2rem;
        letter-spacing: 0;
        margin-bottom: 1rem;
        padding-top: 8rem;
    }

    .tagline {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        margin-top: -0.75rem;
    }
}
