/* =========================================================
   HOME PAGE – GLOBAL
========================================================= */
.home-main {
    padding: 0;
    margin: 0;
    background: #f5f5f5;
}

/* =========================================================
   HERO TOP SECTION
========================================================= */
.home-hero {
    padding: 50px 15px 120px;
    color: #fff;
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-tagline {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: capitalize;
}

/* SEARCH */
.hero-search {
    max-width: 500px;
    margin: 0 auto 30px;
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-search input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 15px;
    outline: none;
    color: #333;
}

.hero-search input::placeholder {
    color: #999;
}

.hero-search button {
    background: #000;
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search button:hover {
    background: #333;
}

/* HERO JOB CARDS */
.hero-job-cards {
    max-width: 1200px;
    margin: auto;
    margin-top: -100px;
    background-color: #fff;
    box-shadow: 0 0 5px 2px rgb(0 0 0 / .1);
    column-gap: 15px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 15px;
    border-radius: 10px;
    padding: 15px;
	margin-bottom: 7px;
}

.hero-job-card {
    padding: 20px;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    line-height: 1.3;
}

.hero-job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

/* =========================================================
   SOCIAL BUTTONS
========================================================= */
.home-social-buttons {
    padding: 20px 15px;
    background: #f5f5f5;
}

.social-buttons-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.home-social-btn {
    padding: 14px 20px;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}

.home-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.18);
}

.home-social-btn i {
    font-size: 18px;
}

/* =========================================================
   ICON CATEGORIES
========================================================= */


.icon-categories-inner {
    max-width: 1200px;
    margin: auto;
    border-radius: 10px;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.icon-category-item {
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    align-items: center;
    box-shadow: 0 0 5px 2px rgb(0 0 0 / .1);
    column-gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 10px;
    border-radius: 5px;
    padding: 15px 10px;
}

.icon-category-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.icon-category-item .icon {
    margin-bottom: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-category-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.icon-category-item .label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* =========================================================
   JOB POST BLOCKS
========================================================= */
.home-job-blocks {
    padding: 25px 15px;
    background: #f5f5f5;
}

.job-blocks-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.job-block {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.job-block-title {
    padding: 14px 16px;
    color: #fff;
    background: #17a2b8;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
    font-size: 16px;
}

.job-block-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 15px;
    flex: 1;
}

.job-block-item {
    margin-bottom: 10px;
    border: 1px solid #e2d5d5;
    padding: 10px 10px 5px 10px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .08);
    border-radius: 4px;
}

.job-block-item:last-child {
    border-bottom: none;
}

.job-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.4;
}

.job-title:hover {
    color: #17a2b8;
}

.job-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
    align-items: center;
}

.job-meta .status {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

.job-meta .status.new { 
    color: #28a745;
    background: #d4edda;
}

.job-meta .status.updated { 
    color: #ffc107;
    background: #fff3cd;
}

.job-meta .status.expired { 
    color: #dc3545;
    background: #f8d7da;
}

.job-meta .last-date {
    color: #666;
    font-size: 11px;
}

.job-meta .last-date i {
    margin-right: 3px;
}

.job-block-view-more {
    margin: 0 15px 15px;
    display: block;
    text-align: center;
    padding: 10px;
    color: #fff;
    background: #17a2b8;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.job-block-view-more:hover {
    background: #138496;
}

.job-block-view-more i {
    margin-left: 5px;
}

/* =========================================================
   HOME TEXT BOXES
========================================================= */
.home-text-boxes {
    padding: 25px 15px 40px;
    background: #f5f5f5;
}

.text-boxes-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-box {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.text-box-title {
    padding: 14px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    background: #17a2b8;
}

.text-box-content {
    padding: 20px;
    background: #fff;
    line-height: 1.7;
    color: #555;
    font-size: 15px;
}

.text-box-content p {
    margin-bottom: 12px;
}

.text-box-content p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px) {
    .hero-tagline {
        font-size: 24px;
    }

    .hero-job-cards {
        grid-template-columns: repeat(2, 1fr);
		margin-left: 20px;
        margin-right: 20px;
    }

    .icon-categories-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .job-blocks-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 20px;
    }
    .hero-job-card {
		padding: 10px;
		font-size: 13px;
	}
    .hero-job-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .social-buttons-inner {
        grid-template-columns: 1fr;
    }

    .icon-categories-inner {
        grid-template-columns: repeat(4, 1fr);
        padding: 20px 10px;
    }

    .job-blocks-inner {
        grid-template-columns: 1fr;
    }

    .job-block-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .icon-categories-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .icon-category-item .label {
        font-size: 11px;
    }

    .icon-category-item img {
        width: 35px;
        height: 35px;
    }
}