.main-contents {
    background: #e9edf0;
    padding: 30px 40px;
}

.left-content {
    padding-left: 20px;
    margin-top: 70px;
}

.main-contents-header {
    font-size: 36px;
    /* color: #1F2937; */
    color: #0d1e46;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;

}

.main-contents-text {
    font-size: 20px;
    color: #4B5563;
    line-height: 1.7;
}

.btn-section {
    padding-top: 30px;
}

.consultation-btn {
    background: #142b63;
    padding: 15px 30px;
    text-decoration: none;
    color: #ffff;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease, border-radius 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.consultation-btn:hover {
    border-radius: 40px;
    transform: scale(1.1);
    background: #0d1e46;
}

.blog-post-section,
.solution-address {
    background: #fff;
    padding: 4rem 0;
}


.industrial-section {
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
    padding: 64px 0;
}

/* make labels look like list items (clickable) */
.services-list .list-btn {
    display: block;
    cursor: pointer;
    /* padding: 12px 14px; */
    padding: 12px 3px;
    border-radius: 6px;
    color: #0d1e46;
    transition: background 0.2s ease;
    font-weight: 500;
    position: relative;
}


.services-list .list-btn:hover {
    background: #f1f3f6;
}


.icons {
    padding-left: 10px;
}

.icons:hover {
    color: #0d1e46;
}

.content-details {
    padding: 30px 40px;
    border-radius: 10px;
    border: none;

}

.content-header {
    font-size: 32px;
    padding-bottom: 5px;
}


.card-type {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin: 10px 0;
}

.card-type:hover {
    transform: translateY(-3px);
}

.percentage-number {
    text-align: center;
    font-size: 35px;
    color: #0d1e46;
    font-weight: 500;
    margin-bottom: 5px;
}

.percentage-type {
    text-align: center;
    font-size: 14px !important;
}

.learn-btn {
    background: #142b63;
    padding: 10px 25px;
    color: #fff;
    border-radius: 8px;
}

.learn-btn:hover {
    background: #142b63;
    color: #fff;
}


/* for Industrie services */
.industrial-section {
    background-color: rgb(249 250 251 / 1);
    padding: 64px 0;
}

.first-header {
    font-size: 36px;
    font-weight: 600;
    /* border-bottom: 4px solid lightgray; */
    background: linear-gradient(135deg, #142b63, #6a11cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.index-divider {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, #142b63, #6a11cb, transparent);
    /* margin: 3rem 0; */
}


/* hide the radio inputs */
.tab-radio {
    display: none;
}

/* left list */
.services-list {
    background: #fff;
    padding: 25px;
    list-style: none;
    border-radius: 15px;
    height: -webkit-fill-available;
}

.services-list li {
    margin-bottom: 6px;
}


/* this is use for sco and asccessibility to make  score 90 +*/
.services-list .list-btn:focus-visible {
    outline: 2px solid #142b63;
    outline-offset: -2px;
    background: #f1f3f6;
}

/* the right card area */
.content-details {
    display: none;
    /* hide all by default */
    padding: 30px 40px;
    border-radius: 10px;
    border: none;
    background: #fff;
    margin-bottom: 20px;
}

.content-header {
    font-size: 32px;
    padding-bottom: 5px;
}

.content-subheader {
    font-size: 16px;
    color: #4B5563;
}

/* small card types */
.card-type {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.card-type:hover {
    transform: translateY(-3px);
}

.percentage-number {
    text-align: center;
    font-size: 35px;
    color: #0d1e46;
    font-weight: 500;
    margin-bottom: 5px;
}

.percentage-type {
    text-align: center;
    font-size: 14px !important;
}

/* learn button */
.learn-btn {
    background: #142b63;
    padding: 10px 25px;
    color: #fff;
    border-radius: 8px;
    border: none;
}

/* ------ IMPORTANT: show the content when its radio is checked ------- */
/* Adjust these selectors if your markup changes (radios must be BEFORE .row) */
#tab-auto:checked~.row .col-lg-8 .services-content #content-auto {
    display: block;
}

#tab-bank:checked~.row .col-lg-8 .services-content #content-bank {
    display: block;
}

#tab-chem:checked~.row .col-lg-8 .services-content #content-chem {
    display: block;
}

#tab-fmcg:checked~.row .col-lg-8 .services-content #content-fmcg {
    display: block;
}

#tab-health:checked~.row .col-lg-8 .services-content #content-health {
    display: block;
}

#tab-manuf:checked~.row .col-lg-8 .services-content #content-manuf {
    display: block;
}

#tab-pharma:checked~.row .col-lg-8 .services-content #content-pharma {
    display: block;
}

#tab-power:checked~.row .col-lg-8 .services-content #content-power {
    display: block;
}

#tab-trans:checked~.row .col-lg-8 .services-content #content-trans {
    display: block;
}

/* highlight the active left label */
#tab-auto:checked~.row .col-lg-4 .services-list label[for="tab-auto"],
#tab-bank:checked~.row .col-lg-4 .services-list label[for="tab-bank"],
#tab-chem:checked~.row .col-lg-4 .services-list label[for="tab-chem"],
#tab-fmcg:checked~.row .col-lg-4 .services-list label[for="tab-fmcg"],
#tab-health:checked~.row .col-lg-4 .services-list label[for="tab-health"],
#tab-manuf:checked~.row .col-lg-4 .services-list label[for="tab-manuf"],
#tab-pharma:checked~.row .col-lg-4 .services-list label[for="tab-pharma"],
#tab-power:checked~.row .col-lg-4 .services-list label[for="tab-power"],
#tab-trans:checked~.row .col-lg-4 .services-list label[for="tab-trans"] {
    background: #f1f3f6;
    font-weight: 700;
    border-left: 4px solid #142b63;
    /* padding-left: 10px; */
    /* small inset with the border */
}

/* small responsive tweak so label text doesn't overflow */
.services-list .icons {
    padding-right: 8px;
}

/* optional: keep the left panel height equal to the right on large screens */
/* .row { align-items: stretch; } */




@media (max-width: 991px) {

    /* Tablets */
    .right-content {
        padding-left: 30px;
        padding-top: 30px;
    }
}

@media (max-width: 767px) {

    /* Mobile phones */
    .right-content {
        padding-left: 0;
        padding-top: 20px;
    }

    .video-wrapper {
        /* padding-bottom: 60%; */
        /* slightly taller for mobile */
    }
    
}


/* ===== Tablets (≤ 991px) ===== */
@media (max-width: 991px) {
    .left-content {
        padding-left: 40px;
        margin-top: 50px;
        text-align: center;
    }

    .main-contents-header {
        font-size: 30px;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .main-contents-text {
        font-size: 18px;
        line-height: 1.6;
    }

    .consultation-btn {
        padding: 13px 26px;
        font-size: 0.95rem;
        border-radius: 6px;
    }
     .card-type{
        padding: 10px !important;
        height: -webkit-fill-available;
    }
    .services-list .list-btn{
        font-size: 14px;
    }
}

/* ===== Mobile Devices (≤ 767px) ===== */
@media (max-width: 767px) {
    .left-content {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 30px;
        text-align: center;
    }

    .main-contents-header {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .main-contents-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .btn-section {
        padding-top: 20px;
    }

    .consultation-btn {
        display: block;
        width: 100%;
        font-size: 0.66rem;
        padding: 12px 20px;
        border-radius: 25px;
        text-align: center;
    }
    .blog-post-section{
        padding: 20px 0 !important;
    }
    .industrial-section{
        padding: 40px 0 20px 0 !important;
    }
   
}

/* Recent Blog Posts Section */
.blog-post-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.blog-post-section .blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-post-section .blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-post-section .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-section .blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-post-section .blog-content {
    padding: 20px;
}

.blog-post-section .blog-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.blog-post-section .blog-meta span {
    color: #f8b82f;
    font-weight: 600;
}

.blog-post-section .blog-title {
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0;
    line-height: 1.4;
}

.blog-post-section .blog-title a {
    color: #0d1e46;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-section .blog-title a:hover {
    color: #f8b82f;
}

.blog-post-section .blog-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-post-section .blog-readmore {
    display: inline-block;
    padding: 8px 20px;
    background-color: #0d1e46;
    color: #f8b82f;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-post-section .blog-readmore:hover {
    background-color: #f8b82f;
    color: #0d1e46;
}

.slide-background-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}