/* ==========================================================================
   TalentKart - Master Ultra-Premium Design System & Luxury Cyber Red Aesthetics
   Inspired by: Apple, Stripe, Linear, Vercel, Framer & Notion
   Theme: Matte Black (#050505), Deep Charcoal (#0F0F0F), Electric Crimson (#FF1744), Deep Red (#C70039)
   ========================================================================== */

:root, html[data-theme="dark"] {
    /* Color System - Dark Mode (Default Obsidian Slate & Glowing Crimson) */
    --bg-matte-black: #050505;
    --bg-secondary: #0A0A0F;
    --bg-surface: #121218;
    --bg-card: rgba(15, 15, 22, 0.75);
    --bg-card-hover: rgba(25, 20, 28, 0.88);
    --bg-glass-input: rgba(18, 18, 26, 0.85);
    --bg-modal: #0B0B10;
    
    --border-color: rgba(255, 23, 68, 0.22);
    --border-glow: rgba(255, 23, 68, 0.6);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --accent-red: #C70039;
    --hover-red: #FF1744;
    --glow-red: rgba(255, 23, 68, 0.45);
    --glow-bright-red: rgba(255, 23, 68, 0.7);

    --accent-gold: #fbbf24;
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;

    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    /* Typography */
    --font-heading: 'Outfit', 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* Shadows & Effects */
    --shadow-red-glow: 0 0 35px rgba(255, 23, 68, 0.35);
    --shadow-bright-glow: 0 0 45px rgba(255, 23, 68, 0.55);
    --shadow-glass: 0 16px 48px -8px rgba(0, 0, 0, 0.85);
    --glass-backdrop: blur(20px);

    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[data-theme="light"] {
    /* Color System - Light Mode (Clean Slate & Warm Paper) */
    --bg-matte-black: #F8FAFC;
    --bg-secondary: #EDF2F7;
    --bg-surface: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #FFFFFF;
    --bg-glass-input: #FFFFFF;
    --bg-modal: #FFFFFF;
    
    --border-color: rgba(217, 4, 41, 0.22);
    --border-glow: rgba(217, 4, 41, 0.45);
    --border-subtle: rgba(15, 23, 42, 0.12);

    --accent-red: #D90429;
    --hover-red: #EF233C;
    --glow-red: rgba(217, 4, 41, 0.2);
    --glow-bright-red: rgba(217, 4, 41, 0.35);

    --accent-gold: #D97706;
    --accent-emerald: #059669;
    --accent-cyan: #0891B2;
    --accent-purple: #7C3AED;

    --text-main: #0F172A;
    --text-muted: #334155;
    --text-dim: #64748B;

    --shadow-red-glow: 0 4px 20px rgba(217, 4, 41, 0.18);
    --shadow-bright-glow: 0 8px 30px rgba(217, 4, 41, 0.25);
    --shadow-glass: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

/* Reset & Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-matte-black);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--bg-matte-black);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-matte-black);
}
::-webkit-scrollbar-thumb {
    background: #1e1e24;
    border-radius: 4px;
    border: 1px solid rgba(255, 23, 68, 0.25);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--hover-red);
}

/* Interactive Cursor Spotlight Follower */
#mouse-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    margin-top: -300px;
    background: radial-gradient(circle, rgba(255, 23, 68, 0.12) 0%, rgba(199, 0, 57, 0.04) 40%, rgba(5, 5, 5, 0) 70%);
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
    transition: transform 0.08s ease-out;
    mix-blend-mode: screen;
}

/* Ambient Canvas Overlay */
#ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.app-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography & Neon Gradients */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.gradient-text-red {
    background: linear-gradient(135deg, #FFFFFF 0%, #FF1744 45%, #C70039 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-silver {
    background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 60%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-mono {
    font-family: var(--font-mono);
}

.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-red { color: var(--hover-red); }
.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }
.font-sm { font-size: 0.875rem; }
.text-center { text-align: center; }

/* Ultra-Luxury Glassmorphism Cards with 3D Depth */
.glass-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.contact-card {
    padding: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.modal-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modal-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 23, 68, 0.08), transparent);
    transition: 0.6s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-red-glow), var(--shadow-glass);
}

/* 3D Tilt Card Container */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Buttons System */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    min-height: 46px;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--hover-red) 100%);
    color: #ffffff;
    box-shadow: 0 6px 25px var(--glow-red);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--hover-red) 0%, #D50000 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-bright-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 23, 68, 0.16);
    border-color: var(--hover-red);
    color: #fff;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--hover-red);
    background: rgba(255, 23, 68, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

.btn-emerald {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
}
.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-rose {
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
    color: #ffffff;
}
.btn-rose:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.45);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    border-radius: 10px;
    min-height: 38px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-red {
    background: rgba(255, 23, 68, 0.16);
    color: #FF4D6D;
    border: 1px solid var(--border-color);
}

.badge-emerald {
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-amber {
    background: rgba(245, 158, 11, 0.16);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-cyan {
    background: rgba(6, 182, 212, 0.16);
    color: #67E8F9;
    border: 1px solid rgba(6, 182, 212, 0.35);
}

/* HEADER & NAVBAR */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 6, 12, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 46, 85, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

.app-wrapper {
    padding-top: 85px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--hover-red) 0%, var(--accent-red) 50%, #600018 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-red-glow);
    animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 23, 68, 0.4); }
    50% { box-shadow: 0 0 35px rgba(255, 23, 68, 0.8); }
}

.logo-text span {
    color: var(--hover-red);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    word-break: keep-all;
    display: inline-block;
    padding: 6px 0;
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    color: var(--hover-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* Role Switcher Pill */
.role-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3px;
    gap: 2px;
    white-space: nowrap;
}

.role-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.role-btn.active {
    background: var(--hover-red);
    color: #fff;
    box-shadow: 0 4px 15px var(--glow-red);
}

/* Modern Light / Dark Theme Switcher Button */
.theme-toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.9rem;
    border-radius: 30px;
    background: var(--bg-glass-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    white-space: nowrap;
}

.theme-toggle-btn:hover {
    border-color: var(--hover-red);
    box-shadow: 0 4px 15px var(--glow-red);
    transform: translateY(-1px);
}

.theme-toggle-btn .sun-icon {
    display: none;
    color: #F59E0B;
    width: 16px;
    height: 16px;
}

.theme-toggle-btn .moon-icon {
    display: inline-block;
    color: #A855F7;
    width: 16px;
    height: 16px;
}

.theme-toggle-btn.is-light .sun-icon {
    display: inline-block;
}

.theme-toggle-btn.is-light .moon-icon {
    display: none;
}

/* Light Mode Specific Component Polish & Visual Prominence */
html[data-theme="light"] body {
    background-color: var(--bg-matte-black);
    color: var(--text-main);
}

html[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 4, 41, 0.18);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .brand-logo {
    color: #0F172A;
}

html[data-theme="light"] .role-switcher {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .hero-search-box {
    background: #FFFFFF;
    border: 1px solid rgba(217, 4, 41, 0.22);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .search-field-group {
    background: #F8FAFC;
    border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .search-field-group select option {
    background: #FFFFFF;
    color: #0F172A;
}

html[data-theme="light"] .marquee-container {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .marquee-brand {
    color: #475569;
}

html[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .glass-card:hover {
    border-color: var(--hover-red);
    box-shadow: 0 12px 35px rgba(217, 4, 41, 0.18);
}

html[data-theme="light"] .pdf-3d-book.main-book {
    box-shadow: -15px 20px 40px rgba(15, 23, 42, 0.25), 0 0 25px rgba(217, 4, 41, 0.2);
}

html[data-theme="light"] .mobile-drawer {
    background: #FFFFFF;
    border-left: 1px solid rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .modal-container {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

html[data-theme="light"] .modal-close-btn, html[data-theme="light"] .modal-close {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

html[data-theme="light"] .form-control, html[data-theme="light"] .form-select-sm {
    background: #F8FAFC;
    border-color: rgba(15, 23, 42, 0.15);
    color: #0F172A;
}

html[data-theme="light"] .admin-data-table th, html[data-theme="light"] .admin-table th {
    background: rgba(217, 4, 41, 0.08);
    color: #0F172A;
}

html[data-theme="light"] .admin-data-table td, html[data-theme="light"] .admin-table td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #334155;
}

html[data-theme="light"] .site-footer {
    background: #F1F5F9;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .footer-newsletter-card {
    background: #FFFFFF;
    border-color: rgba(217, 4, 41, 0.25);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .footer-newsletter-input {
    background: #F8FAFC;
    border-color: rgba(15, 23, 42, 0.15);
    color: #0F172A;
}

html[data-theme="light"] .gradient-text-red {
    background: linear-gradient(135deg, #0F172A 0%, #D90429 55%, #9B001C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .gradient-text-silver {
    background: linear-gradient(135deg, #0F172A 0%, #334155 60%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .nav-link {
    color: #334155;
}

html[data-theme="light"] .nav-link:hover, html[data-theme="light"] .nav-link.active {
    color: var(--hover-red);
}

html[data-theme="light"] .role-btn {
    color: #475569;
}

html[data-theme="light"] .floating-stat-card {
    background: #FFFFFF;
    border-color: rgba(217, 4, 41, 0.25);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 0 15px rgba(217, 4, 41, 0.15);
}

html[data-theme="light"] .floating-stat-card strong, html[data-theme="light"] .floating-stat-card span {
    color: #0F172A !important;
}

html[data-theme="light"] .price-tag {
    color: #0F172A;
}

html[data-theme="light"] .section-heading, html[data-theme="light"] .section-subtitle {
    color: #0F172A;
}

html[data-theme="light"] .tracker-card {
    background: #FFFFFF;
    border: 1px solid rgba(217, 4, 41, 0.22);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .company-logo-placeholder {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-color: rgba(217, 4, 41, 0.3);
    color: var(--hover-red);
}

html[data-theme="light"] .job-tag {
    background: #F1F5F9;
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

html[data-theme="light"] .footer-column-title {
    color: #0F172A;
}

html[data-theme="light"] .footer-link-item a, html[data-theme="light"] .footer-link-item button, html[data-theme="light"] .footer-legal-link {
    color: #475569;
}

html[data-theme="light"] .footer-link-item a:hover, html[data-theme="light"] .footer-link-item button:hover, html[data-theme="light"] .footer-legal-link:hover {
    color: var(--hover-red);
}

/* Mobile Hamburger Button */
.hamburger-btn {
    display: none;
    background: rgba(255, 23, 68, 0.14);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Sliding Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(24px);
    z-index: 1000;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-color);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-list a {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HERO SECTION */
.hero-section {
    padding: 5.5rem 0 4rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 23, 68, 0.12);
    border: 1px solid var(--border-color);
    padding: 7px 18px;
    border-radius: 30px;
    color: #FF4D6D;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.2);
}

.hero-badge-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--hover-red);
    box-shadow: 0 0 12px var(--hover-red);
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
    max-width: 630px;
    line-height: 1.65;
}

/* Multi-Filter Search Bar */
.hero-search-box {
    padding: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    border-radius: 22px;
    background: rgba(12, 12, 18, 0.95);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-bright-glow);
}

.search-field-group {
    flex: 1;
    min-width: 170px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-glass-input);
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.search-field-group:focus-within {
    border-color: var(--hover-red);
    box-shadow: 0 0 15px var(--glow-red);
}

.search-field-group svg, .search-field-group i {
    color: var(--hover-red);
    flex-shrink: 0;
}

.search-field-group input,
.search-field-group select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.search-field-group select option {
    background: #0B0B10;
    color: #ffffff;
}

/* ENTERPRISE MARQUEE TICKER */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(10, 10, 15, 0.5);
    margin: 2rem 0;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 3.5rem;
    animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.marquee-brand:hover {
    opacity: 1;
    color: #fff;
    transform: scale(1.08);
}

/* Floating Stat Badges */
/* 3D PDF BOOK SHOWCASE */
.hero-visual-container {
    position: relative;
    width: 100%;
}

.hero-pdf-showcase {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-3d-book {
    position: absolute;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.pdf-3d-book.main-book {
    width: 280px;
    height: 380px;
    z-index: 5;
    transform: rotateY(-14deg) rotateX(8deg) translateZ(30px);
    box-shadow: -20px 25px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 23, 68, 0.3);
    border: 1px solid var(--border-glow);
    animation: bookFloat 4s ease-in-out infinite alternate;
}

.pdf-3d-book.main-book:hover {
    transform: rotateY(0deg) rotateX(0deg) translateZ(60px) scale(1.05);
    box-shadow: 0 30px 60px rgba(255, 23, 68, 0.5);
}

.pdf-3d-book.secondary-book {
    width: 220px;
    height: 300px;
    right: 15px;
    top: 30px;
    z-index: 3;
    transform: rotateY(-22deg) rotateX(12deg) translateZ(-40px);
    box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.7);
    opacity: 0.88;
    filter: brightness(0.88);
    animation: bookFloat 5s ease-in-out infinite alternate-reverse;
}

.pdf-3d-book.secondary-book:hover {
    opacity: 1;
    filter: brightness(1);
    transform: rotateY(-10deg) translateZ(40px);
    z-index: 6;
}

.pdf-3d-book.tertiary-book {
    width: 200px;
    height: 270px;
    left: 15px;
    bottom: 40px;
    z-index: 2;
    transform: rotateY(18deg) rotateX(10deg) translateZ(-60px);
    box-shadow: 15px 20px 40px rgba(0, 0, 0, 0.7);
    opacity: 0.82;
    filter: brightness(0.82);
    animation: bookFloat 4.5s ease-in-out 0.5s infinite alternate;
}

.pdf-3d-book.tertiary-book:hover {
    opacity: 1;
    filter: brightness(1);
    transform: rotateY(0deg) translateZ(40px);
    z-index: 6;
}

@keyframes bookFloat {
    0% { transform: rotateY(-14deg) rotateX(8deg) translateY(0px) translateZ(30px); }
    100% { transform: rotateY(-10deg) rotateX(6deg) translateY(-14px) translateZ(40px); }
}

.book-cover {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0d0b12;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 23, 68, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(5,5,10,0.95) 80%);
    padding: 1.25rem 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.book-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.98rem;
    color: #ffffff;
    line-height: 1.3;
}

.book-author {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.book-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.book-rating {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
}

.book-price {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hover-red);
}

.book-overlay-mini {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 6, 12, 0.9);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #fff;
}

.laser-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF1744, #fff, #FF1744, transparent);
    box-shadow: 0 0 15px #FF1744, 0 0 25px #FF1744;
    animation: scanAnimation 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes scanAnimation {
    0% { top: 0%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.floating-stat-card {
    position: absolute;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    background: rgba(12, 10, 18, 0.92);
    border: 1px solid var(--border-glow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--shadow-red-glow);
}

.floating-stat-card.card-1 {
    bottom: -15px;
    left: -20px;
}

.floating-stat-card.card-2 {
    top: -15px;
    right: -15px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.stat-icon.red { background: rgba(255, 23, 68, 0.2); color: var(--hover-red); }
.stat-icon.emerald { background: rgba(16, 185, 129, 0.2); color: var(--accent-emerald); }

/* SECTION PADDING & HEADERS */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.25rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 23, 68, 0.12);
    border: 1px solid var(--border-color);
    color: #FF4D6D;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.85rem;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.15);
}

.section-heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 0.65rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* CATEGORIES GRID */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
}

.category-card {
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 23, 68, 0.15);
    color: var(--hover-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition-bounce);
}

.category-card:hover .category-icon {
    background: var(--hover-red);
    color: #ffffff;
    transform: scale(1.1) rotate(-4deg);
    box-shadow: var(--shadow-bright-glow);
}

/* JOB BOARD & FILTER PILLS */
.jobs-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 9px 22px;
    border-radius: 30px;
    background: var(--bg-glass-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
    background: var(--hover-red);
    color: #ffffff;
    border-color: var(--hover-red);
    box-shadow: 0 4px 18px var(--glow-red);
    transform: translateY(-2px);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.job-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.company-logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1A080C 0%, #300A12 100%);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--hover-red);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.job-title {
    font-size: 1.22rem;
    margin-bottom: 3px;
    color: var(--text-main);
}

.company-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.job-details-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 1.15rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.job-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.job-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.salary-val {
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--hover-red);
    font-size: 1.05rem;
}

/* ATS TRACKER */
.tracker-card {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 12, 18, 0.95) 0%, rgba(28, 8, 14, 0.9) 100%);
}

.tracker-input-group {
    max-width: 580px;
    margin: 2rem auto 0;
    display: flex;
    gap: 12px;
    width: 100%;
}

.tracker-input-group input {
    flex: 1;
    padding: 0.85rem 1.35rem;
    border-radius: 14px;
    background: var(--bg-glass-input);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
}

/* SERVICES & PRICING */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
}

.service-card {
    padding: 2rem;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 23, 68, 0.16);
    color: var(--hover-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
}

.pricing-card {
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured-plan {
    border-color: var(--hover-red);
    box-shadow: var(--shadow-bright-glow);
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 1rem 0;
}

/* MODALS SYSTEM */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 1.5rem;
}

.modal-overlay.modal-active, .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem;
    position: relative;
    box-shadow: var(--shadow-glass), var(--shadow-bright-glow);
}

.modal-container-xl {
    max-width: 1150px;
}

.modal-close-btn, .modal-close {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover, .modal-close:hover {
    background: rgba(255, 23, 68, 0.25);
    color: #fff;
}

/* FORMS */
.form-group {
    margin-bottom: 1.35rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.form-control, .form-select-sm {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: var(--bg-glass-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.98rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--hover-red);
    box-shadow: 0 0 15px var(--glow-red);
}

/* ADMIN CRM STYLES */
.admin-stats-row, .admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.35rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    padding: 1.35rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-table-wrapper, .table-responsive {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.admin-data-table, .admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.admin-data-table th, .admin-table th {
    background: rgba(255, 23, 68, 0.12);
    color: var(--text-main);
    padding: 1rem 1.15rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-color);
}

.admin-data-table td, .admin-table td {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.admin-data-table tr:hover, .admin-table tr:hover {
    background: rgba(255, 23, 68, 0.05);
}

/* TOAST CONTAINERS */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: rgba(12, 12, 18, 0.98);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-bright-glow);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.35s ease;
}

.toast-success { border-color: rgba(16, 185, 129, 0.6); color: #34D399; }
.toast-error { border-color: rgba(244, 63, 94, 0.6); color: #FDA4AF; }
.toast-info { border-color: var(--border-glow); color: #FF4D6D; }

/* MASTER FOOTER STYLES */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    position: relative;
    padding: 4rem 0 2rem;
    overflow: hidden;
    color: var(--text-main);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,46,85,0) 0%, rgba(255,46,85,0.6) 50%, rgba(255,46,85,0) 100%);
}

.footer-newsletter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    margin-bottom: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-glass);
}

.footer-newsletter-content {
    flex: 1;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
    min-width: 360px;
}

.footer-newsletter-input {
    flex: 1;
    background: var(--bg-glass-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1.15rem;
    color: var(--text-main);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-fast);
}

.footer-newsletter-input:focus {
    border-color: var(--hover-red);
    box-shadow: 0 0 12px var(--glow-red);
}

.footer-grid-5 {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-column-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-link-item a, .footer-link-item button {
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition-fast);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-link-item a:hover, .footer-link-item button:hover {
    color: var(--hover-red);
    transform: translateX(4px);
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.25rem;
}

.footer-trust-pill {
    background: rgba(255, 23, 68, 0.08);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-legal-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    background: none;
    border: none;
    padding: 0;
}

.footer-legal-link:hover {
    color: var(--hover-red);
    text-decoration: underline;
}

.footer-payment-badges {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 700;
}

/* RESPONSIVE DESIGN & MOBILE OPTIMIZATION SYSTEM */
html, body, .app-wrapper {
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (max-width: 992px) {
    .site-header {
        padding: 0.65rem 0;
    }

    .nav-menu {
        display: none;
    }

    .role-switcher {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .hero-section {
        padding: 4.5rem 0 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-badge {
        margin: 0 auto 1.25rem;
        font-size: 0.8rem;
        white-space: normal;
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 6.5vw, 3.25rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        margin: 0 auto 1.75rem;
        font-size: 1rem;
    }

    .hero-visual-container {
        display: block !important;
        margin-top: 1.5rem;
        width: 100%;
    }

    .hero-pdf-showcase {
        height: 340px;
        perspective: 900px;
    }

    .pdf-3d-book.main-book {
        width: 220px;
        height: 300px;
        transform: rotateY(-10deg) rotateX(4deg) translateZ(10px);
    }

    .pdf-3d-book.secondary-book {
        width: 170px;
        height: 230px;
        right: 10px;
        top: 20px;
    }

    .pdf-3d-book.tertiary-book {
        display: none;
    }

    .floating-stat-card {
        padding: 0.6rem 0.9rem;
        font-size: 0.78rem;
    }
    
    .floating-stat-card.card-1 {
        left: 0;
        bottom: -10px;
    }

    .floating-stat-card.card-2 {
        right: 0;
        top: -10px;
    }

    .contact-card {
        padding: 1.5rem 1.15rem !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    .modal-grid-2, .modal-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .footer-newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
    }
    .footer-newsletter-form {
        flex-direction: column;
        width: 100%;
        min-width: unset;
        gap: 10px;
    }
    .footer-newsletter-input, .footer-newsletter-form button {
        width: 100%;
    }
    .footer-grid-5 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3.25rem 0;
    }

    .section-heading {
        font-size: 1.85rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .admin-stats-grid .glass-card {
        padding: 1.15rem 0.85rem !important;
    }

    .admin-stats-grid h2 {
        font-size: 1.85rem !important;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .category-card {
        padding: 1.25rem 1rem !important;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .job-card {
        padding: 1.25rem;
    }

    .filter-pills {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .filter-pill {
        padding: 7px 16px;
        font-size: 0.82rem;
        flex-shrink: 0;
    }

    .tracker-card {
        padding: 2rem 1.25rem;
    }

    .tracker-input-group {
        flex-direction: column;
        width: 100%;
    }

    .tracker-input-group input, .tracker-input-group button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-grid-5 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        font-size: 1.25rem;
    }

    .logo-badge {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .theme-toggle-btn {
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-search-box {
        padding: 0.85rem;
        gap: 8px;
        border-radius: 18px;
    }

    .search-field-group {
        width: 100%;
        padding: 0.75rem 0.9rem;
    }

    #hero-search-submit-btn {
        width: 100%;
        min-height: 46px;
        font-size: 0.95rem;
    }

    .modal-container {
        padding: 1.35rem 1rem;
        max-width: 95%;
        border-radius: 18px;
    }

    .modal-close-btn, .modal-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 32px;
        height: 32px;
    }
}

