:root {
    /* Inherit from theme.css where possible or define specific landing vars */
    --font-main: 'Poppins', 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--bg-card) !important;
    /* backdrop-filter: blur(10px); */ /* can cause issues with some dark themes transparency */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}
/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0 50px;
        text-align: center;
    }

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

    .hero-text {
        margin-bottom: 50px;
    }

    .d-grid.gap-2.d-md-flex {
        justify-content: center !important;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .hero-image-container {
        margin-top: 30px;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
.navbar-brand {
    font-weight: 800;
    color: var(--accent-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    /* Use a gradient that respects theme? Or just bg-body */
    /* For dark mode, we might want a different gradient or just solid color */
    background: var(--bg-body); 
    /* If we want gradient, we need to handle it carefully. 
       Let's use a subtle gradient using vars if possible, or just bg-body for consistency */
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}
.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-img {
    max-width: 100%;
    height: auto;
}
.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}
/* Fix Navbar Toggler alignment */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}
.search-section {
    background-color: var(--bg-card);
    padding: 100px 0;
}

.search-box {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* Vacancy Cards */
.vacancy-card {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s;
    color: var(--text-primary);
}

.vacancy-card h5 a {
    color: var(--text-heading) !important;
}

.vacancy-card .text-muted {
    color: var(--text-muted) !important;
}

/* ... */
.dashboard-section {
    display: none; 
    padding: 100px 0;
    background-color: var(--bg-body);
}

.history-item {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}
/* ... */
footer {
    background-color: var(--bg-card);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}
/* ... */
.modal-content {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
/* ... */
.form-control {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border);
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--text-primary);
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 33, 165, 0.15);
    background-color: var(--input-bg) !important;
    border-color: var(--accent-color) !important;
    color: var(--text-primary);
}

.input-group .input-group-text {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--input-border);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: var(--text-muted);
}

