/* General body / layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Fixed header */
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 3px 0;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 22;
    padding-left: 10px;
    padding-right: 10px;
}

.header-left {
    display: flex;
    align-items: center;
}

.icon-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-right: 10px;
}

.home-icon {
    width: 24px;
    height: 24px;
}

.header-title {
    flex-grow: 1;
    text-align: center;
    font-size: 18px;
    margin-left: 35px;
}

/* Heading (optional) */
.heading-background {
    background-color: lavender;
}

.heading-container {
    text-align: center;
    margin: 40px 0;
}

.heading-container h2 {
    margin: 0;
    font-size: 20px;
    color: royalblue;
}

/* ==========================================================
   SCROLLABLE SINGLE-ROW TABS (MOBILE + DESKTOP)
   ========================================================== */
.nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid #dee2e6;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari, Edge */
.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tabs .nav-item {
    flex: 0 0 auto; /* Prevent tabs from shrinking or stacking */
}

.nav-tabs .nav-link {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}

/* Card / tile for each sabai item */
.skill-card {
    position: relative;
    width: 100%;
    height: 250px; 
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Banner image */
.skill-card .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Header overlay */
.skill-card .card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    text-align: center;
    padding: 10px;
}

.skill-card .card-content h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
}

.skill-card .card-content p {
    margin: 0;
    font-size: 13px;
}