:root {
  --bongo-blue: #0a2540;
  --bright-green: #00c984;
  --bg-soft: #f4f7f6;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border-light: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  font-family: "Poppins", sans-serif;
  padding-top: 35px;
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden; /* Hard block on horizontal scrolling */
  position: relative;
}

/* ================================================================
   BONGOJOBS - NAVIGATION MASTER STYLES
   Features: Top Bar, Sticky Nav, Centered Menu, Mobile Drawer
   ================================================================ */

/* --- 1. TOP BAR & FIXED NAV --- */
.top-bar {
  position: fixed; /* Changed to lock at top */
  top: 0;
  left: 0;
  z-index: 1001;
  background-color: var(--bongo-blue);
  color: var(--white);
  font-size: 0.75rem;
  padding: 8px 0;
  text-align: center;
  width: 100%;
  height: 35px; /* Added height to calculate position */
}

.main-nav {
  position: fixed; /* Changed from sticky to fixed */
  top: 35px; /* Sits exactly below the top-bar */
  left: 0;
  background: var(--white);
  padding: 12px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  z-index: 1000;
}

.nav-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 2. BRANDING & DESKTOP MENU --- */
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bongo-blue);
  text-decoration: none;
}
.logo span {
  color: var(--bright-green);
}

.main-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.main-menu li a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.main-menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--bright-green);
  transition: 0.3s ease;
}

.main-menu li a:hover::after,
.main-menu li a.active::after {
  width: 100%;
}

/* --- 3. ACTIONS & BUTTONS --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}
.auth-group {
  display: flex;
  gap: 8px;
  align-items: center;
}
.auth-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
}
.auth-link:hover {
  color: var(--bright-green);
}

/* --- Modern Post Job Button --- */
.post-job-btn {
  background: linear-gradient(135deg, var(--bright-green) 0%, #00b375 100%);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 14px; /* More modern, softer corner */
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 201, 132, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

/* --- The Modern Hover Effect --- */
.post-job-btn:hover {
  transform: translateY(-3px) scale(1.02); /* Slight lift and grow */
  background: linear-gradient(135deg, #00d98f 0%, var(--bright-green) 100%);
  box-shadow: 0 8px 25px rgba(0, 201, 132, 0.4); /* Stronger glow */
  letter-spacing: 0.5px; /* Subtle text expansion */
}

.post-job-btn:active {
  transform: translateY(-1px); /* Pressed effect */
}

/* Icon Animation */
.post-job-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.post-job-btn:hover i {
  transform: rotate(90px); /* Smooth rotation of the plus icon */
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--bongo-blue);
  cursor: pointer;
}

/* --- 4. MODERN MOBILE DRAWER --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px; /* Hide */
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 2000;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.mobile-overlay.show {
  display: block;
}

.drawer-header {
  padding: 25px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close-btn {
  width: 35px;
  height: 35px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.drawer-body {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
}
.group-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 15px;
}

.drawer-links {
  list-style: none;
}
.drawer-links li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  border-radius: 12px;
  color: var(--bongo-blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.drawer-links li a.active,
.drawer-links li a:hover {
  background: #f0fdf4;
  color: var(--bright-green);
}
.drawer-post-btn {
  background: var(--bright-green);
  color: white !important;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  display: block;
}

/* --- 5. RESPONSIVE --- */
@media (max-width: 992px) {
  .nav-wrapper {
    display: flex;
    justify-content: space-between;
  }
  .main-menu,
  .hide-mobile {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* --- END OF HEADER CSS --- */

/* --- Premium BongoJobs Banner --- */
.banner {
    height: 520px;
    background-color: var(--bongo-blue); 
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.02) 20px,
        rgba(255, 255, 255, 0.02) 21px
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    /* CRITICAL CHANGE: Changed from hidden to visible so dropdown can 'float' out */
    overflow: visible; 
    z-index: 10;
}

/* Subtle Bright Green Glow */
.banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--bright-green); 
    filter: blur(180px);
    opacity: 0.12;
    top: -150px;
    right: -100px;
    z-index: -1; /* Keep glow behind text */
}

.banner h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

/* Updated this section to ensure text is white and visible */
.banner p { 
    color: #FFFFFF !important; /* Forces the text to white */
    font-size: 1.15rem; 
    max-width: 650px;
    font-weight: 400;
    opacity: 0.9; /* Optional: adds a slight professional softness */
    margin: 0 auto;
}

.banner h1 span { 
    color: var(--bright-green); 
}

/* --- Glassmorphism Search Bar Wrapper --- */
.search-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 20px;
    display: flex;
    width: 100%;
    max-width: 950px;
    margin: 50px auto 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: visible; /* Required for the dropdown to show on top */
    z-index: 100;
}

.input-box {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 25px;
    position: relative;
}

.input-box:first-child { 
    border-right: 1px solid #eee; 
}

.input-box i { 
    color: var(--bright-green); /* Primary brand green */
    margin-right: 15px; 
    font-size: 18px; 
}

.input-box input {
    border: none;
    outline: none;
    width: 100%;
    padding: 15px 0;
    font-size: 15px;
    background: transparent;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
}

/* --- Modern Custom Dropdown --- */
.custom-dropdown {
    cursor: pointer;
}

.selected-option {
    font-size: 15px;
    color: var(--text-main);
    width: 100%;
    padding: 15px 0;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px); /* Positioned below the bar */
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 9999 !important; /* Floats on top of categories */
    display: none; 
    overflow: hidden;
}

.dropdown-menu.show {
    display: block !important;
    animation: slideUp 0.3s ease forwards;
}

/* Dropdown Search Header */
.dropdown-search {
    padding: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.dropdown-search input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

/* Region List Items */
.options-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px; 
    overflow-y: auto;
}

.options-list li {
    padding: 12px 20px;
    font-size: 14px;
    color: #1A1A1A;
    text-align: left;
    transition: all 0.2s;
}

.options-list li:hover {
    background-color: #f8f9fa;
    color: var(--bright-green);
    padding-left: 25px;
}

/* --- Search Button --- */
.search-btn {
    background: var(--bright-green);
    color: var(--white);
    border: none;
    padding: 0 45px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn:hover {
    background: #00b375;
    transform: translateY(-2px);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- Mobile Responsive Fixes --- */
@media (max-width: 768px) {
    /* 1. Scale down the banner text for small screens */
    .banner {
        height: auto;
        padding: 80px 20px;
    }

    .banner h1 {
        font-size: 2.2rem; /* Smaller heading on mobile */
        line-height: 1.2;
    }

    .banner p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* 2. Stack the search inputs vertically */
    .search-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        margin-top: 30px;
        border-radius: 20px;
    }

    .input-box {
        width: 100%;
        padding: 0 15px;
        border-right: none !important; /* Remove the desktop divider */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Add a subtle bottom divider */
    }

    .input-box:last-of-type {
        border-bottom: none;
    }

    /* 3. Make inputs and dropdown full width */
    .input-box input, 
    .selected-option {
        padding: 12px 0;
        font-size: 14px;
    }

    /* 4. Full width button on mobile */
    .search-btn {
        width: 100%;
        padding: 15px;
        margin-top: 5px;
        border-radius: 12px;
    }

    /* 5. Adjust dropdown menu positioning for mobile */
    .dropdown-menu {
        position: absolute;
        top: calc(100% + 5px);
        width: 100%;
        left: 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
}



/* ================================================================
   BONGOJOBS - CATEGORIES STYLES
   Features: 
   ================================================================ */

        .job-categories {
            padding: 40px 10px;
            background-color: var(--bg-soft);
        }

        /* --- FIXED HEADER LAYOUT --- */
        .section-header {
            max-width: 1000px;
            margin: 0 auto 25px; 
            padding: 0 12px;
            display: flex;
            align-items: center;
            justify-content: space-between; /* Heading left, Link right */
        }

        /* Group strip and h2 so they stay together on the left */
        .header-title-wrapper {
            display: flex;
            align-items: center;
        }

        .header-strip {
            width: 5px;
            height: 35px;
            background-color: var(--bright-green);
            border-radius: 3px;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .section-header h2 {
            font-size: 1.5rem;
            color: var(--text-main);
            font-weight: 700;
            line-height: 1;
        }

        /* --- Link with Background --- */
        .view-all {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--bright-green);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 201, 132, 0.1); 
            padding: 8px 16px;
            border-radius: 50px;
            transition: all 0.3s ease;
            white-space: nowrap; /* Prevents text wrapping */
        }

        .view-all:hover {
            background: var(--bright-green);
            color: #fff;
        }

        /* --- Grid Styles --- */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .category-card {
            background: #ffffff;
            padding: 15px 12px;
            border-radius: 12px;
            text-align: left;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            border-left: 5px solid var(--bright-green);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 85px;
        }

        .category-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(0, 201, 132, 0.015) 10px,
                rgba(0, 201, 132, 0.015) 11px
            );
            pointer-events: none;
        }

        .icon-box {
            width: 32px;
            height: 32px;
            background: rgba(0, 201, 132, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            z-index: 1;
        }

        .category-card i { font-size: 0.9rem; color: var(--bright-green); }
        .category-card h3 { font-size: 0.8rem; margin: 0; color: var(--text-main); font-weight: 600; z-index: 1; }
        .category-card span { font-size: 0.65rem; color: var(--text-muted); z-index: 1; }

        .category-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
            border-color: var(--bright-green);
        }

        .category-card:hover .icon-box { background: var(--bright-green); }
        .category-card:hover i { color: #fff; }

        /* --- Responsive Styles (Same Look) --- */
        @media (max-width: 992px) {
            .category-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 600px) {
            .section-header {
                padding: 0 5px;
                justify-content: space-between; /* Maintains side-by-side on mobile */
            }
            .header-strip { height: 30px; margin-right: 12px; }
            .section-header h2 { font-size: 1.2rem; }
            .view-all { font-size: 0.7rem; padding: 6px 12px; }
            
            .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
            .category-card { padding: 12px 10px; min-height: 75px; }
            .icon-box { width: 28px; height: 28px; }
        }


/* --- End of Category Section --- */

/* ================================================================
   BONGOJOBS - Job Listings section CSS
   Features: 
   ================================================================ */


    :root {
    --vcy-primary-highlight: #00c853; 
    --vcy-deep-forest: #1b5e20;
    --vcy-pattern-trace: rgba(0, 200, 83, 0.06); 
    --vcy-base-tint: #f5fff9;
    --vcy-outer-radius: 15px;
    --vcy-bottom-fade: linear-gradient(135deg, #ffffff 0%, #f5fff9 100%);
    --vcy-edge-border: rgba(0, 201, 132, 0.15);
}

.job-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between cards */
}

.vcy-listing-container {
    width: 100%;
    background: white;
    border-radius: var(--vcy-outer-radius);
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1.5px solid #ececec;
    border-left: 5px solid var(--vcy-primary-highlight);
    overflow: hidden;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 12px,
        var(--vcy-pattern-trace) 12px,
        var(--vcy-pattern-trace) 13px
    );
}

.vcy-listing-container:hover {
    border-color: var(--vcy-primary-highlight);
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.vcy-main-body {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.vcy-brand-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.vcy-text-stack { flex-grow: 1; }

.vcy-position-title {
    color: var(--vcy-deep-forest);
    font-size: 1.15rem; /* Adjusted for better fit in lists */
    font-weight: 700;
    margin: 0 0 6px 0;
}

.vcy-info-row {
    color: #555;
    font-size: 0.9rem;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vcy-info-row i { color: var(--vcy-primary-highlight); width: 16px; }

.vcy-meta-column { text-align: right; }

.vcy-status-label {
    background: #0a2540;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.vcy-time-stamp {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 0.8rem;
}

.vcy-lower-section {
    background: var(--vcy-bottom-fade);
    padding: 12px 24px;
    border-top: 1px solid var(--vcy-edge-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vcy-sector-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--vcy-primary-highlight);
    background: rgba(0, 200, 83, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
}

.vcy-action-trigger {
    text-decoration: none;
    color: var(--vcy-deep-forest);
    font-weight: 700;
    font-size: 0.9rem;
}

.vcy-premium-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--vcy-primary-highlight), var(--vcy-deep-forest));
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-bottom-left-radius: 12px;
    letter-spacing: 1px;
    z-index: 2;
}

.vcy-is-featured {
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.08);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .vcy-main-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .vcy-meta-column {
        text-align: left;
        width: 100%;
        border-top: 1px dashed #eee;
        padding-top: 10px;
        display: flex;
        justify-content: space-between;
    }
        /* --- Jobs by Location Section --- */
        .location-section { padding: 60px 15px; background-color: var(--white); }
        .location-container { max-width: 1000px; margin: 0 auto; }

        .location-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .location-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 15px;
            background: var(--bg-soft);
            border: 1px solid var(--border-light);
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .location-item:hover {
            background: var(--white);
            border-color: var(--bright-green);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        .loc-name { font-size: 0.8rem; font-weight: 600; color: var(--bongo-blue); }
        .loc-count {
            font-size: 0.7rem;
            background: var(--white);
            color: var(--bright-green);
            padding: 1px 7px;
            border-radius: 20px;
            font-weight: 700;
            border: 1px solid var(--border-light);
        }

        /* View More Button */
/* Container to handle spacing and alignment */
.view-more-container {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: var(--bg-soft); /* Maintains the soft background */
}

/* Modern, interactive button design */
.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bright-green); /* Using your primary brand green */
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 12px; /* Smooth, modern corners */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 201, 132, 0.2); /* Subtle glow using your green */
}

.view-more-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Hover States for better UX */
.view-more-btn:hover {
    background-color: var(--bongo-blue); /* Switches to your dark blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.15);
}

.view-more-btn:hover i {
    transform: translateX(5px); /* Animates the arrow to indicate forward motion */
}

.view-more-btn:active {
    transform: translateY(0);
}

/* --- Responsive Logic --- */
@media (max-width: 992px) {
    .location-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .location-grid { grid-template-columns: repeat(2, 1fr); }
    .job-details { display: none; } 
}

@media (max-width: 650px) {
    /* 1. FORCE 2 COLUMNS FOR LOCATIONS */
    .location-grid { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 8px !important; 
    }

    .location-item {
        padding: 8px 10px;
        min-width: 0; /* Prevents long names like 'Dar es Salaam' from breaking the grid */
    }

    .loc-name { 
        font-size: 0.7rem; 
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 2. JOB CARD & DETAILS (Kept exactly as you requested) */
    .job-card { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 15px; 
        gap: 12px; 
    }

    .job-right-side { 
        width: 100%; 
        justify-content: space-between; 
        border-top: 1px solid #f1f5f9; 
        padding-top: 10px; 
    }

    .job-details {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        margin-top: -5px;
    }

    .detail-item {
        background: #f1f5f9;
        padding: 5px 10px;
        border-radius: 8px;
        font-size: 0.75rem;
    }

    /* 3. SHARE MENU (Kept your latest positioning) */
    .share-menu { 
        left: 100%; 
        top: 50%;
        right: auto; 
        transform: translateY(-50%) translateX(10px); 
    }
}

    /* Ensure it doesn't go off-screen on very small phones */
    .action-btns {
        position: relative;
    }
}

/* --- End os Jobs Section --- */

/* ================================================================
   BONGOJOBS - services section CSS
   Features: 
   ================================================================ */
   
   /* --- Unique Service Section Scope --- */
/* --- Refined Service Section --- */
.srv-wrapper {
    --srv-navy: #0a2540;
    --srv-accent: #00c853;
    --srv-text-main: #ffffff;
    --srv-text-muted: #94a3b8;
    --srv-glass: rgba(255, 255, 255, 0.03);
    --srv-glass-border: rgba(255, 255, 255, 0.1);
    
    padding: 60px 20px; /* Reduced padding for better section matching */
    background-color: var(--srv-navy);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 25px,
        rgba(255, 255, 255, 0.015) 25px,
        rgba(255, 255, 255, 0.015) 26px
    );
}

.srv-container {
    max-width: 1100px; /* Slightly narrower to match typical content widths */
    margin: 0 auto;
}

.srv-header {
    text-align: left; /* Shifted to left */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns items to the left */
}

.srv-decorator {
    display: block;
    width: 35px; /* Shorter to match the left-aligned look */
    height: 4px;
    background: var(--srv-accent);
    margin-bottom: 12px;
    border-radius: 10px;
}

.srv-header h2 {
    color: var(--srv-text-main);
    font-size: 1.8rem; /* Scaled down to match standard section headers */
    font-weight: 800;
    margin: 0;
}

.srv-grid {
    display: grid;
    /* Forces 3 columns on desktop, shrinks cards naturally */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.srv-card {
    background: var(--srv-glass);
    border: 1px solid var(--srv-glass-border);
    backdrop-filter: blur(12px);
    padding: 30px 25px; /* Smaller internal padding */
    border-radius: 20px; /* Matches the "Jobs by Location" radius better */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px; /* Ensures uniformity */
}

.srv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 83, 0.4);
}

/* 1. Base style for the icon box (Updated) */
.srv-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(0, 200, 83, 0.1);
    color: var(--srv-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 20px;
    /* Smooth transition for the hover effect */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border: 1px solid rgba(0, 200, 83, 0.1);
}

/* 2. Effect when the CARD is hovered */
.srv-card:hover .srv-icon-box {
    background: var(--srv-accent); /* Green background */
    color: #ffffff;               /* White icon */
    transform: scale(1.1) rotate(-8deg); /* Slight pop and tilt */
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
}

/* 3. Optional: Subtle bounce on the link arrow too */
.srv-card:hover .srv-btn i {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.srv-card h3 {
    color: var(--srv-text-main);
    font-size: 1.15rem; /* More compact typography */
    font-weight: 700;
    margin: 0 0 12px 0;
}

.srv-card p {
    color: var(--srv-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.88rem; /* Smaller text for compact look */
    flex-grow: 1;
}

.srv-btn {
    color: var(--srv-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .srv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .srv-grid { grid-template-columns: 1fr; }
    .srv-header h2 { font-size: 1.5rem; }
}

/* --- Icon Styling --- */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-card p {
    color: #94a3b8; /* Muted slate */
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-link {
    color: #00c853;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.service-card:hover .service-link {
    gap: 12px;
}




/* ================================================================
   BONGOJOBS - JOBS LOCATION CSS
   Features: 
   ================================================================ */

/* --- Jobs by Location Section --- */
.location-section { padding: 60px 15px; background-color: var(--white); }
.location-container { max-width: 1000px; margin: 0 auto; }

.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.location-item:hover {
    background: var(--white);
    border-color: var(--bright-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.loc-name { font-size: 0.85rem; font-weight: 600; color: var(--bongo-blue); }
.loc-count {
    font-size: 0.75rem;
    background: var(--white);
    color: var(--bright-green);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    border: 1px solid var(--border-light);
}

/* --- View All Button (Top Right) --- */
.view-all {
    background: #e6f7f3; /* Matching your image */
    color: var(--bright-green);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.view-all:hover {
    background: #d1f2eb;
}

/* Responsive Grid */
@media (max-width: 992px) { .location-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .location-grid { grid-template-columns: 1fr; } }

/* --- End of Jobs Location Section --- */


/* ================================================================
   BONGOJOBS - SUBSCRIPTION CSS
   Features: 
   ================================================================ */

/* --- Modern Subscription Banner --- */
.sub-banner {
    padding: 60px 20px;
    background-color: var(--bongo-blue); /* Professional Dark Blue */
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

/* Subtle Stripe Pattern for consistenc */
.sub-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 21px);
    pointer-events: none;
}

.sub-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.sub-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1.5;
}

.sub-icon-box {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bright-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.sub-text h3 {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 700;
}

.sub-text p {
    font-size: 0.9rem;
    color: #e2e8f0;
}

.sub-form { flex: 1; }

.sub-input-group {
    display: flex;
    background: var(--white);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sub-input-group input {
    flex-grow: 1;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
}

.sub-input-group input::placeholder { color: var(--text-muted); }

.sub-input-group button {
    background: var(--bright-green);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.sub-input-group button:hover { background: #00b375; }

/* Responsive Subscription Banner */
@media (max-width: 900px) {
    .sub-container { flex-direction: column; text-align: center; gap: 30px; }
    .sub-content { flex-direction: column; gap: 15px; }
}

@media (max-width: 600px) {
    .sub-input-group { flex-direction: column; border-radius: 12px; gap: 10px; padding: 10px; }
    .sub-input-group input { padding: 12px; }
    .sub-input-group button { border-radius: 10px; width: 100%; }
}



   /* --- End of Subscription Section --- */



/* ================================================================
   BONGOJOBS - BLOG CSS
   Features: 
   ================================================================ */

/* --- Makala/Blog Section --- */
/* --- Makala/Blog Section --- */
/* --- Makala Section ONLY --- */
.makala-section {
    padding: 60px 15px;
    background-color: var(--white);
    /* Ensure this section does not center its children globally */
    display: block; 
}

.makala-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* By adding '.makala-section' before the header classes, 
   we ensure 'Jobs by Location' stays exactly as it is.
*/
.makala-section .section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Keeps it pinned left */
    width: 100%;
    margin-bottom: 20px;
}

.makala-section .header-title-wrapper {
    display: flex;
    align-items: center;
}

.makala-section .header-strip {
    width: 4px;
    height: 30px;
    background-color: var(--bright-green);
    border-radius: 2px;
    margin-right: 15px;
}

.makala-section h2 {
    font-size: 1.5rem;
    color: var(--bongo-blue);
    font-weight: 700;
    margin: 0;
}

/* Grid remains untouched as per your design */
.makala-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.makala-card {
    background: var(--bg-soft);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.makala-card:hover {
    transform: translateY(-5px);
    border-color: var(--bright-green);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
}

.makala-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.makala-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bright-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.makala-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.makala-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bongo-blue);
    margin-bottom: 10px;
    line-height: 1.4;
}

.makala-excerpt {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.makala-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bongo-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.makala-read-more:hover { color: var(--bright-green); }
.makala-read-more i { font-size: 0.8rem; }

@media (max-width: 768px) {
    .makala-grid { grid-template-columns: 1fr; gap: 20px; }
    .makala-title { font-size: 0.9rem; }
}

 /* --- End of blog Section --- */



/* ================================================================
   BONGOJOBS - FOOTER CSS
   Features: 
   ================================================================ */

   /* --- Modern Footer Section --- */
.footer-section {
    background-color: var(--bongo-blue);
    color: var(--white);
    padding: 80px 20px 30px;
    margin-top: 60px;
    position: relative;
}

/* Matching the diagonal stripe pattern from your cards */
.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.01) 20px, rgba(255, 255, 255, 0.01) 21px);
    pointer-events: none;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo span { color: var(--bright-green); }

.brand-col p {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 12px; }

.footer-socials a {
    width: 35px; height: 35px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--bright-green);
    transform: translateY(-3px);
    border-color: var(--bright-green);
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--bright-green); }

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.contact-info i { color: var(--bright-green); width: 15px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Mobile Responsive Footer */
@media (max-width: 850px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}


/* --- Modern Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px; /* Fixed distance from bottom */
    right: 30px; /* Fixed distance from right */
    width: 50px;
    height: 50px;
    background-color: var(--bright-green); /* Using your BongoJobs green */
    color: #ffffff;
    border: none;
    border-radius: 50%; /* Perfect circle */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000; /* Ensures it floats over all content */
    
    /* Premium Shadow & Transition */
    box-shadow: 0 8px 20px rgba(0, 201, 132, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Hidden by default (controlled by JS) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* Hover Effect to match your Prime Tech style */
.back-to-top:hover {
    background-color: #00b375; /* Slightly darker green */
    transform: translateY(-5px); /* Lift on hover */
    box-shadow: 0 12px 25px rgba(0, 201, 132, 0.4);
}

/* Class added by JS when user scrolls down */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Optimization: Shrink slightly on small screens */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}