/**
 * Hero Tabs Component Styles
 */

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 0.4s ease-in-out;
    height: 800px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

.hero-section .et_pb_row {
    position: relative;
    z-index: 1;
}

/* Tab Buttons */
.tab-btn {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-btn:hover {
    transform: translateY(-2px);
}

.tab-btn.active {
    transform: translateY(-3px);
    border-bottom: 3px solid #2795bd !important;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-section {
        min-height: 500px;
    }

    .tab-btn {
        margin-bottom: var(--spacing-md);
    }

    .tab-btn.active::after {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 400px;
    }

    .tab-btn.active::after {
        bottom: -5px;
        width: 80%;
    }
}

/* Accessibility */
.tab-btn:focus-visible {
    outline: 2px solid #2795bd;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .hero-section,
    .tab-btn,
    .tab-btn.active::after {
        transition: none;
        animation: none;
    }
}