/**
 * PT Shanuiko Oto Indonesia - Landing Page Modernization
 * Stylesheet: css/index-modern.css
 * Enhances index.html with B2B Industrial aesthetics matching electrical.html and project.html
 */

/* ==========================================================================
   1. Floating Category Cards (5 Columns Modernization)
   ========================================================================== */
.jp_banner_jobs_categories_wrapper {
    position: relative;
    z-index: 20;
    margin-top: -60px;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .jp_banner_jobs_categories_wrapper .jp_top_jobs_category_wrapper {
        width: 20% !important;
        float: left;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .jp_banner_jobs_categories_wrapper .jp_top_jobs_category_wrapper {
        width: 33.333% !important;
        float: left;
    }
}

@media (max-width: 767px) {
    .jp_banner_jobs_categories_wrapper {
        margin-top: 20px;
        padding: 0 10px;
    }
    .jp_banner_jobs_categories_wrapper .jp_top_jobs_category_wrapper {
        width: 100% !important;
        float: none;
        margin-bottom: 12px;
    }
}

.jp_top_jobs_category_wrapper {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 34px 20px 30px !important;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.jp_top_jobs_category_wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: transparent;
    transition: background 0.3s ease;
}

.jp_top_jobs_category_wrapper:hover {
    transform: translateY(-6px);
    background: #FFFFFF !important;
    border-color: #F59E0B;
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.14), 0 10px 15px -3px rgba(245, 158, 11, 0.1);
}

.jp_top_jobs_category_wrapper:hover::before {
    background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
}

.jp_top_category_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px auto;
    border-radius: 14px;
    background: #FFFBEB;
    border: 1.5px solid #FEF3C7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.jp_top_category_icon i {
    font-size: 26px !important;
    color: #D97706 !important;
    transition: all 0.3s ease;
}

.jp_top_jobs_category_wrapper:hover .jp_top_category_icon {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-color: transparent;
    transform: scale(1.08);
}

.jp_top_jobs_category_wrapper:hover .jp_top_category_icon i {
    color: #FFFFFF !important;
}

.jp_top_jobs_category h3 {
    margin: 0 0 10px 0;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    font-family: 'Montserrat', sans-serif;
}

.jp_top_jobs_category h3 a {
    color: #0F172A !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.jp_top_jobs_category_wrapper:hover .jp_top_jobs_category h3 a {
    color: #D97706 !important;
}

.jp_top_jobs_category p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #64748B !important;
    margin: 0;
}

/* ==========================================================================
   2. Company Overview / Welcome Section
   ========================================================================== */
.tb_work_wrapper {
    padding: 90px 0 80px 0 !important;
    background: #FFFFFF;
}

.tb_left_heading_wraper h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #D97706 !important;
    margin-bottom: 8px;
    display: inline-block;
}

.tb_left_heading_wraper h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.tb_left_heading_wraper h3 span {
    color: #D97706;
}

.abt_txt_box p {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 16px;
}

.abt_list_wrapper ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.abt_list_wrapper ul li a i {
    color: #F59E0B;
    font-size: 16px;
}

.abt_list_wrapper ul li a:hover {
    color: #D97706;
}

.tb-flex-bdr-img img {
    border-radius: 12px;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.16);
    border: 4px solid #FFFFFF;
}

/* ==========================================================================
   3. Service Slider Section (Jarallax)
   ========================================================================== */
.services_Wrapper {
    padding: 85px 0 95px 0 !important;
    position: relative;
}

.service_slider_cntnt {
    border-radius: 12px;
    overflow: hidden;
    background: #0F172A;
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service_slider_cntnt:hover {
    transform: translateY(-5px);
    border-color: #F59E0B;
    box-shadow: 0 18px 32px -6px rgba(0, 0, 0, 0.4);
}

.service_slider_cntnt figure {
    height: 240px;
    overflow: hidden;
    margin: 0;
}

.service_slider_cntnt figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service_slider_cntnt:hover figure img {
    transform: scale(1.08);
}

.service_slider_btm_info {
    padding: 16px 20px;
    background: #0F172A;
    text-align: center;
}

.service_slider_btm_info h4 {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* ==========================================================================
   4. Service Tabs Specification Table
   ========================================================================== */
.best_Service_wrapper {
    padding: 80px 0 !important;
    background: #F8FAFC;
}

#tb_service_tab_wrapper.nav-pills > li > a {
    background: #FFFFFF;
    color: #334155;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 20px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
}

#tb_service_tab_wrapper.nav-pills > li > a i {
    font-size: 18px;
    color: #94A3B8;
    transition: color 0.25s ease;
}

#tb_service_tab_wrapper.nav-pills > li > a:hover {
    border-color: #F59E0B;
    color: #D97706;
    background: #FFFBEB;
}

#tb_service_tab_wrapper.nav-pills > li > a:hover i {
    color: #D97706;
}

#tb_service_tab_wrapper.nav-pills > li.active > a,
#tb_service_tab_wrapper.nav-pills > li.active > a:hover,
#tb_service_tab_wrapper.nav-pills > li.active > a:focus {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

#tb_service_tab_wrapper.nav-pills > li.active > a i {
    color: #FFFFFF !important;
}

.tb_service_tab_wrapper .tab-content {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.tb_service_tab_wrapper .tab-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 0 12px 0;
}

.tb_service_tab_wrapper .tab-content p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 20px;
}

.tb_service_tab_list .table {
    margin-bottom: 0;
}

.tb_service_tab_list .table tbody tr td {
    border-top: 1px dashed #E2E8F0;
    padding: 12px 8px;
    vertical-align: middle;
}

.tb_service_tab_list .table td .fa-check {
    color: #10B981;
}

.tb_service_tab_list .table td .fa-star {
    color: #F59E0B;
    font-size: 13px;
}

.tb_service_tab_list .table td .list_clr {
    color: #CBD5E1;
}

/* ==========================================================================
   5. Counter Statistics
   ========================================================================== */
.counter_section {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
    padding: 70px 0 !important;
}

.counter_cntnt_box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px 18px;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.counter_cntnt_box:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-4px);
}

.counter_cntnt_box .tb_icon i {
    font-size: 30px;
    color: #F59E0B !important;
    margin-bottom: 12px;
    display: inline-block;
}

.counter_cntnt_box .count-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.counter_cntnt_box h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 8px;
}

/* ==========================================================================
   6. Client Partner Logos Grid
   ========================================================================== */
.tb_partner_wrapper {
    background: #FFFFFF;
    padding: 50px 0 70px 0;
}

.partner-logo-wrapper {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}

.partner-logo-wrapper img {
    max-height: 55px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.3s ease;
}

.partner-logo-wrapper:hover {
    border-color: #F59E0B;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.partner-logo-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
