/* =========================
   GLOBAL ASTRA FIX (FULL WIDTH)
========================= */
.ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ast-row {
    display: block !important;
}

.ast-content-area {
    width: 100% !important;
}


/* =========================
   HERO SECTION
========================= */
.hero-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 100px 20px;

    position: relative;
    z-index: 1;

    background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* TITLE */
.hero-title {
    font-size: 38px;
    font-weight: 700;
    color: #e2e8f0;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
}

/* TYPEWRITER BOX */
.typewriter-box {
    display: inline-block;
    min-width: 100px;
    padding: 6px 14px;

    background: #020617;
    border: 2px dotted #38bdf8;
    border-radius: 10px;
}

/* TYPEWRITER TEXT */
#typewriter {
    color: #38bdf8;
    border-right: 3px solid #38bdf8;
    padding-right: 5px;
    white-space: nowrap;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    50% { border-color: transparent; }
}


/* =========================
   SEARCH BAR
========================= */
.hero-search {
    margin-top: 30px;
    text-align: center;
    position: relative;
}

#categorySearch {
    width: 100%;
    max-width: 500px;
    padding: 14px 16px;

    border-radius: 10px;
    border: none;
    outline: none;

    background: #020617;
    color: #e2e8f0;
    font-size: 16px;

    box-shadow: 0 0 10px rgba(56,189,248,0.2);
}

/* SEARCH RESULTS */
#searchResults {
    max-width: 500px;
    margin: 5px auto 0;
    text-align: left;

    background: #020617;
    border-radius: 10px;
    overflow: hidden;
}

.search-item {
    padding: 12px;
    border-bottom: 1px solid #1e293b;
    color: #e2e8f0;
    text-decoration: none;
    display: block;
}

.search-item:hover {
    background: #1e293b;
}


/* =========================
   CATEGORY SECTION (FIXED BELOW HERO)
========================= */
.category-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 20px;

    background: #020617;

    position: relative;
    z-index: 1;
    clear: both;
}

/* GRID */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    max-width: 1200px;
    margin: 0 auto;
}

/* CARD */
.category-card {
    display: block;
    padding: 20px;

    border-radius: 12px;
    text-align: center;
    text-decoration: none;

    background: #0f172a;
    border: 1px solid #1e293b;

    transition: 0.3s ease;
}

.category-card h3 {
    color: #38bdf8;
    margin-bottom: 8px;
}

.category-card span {
    color: #94a3b8;
    font-size: 14px;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56,189,248,0.3);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 26px;
        flex-direction: column;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}
.hero-search {
    margin-bottom: 25px;
}