/* =========================================================
   GLOBAL BASE STYLES
========================================================= */
:root {
    --color-dark: #0f172a;
    --color-dark-light: #1e293b;
    --color-primary: #0ea5e9;
    --color-primary-soft: #38bdf8;
    --color-text: #334155;
    --color-muted: #64748b;
    --color-light: #f8fafc;
    --radius: 14px;
}

body {
    background: var(--color-light);
    color: var(--color-text);
    padding-top: 80px; /* space for fixed navbar */
    font-family: "Inter", sans-serif;
}

/* Utility Spacing */
.section {
    padding: 40px 0;
}

/* Text improvements */
h1, h2, h3, h4, h5 {
    color: var(--color-dark);
    font-weight: 700;
}
p {
    line-height: 1.7;
}


/* =========================================================
   NAVBAR
========================================================= */
.main-navbar {
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-text) !important;
    font-weight: 500;
    padding: 8px 14px;
    transition: 0.2s ease-in-out;
}

.nav-link.active,
.nav-link:hover {
    color: var(--color-primary) !important;
}

/* Buttons */
.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: #0284c7;
}
.btn-outline-primary:hover {
    background: var(--color-primary);
    color: #fff !important;
}


/* =========================================================
   HERO SECTION (Homepage)
========================================================= */
.hero-shell {
    margin-top: 10px;
}
.hero-card {
    background: linear-gradient(135deg, var(--color-dark), var(--color-dark-light));
    color: white;
    border-radius: 18px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 18px;
    opacity: .85;
}

.hero-badge {
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Right visual panel */
.hero-visual-card {
    background: rgba(255,255,255,0.12);
    padding: 18px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
}
.hero-visual-avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}
.hero-visual-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 12px;
    gap: 10px;
}
.hero-stat .value {
    font-size: 20px;
    font-weight: 700;
}


/* =========================================================
   AUTO-SCROLL CLIENT LOGOS
========================================================= */
.scroll-row {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 12px 0;
    scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }

.logo-box {
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    height: 70px;
    display: flex;
    align-items: center;
}
.logo-box img {
    max-height: 55px;
    object-fit: contain;
}


/* =========================================================
   ABOUT SECTION
========================================================= */
.about-card {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.about-title {
    font-weight: 700;
    font-size: 26px;
}


/* =========================================================
   FEATURED JOB CARDS
========================================================= */
.job-card {
    border-radius: var(--radius);
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.job-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.job-title {
    font-weight: 600;
}

/* =========================================================
   CMS PAGE VIEW
========================================================= */
.page-hero {
    background: linear-gradient(135deg, var(--color-dark), var(--color-dark-light));
    padding: 90px 0 55px;
    text-align: center;
    color: #ffffff;
}
.page-hero h1 {
    font-size: 40px;
    font-weight: 700;
}
.underline {
    width: 80px;
    height: 4px;
    background: var(--color-primary-soft);
    margin: 12px auto;
    border-radius: 4px;
}

.page-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
}

.page-sidebar {
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.page-sidebar .active {
    color: var(--color-primary);
    font-weight: 600;
}

.page-content {
    font-size: 17px;
    line-height: 1.75;
}

/* Breadcrumb */
.breadcrumb-nav {
    font-size: 14px;
    color: var(--color-muted);
}
.breadcrumb-nav a {
    color: var(--color-primary);
}
.breadcrumb-nav a:hover {
    text-decoration: underline;
}


/* =========================================================
   TESTIMONIALS & SUCCESS STORIES
========================================================= */
.testimonial-card,
.story-card {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.small-avatar img,
.story-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}


/* =========================================================
   COUNTERS
========================================================= */
.counter-section {
    background: #ffffff;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.counter-box {
    text-align: center;
}
.counter-number {
    font-size: 32px;
    font-weight: 700;
}


/* =========================================================
   HOW IT WORKS
========================================================= */
.hiw-card {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.hiw-icon {
    background: var(--color-primary-soft);
    padding: 12px;
    border-radius: 12px;
    font-size: 20px;
}


/* =========================================================
   BLOG LIST
========================================================= */
.blog-pro-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.blog-pro-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.blog-pro-content {
    padding: 20px;
}
.blog-pro-title {
    font-size: 20px;
    font-weight: 700;
}


/* =========================================================
   FORMS (Login / Register)
========================================================= */
.form-box {
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.form-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
}


/* =========================================================
   FOOTER
========================================================= */
.footer-dark {
    background: var(--color-dark);
    color: #cbd5e1;
    padding: 60px 0 40px;
    border-top: 1px solid var(--color-dark-light);
}

.footer-inner {
    max-width: 1320px;
    margin: auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .06em;
    margin-bottom: 14px;
}

.footer-link {
    display: block;
    color: #cbd5e1;
    margin-bottom: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.social-icons a {
    margin-right: 14px;
    font-size: 22px;
    color: #cbd5e1;
    transition: 0.2s;
}
.social-icons a:hover {
    color: #fff;
    transform: scale(1.15);
}

.footer-bottom {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--color-dark-light);
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE ADJUSTMENTS
========================================================= */
@media (max-width: 992px) {
    .hero-title { font-size: 32px; }
    .hero-card { padding: 30px 20px; }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* =========================================================
   CLIENT LOGO SLIDER — UPDATED
========================================================= */

.client-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
}

.client-scroll-wrapper {
    overflow: hidden;
    position: relative;
}

.client-scroll {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    white-space: nowrap;
    will-change: transform;
    cursor: grab;
    user-select: none;
}

.client-scroll:active {
    cursor: grabbing;
}

.client-logo-box {
    background: #ffffff;
    padding: 12px 24px;
    border-radius: 14px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;

    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.client-logo-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.client-logo-box img {
    max-height: 55px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: 0.25s;
}

.client-logo-box:hover img {
    filter: grayscale(0%);
}

.client-scroll {
    cursor: grab;
}
.client-scroll.dragging {
    cursor: grabbing;
}


/* =========================================================
   JOB LIST PAGE — PROFESSIONAL REDESIGN
========================================================= */

.page-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.jobs-hero p {
    font-size: 15px;
    color: var(--color-muted);
}

/* Search filters */
.filters-panel {
    background: #ffffff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #e6e9ef;
}

.filters-panel .form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1e293b;
}

.filters-panel input {
    height: 42px;
    border-radius: 10px;
}

/* Job cards */
.jobs-list .job-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #edf1f6;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: all 0.18s ease;
    height: 100%;
}

.jobs-list .job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(15,23,42,0.12);
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.company-name {
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 6px;
}

.job-meta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
}

.skill-pill {
    display: inline-block;
    padding: 6px 12px;
    background: #eef2ff;
    color: #334155;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
    margin-right: 6px;
    margin-bottom: 6px;
}

.job-desc {
    color: #475569;
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.55;
}

.btn-apply {
    background: #0ea5e9;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 12px rgba(14,165,233,0.3);
    transition: 0.2s ease;
}

.btn-apply:hover {
    background: #0284c7;
}

.job-card .btn-outline-secondary {
    border-radius: 20px;
}

/* Empty state */
.empty-state {
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    text-align: center;
    color: #64748b;
}

.empty-state h5 {
    font-size: 22px;
    font-weight: 600;
}

/* Pagination */
.pagination .page-link {
    border-radius: 10px;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    color: #475569;
}
.pagination .page-item.active .page-link {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}


/* ============================================
   BLOG PAGE STYLES
============================================ */

.blog-card {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.blog-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid #e5e7eb;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.blog-desc {
    color: #64748b;
    line-height: 1.5;
}

.blog-readmore {
    text-decoration: none;
    font-weight: 600;
    color: var(--color-primary);
}

.blog-readmore:hover {
    text-decoration: underline;
}

/* Page heading */
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

