/* Global Styles */
:root {
    --primary-color: #006633; /* Pakistani green */
    --secondary-color: #24324a;
    --accent-color: #ffffff; /* White for contrast */
    --light-color: #f5f5f5;
    --dark-color: #333;
    --gray-color: #767676;
    --border-color: #e0e0e0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    color: var(--gray-color);
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(0, 102, 51, 0.1);
}

header::before {
    content: none;
}

header.header-hidden {
    transform: translateY(-100%);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

header.sticky {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.logo h1::after {
    content: none;
}

.logo:hover h1 {
    color: var(--primary-color);
}

.logo span {
    color: var(--primary-color);
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav ul li {
    margin: 0;
    position: relative;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: var(--secondary-color);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    opacity: 0.7;
}

nav ul li a:hover:after, nav ul li a.active:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 5px;
    border-radius: 5px;
}

.mobile-menu:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 102, 51, 0.92), rgba(0, 102, 51, 0.85)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 70px 0 40px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #006633, #ffffff, #006633);
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #ffffff;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.search-container {
    flex: 1;
    min-width: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.search-container h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.search-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #006633;
}

.search-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.search-input i {
    position: absolute;
    left: 15px;
    color: #006633;
    font-size: 1.1rem;
}

.search-input input, 
.search-input select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.search-input select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.search-box button {
    padding: 15px;
    background-color: #006633;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background-color: #004d26;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 51, 0.3);
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.popular-searches span {
    color: #666;
    font-weight: 500;
}

.popular-searches a {
    color: #006633;
    background-color: rgba(0, 102, 51, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.popular-searches a:hover {
    background-color: rgba(0, 102, 51, 0.15);
    color: #004d26;
}

.hero-companies {
    text-align: center;
    margin-top: 30px;
}

.hero-companies p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
}

.logo-item {
    min-width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.logo-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-item i {
    font-size: 1.2rem;
    color: white;
}

.logo-item span {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        padding-right: 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .search-container {
        min-width: 100%;
    }
    
    .stat {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat {
        flex: 1;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .company-logos {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .logo-item {
        max-width: 80px;
        height: 30px;
    }
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: var(--light-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.category-card h3 {
    margin-bottom: 10px;
}

.category-card p {
    color: var(--gray-color);
}

/* Latest Jobs Section */
.latest-jobs {
    padding: 80px 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.job-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.job-card .company-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    margin-bottom: 15px;
}

.job-card .company-logo img {
    max-width: 80%;
    max-height: 80%;
}

.job-card h3 {
    margin-bottom: 10px;
}

.job-card .company-name {
    color: var(--gray-color);
    margin-bottom: 15px;
    display: block;
}

.job-card .job-details {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.job-card .job-detail {
    margin-right: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.job-card .job-detail i {
    margin-right: 5px;
    color: var(--primary-color);
}

.job-card .job-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.job-card .job-tag {
    background-color: rgba(74, 108, 247, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.job-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.job-card .salary {
    font-weight: 600;
    color: var(--accent-color);
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-color);
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: var(--box-shadow);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: #fff;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
}

.newsletter button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.newsletter button:hover {
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    margin-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-box input, .search-box select, .search-box button {
        width: 100%;
        border-radius: 0;
    }
    
    .search-box select {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        z-index: 1001;
        box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
        transition: 0.4s;
        padding: 80px 20px 20px;
        border-left: 1px solid rgba(0, 102, 51, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    
    .mobile-menu {
        display: block;
        z-index: 1002;
        position: relative;
    }
    
    .mobile-menu.active {
        color: var(--primary-color);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter button {
        border-radius: 5px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Company Logo Styles */
.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    margin-bottom: 15px;
    overflow: hidden;
}

.company-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.default-logo, .text-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.text-logo {
    background-color: var(--primary-color);
    color: white;
}

/* Company specific colors for text logos */
.job-card:nth-child(1) .text-logo {
    background-color: #3498db; /* Systems Limited - blue */
}

.job-card:nth-child(2) .text-logo {
    background-color: #2ecc71; /* Graana.com - green */
}

.job-card:nth-child(3) .text-logo {
    background-color: #e74c3c; /* Bank Alfalah - red */
}

.job-card:nth-child(4) .text-logo {
    background-color: #9b59b6; /* Shifa - purple */
}

.job-card:nth-child(5) .text-logo {
    background-color: #f39c12; /* Beaconhouse - orange */
}

.job-card:nth-child(6) .text-logo {
    background-color: #1abc9c; /* Khaadi - teal */
}

/* Job Details Page Logo */
.job-details-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.job-details-header .company-logo {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 30px;
    font-size: 2.5rem;
}

.job-details-header .text-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

/* Company specific colors for job details text logos */
#job-details-container[data-company="Systems Limited"] .text-logo {
    background-color: #3498db;
}

#job-details-container[data-company="Graana.com"] .text-logo {
    background-color: #2ecc71;
}

#job-details-container[data-company="Bank Alfalah"] .text-logo {
    background-color: #e74c3c;
}

#job-details-container[data-company="Shifa International Hospital"] .text-logo {
    background-color: #9b59b6;
}

#job-details-container[data-company="Beaconhouse School System"] .text-logo {
    background-color: #f39c12;
}

#job-details-container[data-company="Khaadi"] .text-logo {
    background-color: #1abc9c;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.job-meta span {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.job-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Job section styles */
.job-section {
    margin-bottom: 30px;
}

.job-section h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 8px;
}

.job-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.job-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.job-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.job-description {
    margin-bottom: 30px;
}

.job-description p {
    line-height: 1.8;
}

/* Application form styles */
.application-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.application-form h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Related jobs section */
#related-jobs-container .job-card {
    transition: all 0.3s ease;
}

#related-jobs-container .job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

header::before {
    content: none;
}

/* Jobs Search Box Styles */
.jobs-search-box {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.jobs-search-box .search-input {
    flex: 1;
    position: relative;
    margin: 0;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: none;
}

.jobs-search-box button {
    min-width: 150px;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jobs-search-box button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .jobs-search-box {
        flex-direction: column;
    }
    
    .jobs-search-box button {
        width: 100%;
    }
}

/* Jobs Filters Styles */
.jobs-filters {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-group {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.filter-group select, 
.filter-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 51, 0.1);
}

@media (max-width: 768px) {
    .jobs-filters {
        grid-template-columns: 1fr;
    }
}

/* Popular Categories Styles */
.popular-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.popular-category {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

.popular-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.popular-category h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

.popular-category p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.popular-category .job-count {
    font-weight: 700;
    color: var(--primary-color);
}

.popular-category .btn {
    margin-top: 10px;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 992px) {
    .popular-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .popular-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Header Search Styles */
.header-search {
    flex: 1;
    max-width: 250px;
    margin: 0 15px;
}

.header-search-form {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 0 5px 0 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 102, 51, 0.1);
    transition: all 0.3s ease;
}

.header-search-form:hover, 
.header-search-form:focus-within {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 102, 51, 0.12);
    border-color: rgba(0, 102, 51, 0.2);
}

.header-search-input {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-search-input i {
    color: var(--primary-color);
    font-size: 16px;
    margin-right: 10px;
}

.header-search-input input {
    height: 34px;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
}

.header-search-input input::placeholder {
    color: #888;
}

.header-search-form button {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search-form button:hover {
    background-color: #005522;
    transform: scale(1.05);
}

.header-search-form.focused {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 102, 51, 0.15);
    border-color: rgba(0, 102, 51, 0.25);
    transform: translateY(-2px);
}

/* Media Queries for Header Search */
@media (max-width: 992px) {
    nav ul {
        gap: 15px;
    }
    
    .header-search {
        max-width: 200px;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .header-search {
        width: 100%;
        max-width: 100%;
        margin: 15px 0;
        order: 4;
    }
    
    nav ul .header-search {
        order: 5;
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
        z-index: 1002;
        position: relative;
    }
}

.category-logo {
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    margin: 20px auto 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.category-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #01411c, #006400);
    z-index: 1;
    border-radius: 50%;
}

.popular-category:nth-child(1) .category-logo::before {
    background: linear-gradient(45deg, #01411c, #006400);
}

.popular-category:nth-child(2) .category-logo::before {
    background: linear-gradient(45deg, #004d00, #007a00);
}

.popular-category:nth-child(3) .category-logo::before {
    background: linear-gradient(45deg, #004000, #005c00);
}

.popular-category:nth-child(4) .category-logo::before {
    background: linear-gradient(45deg, #006400, #008500);
}

.popular-category:nth-child(5) .category-logo::before {
    background: linear-gradient(45deg, #003f00, #006900);
}

.popular-category:nth-child(6) .category-logo::before {
    background: linear-gradient(45deg, #005200, #007800);
}

.category-logo i {
    font-size: 60px;
    color: #fff;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.popular-category:hover .category-logo i {
    transform: scale(1.2);
} 