/* PakJobs - Centralized Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffd700;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer h5 {
    color: var(--accent-color);
}

/* Common Button Styles */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
}

.btn-warning {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-warning:hover {
    background: #ffed4e;
    border-color: #ffed4e;
    color: var(--text-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

/* Page Header - Common across all pages */
.page-header {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== INDEX PAGE STYLES ===== */

/* Hero Section */
.hero-section {
    background: #2c3e50;
    color: white;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-form {
    max-width: 1000px;
    margin: 0 auto;
    background: #2c3e50;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.search-form .form-group {
    margin-bottom: 0;
}

.search-form .form-label {
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.search-form .form-label i {
    margin-right: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
}

.search-form .form-label .fa-search {
    color: #FFD700 !important; /* Gold color for search icon */
}

.search-form .search-input {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    height: auto;
}

.search-form .search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    background: white;
    transform: translateY(-2px);
}

.search-form .search-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.search-form .search-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffed4e 100%);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(1rem + 2rem + 0.6rem);
    margin-top: 0;
}

.search-form .search-btn:hover {
    background: linear-gradient(135deg, #ffed4e 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    color: var(--text-dark);
}

.search-form .search-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #FFD700 !important; /* Gold color for search button icon */
}

/* Stats Section */
.stat-card {
    background: #f8f9fa;
    color: #343a40;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #dee2e6;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgb(44, 62, 80);
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: inherit;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    color: inherit;
}

/* Category Cards */
.category-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
}

.category-card:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-5px);
}

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

.category-card:hover .category-icon {
    color: white;
}

.category-name {
    font-size: 1.2rem;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0.5rem;
}

.cta-btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.cta-btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    color: var(--text-dark);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* ===== JOBS PAGE STYLES ===== */

/* Search and Filter Section */
.search-filter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
}


.search-header {
    position: relative;
    z-index: 2;
}

.search-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.search-form {
    background: #2c3e50;
    padding: 3rem;
    border-radius: 25px;
    margin-top: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    margin-right: 0.5rem;
    color: #ffffff !important;
    font-size: 1.8rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

.btn-search {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    color: #333;
}

.search-form .row {
    align-items: end;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem 1.8rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    background: white;
    height: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.3rem rgba(102, 126, 234, 0.15), 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.btn-search {
    background: linear-gradient(135deg, #FFD700 0%, #ffed4e 100%);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    padding: 1rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    height: calc(1rem + 2rem + 0.6rem);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-search:hover::before {
    left: 100%;
}

.btn-search:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #FFD700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    color: var(--text-dark);
}

.btn-search i {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Jobs Section */
.jobs-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.jobs-header {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary-color);
}

.jobs-header h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.jobs-count {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* Jobs Grid - Using Bootstrap Grid */

.job-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card .btn {
    margin-top: auto;
    align-self: flex-start;
    width: auto;
    padding: 0.8rem 1.5rem;
}

/* Override for jobs page to use full width button like home page */
.job-card .btn.w-100 {
    width: 100% !important;
    align-self: stretch;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Job styles removed - using Bootstrap classes */

.job-type-badge {
    background: linear-gradient(135deg, #e8f2ff 0%, #d1e7ff 100%);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
    line-height: 1.2;
    display: inline-block;
}

/* Job meta styles removed - using Bootstrap classes */

/* Job description styles removed - using Bootstrap classes */

/* View job button styles removed - using Bootstrap btn classes */

.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.no-jobs i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.no-jobs h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-jobs p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 4rem;
}

.page-link {
    color: var(--primary-color);
    border: 2px solid #e9ecef;
    padding: 0.8rem 1.2rem;
    margin: 0 0.2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ===== COMPANIES PAGE STYLES ===== */

/* Companies Section */
/* Companies Section - Using Bootstrap Grid */
.companies-section {
    padding: 3rem 0;
}

.company-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.company-card .btn {
    margin-top: auto;
    align-self: flex-start;
    width: auto;
    padding: 0.8rem 1.5rem;
}

/* Override for companies page to use full width button like home page */
.company-card .btn.w-100 {
    width: 100% !important;
    align-self: stretch;
}

.company-meta-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Company styles removed - using Bootstrap classes */

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

.no-companies i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* ===== ABOUT PAGE STYLES ===== */

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

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

.team-card {
    background: rgb(44, 62, 80);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

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

.team-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.team-position {
    color: #FFD700;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 4rem 0;
}

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

.stats-grid .stat-card {
    text-align: center;
    padding: 2rem;
}

.stats-grid .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: inherit;
    margin-bottom: 0.5rem;
}

.stats-grid .stat-label {
    color: inherit;
    font-size: 1.1rem;
}

/* Inherit color from parent for responsive stats */
.stats-section .stat-card .stat-number,
.stats-section .stat-card .stat-label,
.stats-grid .stat-card .stat-number,
.stats-grid .stat-card .stat-label {
    color: inherit;
}

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

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

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

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgb(44, 62, 80);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-item-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

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

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

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

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

.btn-submit {
    background: rgb(44, 62, 80);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: rgb(52, 73, 94);
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.map-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.map-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 3rem;
    margin-top: 1rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: rgb(44, 62, 80);
    margin-bottom: 1rem;
}

/* ===== JOB DETAILS PAGE STYLES ===== */

/* Job Details Section */
.job-details-section {
    padding: 3rem 0;
}

/* Job Title Section */
.job-title-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: left;
}

.job-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0;
    font-weight: 700;
}

.company-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Job Details Grid */
.job-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.detail-item i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.detail-content h6 {
    margin: 0 0 0.3rem 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.job-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.job-main {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.job-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.section-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.job-description,
.job-requirements,
.skills-section,
.benefits-section {
    margin-bottom: 2rem;
}

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

.skill-tag {
    background: #e8f2ff;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.benefits-list li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.company-info {
    text-align: center;
    margin-bottom: 2rem;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

.related-jobs {
    margin-top: 2rem;
}

.related-job-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.related-job-card:hover {
    transform: translateY(-2px);
}

.related-job-card h6 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.related-job-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.back-btn {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
}

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

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .search-form .row.g-3 {
        margin-bottom: 1rem;
    }
    
    .search-form .col-md-2,
    .search-form .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .search-form .search-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        height: auto;
    }

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

    .job-meta {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .search-form {
        padding: 1.5rem;
    }

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

    .job-card {
        padding: 2rem;
    }

    .job-title {
        font-size: 1.2rem;
    }

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

    .company-meta {
        grid-template-columns: 1fr;
    }

    .company-actions {
        flex-direction: column;
    }

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

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

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

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }

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

    .job-meta {
        grid-template-columns: 1fr;
    }

    .job-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .jobs-header {
        padding: 1.5rem;
        text-align: center;
    }

    .jobs-header h2 {
        font-size: 1.5rem;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .page-link {
        padding: 0.6rem 0.8rem;
        margin: 0.1rem;
        font-size: 0.9rem;
    }
}

/* ===== CITY FILTER LINKS ===== */
.city-filter-link {
    text-decoration: none;
    color: #495057;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.city-filter-link:hover {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}