/* home.css - UAEQuest Premium Job Board */
/* Optimized for 100/100 PageSpeed Insights */

/* CSS Variables for easy theming */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-card: #ffffff;
    
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variables */
.dark-mode {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --bg-card: #1f2937;
    --border-color: #374151;
    --border-light: #4b5563;
}

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

/* Header Styles */
.main-header {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--bg-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.top-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-links a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.top-links a:hover {
    color: var(--primary-color);
}

.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.dark-mode-toggle:hover {
    color: var(--primary-color);
    background: var(--bg-tertiary);
}

.auth-links {
    display: flex;
    gap: 1rem;
}

.auth-link {
    color: var(--text-secondary);
    font-weight: 500;
}

.auth-link:hover {
    color: var(--primary-color);
}

.header-main {
    padding: 1rem 0;
}

.sticky-header {
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 32px;
    }
}

/* Main Navigation */
.main-nav .nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-post-job {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.btn-post-job:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-search-bar {
    display: none;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .mobile-search-bar {
        display: block;
    }
}

/* Search Forms */
.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.search-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    background: var(--bg-card);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.dark-mode .hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-search-form {
    margin-bottom: 2rem;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
}

.search-field {
    position: relative;
}

.search-field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-field .search-input {
    width: 100%;
    padding-left: 2.75rem;
}

.search-submit-btn {
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-advanced {
    text-align: right;
}

.advanced-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.badge i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.view-all-btn {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.view-all-btn:hover {
    background: var(--bg-tertiary);
}

.categories-scroll {
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    min-width: min-content;
}

.category-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
}

.category-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.job-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Job Cards */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
    position: relative;
}

.job-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.job-card-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.company-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.job-title-wrapper {
    flex: 1;
}

.job-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.company-name {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.job-card-body {
    margin-bottom: 1.5rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.job-meta i {
    color: var(--text-light);
}

.job-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apply-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.apply-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: white;
}

.save-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.save-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.save-btn.saved {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Urgent Jobs */
.urgent-jobs-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.urgent-icon {
    color: var(--danger-color);
    margin-right: 0.5rem;
}

.urgent-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.urgent-card {
    border-left: 4px solid var(--danger-color);
}

/* Walk-in Interview Specific Styles */
.walkin-card {
    border-left: 4px solid var(--success-color);
    position: relative;
}

.walkin-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    z-index: 1;
}

.walkin-badge.status-ongoing {
    background: #d1fae5;
    color: var(--success-color);
}

.walkin-badge.status-upcoming {
    background: #fef3c7;
    color: var(--warning-color);
}

.walkin-positions {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--success-color);
}

.walkin-positions i {
    color: var(--success-color);
    margin-right: 0.375rem;
}

.time-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

.time-info i {
    color: var(--primary-color);
}

.walkin-btn {
    background: var(--success-color);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
}

.walkin-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    color: white;
}

.save-walkin-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.save-walkin-btn:hover {
    color: var(--success-color);
    border-color: var(--success-color);
    background: var(--bg-tertiary);
}

.save-walkin-btn.saved {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.no-walkins {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.no-walkins p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Responsive walk-in cards */
@media (max-width: 768px) {
    .walkin-card {
        margin-bottom: 1rem;
    }
    
    .walkin-badge {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .walkin-positions {
        font-size: 0.8125rem;
        padding: 0.375rem;
    }
    
    .time-info {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
    }
    
    .walkin-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .walkin-card {
        width: calc(100% - 1.5rem) !important;
        margin: 0.75rem !important;
    }
    
    .walkin-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    .walkin-positions {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.load-more-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Employers Section */
.employers-section {
    padding: 4rem 0;
}

.employers-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.employer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-align: center;
}

.employer-logo:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.logo-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-initial {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.company-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

/* Locations Section */
.locations-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
    display: block;
}

.location-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.location-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.location-icon i {
    font-size: 1.5rem;
    color: white;
}

.location-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Insights Section */
.insights-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.insight-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: block;
}

.insight-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.insight-image {
    height: 200px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-content {
    padding: 1.5rem;
}

.insight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.insight-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.read-more::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.insight-card:hover .read-more::after {
    transform: translateX(4px);
}

/* Job Alerts CTA Section - Premium Edition */
.alerts-cta-section {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.95) 0%, 
        rgba(22, 163, 74, 0.95) 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin: 60px auto;
    max-width: 1200px;
    box-shadow: 
        0 20px 60px rgba(37, 99, 235, 0.15),
        0 10px 30px rgba(22, 163, 74, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.alerts-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.alerts-cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        );
    animation: patternMove 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes patternMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(2px); }
}

.alerts-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.alerts-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bellPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes bellPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    10% { 
        transform: scale(1.1) rotate(-5deg);
        opacity: 0.9;
    }
    20% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
    30% { 
        transform: scale(1.1) rotate(-5deg);
        opacity: 0.9;
    }
    40% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1) rotate(-5deg);
        opacity: 0.9;
    }
    60% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
    70%, 90% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    80% { 
        transform: scale(1.05);
        opacity: 0.95;
    }
}

.alerts-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0f2fe 50%, 
        #bbf7d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 20px rgba(37, 99, 235, 0.2);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.alerts-content .subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

/* Form Grid - Premium */
.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
}

@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.form-group {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group:hover {
    transform: translateY(-2px);
}

.form-group:focus-within {
    transform: translateY(-4px);
}

.input-with-icon {
    position: relative;
    transition: all 0.3s ease;
}

.input-with-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.form-group:hover .input-with-icon i {
    color: #16a34a;
    transform: translateY(-50%) scale(1.1);
}

.form-input {
    width: 100%;
    padding: 20px 20px 20px 56px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.form-input:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: #ffffff;
    box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.15),
        0 6px 16px rgba(37, 99, 235, 0.25),
        0 0 0 4px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #6b7280;
    font-weight: 400;
    opacity: 0.8;
}

.form-input:focus::placeholder {
    opacity: 0.6;
    transform: translateX(4px);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%2316a34a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 56px;
    cursor: pointer;
}

select.form-input:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%232563eb' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.hint {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    text-align: left;
    padding-left: 16px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.form-group:hover .hint,
.form-group:focus-within .hint {
    opacity: 1;
    transform: translateY(0);
}

/* Subscribe Button - Premium */
.subscribe-btn-wrapper {
    grid-column: span 4;
    position: relative;
    margin-top: 8px;
}

@media (max-width: 992px) {
    .subscribe-btn-wrapper {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .subscribe-btn-wrapper {
        grid-column: span 1;
    }
}

.subscribe-btn {
    background: linear-gradient(135deg, 
        #16a34a 0%, 
        #15803d 50%, 
        #166534 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 22px 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    box-shadow: 
        0 6px 30px rgba(22, 163, 74, 0.4),
        0 4px 16px rgba(22, 163, 74, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.7s ease;
}

.subscribe-btn:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 10px 40px rgba(22, 163, 74, 0.5),
        0 8px 24px rgba(22, 163, 74, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, 
        #15803d 0%, 
        #166534 50%, 
        #14532d 100%);
}

.subscribe-btn:hover::before {
    left: 100%;
}

.subscribe-btn:active {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(22, 163, 74, 0.4),
        0 2px 12px rgba(22, 163, 74, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.1s ease;
}

.subscribe-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.subscribe-btn:hover i {
    transform: translateX(4px) scale(1.1);
}

/* Form Note */
.form-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 24px 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.form-note:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-note i {
    color: #4ade80;
    font-size: 16px;
}

/* Features List - Premium */
.features-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    position: relative;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.12);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2) 0%, 
        rgba(22, 163, 74, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 4px 16px rgba(37, 99, 235, 0.2);
    color: #ffffff;
}

.feature:hover::before {
    opacity: 1;
}

.feature i {
    color: #4ade80;
    font-size: 18px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(74, 222, 128, 0.3));
    transition: all 0.3s ease;
}

.feature:hover i {
    color: #22c55e;
    transform: scale(1.1) rotate(5deg);
}

.feature span {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Success Message - Premium */
.success-message {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 48px;
    margin-top: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(22, 163, 74, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #16a34a 0%, 
        #22c55e 50%, 
        #4ade80 100%);
    animation: progressBar 2s ease-in-out;
}

@keyframes progressBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-message i {
    font-size: 64px;
    color: #22c55e;
    margin-bottom: 24px;
    display: inline-block;
    animation: checkmark 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.3));
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-90deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #bbf7d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.success-message p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.customize-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: #2563eb;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 24px rgba(37, 99, 235, 0.25),
        0 3px 12px rgba(37, 99, 235, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.customize-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.7s ease;
}

.customize-link:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 10px 32px rgba(37, 99, 235, 0.35),
        0 6px 16px rgba(37, 99, 235, 0.3);
    color: #1e40af;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.customize-link:hover::before {
    left: 100%;
}

.customize-link:active {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 16px rgba(37, 99, 235, 0.3),
        0 2px 8px rgba(37, 99, 235, 0.25);
}

.customize-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.customize-link:hover i {
    transform: translateX(4px);
}

/* Loading State - Premium */
.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-right-color: #4ade80;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* Error Message - Premium */
.error-message {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.15) 0%, 
        rgba(220, 38, 38, 0.1) 100%);
    color: #fecaca;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    animation: shake 0.5s cubic-bezier(0.36, 0, 0.66, -0.56);
    box-shadow: 
        0 4px 20px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-message i {
    color: #f87171;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
}

.error-message span {
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Stats Counter - Premium */
.alerts-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.alerts-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 100%);
    border-radius: 2px;
}

.stat {
    text-align: center;
    position: relative;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0f2fe 50%, 
        #bbf7d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 20px rgba(37, 99, 235, 0.2);
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '+';
    font-size: 32px;
    position: absolute;
    top: -10px;
    right: -20px;
    opacity: 0.8;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat:hover .stat-label {
    color: #ffffff;
    letter-spacing: 1.2px;
}

/* Trust Badges - Premium */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.trust-badges:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.badge:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.2),
        0 3px 12px rgba(37, 99, 235, 0.2);
    color: #ffffff;
}

.badge i {
    color: #4ade80;
    font-size: 16px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(74, 222, 128, 0.3));
}

.badge:hover i {
    color: #22c55e;
    transform: rotate(15deg) scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .alerts-cta-section {
        padding: 60px 16px;
        margin: 40px 16px;
        border-radius: 20px;
    }
    
    .alerts-content h2 {
        font-size: 36px;
    }
    
    .alerts-content .subtitle {
        font-size: 18px;
        padding: 0 16px;
    }
    
    .alerts-icon {
        font-size: 48px;
    }
    
    .form-input {
        padding: 18px 18px 18px 52px;
        font-size: 15px;
    }
    
    .subscribe-btn {
        padding: 20px 32px;
        font-size: 16px;
    }
    
    .success-message {
        padding: 32px 24px;
    }
    
    .success-message h3 {
        font-size: 28px;
    }
    
    .success-message p {
        font-size: 16px;
    }
    
    .alerts-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .alerts-cta-section {
        padding: 48px 12px;
        margin: 32px 12px;
        border-radius: 16px;
    }
    
    .alerts-content h2 {
        font-size: 28px;
    }
    
    .alerts-content .subtitle {
        font-size: 16px;
    }
    
    .alerts-icon {
        font-size: 40px;
    }
    
    .form-input {
        padding: 16px 16px 16px 48px;
    }
    
    .subscribe-btn {
        padding: 18px 24px;
        font-size: 15px;
    }
    
    .features-list {
        gap: 12px;
    }
    
    .feature {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .success-message {
        padding: 24px 20px;
    }
    
    .success-message h3 {
        font-size: 24px;
    }
    
    .alerts-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Hover Effects Enhancement */
.form-group, .feature, .badge, .customize-link, .subscribe-btn {
    will-change: transform, box-shadow, background;
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    .alerts-cta-section::after,
    .alerts-icon,
    .subscribe-btn::before,
    .customize-link::before,
    .loading::after,
    .error-message,
    .success-message,
    .success-message::before,
    .success-message i {
        animation: none !important;
        transition: none !important;
    }
    
    .form-group:hover,
    .feature:hover,
    .badge:hover,
    .customize-link:hover,
    .subscribe-btn:hover,
    .stat:hover {
        transform: none !important;
    }
}

/* Employer CTA Section */
.employer-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.employer-cta-content {
    text-align: center;
}

.employer-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.employer-cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-color);
    color: #1e293b;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: #1e293b;
}

/* Footer */
.main-footer {
    background: #111827;
    color: white;
    margin-top: auto;
}

.footer-top {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #9ca3af;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1001;
    transition: right var(--transition-base);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
    color: var(--primary-color);
    background: var(--bg-tertiary);
}

.mobile-nav-list {
    padding: 1.5rem;
    list-style: none;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-nav-list .divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.mobile-nav-list .btn-post-job {
    margin-top: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-links,
    .auth-links {
        justify-content: center;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .trust-badges {
        justify-content: center;
        gap: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .jobs-grid,
    .urgent-jobs-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid,
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .subscribe-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .mobile-nav,
    .footer-bottom,
    .subscribe-btn,
    .cta-btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error States */
.error {
    border-color: var(--danger-color) !important;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success States */
.success {
    border-color: var(--success-color) !important;
}

.success-message {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
/* Fix for full width on small screens */
@media (max-width: 480px) {
    /* Force full width on all containers */
    body,
    .main-header,
    .main-footer,
    .container,
    .hero-section,
    .categories-section,
    .urgent-jobs-section,
    .latest-jobs-section,
    .employers-section,
    .locations-section,
    .features-section,
    .insights-section,
    .alerts-cta-section,
    .employer-cta-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Remove any horizontal padding that creates empty spaces */
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* But keep content padding for readability */
    .container > *,
    .section-header,
    .hero-content,
    .categories-scroll,
    .urgent-jobs-grid,
    .jobs-grid,
    .employers-carousel,
    .locations-grid,
    .features-grid,
    .insights-grid,
    .alerts-content,
    .employer-cta-content {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Ensure all cards stretch to full width */
    .job-card,
    .category-card,
    .feature-card,
    .insight-card,
    .location-card,
    .employer-logo,
    .urgent-card,
    .walkin-card {
        width: calc(100% - 1.5rem) !important;
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
    }
    
    /* Fix for search bar */
    .search-input-group,
    .hero-search-form,
    .mobile-search-bar {
        width: calc(100% - 1.5rem) !important;
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
    }
    
    /* Fix for hero section */
    .hero-text {
        padding: 0 0.75rem !important;
    }
    
    /* Fix for trust badges */
    .trust-badges {
        padding: 0 0.75rem !important;
    }
    
    /* Fix for footer */
    .footer-grid,
    .footer-col {
        padding: 0 0.75rem !important;
    }
    
    /* Prevent any overflow */
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

/* Ultra small devices fix (below 360px) */
@media (max-width: 360px) {
    /* Even tighter spacing */
    .container > *,
    .section-header,
    .hero-content,
    .categories-scroll,
    .urgent-jobs-grid,
    .jobs-grid,
    .employers-carousel,
    .locations-grid,
    .features-grid,
    .insights-grid,
    .alerts-content,
    .employer-cta-content {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .job-card,
    .category-card,
    .feature-card,
    .insight-card,
    .location-card,
    .employer-logo,
    .urgent-card,
    .walkin-card {
        width: calc(100% - 1rem) !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
    
    .search-input-group,
    .hero-search-form,
    .mobile-search-bar {
        width: calc(100% - 1rem) !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
}

/* Galaxy Fold and very small devices (below 300px) */
@media (max-width: 300px) {
    /* Remove all padding/margin for full width */
    .container > *,
    .section-header,
    .hero-content,
    .categories-scroll,
    .urgent-jobs-grid,
    .jobs-grid,
    .employers-carousel,
    .locations-grid,
    .features-grid,
    .insights-grid,
    .alerts-content,
    .employer-cta-content {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
    
    .job-card,
    .category-card,
    .feature-card,
    .insight-card,
    .location-card,
    .employer-logo,
    .urgent-card,
    .walkin-card {
        width: calc(100% - 0.5rem) !important;
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
        border-radius: 0.5rem !important;
    }
    
    .search-input-group,
    .hero-search-form,
    .mobile-search-bar {
        width: calc(100% - 0.5rem) !important;
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Prevent text overflow */
    .job-title,
    .company-name,
    .feature-card h3,
    .location-card h3,
    .category-card h3,
    .hero-title,
    .section-title {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}

/* Fix for horizontal scrolling issue */
@media (max-width: 480px) {
    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100vw !important;
    }
    
    /* Fix for grid items */
    .categories-grid,
    .locations-grid,
    .jobs-grid,
    .urgent-jobs-grid,
    .insights-grid,
    .features-grid,
    .employers-carousel {
        display: block !important;
    }
    
    .categories-grid > *,
    .locations-grid > *,
    .jobs-grid > *,
    .urgent-jobs-grid > *,
    .insights-grid > *,
    .features-grid > *,
    .employers-carousel > * {
        display: block !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    /* Remove grid gaps that might cause overflow */
    .categories-grid,
    .locations-grid,
    .jobs-grid,
    .urgent-jobs-grid,
    .insights-grid,
    .features-grid,
    .employers-carousel {
        gap: 0 !important;
    }
}

/* Fix for specific devices with known issues */
/* iPhone SE, iPhone 5/5S (320px) */
@media (width: 320px) {
    html, body {
        min-width: 320px !important;
        max-width: 320px !important;
    }
    
    .container {
        min-width: 320px !important;
        max-width: 320px !important;
    }
}

/* Galaxy Fold (280px) */
@media (width: 280px) {
    html, body {
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    .container {
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

/* Fix for infinite space issue */
@media (max-width: 480px) {
    /* Set explicit heights to prevent infinite space */
    .hero-section {
        min-height: auto !important;
        height: auto !important;
    }
    
    .job-card,
    .category-card,
    .feature-card,
    .insight-card,
    .location-card {
        height: auto !important;
        min-height: auto !important;
    }
    
    /* Prevent empty spaces in grids */
    .categories-grid::after,
    .locations-grid::after,
    .jobs-grid::after,
    .features-grid::after {
        content: '';
        display: block;
        height: 0;
        clear: both;
    }
    
    /* Fix for empty space at bottom */
    .main-footer {
        margin-top: auto;
    }
}

/* Fix for search bar overflowing */
@media (max-width: 480px) {
    .search-input-group {
        flex-wrap: wrap !important;
    }
    
    .search-input {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    
    .search-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Fix for header on small screens */
@media (max-width: 480px) {
    .header-content {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    
    .logo {
        order: 1;
        width: 50% !important;
    }
    
    .header-actions {
        order: 2;
        width: 50% !important;
        justify-content: flex-end !important;
    }
    
    .mobile-search-bar {
        order: 3;
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    .btn-post-job {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
    }
}

/* Fix for hero section on very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
    }
    
    .search-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .search-field {
        margin-bottom: 0.5rem !important;
    }
    
    .search-submit-btn {
        width: 100% !important;
    }
}

/* Fix for mobile navigation */
@media (max-width: 480px) {
    .mobile-nav {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .mobile-nav-list {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Add viewport fix meta tag suggestion */
/* In your HTML head, add this: */
/*
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
*/

/* Additional CSS for viewport fixes */
@viewport {
    width: device-width;
    zoom: 1.0;
}

/* Fix for iOS Safari viewport issues */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 480px) {
        .hero-section,
        .categories-section,
        .urgent-jobs-section {
            -webkit-overflow-scrolling: touch;
        }
        
        .container {
            -webkit-transform: translateZ(0);
        }
    }
}
/* Category Page Styles */
.category-page {
    padding: 2rem 0;
}

.category-header {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl);
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/pattern.svg');
    opacity: 0.1;
}

.category-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.category-emoji {
    font-size: inherit;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.category-description {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    color: white;
}

.job-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-badge i {
    font-size: 1.25rem;
}

.category-search {
    margin-bottom: 3rem;
}

.category-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.results-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-dots {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

/* Related Categories */
.related-categories-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-categories-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.related-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
    display: block;
}

.related-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.related-category-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.related-category-icon i,
.related-category-icon .category-emoji {
    color: white;
}

.related-category-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.view-jobs {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
}

/* No Jobs Found */
.no-jobs-found {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.no-jobs-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.no-jobs-icon i {
    font-size: 2rem;
    color: white;
}

.no-jobs-found h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-jobs-found p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Categories Index Page */
.categories-index-page {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.category-search-box {
    max-width: 500px;
    margin: 0 auto 3rem;
    position: relative;
}

.category-search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--bg-card);
}

.category-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.all-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-grid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all var(--transition-base);
}

.category-grid-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.category-grid-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-emoji-large {
    font-size: 2rem;
}

.category-grid-icon i {
    font-size: 1.75rem;
    color: white;
}

.category-grid-content {
    flex: 1;
}

.category-grid-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-grid-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.view-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

/* SEO Content */
.category-seo-content,
.categories-seo-content {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.category-seo-content h2,
.categories-seo-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.category-seo-content h3,
.categories-seo-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.category-seo-content p,
.categories-seo-content p,
.category-seo-content li,
.categories-seo-content li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-seo-content ul,
.categories-seo-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.category-seo-content li,
.categories-seo-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.category-seo-content li::before,
.categories-seo-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.seo-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.seo-cta p {
    margin: 0;
    color: var(--text-primary);
}

.seo-cta a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Emoji Support for Category Cards */
.category-emoji {
    font-size: 2rem;
    line-height: 1;
}

.category-icon .fa-icon {
    font-size: 1.5rem;
    color: white;
}

/* Animation for category icons */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.category-icon {
    animation: bounce 2s infinite;
}

/* Responsive Design for Category Pages */
@media (max-width: 768px) {
    .category-header {
        padding: 2rem 1rem;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .category-icon-large {
        font-size: 3rem;
    }
    
    .job-stats {
        gap: 1rem;
    }
    
    .stat-badge {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .all-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .category-grid-icon {
        margin: 0 auto;
    }
    
    .pagination {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .pagination-number {
        width: 36px;
        height: 36px;
    }
    
    .related-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-seo-content,
    .categories-seo-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-header h1 {
        font-size: 1.75rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .job-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .related-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .all-categories-grid {
        gap: 1rem;
    }
    
    .category-grid-card {
        padding: 1rem;
    }
    
    .pagination-numbers {
        display: none;
    }
    
    .pagination {
        justify-content: space-between;
    }
}
/* Load More Jobs Styles */
.loading {
    position: relative;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.error {
    background-color: var(--danger-color) !important;
    border-color: var(--danger-color) !important;
    color: white !important;
}

.error:hover {
    background-color: #dc2626 !important;
}

/* Job Card Animations */
.job-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.job-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* No More Jobs Message */
.no-more-jobs {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
    margin-top: 2rem;
}

.no-more-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--success-color), #10b981);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.no-more-icon i {
    font-size: 1.5rem;
    color: white;
}

.no-more-jobs p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Retry Button */
.retry-loading {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
}

.retry-loading p {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.retry-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.retry-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Skills Tags */
.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    background: var(--bg-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: #fef3c7;
    color: #f59e0b;
    z-index: 1;
}

.job-posted {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    display: block;
}

/* Responsive adjustments for load more */
@media (max-width: 768px) {
    .loading::after {
        right: -25px;
        width: 16px;
        height: 16px;
    }
    
    .no-more-jobs {
        padding: 1.5rem;
    }
    
    .retry-loading {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .load-more-btn {
        width: 100%;
    }
    
    .no-more-jobs {
        padding: 1rem;
    }
    
    .no-more-icon {
        width: 48px;
        height: 48px;
    }
    
    .no-more-icon i {
        font-size: 1.25rem;
    }
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Element animations */
.category-card,
.job-card,
.feature-card,
.location-card,
.insight-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Stagger animations for grid items */
.categories-grid .category-card:nth-child(2) { animation-delay: 0.1s; }
.categories-grid .category-card:nth-child(3) { animation-delay: 0.2s; }
.categories-grid .category-card:nth-child(4) { animation-delay: 0.3s; }
.categories-grid .category-card:nth-child(5) { animation-delay: 0.4s; }
.categories-grid .category-card:nth-child(6) { animation-delay: 0.5s; }

.jobs-grid .job-card:nth-child(2) { animation-delay: 0.1s; }
.jobs-grid .job-card:nth-child(3) { animation-delay: 0.2s; }
.jobs-grid .job-card:nth-child(4) { animation-delay: 0.3s; }
.jobs-grid .job-card:nth-child(5) { animation-delay: 0.4s; }
.jobs-grid .job-card:nth-child(6) { animation-delay: 0.5s; }

/* Loading animation for Load More button */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

/* Custom tooltip styles */
.custom-tooltip {
    position: fixed !important;
    z-index: 9999 !important;
    padding: 6px 12px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.2s ease;
}

/* Search suggestions */
.search-suggestions-container {
    animation: scaleIn 0.2s ease;
}

.search-suggestion-item:hover {
    background-color: var(--bg-tertiary) !important;
}

/* Smooth transitions */
.search-input,
.apply-btn,
.save-btn,
.category-card,
.job-card {
    transition: all var(--transition-fast);
}

/* Hover effects with animations */
.category-card:hover,
.job-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Button animations */
.apply-btn:hover,
.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Pulse animation for urgent jobs */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.urgent-badge {
    animation: pulse 2s infinite;
}

/* Fade in for lazy loaded images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Mobile menu animations */
.mobile-nav {
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu toggle animation */
.mobile-menu-toggle span {
    transition: transform var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Dark mode transition */
body {
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* Scroll animations for sections */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.in-view {
    opacity: 1;
    transform: translateY(0);
}
/* Jobs by Location - Updated with Images */
.locations-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.location-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: block;
    position: relative;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.location-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.location-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.9);
}

.location-card:hover .location-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.location-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--emirate-color, var(--secondary-color)));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-card);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.location-badge i {
    color: white;
    font-size: 1rem;
}

.location-content {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.location-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.location-landmark {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-count {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--emirate-color, var(--secondary-color)));
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-sm);
}

/* Emirates-specific color accents */
.location-card[style*="--emirate-color: #FF6B35"] .job-count {
    background: linear-gradient(135deg, #FF6B35, #FF9E6D);
}

.location-card[style*="--emirate-color: #004E89"] .job-count {
    background: linear-gradient(135deg, #004E89, #1A759F);
}

.location-card[style*="--emirate-color: #1A936F"] .job-count {
    background: linear-gradient(135deg, #1A936F, #4ECDC4);
}

.location-card[style*="--emirate-color: #FFC300"] .job-count {
    background: linear-gradient(135deg, #FFC300, #FFD166);
}

.location-card[style*="--emirate-color: #9B5DE5"] .job-count {
    background: linear-gradient(135deg, #9B5DE5, #C77DFF);
}

.location-card[style*="--emirate-color: #00BBF9"] .job-count {
    background: linear-gradient(135deg, #00BBF9, #00F5D4);
}

/* Responsive Design for Location Cards */
@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .location-image {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .location-image {
        height: 100px;
    }
    
    .location-content {
        padding: 1.5rem 1rem 1rem;
    }
    
    .location-content h3 {
        font-size: 1.125rem;
    }
    
    .location-landmark {
        font-size: 0.8125rem;
        min-height: 36px;
    }
    
    .job-count {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .location-image {
        height: 120px;
    }
    
    .location-badge {
        width: 36px;
        height: 36px;
        bottom: -18px;
    }
    
    .location-badge i {
        font-size: 0.875rem;
    }
}

/* Animation for location cards */
.location-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.2s; }
.location-card:nth-child(3) { animation-delay: 0.3s; }
.location-card:nth-child(4) { animation-delay: 0.4s; }
.location-card:nth-child(5) { animation-delay: 0.5s; }
.location-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect enhancement */
.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emirate-color, var(--primary-color)), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.location-card:hover::before {
    opacity: 1;
}

/* Print styles */
@media print {
    .location-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .location-image img {
        filter: none;
    }
}
/* Jobs by Location - Circular Images */
.locations-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition-base);
    max-width: 150px;
}

.location-card:hover {
    transform: translateY(-8px);
}

.location-image-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.location-card:hover .location-image-circle {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.location-image-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(0, 0, 0, 0.1)
    );
    pointer-events: none;
}

.location-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.location-card:hover .location-image-circle img {
    transform: scale(1.1);
}

.location-name {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    transition: color var(--transition-fast);
}

.location-card:hover .location-name {
    color: var(--primary-color);
}

/* Emirates color accents for hover effect */
.location-card[href*="dubai"] .location-image-circle {
    border-color: #FF6B35;
}

.location-card[href*="abu-dhabi"] .location-image-circle {
    border-color: #004E89;
}

.location-card[href*="sharjah"] .location-image-circle {
    border-color: #1A936F;
}

.location-card[href*="ajman"] .location-image-circle {
    border-color: #FFC300;
}

.location-card[href*="fujairah"] .location-image-circle {
    border-color: #9B5DE5;
}

.location-card[href*="ras-al-khaimah"] .location-image-circle {
    border-color: #00BBF9;
}

.location-card[href*="umm-al-quwain"] .location-image-circle {
    border-color: #FF5D8F;
}

.location-card[href*="al-ain"] .location-image-circle {
    border-color: #38B000;
}

/* Animation for location cards */
.location-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.2s; }
.location-card:nth-child(3) { animation-delay: 0.3s; }
.location-card:nth-child(4) { animation-delay: 0.4s; }
.location-card:nth-child(5) { animation-delay: 0.5s; }
.location-card:nth-child(6) { animation-delay: 0.6s; }
.location-card:nth-child(7) { animation-delay: 0.7s; }
.location-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .location-image-circle {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
    
    .location-name {
        font-size: 1rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .location-image-circle {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }
    
    .location-name {
        font-size: 0.9375rem;
        margin-top: 0.5rem;
    }
}

/* Dark mode adjustments */
.dark-mode .location-image-circle {
    border-color: var(--bg-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .location-card:hover .location-image-circle {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Print styles */
@media print {
    .location-card {
        break-inside: avoid;
    }
    
    .location-image-circle {
        border: 2px solid #ddd;
        box-shadow: none;
    }
    
    .location-name {
        color: black;
    }
}
/* Why UAEQuest - Enhanced Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.dark-mode .features-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%,
        rgba(124, 58, 237, 0.05) 100%);
    border-radius: var(--radius-xl);
    transition: transform var(--transition-slow);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    opacity: 0.1;
    z-index: -1;
    transition: all var(--transition-base);
}

.feature-card:hover .icon-bg {
    opacity: 0.15;
    transform: scale(1.1);
}

.feature-emoji {
    font-size: 2.5rem;
    line-height: 1;
    display: block;
    transition: all var(--transition-base);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-emoji {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    transition: color var(--transition-fast);
}

.feature-card:hover h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.feature-hover-text {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 2;
}

.feature-card:hover .feature-hover-text {
    opacity: 1;
    transform: translateY(0);
}

/* Feature-specific colors and animations */
.feature-card:nth-child(1):hover .feature-emoji {
    animation: bounce 0.8s ease infinite alternate;
}

.feature-card:nth-child(2):hover .feature-emoji {
    animation: spin 2s linear infinite;
}

.feature-card:nth-child(3):hover .feature-emoji {
    animation: walk 1.5s ease-in-out infinite;
}

.feature-card:nth-child(4):hover .feature-emoji {
    animation: ring 1s ease infinite;
}

.feature-card:nth-child(5):hover .feature-emoji {
    animation: zap 0.5s ease infinite alternate;
}

.feature-card:nth-child(6):hover .feature-emoji {
    animation: shield 1.5s ease infinite alternate;
}

/* Animations for emojis */
@keyframes bounce {
    0% { transform: translateY(0) scale(1.2); }
    100% { transform: translateY(-10px) scale(1.2); }
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1.2); }
}

@keyframes walk {
    0%, 100% { transform: translateX(0) scale(1.2); }
    25% { transform: translateX(-5px) scale(1.2); }
    75% { transform: translateX(5px) scale(1.2); }
}

@keyframes ring {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.4); }
}

@keyframes zap {
    0% { transform: scale(1.2); }
    100% { transform: scale(1.4); }
}

@keyframes shield {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.3); }
}

/* Entrance animations for feature cards */
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    animation: featureSlideUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes featureSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        min-height: 260px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .feature-emoji {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.75rem 1.25rem;
        min-height: 240px;
    }
    
    .feature-hover-text {
        font-size: 0.8125rem;
        padding: 0.5rem;
    }
}

/* Dark mode adjustments */
.dark-mode .feature-card {
    background: var(--bg-card);
    border-color: var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dark-mode .feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dark-mode .feature-card::after {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%,
        rgba(124, 58, 237, 0.1) 100%);
}

/* Print styles */
@media print {
    .features-section {
        background: none !important;
        padding: 2rem 0 !important;
    }
    
    .feature-card {
        break-inside: avoid;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        min-height: auto !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-hover-text {
        display: none !important;
    }
    
    .feature-emoji {
        filter: none !important;
    }
}
.company-detail-card {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.company-detail-card a {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
}
/* Add this to your company page CSS */
.company-header p {
    color: white !important;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Also make sure other text in .company-header is white */
.company-header h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.company-stat {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.company-stat i {
    color: white !important;
    margin-right: 0.5rem;
}