:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-elevated: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Improve touch targets */
    a, button, input, select, textarea {
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
        touch-action: manipulation;
    }

    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Smooth scrolling */
    * {
        -webkit-overflow-scrolling: touch;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.5));
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--text-primary);
    font-size: 28px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
    line-height: 1;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:active {
    transform: scale(0.9);
}

.hamburger-icon {
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon {
    transform: rotate(90deg);
}

/* Show mobile menu button on tablets and mobile */
@media (max-width: 768px) {
    /* Hide desktop navigation completely on mobile */
    .nav-menu {
        display: none;
    }
    
    /* Show hamburger button */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Mobile Navigation Overlay - only shown when active */
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        background: var(--bg-card);
        border-left: 1px solid var(--border);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 0;
        align-items: stretch;
        z-index: 1000;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }
    
    /* Navigation Links in Mobile Menu */
    .nav-link {
        font-size: 18px;
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-link:first-child {
        border-top: 1px solid var(--border);
    }

    .nav-link:hover {
        padding-left: 8px;
        background: var(--bg-elevated);
        border-radius: var(--radius-sm);
    }

    .nav-link.active {
        color: var(--primary);
        font-weight: 600;
    }

    .nav-link-cta {
        margin-top: 20px;
        padding: 14px 24px !important;
        background: var(--gradient);
        color: white !important;
        border-radius: var(--radius-md);
        text-align: center;
        border: none !important;
        font-weight: 600;
    }

    .nav-link-cta:hover {
        padding-left: 24px !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    }

    /* Close button (X) in mobile menu */
    .nav-menu.active::before {
        content: '✕';
        position: absolute;
        top: 28px;
        right: 28px;
        font-size: 32px;
        color: var(--text-primary);
        cursor: pointer;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        background: var(--bg-elevated);
        transition: all 0.3s ease;
        z-index: 10;
        font-weight: 300;
        line-height: 1;
    }

    .nav-menu.active::before:hover {
        background: var(--bg-main);
        transform: rotate(90deg);
    }

    /* Dark overlay behind menu */
    .nav-menu.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 85%;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
        backdrop-filter: blur(4px);
        animation: fadeIn 0.4s ease;
    }

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

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Logo stays visible */
    .logo {
        z-index: 1001;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .nav-menu.active {
        width: 90%;
        max-width: 280px;
        padding: 90px 24px 24px;
    }

    .nav-menu.active::after {
        right: 90%;
    }

    .nav-link {
        font-size: 17px;
        padding: 16px 0;
    }

    .nav-menu.active::before {
        top: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .mobile-menu-toggle {
        font-size: 26px;
        width: 40px;
        height: 40px;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0 40px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Search Section */
.search-section {
    margin-top: 0;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    padding-bottom: 60px;
}

.search-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.search-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: center;
}

@media (max-width: 1200px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

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

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 0 16px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    background: var(--bg-main);
    box-shadow: 0 0 0 2px var(--primary);
}

.search-icon {
    font-size: 20px;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 16px 0;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Custom select dropdown styling */
.search-input[type="text"],
.search-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.search-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Force dark background on dropdown options */
select.search-input option {
    background-color: #1e293b;
    color: #f1f5f9;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
}

select.search-input option:hover,
select.search-input option:checked,
select.search-input option:focus {
    background-color: #334155;
    background: linear-gradient(0deg, #334155 0%, #334155 100%);
    color: #ffffff;
}

/* First option (placeholder) styling */
select.search-input option:first-child {
    color: #94a3b8;
}

/* Custom scrollbar for dropdown */
select.search-input {
    scrollbar-width: thin;
    scrollbar-color: #6366f1 #334155;
}

select.search-input::-webkit-scrollbar {
    width: 8px;
}

select.search-input::-webkit-scrollbar-track {
    background: #1e293b;
}

select.search-input::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

select.search-input::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

.search-btn {
    background: var(--gradient);
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

/* Ad Containers */
.ad-container {
    margin: 40px 0;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.ad-container.ad-top {
    margin-top: 60px;
}

.ad-inline {
    grid-column: 1 / -1;
}

/* Jobs Section */
.jobs-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
}

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

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInScale 0.5s ease-out both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.company-logo {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.job-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.job-type {
    background: var(--bg-elevated);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.job-date {
    font-size: 12px;
    color: var(--text-muted);
}

.job-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.job-company {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.job-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.job-location,
.job-salary {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.job-tag {
    background: var(--bg-elevated);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-results h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
}

.no-results p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.footer-section ul.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul.footer-links li {
    margin-bottom: 12px;
}

.footer-section ul.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    display: inline-block;
}

.footer-section ul.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 50px 0 40px;
    }

    .hero-title {
        font-size: clamp(32px, 5vw, 48px);
    }

    .search-form {
        padding: 20px;
    }

    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        padding: 16px 0;
    }

    .logo {
        font-size: 22px;
        z-index: 1001;
    }

    .logo-icon {
        font-size: 26px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 15px;
    }

    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }

    .search-section {
        padding-bottom: 40px;
    }

    .search-form {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
    }

    .search-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .search-input-wrapper {
        padding: 0 14px;
    }

    .search-input {
        padding: 14px 0;
        font-size: 14px;
    }

    .search-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
    }

    .ad-container {
        margin: 30px 0;
        padding: 16px;
    }

    .jobs-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .job-card {
        padding: 20px;
        gap: 14px;
    }

    .job-card-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .company-logo {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .job-meta {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .job-type {
        font-size: 11px;
        padding: 3px 10px;
    }

    .job-date {
        font-size: 11px;
    }

    .job-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .job-company {
        font-size: 14px;
    }

    .job-info {
        gap: 12px;
        flex-wrap: wrap;
    }

    .job-location,
    .job-salary {
        font-size: 13px;
    }

    .job-tags {
        gap: 6px;
    }

    .job-tag {
        padding: 5px 10px;
        font-size: 12px;
    }

    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-section h3 {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .footer-section p,
    .footer-section ul.footer-links a {
        font-size: 13px;
    }

    .footer-section ul.footer-links li {
        margin-bottom: 10px;
    }

    .social-links {
        justify-content: flex-start;
        gap: 10px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .footer-bottom {
        padding-top: 24px;
        font-size: 13px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header-content {
        padding: 14px 0;
    }

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .nav-menu {
        gap: 16px;
        width: 260px;
        padding: 24px;
    }

    .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }

    .hero {
        padding: 30px 0 25px;
    }

    .hero-title {
        font-size: clamp(24px, 9vw, 32px);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0 5px;
    }

    .search-section {
        padding-bottom: 30px;
    }

    .search-form {
        padding: 16px 12px;
    }

    .search-grid {
        gap: 10px;
    }

    .search-input-wrapper {
        padding: 0 12px;
        border-radius: 10px;
    }

    .search-icon {
        font-size: 18px;
        margin-right: 10px;
    }

    .search-input {
        padding: 12px 0;
        font-size: 13px;
    }

    .search-btn {
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 10px;
    }

    .ad-container {
        margin: 24px 0;
        padding: 12px;
    }

    .jobs-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: clamp(22px, 7vw, 28px);
    }

    .section-subtitle {
        font-size: 15px;
    }

    .jobs-grid {
        gap: 14px;
    }

    .job-card {
        padding: 16px;
        gap: 12px;
        border-radius: var(--radius-md);
    }

    .company-logo {
        width: 48px;
        height: 48px;
        font-size: 18px;
        border-radius: 8px;
    }

    .job-meta {
        gap: 10px;
    }

    .job-title {
        font-size: 17px;
    }

    .job-company {
        font-size: 13px;
    }

    .job-info {
        gap: 10px;
    }

    .job-location,
    .job-salary {
        font-size: 12px;
    }

    .job-tags {
        gap: 6px;
    }

    .job-tag {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 4px;
    }

    .no-results {
        padding: 60px 16px;
    }

    .no-results-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .no-results h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .no-results p {
        font-size: 14px;
    }

    .footer {
        padding: 32px 0 16px;
        margin-top: 40px;
    }

    .footer-content {
        gap: 28px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .footer-section p,
    .footer-section ul.footer-links a {
        font-size: 12px;
    }

    .footer-section ul.footer-links li {
        margin-bottom: 8px;
    }

    .social-links {
        gap: 8px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 6px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .logo {
        font-size: 18px;
        gap: 8px;
    }

    .logo-icon {
        font-size: 22px;
    }

    .hero-title {
        font-size: clamp(22px, 10vw, 28px);
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .search-form {
        padding: 14px 10px;
    }

    .job-card {
        padding: 14px;
    }

    .job-title {
        font-size: 16px;
    }

    .company-logo {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

/* Animation delays for staggered effect */
.job-card:nth-child(1) { animation-delay: 0s; }
.job-card:nth-child(2) { animation-delay: 0.05s; }
.job-card:nth-child(3) { animation-delay: 0.1s; }
.job-card:nth-child(4) { animation-delay: 0.15s; }
.job-card:nth-child(5) { animation-delay: 0.2s; }
.job-card:nth-child(6) { animation-delay: 0.25s; }

/* City Pages Styles */
.city-hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}

.city-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb span {
    color: var(--text-primary);
}

.city-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.city-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.city-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.city-stat .stat-icon {
    font-size: 32px;
}

.city-stat strong {
    display: block;
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.city-stat span {
    font-size: 13px;
    color: var(--text-muted);
}

.city-sectors {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.city-sectors h3 {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.sectors-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sector-tag {
    background: var(--bg-elevated);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.filters-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.filters-form {
    max-width: 1200px;
    margin: 0 auto;
}

.filters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.filter-item label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-select {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-btn {
    background: var(--gradient);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 32px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.city-seo-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 80px 0;
    margin-top: 60px;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.seo-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.seo-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.seo-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.seo-content ul li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.seo-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.cta-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    margin-top: 0;
    font-size: 28px;
}

.cta-box p {
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

/* Responsive City Pages */
@media (max-width: 1024px) {
    .filters-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .city-hero {
        padding: 60px 0 40px;
    }

    .city-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .city-description {
        font-size: 16px;
    }

    .city-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .city-stat {
        padding: 16px;
    }

    .filters-section {
        position: static;
        padding: 20px 0;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .filter-btn {
        width: 100%;
    }

    .city-seo-section {
        padding: 60px 0;
    }

    .seo-content h2 {
        font-size: 28px;
    }

    .seo-content h3 {
        font-size: 20px;
    }

    .cta-box {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .city-hero {
        padding: 40px 0 30px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .city-title {
        font-size: clamp(24px, 9vw, 32px);
    }

    .city-description {
        font-size: 15px;
    }

    .city-stat {
        padding: 14px;
        gap: 12px;
    }

    .city-stat .stat-icon {
        font-size: 28px;
    }

    .city-stat strong {
        font-size: 18px;
    }

    .city-sectors {
        padding: 20px 16px;
    }

    .sectors-tags {
        gap: 8px;
    }

    .sector-tag {
        padding: 6px 12px;
        font-size: 13px;
    }

    .seo-content h2 {
        font-size: 24px;
    }

    .seo-content h3 {
        font-size: 18px;
    }

    .seo-content p {
        font-size: 15px;
    }

    .cta-box {
        padding: 24px 20px;
    }

    .cta-box h3 {
        font-size: 22px;
    }
}

/* Pagination Styles */
.pagination {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.pagination-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}

.pagination-info .jobs-count {
    color: var(--text-muted);
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination-number {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    background: var(--bg-elevated);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination-number.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    font-weight: 700;
    cursor: default;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        margin-top: 40px;
        gap: 16px;
    }

    .pagination-info {
        font-size: 14px;
    }

    .pagination-controls {
        gap: 6px;
    }

    .pagination-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Hide "First" and "Last" buttons on mobile */
    .pagination-first,
    .pagination-last {
        display: none;
    }

    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination {
        margin-top: 30px;
    }

    .pagination-info {
        font-size: 13px;
    }

    .pagination-info .jobs-count {
        display: block;
        margin-top: 4px;
        font-size: 12px;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .pagination-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .pagination-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
