/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Main Container for Page Width Control */
.container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
}

/* Tab Content Styles */
.tab-content {
    display: none;
    padding: 15px; /* Reduced padding for compact content */
    background-color: #fff;
    border: 1px solid #ddd;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

/* Sticky Tab Navigation Adjustment */
.tab-navigation {
    position: sticky;
    top: 60px; /* Same as header-style.css to keep below header */
    z-index: 999;
    background-color: #fff;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px;
    background: url('../../Assets/Images/header-background-image.png') no-repeat center center/cover;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.hero-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    animation: fadeInUp 1.5s ease-in-out;
}

.hero-section p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: fadeInUp 1.7s ease-in-out;
}

.hero-section .search-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    animation: fadeInUp 2s ease-in-out;
}

.hero-section .search-bar input,
.hero-section .search-bar button {
    animation: fadeInUp 2s ease-in-out;
}

/* Keyframes for Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Larger Screens */
@media (min-width: 768px) {
    .tab-navigation ul {
        flex-direction: row;
        justify-content: space-around;
    }

    .tab-navigation ul .tab-link {
        flex: 1;
        margin-right: 5px; /* Further reduced spacing for smaller screens */
    }

}
