:root {
    --beige: #f5f5dc;
    --dark-grey: #333333;
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--beige);
    color: var(--dark-grey);
    overflow-x: hidden;
}

.navbar {
    background-color: var(--dark-grey) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section {
    background: linear-gradient(rgba(51,51,51,0.7), rgba(51,51,51,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    margin-bottom: 50px;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.search-box {
    background: rgba(255,255,255,0.9);
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.job-card {
    background: white;
    padding: 10px;
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 5px;
}

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

.job-card h3 {
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-bottom: 5px;
}

.job-card p {
    font-size: 1rem;
}

.company {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
}

.location {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
}

.section-title {
    color: var(--dark-grey);
    margin-bottom: 30px;
    font-size: 2.5rem;
}

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

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
}

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

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

footer {
    background-color: var(--dark-grey) !important;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Expanded Responsive Design for Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        margin-bottom: 20px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .search-box {
        margin-bottom: 20px;
        padding: 5px;
    font-size: 1rem;
    }
    .job-card {
        padding: 5px;
    font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-collapse {
        width: 100%;
    }
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    .navbar-nav .nav-item {
        margin-bottom: 8px;
    }
    .footer .row, footer .row {
        flex-direction: column;
        text-align: center;
    }
    .about-sidebar, .about-content {
        margin-bottom: 20px;
    }
    .feature-card {
        margin-bottom: 15px;
    }
    .container, .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    form .form-control, form .form-select {
        font-size: 1rem;
        padding: 8px 10px;
    }
    .btn, .btn-lg, .btn-sm {
        width: 100%;
        margin-bottom: 8px;
    }
    img, .img-fluid {
        max-width: 100%;
        height: auto;
    }
}

/* Touch-friendly tap targets */
.btn, .form-control, .form-select {
    min-height: 44px;
}

/* Ensure images scale responsively */
img, .img-fluid {
    max-width: 100%;
    height: auto;
}
