/* ========================================
   HERO SECTION UX/UI IMPROVEMENTS
   ======================================== */

/* Tagline Styling - Multi-item with Icons */
.hero-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    padding: 8px 16px;
    background: rgba(237, 31, 36, 0.15);
    border-radius: 25px;
    border: 1px solid rgba(237, 31, 36, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: rgba(237, 31, 36, 0.25);
    border-color: rgba(237, 31, 36, 0.5);
    transform: translateY(-2px);
}

.tag-item i {
    color: #00d4ff;
    font-size: 12px;
}

.tag-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: bold;
}

/* Enhanced CTA Buttons */
.btn-hero-main {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.btn-hero-main:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-3px) !important;
}

.btn-hero-secondary {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
}

/* Hero CTA Container Enhancement */
.hero-cta {
    position: relative;
    z-index: 10;
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 767px) {

    /* Multi-item Tagline on Mobile */
    .hero-tagline {
        gap: 8px;
        margin-bottom: 15px;
    }

    .tag-item {
        font-size: 11px;
        padding: 6px 12px;
        gap: 6px;
    }

    .tag-item i {
        font-size: 10px;
    }

    .tag-divider {
        font-size: 14px;
    }

    /* Mobile Navigation Arrows - Smaller & At Edges */
    .hero-arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-arrow-prev {
        left: 10px !important;
    }

    .hero-arrow-next {
        right: 10px !important;
    }

    .hero-arrow i {
        font-size: 12px;
    }

    /* Enhanced CTA Visibility on Mobile */
    .hero-cta {
        backdrop-filter: blur(12px);
        background: rgba(0, 0, 0, 0.4);
        padding: 18px;
        border-radius: 16px;
        margin-top: 25px;
    }

    .btn-hero-main,
    .btn-hero-secondary {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
        opacity: 1 !important;
    }

    /* Ensure buttons are touch-friendly & visible */
    .btn-hero-main {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
        /* Email FAB Gradient */
        color: #ffffff !important;
        /* White Text */
        border: none !important;
    }

    /* Force inner text and icon to be white */
    .btn-hero-main span,
    .btn-hero-main i {
        color: #ffffff !important;
        opacity: 1 !important;
        /* Webkit override */
        -webkit-text-fill-color: #ffffff !important;
    }

    .btn-hero-secondary {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        background: #ffffff !important;
        /* Force White Background */
        color: #000000 !important;
        /* Black Text */
        border: none !important;
        margin-top: 10px;
        /* Space between buttons */
    }

    /* Override hover effects for mobile to keep them solid */
    .btn-hero-main:hover,
    .btn-hero-secondary:hover {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-tagline {
        font-size: 12px;
        padding: 9px 20px;
    }

    .hero-arrow {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    .hero-arrow-prev {
        left: 15px !important;
    }

    .hero-arrow-next {
        right: 15px !important;
    }
}

/* Animation for Tagline */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}