/*
Theme Name: SavvyTechBytes Premium Lab UI
Version: 4.0
*/

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #eef2f7;
    color: #0f172a;
}

/* HEADER */
header {
    background: #0b2a55;
    color: #fff;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 20px;
}

/* MAIN WIDTH */
main {
    max-width: 1200px;
    margin: auto;
}

/* HERO (FULL WIDTH) */
.hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, #0b2a55, #0f3b82);
    color: white;
    padding: 100px 20px 140px;
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin: 10px 0;
}

.hero h1 span {
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
}

/* BADGE */
.badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
}

/* SEARCH WRAPPER */
.search-wrapper {
    margin-top: -90px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* SEARCH CARD */
.search-card {
    width: 95%;
    max-width: 1100px;
    padding: 35px;
    border-radius: 28px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(25px);
    box-shadow: 
        0 50px 100px rgba(0,0,0,0.15),
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* FILTERS */
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filters button {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #e2e8f0;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.filters .active {
    background: #0b2a55;
    color: #fff;
    box-shadow: 0 8px 20px rgba(11,42,85,0.35);
}

/* SEARCH BAR */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 16px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.search-icon {
    margin-left: 10px;
    color: #64748b;
}

.search-bar input {
    flex: 1;
    padding: 14px;
    border: none;
    background: transparent;
    font-size: 15px;
}

.search-bar input:focus {
    outline: none;
}

/* BUTTON */
.search-btn {
    background: linear-gradient(135deg, #0b2a55, #1e40af);
    color: #fff;
    padding: 12px 20px;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* TAGS */
.quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-tags span {
    background: #e2e8f0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
}

/* LAB SECTION */
.lab-section {
    padding: 60px 20px;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* LAB CARD */
.lab-card {
    position: relative;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.lab-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.lab-card:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.lab-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
}

.lab-overlay h3 {
    font-size: 18px;
    margin: 6px 0;
}

.meta {
    font-size: 12px;
    opacity: 0.8;
}

/* TAG */
.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #22c55e;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: white;
}

/* FIX SECTION */
/* FIX SECTION WRAPPER */
.fix-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding: 80px 20px;
    align-items: center;
}

/* LEFT CONTENT */
.fix-left .small-title {
    font-size: 12px;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 10px;
}

.fix-left h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.fix-left p {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.fix-left ul {
    list-style: none;
}

.fix-left li {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 15px;
}

/* GRID */
/* SECTION BACKGROUND (DARK PREMIUM) */
.fix-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 80px 40px;

    background: radial-gradient(circle at top, #0f172a, #020617);
    color: white;
}

/* LEFT CONTENT */
.fix-left .small-title {
    font-size: 12px;
    letter-spacing: 1px;
    color: #60a5fa;
    margin-bottom: 10px;
}

.fix-left h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.fix-left p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.fix-left li {
    margin-bottom: 10px;
    color: #e2e8f0;
}

/* GRID */
.fix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD (REAL PREMIUM LOOK) */
.fix-card {
    position: relative;
    padding: 28px;
    border-radius: 20px;

    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 
        0 20px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.05);

    transition: all 0.3s ease;
}

/* HOVER */
.fix-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 70px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ICON */
.fix-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(59,130,246,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
}

/* TITLE */
.fix-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* DESCRIPTION */
.fix-card p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
}

/* CTA */
.fix-card a {
    font-size: 14px;
    color: #60a5fa;
    text-decoration: none;
}

.fix-card a:hover {
    text-decoration: underline;
}

/* LEVEL BADGES */
.level {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
}

.advanced {
    background: rgba(245,158,11,0.2);
    color: #fbbf24;
}

.expert {
    background: rgba(239,68,68,0.2);
    color: #f87171;
}

.moderate {
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
}

/* TIME */
.fix-time {
    position: absolute;
    top: 20px;
    right: 110px;
    font-size: 12px;
    color: #94a3b8;
}
/* COLORS */
.advanced {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.expert {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.moderate {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}
/* FIX CARD */
.fix-card {
    background: #0f172a;
    padding: 20px;
    border-radius: 16px;
    color: white;
    position: relative;
    transition: 0.3s;
}

.fix-card:hover {
    transform: translateY(-5px);
}

/* LEVEL TAGS */
.level {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
}

.advanced { background: orange; }
.expert { background: red; }
.moderate { background: blue; }

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 34px;
    }

    .search-bar {
        flex-direction: column;
    }

    .fix-section {
        grid-template-columns: 1fr;
    }

    .fix-grid {
        grid-template-columns: 1fr;
    }

}