/* Global Styles */
:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1e40af;
    
    /* Secondary Colors */
    --secondary-color: #7c3aed;
    --secondary-light: #a78bfa;
    --secondary-dark: #6d28d9;
    
    /* Accent Colors */
    --accent-cyan: #06b6d4;
    --accent-orange: #f97316;
    
    /* Text Colors */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-secondary: #6b7280;
    
    /* Surface Colors */
    --surface-1: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
    --border-color: #e5e7eb;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-light: #34d399;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Typography */
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: #f9fafb;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
}

/* Header Styles */
header {
    background: white;
    color: var(--text-dark);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Primary nav / mobile hamburger behaviour */
.nav-toggle {
    display: none; /* visible only on small screens via media query */
    background: none;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    color: var(--text-dark);
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Desktop: nav-links shown, hamburger hidden.
   Mobile (<=768px): hamburger shown, nav-links hidden by default and expand vertically when `.show` is applied. */
@media (max-width: 768px) {
    .header-content {
        position: relative; /* allow absolute positioning of the toggle inside header on mobile */
    }

    .nav-toggle {
        display: inline-flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1300;
    }

    .nav-links {
        display: none; /* hide links by default on mobile */
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        left: 0;
        background: white;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        z-index: 1200;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

    .nav-links a {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.show {
        display: flex;
    }

    .post-job-btn {
        width: 100%;
        text-align: center;
    }
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.nav-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.post-job-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s;
}

.post-job-btn:hover {
    transform: translateY(-2px);
    opacity: 1 !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    background-size: cover;
    pointer-events: none;
}

/* Geometric grid pattern */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1,
.hero h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.hero-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.3s;
}

.hero-link:hover {
    opacity: 0.8;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Make TalentCircuit: MK Tech Jobs blue in headers */
.logo-section h1 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color) !important;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Auth Buttons */
.auth-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    font-family: var(--font-body);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Search Section */
.search-section {
    background: white;
    padding: 2rem;
    margin: -3rem auto 2rem;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.search-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background: var(--secondary-color);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

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

.filter-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;

/* CTA button used in blog templates */
.cta-btn {
    display: inline-block;
    color: #ffffff;
    background: #1f2937; /* dark slate */
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.12s ease, opacity 0.12s ease;
}

.cta-btn:hover,
.cta-btn:focus {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Salary table small styles (used on blog) */
.salary-table th,
.salary-table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
}

/* Extra spacing for paragraph following tables used in blog posts */
.post-after-table {
    margin-top: 1.5rem;
}
.salary-table thead tr {
    background: var(--surface-3);
}

/* Base table layout */
.salary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem; /* more space below the table to avoid looking squished */
}

/* Responsive: stack rows on small screens */
@media (max-width: 700px) {
    .salary-table,
    .salary-table thead,
    .salary-table tbody,
    .salary-table th,
    .salary-table td,
    .salary-table tr {
        display: block;
        width: 100%;
    }

    .salary-table thead {
        display: none; /* hide header on small screens */
    }

    .salary-table tr {
        margin-bottom: 0.75rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 0.5rem;
        background: var(--surface-1);
    }

    .salary-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem;
        border: none;
    }

    .salary-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-light);
        margin-right: 1rem;
        white-space: nowrap;
    }
}
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover, 
.filter-tag.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.alert-form {
    display: flex;
    gap: 0.75rem;
    flex: 2;
    flex-wrap: wrap;
    min-width: 300px;
}

.alert-form input[type="email"],
.alert-form select {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.alert-form input[type="email"]:focus,
.alert-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.consent-wrapper {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.consent-wrapper input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.consent-wrapper label {
    line-height: 1.5;
    flex: 1;
}

.consent-wrapper a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Contact Form Styles */
.contact-form {
    margin-top: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form .form-group:last-child {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.contact-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: var(--font-body);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form input:invalid:not(:placeholder-shown) {
    border-color: var(--error-color);
}

.submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* GDPR Consent Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-light);
    cursor: pointer;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-dark);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Job Cards */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.job-grid,
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.job-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.job-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.job-card .company,
.company-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-card .location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.job-tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-dark);
}

.cloud-badge {
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.cloud-badge i {
    font-size: 0.85rem;
}

.job-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 1rem 0;
}

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

.posted-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.apply-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.apply-btn:hover {
    background: var(--secondary-color);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-primary {
    background: #dbeafe;
    color: var(--primary-color);
}

.badge-success {
    background: #d1fae5;
    color: #10b981;
}

.badge-warning {
    background: #fed7aa;
    color: #92400e;
}

.badge-aws {
    background: #ff9900;
    color: white;
}

.badge-azure {
    background: #0078d4;
    color: white;
}

.badge-gcp {
    background: #4285f4;
    color: white;
}

.badge-onpremise {
    background: #6b7280;
    color: white;
}

/* Job Alert Section */
.job-alert-section {
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1600&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    padding: 2rem 1rem;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.job-alert-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 36px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 36px);
    opacity: 1;
    z-index: 1;
}

.alert-signup-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
    min-width: 200px;
}

.alert-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.alert-content p {
    color: var(--text-light);
    margin: 0;
}

.alert-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.alert-btn i {
    margin-right: 0.5rem;
}

#alertMessage {
    width: 100%;
    margin-top: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

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

.modal-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
}

.modal-close,
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.modal-close:hover,
.close-btn:hover {
    color: var(--text-dark);
}

/* Form Styles */
.form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Contact Page Styles */
.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-title p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* New Contact Layout */
.contact-layout {
    margin-bottom: 3rem;
}

.contact-form-section {
    width: 100%;
}

.additional-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Privacy Page Styles */
.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.privacy-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-content hr {
    margin: 3rem 0;
    border: none;
    border-top: 2px solid var(--border-color);
}

.summary-box {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.summary-box h3 {
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.summary-box ul {
    margin-left: 1.5rem;
}

.date-info {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(to right, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.blog-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.page-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.blog-grid,
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.blog-card,
.blog-post {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover,
.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-image,
.blog-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content,
.blog-post-content {
    padding: 1.5rem;
}

.blog-meta,
.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-card h3,
.blog-post-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.blog-excerpt,
.blog-post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-excerpt.truncated,
.blog-post-excerpt.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.full-content {
    display: none;
}

.full-content.expanded {
    display: block;
}

.read-more-btn {
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
    margin-bottom: 1rem;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.blog-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.like-section {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.like-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.like-btn.liked {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.like-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.like-btn:active i {
    transform: scale(1.3);
}

.like-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1,
    .hero h2 {
        font-size: 1.75rem;
        letter-spacing: -0.02em;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    
    .logo-section h1 {
        font-size: 1rem;
        font-weight: 500;
        color: var(--primary-color);
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 1rem 0.5rem;
        max-width: 100%;
        overflow: hidden;
    }
    
    .job-alert-section {
        padding: 1.5rem 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .alert-signup-card {
        padding: 1rem;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .alert-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .alert-content {
        width: 100%;
        min-width: 0;
    }
    
    .alert-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .alert-content p {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .alert-form {
        flex-direction: column;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 0.75rem;
    }
    
    .alert-form input[type="email"],
    .alert-form select {
        flex: none;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
    
    .alert-form input[type="checkbox"] {
        flex-shrink: 0;
        margin: 0.25rem 0.5rem 0 0;
    }
    
    .alert-form label {
        font-size: 0.8125rem;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .alert-form label a {
        word-break: break-word;
    }
    
    .alert-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    /* Mobile navigation button styles */
    nav a {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .post-job-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Mobile account menu button styles */
    #accountMenuLoggedOut a,
    #accountMenuLoggedIn a {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
        display: block;
        margin: 0.25rem 0;
    }
    
    /* Comparison Section Mobile Styles */
    .recruiter-info table {
        min-width: auto !important;
        display: block;
    }
    
    .recruiter-info thead {
        display: none;
    }
    
    .recruiter-info tbody {
        display: block;
    }
    
    .recruiter-info tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1.5rem;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .recruiter-info td {
        display: block;
        width: 100% !important;
        padding: 1rem !important;
    }
    
    .recruiter-info td:first-child {
        border-bottom: 2px solid #e5e7eb;
    }
    
    .recruiter-info td strong::before {
        content: '';
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        opacity: 0.7;
    }
    
    .recruiter-info td:first-child strong::before {
        content: '❌ National Boards';
        color: #991b1b;
    }
    
    .recruiter-info td:last-child strong::before {
        content: '✓ TalentCircuit';
        color: #065f46;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

/* Success Message */
.alert,
.success-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

.alert-success,
.success-message {
    background: #10b981;
    color: white;
    border: 2px solid #059669;
    display: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.success-message.active,
.alert-success.active {
    display: flex;
}

/* Error Message */
.alert-error,
.error-message {
    background: #ef4444;
    color: white;
    border: 2px solid #dc2626;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

.error-message.active,
.alert-error.active {
    display: flex;
}
