/* Base Styles and CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #2563eb;
    color: #fff;
    border: 1px solid #2563eb;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-outline {
    border: 1px solid #2563eb;
    color: #2563eb;
    background: transparent;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: #fff;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h3 {
    font-size: 28px;
    color: #111;
    position: relative;
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2563eb;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    color: #2563eb;
    font-size: 24px;
    font-weight: 600;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s;
}

nav ul li a:hover::after, 
nav ul li a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

/* Header Search Box Styles */
.header-search {
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    border-radius: 30px;
    padding: 5px 10px;
    width: 280px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.header-search:focus-within {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
}

.header-search input {
    flex: 1;
    border: none;
    padding: 8px 10px;
    font-size: 14px;
    background-color: transparent;
    outline: none;
}

.header-search button {
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-search button:hover {
    background-color: #1d4ed8;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero-bg.svg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.search-box input, 
.search-box select {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-box select {
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    background-color: #fff;
}

.search-box button {
    padding: 15px 25px;
    border: none;
    border-radius: 0;
}

.popular-searches {
    margin-top: 20px;
}

.popular-searches span {
    margin-right: 10px;
    font-weight: 500;
}

.popular-searches a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    margin: 0 5px;
    font-size: 14px;
}

.popular-searches a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Latest Jobs Section */
.latest-jobs {
    padding: 60px 0;
    background-color: #fff;
}

.latest-jobs-table {
    overflow-x: auto;
}

.latest-jobs-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.latest-jobs-table th,
.latest-jobs-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.latest-jobs-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #4b5563;
}

.latest-jobs-table tr:hover {
    background-color: #f9fafb;
}

.latest-jobs-table h4 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #111;
}

.job-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.job-type.permanent {
    background-color: #dcfce7;
    color: #16a34a;
}

.job-type.contract {
    background-color: #e0f2fe;
    color: #0284c7;
}

.job-type.full-time {
    background-color: #f3e8ff;
    color: #7e22ce;
}

.vacancies {
    font-size: 12px;
    color: #6b7280;
}

/* Hot Jobs Section */
.hot-jobs {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.hot-jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.hot-job-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
}

.hot-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hot-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: #ef4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.hot-job-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
}

.hot-job-card p {
    color: #6b7280;
    margin-bottom: 15px;
    font-size: 14px;
}

.job-meta {
    display: flex;
    margin-bottom: 20px;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #4b5563;
    margin-right: 15px;
}

.job-meta span i {
    margin-right: 5px;
    color: #2563eb;
}

/* Featured Jobs Section */
.featured-jobs {
    padding: 60px 0;
    background-color: #fff;
}

.view-all {
    color: #2563eb;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
}

.jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}

.job-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-logo {
    width: 80px;
    height: 80px;
    overflow: hidden;
    margin-right: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
}

.job-info {
    flex: 1;
}

.job-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.company-name {
    color: #4b5563;
    margin-bottom: 10px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.job-details span {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #4b5563;
    margin-right: 15px;
}

.job-details i {
    margin-right: 5px;
    color: #2563eb;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tags span {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.apply-btn {
    padding: 8px 15px;
    font-size: 14px;
}

/* Apply Button Animation */
.apply-btn.applying {
    background-color: #f3f4f6;
    color: #4b5563;
    border-color: #e5e7eb;
    pointer-events: none;
}

/* Government Jobs Section */
.government-jobs {
    padding: 60px 0;
    background-color: #fff;
}

.government-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gov-job-card {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.gov-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #2563eb;
    color: #fff;
}

.gov-job-card:hover .icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.gov-job-card:hover h4, 
.gov-job-card:hover p {
    color: #fff;
}

.gov-job-card .icon {
    width: 60px;
    height: 60px;
    background-color: #e0f2fe;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.gov-job-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #111;
    transition: all 0.3s ease;
}

.gov-job-card p {
    color: #6b7280;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Jobs By Cities Section */
.jobs-by-cities {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.cities-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.city-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.city-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #111;
}

.city-card p {
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
}

/* Categories Section */
.categories {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card .icon {
    font-size: 36px;
    color: #2563eb;
    margin-bottom: 15px;
}

.category-card h4 {
    margin-bottom: 8px;
}

.category-card p {
    color: #6b7280;
    font-size: 14px;
}

/* Top Companies Section */
.top-companies {
    padding: 60px 0;
    background-color: #fff;
}

.companies-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.company-logo-card {
    height: 100px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 10px;
    transition: all 0.3s ease;
}

.company-logo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-logo-card img {
    max-width: 80%;
    max-height: 80%;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    height: 100%;
}

.testimonial-img {
    width: 150px;
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
    flex: 1;
}

.testimonial-content p {
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-content h4 {
    color: #111;
    margin-bottom: 5px;
}

.position {
    color: #6b7280;
    font-size: 14px;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background-color: #2563eb;
    color: #fff;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-content p {
    margin-bottom: 20px;
}

.newsletter-content form {
    display: flex;
    width: 100%;
}

.newsletter-content input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 16px;
}

.newsletter-content button {
    border-radius: 0 5px 5px 0;
    padding: 0 25px;
    background-color: #1d4ed8;
    border: none;
}

.newsletter-content button:hover {
    background-color: #1e40af;
}

/* Footer Section */
footer {
    background-color: #1e293b;
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
    margin-right: 10px;
}

.footer-logo h3 {
    color: #fff;
    font-size: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
}

.social-icons a:hover {
    background-color: #2563eb;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #2563eb;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #cbd5e1;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.contact-info li i {
    margin-right: 10px;
    margin-top: 5px;
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
}

.footer-links li {
    margin-left: 20px;
}

.footer-links li a {
    color: #cbd5e1;
    font-size: 14px;
}

.footer-links li a:hover {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .jobs-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hot-jobs-container {
        grid-template-columns: 1fr;
    }
    
    .government-jobs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cities-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .header-search {
        width: 220px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .auth-buttons {
        margin-left: auto;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input, 
    .search-box select {
        width: 100%;
        border: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .latest-jobs-table {
        overflow-x: auto;
    }
    
    .latest-jobs-table table {
        min-width: 800px;
    }
    
    .government-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
        justify-content: center;
    }
    
    .footer-links li {
        margin: 0 10px;
    }
    
    .newsletter-content form {
        flex-direction: column;
    }
    
    .newsletter-content input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-content button {
        border-radius: 5px;
        width: 100%;
    }
    
    .header-search {
        display: none;
    }
}

@media (max-width: 576px) {
    .government-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-container {
        grid-template-columns: 1fr;
    }
}

/* About Us Section */
.about-us {
    padding: 60px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-text h4 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #111;
}

.about-text h4:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 15px;
    color: #4b5563;
    line-height: 1.7;
}

.feature-list {
    margin: 20px 0;
    padding-left: 10px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: #2563eb;
    margin-right: 10px;
    margin-top: 4px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: start;
}

.stat-card {
    background-color: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 5px;
}

.stat-label {
    color: #4b5563;
    font-size: 14px;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        margin-top: 20px;
    }
} 