/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1650e2;       /* Your Blue */
    --accent-color: #e34216;        /* Your Orange */
    --dark-text: #2c3e50;
    --light-bg: #f4f7f6;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: #444;
    overflow-x: hidden;
}

/* --- 1. Navbar & Mobile Menu (Offcanvas) --- */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #555 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Mobile Offcanvas Menu */
.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
}
.offcanvas-title { font-weight: 700; }
.btn-close-white { filter: invert(1); }

/* --- 2. Buttons & Calls to Action --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 600;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: transform 0.2s;
}

.btn-accent:hover {
    background-color: #c93a12;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 66, 22, 0.3);
}

/* --- 3. Cards & Content --- */
.main-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-header-custom {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 15px;
}

/* --- 4. Job Details Specifics --- */
.job-highlight-box {
    background: #eef2ff; /* Very light blue */
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.job-meta-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.job-meta-icon {
    width: 30px;
    color: var(--accent-color);
}

/* --- 5. Ad Slots --- */
.ad-slot {
    background: #fafafa;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    margin: 20px 0;
    border-radius: 8px;
    position: relative;
}
.ad-slot small {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 10px;
    color: #999;
}

/* --- 6. Footer --- */
footer {
    background-color: #1a202c;
    color: #aaa;
    padding-top: 50px;
    margin-top: 50px;
}
footer h5 { color: white; margin-bottom: 20px; }
footer a { color: #aaa; text-decoration: none; }
footer a:hover { color: var(--accent-color); }

/* --- TOP BAR --- */
.top-bar {
    background-color: #1650e2; /* Primary Blue */
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: white; text-decoration: none; transition: 0.2s; }
.top-bar a:hover { color: #ffd700; }

/* --- NAVBAR --- */
.navbar {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 12px 0;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: #1650e2 !important;
    letter-spacing: -0.5px;
}
.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 8px;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: #1650e2 !important;
}
/* Underline effect for active link */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e34216; /* Accent Orange */
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- BUTTONS --- */
.btn-job-alert {
    background-color: #e34216;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 25px;
    border: none;
    transition: 0.3s;
}
.btn-job-alert:hover {
    background-color: #c93a12;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 66, 22, 0.3);
}