.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;
}

.right-content {
    /* float: right; */
    text-align: -webkit-center;
    padding-top: 47px;
    padding-left: 100px;
}


.video-card {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 50.25%;
    overflow: hidden;
    border-radius: 10px;
  
}


.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
    object-fit: cover;
}


/* Thumbnail style */
.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    height: fit-content;
}

/* Play button overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 30px;
    color: #1d2e5c;
}

.play-button:hover {
    background-color: #1d2e5c;
}

.play-button:hover i {
    color: #fff;
}

/* Hidden video by default */
.video-iframe {
    width: 100%;
    height: 400px;
    display: none;
    border-radius: 12px;
}

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


.services-list .list-btn {
    display: block;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 6px;
    color: #0d1e46;
    transition: background 0.2s ease;
    font-weight: 500;
    position: relative;
}

.list-btn {
    padding: 10px 0;
    cursor: pointer;
}

.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;
}

.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;
}

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

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

.services-list .list-btn:hover {
    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;
    }
}

/* ===== 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;
    }
}