/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark: #1f2937;
    --dark-light: #374151;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #e5e7eb;
    --white: #ffffff;
    --background: #f9fafb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--background);
}

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

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.highlight {
    color: var(--primary-color);
}

/* Make highlight white in hero section for better visibility */
.hero-title .highlight {
    color: var(--white);
    font-weight: 800;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
}

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

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gray-lighter);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--gray-light);
    color: var(--white);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

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

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L60 30L30 60L0 30z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--background);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--gray);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--gray-light);
    line-height: 1.7;
}

.footer-section a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    color: var(--gray-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.modal-large {
    max-width: 800px;
}

/* Signup Type Selector */
.signup-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.signup-type-card {
    padding: 1.5rem;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.signup-type-card:hover {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.signup-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.signup-type-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.signup-type-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

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

.close {
    color: var(--gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--dark);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
}

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

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

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Jobs Page */
.jobs-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.jobs-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.search-section {
    background: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow);
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

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

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

.filters select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
}

.jobs-listing {
    padding: 3rem 0;
}

.jobs-count {
    margin-bottom: 2rem;
}

.jobs-count p {
    color: var(--gray);
    font-size: 1.1rem;
}

.jobs-count span {
    font-weight: 700;
    color: var(--primary-color);
}

.jobs-grid {
    display: grid;
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.job-company {
    color: var(--gray);
    font-size: 1.1rem;
}

.job-badge {
    padding: 0.4rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--white);
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.job-detail strong {
    color: var(--dark);
}

.job-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.job-actions {
    display: flex;
    gap: 1rem;
}

/* Dashboard */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-content {
    padding: 3rem 0;
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
}

.stat-card .stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-card .stat-info p {
    color: var(--gray);
}

.dashboard-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: 1.75rem;
}

.job-form-container {
    margin-top: 1.5rem;
    padding: 2rem;
    background: var(--background);
    border-radius: var(--border-radius);
}

.posted-jobs-list,
.applications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.posted-job-item,
.application-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--gray-lighter);
    transition: var(--transition);
}

.posted-job-item:hover,
.application-item:hover {
    border-color: var(--primary-color);
}

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

.job-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.job-item-meta {
    color: var(--gray);
    font-size: 0.95rem;
}

.job-item-actions {
    display: flex;
    gap: 0.5rem;
}

/* Profile Page */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.profile-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-content {
    padding: 3rem 0;
}

.profile-grid {
    display: grid;
    gap: 2rem;
}

.profile-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.card-header h2 {
    font-size: 1.75rem;
}

.badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-success {
    background: var(--success-color);
}

.badge-warning {
    background: var(--warning-color);
}

.badge-danger {
    background: var(--danger-color);
}

/* Verification Badges */
.verified-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.verified-badge-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.35rem;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
    cursor: help;
}

.unverified-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gray);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Verification Management */
.verification-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.verification-item {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.verification-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

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

.verification-details {
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.verification-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 auto;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
}

.info-row label {
    font-weight: 600;
    color: var(--gray);
}

.info-row span,
.info-row p {
    color: var(--dark);
}

/* Mapbox Geocoder Styling */
.mapbox-geocoder-container {
    position: relative;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder {
    max-width: 100%;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    min-width: unset;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--input {
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    height: auto;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--white);
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--input::placeholder {
    color: #9ca3af;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--icon {
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    width: 20px;
    height: 20px;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--icon-search {
    fill: var(--primary-color);
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--button {
    top: 50%;
    transform: translateY(-50%);
    right: 0.5rem;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--icon-close {
    width: 20px;
    height: 20px;
    margin-top: 0;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--suggestion {
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--suggestion:hover,
.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--suggestion.active {
    background-color: #f3f4f6;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--suggestion-title {
    font-weight: 500;
    color: var(--dark);
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--suggestion-address {
    color: var(--gray);
    font-size: 0.875rem;
}

.mapbox-geocoder-container .mapboxgl-ctrl-geocoder--suggestions {
    border-radius: 8px;
    margin-top: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

/* Match form input styling on mobile */
@media (max-width: 768px) {
    .mapbox-geocoder-container .mapboxgl-ctrl-geocoder--input {
        font-size: 1rem;
        padding: 0.65rem 1rem 0.65rem 2.5rem;
    }
    
    .mapbox-geocoder-container .mapboxgl-ctrl-geocoder--icon {
        width: 18px;
        height: 18px;
        left: 0.85rem;
    }
}

/* Notification Settings */
.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-option {
    padding: 0.5rem 0;
}

.notification-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.notification-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 0.25rem;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.notification-info strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.notification-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.saved-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Admin Dashboard Styles */
.admin-badge {
    background: var(--danger-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.admin-user-item,
.admin-job-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--gray-lighter);
    transition: var(--transition);
}

.admin-user-item:hover,
.admin-job-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.admin-job-item.pending {
    border-color: var(--warning-color);
    background: rgba(245, 158, 11, 0.05);
}

.job-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.job-status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
}

.job-status-badge.approved,
.job-status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.job-status-badge.rejected,
.job-status-badge.deleted {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
}

.user-info,
.job-info {
    flex: 1;
}

.user-info h4,
.job-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.user-info p,
.job-info p {
    color: var(--gray);
    margin-bottom: 0.25rem;
}

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

.user-actions,
.job-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.badge-success {
    background: var(--success-color);
}

.badge-warning {
    background: var(--warning-color);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.settings-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--gray-lighter);
}

.setting-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.setting-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mt-1 {
    margin-top: 1rem;
}

.success-message {
    background: var(--success-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.error-message {
    background: var(--danger-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Responsive Design */
/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 1.5rem;
        z-index: 999;
        overflow-y: auto;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links.active a,
    .nav-links.active span {
        padding: 1rem;
        border-bottom: 1px solid var(--gray-lighter);
        text-align: left;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .nav-links.active a:last-child {
        border-bottom: none;
    }
    
    .nav-links.active .btn-primary,
    .nav-links.active .btn-secondary {
        margin-top: 0.5rem;
        text-align: center;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 0 2.5rem 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: var(--white) !important;
    }
    
    .hero::before {
        display: block !important;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        font-weight: 600;
        color: var(--white);
    }
    
    .hero-title .highlight {
        color: var(--white);
        font-weight: 800;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-stats {
        display: none;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem 1rem;
        background: #fff;
        border: 1px solid #e0e0e0;
        box-shadow: none;
        border-radius: 8px;
    }
    
    .feature-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--dark);
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #666;
        margin: 0;
    }
    
    /* Job Cards */
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .job-card {
        padding: 1rem;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: none;
    }
    
    .job-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-title {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .job-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .job-detail {
        font-size: 0.85rem;
        color: #666;
    }
    
    /* Dashboard */
    .dashboard-header {
        padding: 3rem 0 2rem 0;
    }
    
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .dashboard-content {
        padding: 2rem 0;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 0.35rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.65rem;
        border: 1px solid #ddd;
        border-radius: 6px;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
    }
    
    /* Filters */
    .filters {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .search-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    .search-bar button {
        width: 100%;
    }
    
    /* Profile */
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .info-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    
    .footer-section {
        padding: 0;
        border-top: 1px solid #e0e0e0;
        padding-top: 1rem;
    }
    
    .footer-section:first-child {
        border-top: none;
        padding-top: 0;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
    
    .footer-section a {
        display: block;
        padding: 0.35rem 0;
        font-size: 0.9rem;
        color: #666;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.5;
    }
    
    /* Applications Page */
    .application-card {
        padding: 1.25rem;
    }
    
    .application-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    /* Tables */
    .admin-user-item,
    .admin-job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .job-actions,
    .user-actions {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }
    
    .job-actions button,
    .user-actions button {
        flex: 1;
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    /* Buttons */
    .btn-large {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-small {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .section-header p {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.5;
        margin: 0;
    }
    
    /* Sections Padding */
    .features,
    .how-it-works {
        padding: 2.5rem 0;
        background: #ffffff;
    }
    
    .features {
        background: #ffffff;
    }
    
    .how-it-works {
        background: #f8f9fa;
    }
    
    /* CTA Section */
    .cta {
        padding: 2.5rem 0;
    }
    
    .cta-content {
        padding: 2rem 1rem;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        font-weight: 600;
        color: var(--dark);
    }
    
    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        color: #666;
    }
    
    .cta-content .btn-large {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* How It Works Section */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .step {
        padding: 1.25rem 1rem;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
        margin: 0 auto 0.75rem;
        box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15);
        font-weight: 700;
    }
    
    .step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--dark);
    }
    
    .step p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #666;
        margin: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
    }

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

    .job-header {
        flex-direction: column;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .info-row {
        grid-template-columns: 1fr;
    }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.empty-state p {
    font-size: 1.1rem;
}

/* ============================================
   LOGIN SUCCESS ANIMATION
   ============================================ */

.login-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-success-overlay.show {
    opacity: 1;
}

.login-success-overlay.fade-out {
    opacity: 0;
}

.login-success-animation {
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.login-success-overlay.show .login-success-animation {
    transform: scale(1);
}

.success-checkmark-gif {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: block;
}

.success-text {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    animation: fade-in 0.5s ease 0.3s both;
}

.success-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    animation: fade-in 0.5s ease 0.5s both;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    padding: 6rem 0 4rem 0;
    background: var(--background);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--gray-dark);
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-lighter);
    text-align: center;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.hero-small {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

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

.hero-small p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-detail-item p {
    opacity: 0.9;
    margin-bottom: 0;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
}

/* Admin Contact View Styles */
.contact-list {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-lighter);
    transition: background-color 0.2s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background-color: var(--background);
}

.contact-item.unread {
    background-color: rgba(99, 102, 241, 0.05);
    border-left: 4px solid var(--primary-color);
}

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

.contact-sender {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
}

.contact-email {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.contact-subject {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.contact-subject-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.contact-message {
    color: var(--dark);
    line-height: 1.7;
    margin-top: 0.75rem;
}

.contact-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-mark-read,
.btn-delete-contact {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-mark-read {
    background: var(--success-color);
    color: var(--white);
}

.btn-mark-read:hover {
    background: #059669;
}

.btn-delete-contact {
    background: var(--danger-color);
    color: var(--white);
}

.btn-delete-contact:hover {
    background: #dc2626;
}

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

.no-contacts h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0 1.75rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .modal-content {
        padding: 1.25rem;
        margin: 0.75rem;
    }
    
    .modal-content h2 {
        font-size: 1.35rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        font-size: 0.95rem;
        padding: 0.65rem 1.25rem;
    }
    
    .job-title {
        font-size: 1rem;
    }
    
    .job-card {
        padding: 0.85rem;
    }
    
    /* Section styling for smaller devices */
    .section-header h2 {
        font-size: 1.35rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
    
    .features,
    .how-it-works {
        padding: 2rem 0;
    }
    
    .feature-icon {
        font-size: 2.25rem;
    }
    
    .feature-card,
    .step {
        padding: 1rem 0.85rem;
    }
    
    .feature-card h3,
    .step h3 {
        font-size: 1rem;
    }
    
    .feature-card p,
    .step p {
        font-size: 0.85rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .cta {
        padding: 2rem 0;
    }
    
    .cta-content {
        padding: 1.5rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.35rem;
        color: var(--dark);
    }
    
    .cta-content p {
        font-size: 0.85rem;
        color: #666;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.6rem;
    }
    
    .footer-section {
        padding-top: 0.75rem;
    }
    
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.35rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    /* Contact page mobile */
    .hero-small {
        padding: 2.5rem 0 2rem;
    }
    
    .hero-small h1 {
        font-size: 1.75rem;
    }
    
    .hero-small p {
        font-size: 1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets for touch */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .job-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.1);
    }
    
    input,
    select,
    textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .modal-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

