/* ============================================
   TEAM EXCELLENT CAREER INSTITUTE
   AITS Online Examination Practice Centre
   Design System — Premium Neo-Brutalism (Bold & Energetic)
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #401E5D;       /* Brand Deep Purple/Indigo */
    --primary-dark: #000000;  /* Pure Black */
    --primary-deeper: #000000;
    --primary-light: #401E5D;
    --accent: #401E5D;        /* Brand Accent */
    --accent-light: #401E5D;
    --accent-glow: rgba(64, 30, 93, 0.4);
    --white: #000000;         /* Default text is black in light theme */
    --text-light: #000000;
    --text-muted: #4b5563;    /* Tailwind Gray-600 */
    --bg-dark: #FFFFFF;       /* Base background is white */
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFFFF;
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-hover: rgba(64, 30, 93, 0.2);
    --shadow-card: 0px 10px 30px rgba(0, 0, 0, 0.04), 0px 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0px 15px 35px rgba(64, 30, 93, 0.06), 0px 2px 5px rgba(64, 30, 93, 0.02);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.12s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-smooth: 0.15s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-bounce: 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: #FFFFFF;
    overflow-x: hidden;
}

/* ---------- Background Grid Line work ---------- */
.bg {
    background: #FFFFFF;
    min-height: 100vh;
    position: relative;
}

.bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 2px, transparent 2px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Animated Background Particles ---------- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

.particle:nth-child(1) {
    width: 4px; height: 4px;
    background: var(--accent);
    left: 10%; top: 20%;
    animation-duration: 8s;
    animation-delay: 0s;
}
.particle:nth-child(2) {
    width: 6px; height: 6px;
    background: var(--primary-light);
    left: 25%; top: 60%;
    animation-duration: 12s;
    animation-delay: 1s;
}
.particle:nth-child(3) {
    width: 3px; height: 3px;
    background: var(--accent-light);
    left: 50%; top: 40%;
    animation-duration: 10s;
    animation-delay: 2s;
}
.particle:nth-child(4) {
    width: 5px; height: 5px;
    background: var(--primary-light);
    left: 70%; top: 80%;
    animation-duration: 9s;
    animation-delay: 0.5s;
}
.particle:nth-child(5) {
    width: 4px; height: 4px;
    background: var(--accent);
    left: 85%; top: 15%;
    animation-duration: 11s;
    animation-delay: 3s;
}
.particle:nth-child(6) {
    width: 7px; height: 7px;
    background: rgba(255, 184, 0, 0.6);
    left: 40%; top: 75%;
    animation-duration: 14s;
    animation-delay: 1.5s;
}
.particle:nth-child(7) {
    width: 3px; height: 3px;
    background: var(--white);
    left: 60%; top: 10%;
    animation-duration: 7s;
    animation-delay: 4s;
}
.particle:nth-child(8) {
    width: 5px; height: 5px;
    background: var(--primary-light);
    left: 15%; top: 90%;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100vh) translateX(60px) scale(0.5);
        opacity: 0;
    }
}

/* ---------- Geometric Shapes ---------- */
.geo-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.06);
    animation: geoFloat 20s ease-in-out infinite;
}

.geo-shape--1 {
    width: 80px; height: 80px;
    border-radius: 50%;
    top: 15%;
    left: 5%;
    border-color: rgba(255, 184, 0, 0.12);
    animation-delay: 0s;
}

.geo-shape--2 {
    width: 120px; height: 120px;
    top: 60%;
    right: 8%;
    transform: rotate(45deg);
    border-color: rgba(123, 63, 166, 0.15);
    animation-delay: 5s;
}

.geo-shape--3 {
    width: 60px; height: 60px;
    border-radius: 50%;
    bottom: 20%;
    left: 15%;
    border-color: rgba(255, 213, 79, 0.1);
    animation-delay: 10s;
}

.geo-shape--4 {
    width: 40px; height: 40px;
    top: 25%;
    right: 20%;
    transform: rotate(30deg);
    border-color: rgba(255, 255, 255, 0.08);
    animation-delay: 3s;
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(10px) rotate(-3deg); }
    75% { transform: translateY(-15px) rotate(8deg); }
}

/* ---------- Navbar ---------- */
.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.navbar-custom.scrolled {
    padding: 12px 0;
    background: #FFFFFF;
    box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.navbar-brand-custom:hover {
    transform: scale(1.02);
}

.navbar-logo {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    object-fit: contain;
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.03);
}

.navbar-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.navbar-title span {
    color: var(--primary);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-links a {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border-radius: 0px;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--primary);
    background: rgba(64, 30, 93, 0.04);
    border: 2px solid transparent;
    box-shadow: none;
    border-radius: var(--radius-sm);
}

.navbar-links a.active::after {
    display: none;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ---------- Main Content Wrapper ---------- */
.main-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 60px;
}

/* ---------- Hero Section ---------- */
.hero {
    text-align: center;
    max-width: 900px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: #000000;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ---------- Category Cards Grid ---------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ---------- Category Card ---------- */
.category-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: 40px 28px 36px;
    text-align: center;
    text-decoration: none;
    color: #000000;
    transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.25s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
}

.category-card::before {
    display: none;
}

.category-card::after {
    display: none;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(64, 30, 93, 0.12);
    background: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.category-card:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.category-card:hover .card-icon {
    transform: scale(1.05);
}

.category-card:hover .card-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Card Icon */
.card-icon {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.card-icon--board {
    background: #401E5D;
    color: #FFFFFF;
}

.card-icon--ncert {
    background: #27ae60;
    color: #FFFFFF;
}

.card-icon--pyq {
    background: #e67e22;
    color: #FFFFFF;
}

.card-icon--aits {
    background: #401E5D;
    color: #FFFFFF;
}

/* Card Content */
.card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: #000000;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.card-arrow {
    font-size: 1.2rem;
    color: var(--accent);
    opacity: 0;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

/* ---------- Logo (legacy support) ---------- */
.logo {
    width: auto;
    height: 200px;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(26, 14, 46, 0.5);
    backdrop-filter: blur(10px);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* ---------- Section Page Styles ---------- */
.section-page {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.section-page h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--white), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-page .section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-nav a:hover {
    color: var(--accent);
}

.breadcrumb-nav .separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-nav .current {
    color: var(--accent);
    font-weight: 600;
}

/* ---------- Sub Category Cards ---------- */
.sub-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}.sub-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: #000000;
    transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.25s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.sub-card::before {
    display: none;
}

.sub-card:hover {
    transform: translateY(-5px);
    border-color: rgba(64, 30, 93, 0.12);
    background: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.sub-card:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
}

.sub-card .sub-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.sub-card .sub-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: #000000;
}

.sub-card .sub-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 6px;
}

/* ---------- Back Button ---------- */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.2s cubic-bezier(0.19, 1, 0.22, 1);
    margin-top: 40px;
}

.back-btn:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(64, 30, 93, 0.1);
}

.back-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.02);
}

/* ---------- Legacy Test Card Support ---------- */
.test {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: var(--radius-md) !important;
    text-align: center;
    font-size: 1.3em;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.25s cubic-bezier(0.19, 1, 0.22, 1);
    min-width: 180px;
}

.test:hover {
    transform: translateY(-5px);
    border-color: rgba(64, 30, 93, 0.12) !important;
    background: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.test:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.02);
}

.test a {
    color: #000000 !important;
    font-weight: 900;
    text-transform: uppercase;
}

.test a:hover, .test a:focus, .test a:active {
    color: var(--primary) !important;
}
}

.test-name {
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-muted);
}

/* ---------- Hover Effects ---------- */
.hvr-fade {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    overflow: hidden;
    transition-duration: 0.3s;
    transition-property: color, background-color, transform;
}

.hvr-fade:hover, .hvr-fade:focus, .hvr-fade:active {
    background-color: var(--bg-card-hover);
    color: white;
    transform: translateY(-4px);
}

/* Overline From Center */
.hvr-overline-from-center {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    position: relative;
    overflow: hidden;
}

.hvr-overline-from-center:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    top: 0;
    background: var(--accent);
    height: 3px;
    border-radius: 0 0 2px 2px;
    transition-property: left, right;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.hvr-overline-from-center:hover:before,
.hvr-overline-from-center:focus:before,
.hvr-overline-from-center:active:before {
    left: 0;
    right: 0;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered card animation */
.categories-grid .category-card:nth-child(1) { animation-delay: 0.1s; }
.categories-grid .category-card:nth-child(2) { animation-delay: 0.2s; }
.categories-grid .category-card:nth-child(3) { animation-delay: 0.3s; }
.categories-grid .category-card:nth-child(4) { animation-delay: 0.4s; }

.sub-categories .sub-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.sub-categories .sub-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.sub-categories .sub-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.sub-categories .sub-card:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .navbar-links {
        display: flex !important;
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        background: #FFFFFF;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 24px;
        padding: 100px 32px 40px;
        box-shadow: 10px 0px 40px rgba(0, 0, 0, 0.4);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .navbar-links.open {
        transform: translateX(300px);
    }
    
    .navbar-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-links.open li {
        opacity: 1;
        transform: translateX(0);
    }

    .navbar-links.open li:nth-child(1) { transition-delay: 0.1s; }
    .navbar-links.open li:nth-child(2) { transition-delay: 0.15s; }
    .navbar-links.open li:nth-child(3) { transition-delay: 0.2s; }
    .navbar-links.open li:nth-child(4) { transition-delay: 0.25s; }
    .navbar-links.open li:nth-child(5) { transition-delay: 0.3s; }

    .navbar-links a {
        display: block;
        font-size: 1.3rem !important;
        padding: 10px 0;
        width: 100%;
        text-align: left;
    }

    .navbar-links a::after {
        display: none !important;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--accent);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: var(--accent);
    }

    .hero h1 {
        font-size: 2.2rem;
        padding: 0 12px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 12px;
    }

    .sub-categories {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 12px;
    }

    .category-card {
        padding: 24px 16px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .main-content {
        padding: 16px 12px 40px;
    }

    .breadcrumb-nav {
        padding: 0 12px 16px;
    }

    .section-desc {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .sub-categories {
        grid-template-columns: 1fr;
    }

    .navbar-title {
        font-size: 1rem;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(255, 184, 0, 0.3);
    color: var(--white);
}

/* ---------- Form & Select Styling ---------- */
.form-container {
    max-width: 500px;
    margin: 40px auto;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.form-container:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control-custom {
    width: 100%;
    background: rgba(26, 14, 46, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--white);
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFB800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-control-custom:focus {
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.form-control-custom option {
    background: var(--bg-dark);
    color: var(--white);
}

.btn-primary-custom {
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, #E6A100 100%);
    color: var(--bg-dark);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.5);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

.btn-primary-custom:active {
    transform: translateY(-1px);
}

.info-note {
    max-width: 500px;
    margin: 30px auto 0;
    background: rgba(255, 184, 0, 0.05);
    border-left: 4px solid var(--accent);
    padding: 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-align: left;
}

.info-note h4 {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.info-note p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}