/*
 * Responsive Banner/Slider CSS
 * MediCare Pro v3.0
 */

.site-banner {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-secondary);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(127, 169, 155, 0.85) 0%, rgba(44, 62, 80, 0.75) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.banner-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: white;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.banner-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    background: var(--color-accent);
    color: white;
}

.banner-button i {
    transition: transform 0.3s ease;
}

.banner-button:hover i {
    transform: translateX(-5px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .site-banner {
        height: 400px !important;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .banner-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .site-banner {
        height: 300px !important;
    }

    .banner-title {
        font-size: 24px;
    }

    .banner-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .banner-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}