/* Case Study Hero Section */

.case-study-hero-section {
    background: linear-gradient(0deg, #f8fafc, #e0f2fe);
    position: relative;
    overflow: hidden;
}

.case-study-hero-section h2 {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.case-study-hero-section h2 span{
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.case-study-hero-section p {
    color: #666;
}

.case-study-hero-section .images-devices img {
    max-width: 100%;
    border-radius: 10px;
}

.vertical-text {
    position: absolute;
    left: 4%;
    top: 100%;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: left top;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    letter-spacing: 10px;
    user-select: none;
}

/* Case Study Cards */
.case-study-card-section {
    background: linear-gradient(0deg, #f8fafc);
}

.case-study-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border-radius: 12px;
}

.case-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-link:hover .case-title {
    color: var(--dark);
}

.case-link img {
    transition: transform 0.3s ease;
}

.case-study-card .case-title {
    font-weight: bold;
    font-size: 1.2rem;
}

.case-study-card .card-stats {
    padding-top: 20px;
    border-top: 1px solid var(--gray);
}

.row.g-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* centers the last row */
}

.case-study-card img {
    max-height: 200px;
    object-fit: contain;
}

.case-description {
    flex-grow: 1;
    text-align: start;
    margin: 15px 0;
    overflow: hidden;
    color: var(--gray);
}

.card-stats {
    margin-top: auto;
    /* Push stats to the bottom */
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.case-study-category {
    display: inline-block;
    border-radius: 20px;
    background-color: var(--primary);
    color: var(--white);
    width: auto;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Project details Section */
.project-details-hero-section {
    background: linear-gradient(0deg, #f8fafc, #e0f2fe);
    /* padding-top: 6rem;
    padding-bottom: 6rem; */
    padding: 8rem 8rem 4rem 8rem;
}

.project-details-hero-section .title {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
}

.project-details-hero-section .descrption {
    width: 70%;
    margin: auto;
    color: var(--gray);
    font-size: 1.1rem;
}

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
    .project-details-hero-section {
        padding: 5rem 3rem 3rem 3rem;
    }

    .images-devices img {
        max-width: 80%;
    }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
    .project-details-hero-section {
        padding: 3rem 1.5rem 2rem 1.5rem;
        text-align: center;
    }

    .images-devices img {
        max-width: 100%;
        margin-top: 1.5rem;
    }

    .desktop-button {
        display: inline-block;
        margin-top: 1rem;
    }

    .case-study-hero-section h2 {
        font-size: 2rem;
    }

    .case-study-hero-section h2 span{
        font-size: 2rem;
    }
}

.about-project-details h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    font-weight: 600;
}

.about-project-details .description {
    text-align: center;
    width: 95%;
    margin: auto;
    color: var(--gray);
    font-size: 1.1rem;
}

.about-project-details .row p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

.about-project-details i {
    color: var(--secondary);
}

.about-project-details .row .col-md-3 {
    border-right: 2px solid var(--gray);
}

.about-project-details .row .col-md-3:last-child {
    border-right: none;
    /* Remove border for last column */
}

@media (max-width: 992px) {
    .about-project-details {
        padding-bottom: 0px !important;
        padding-top: 0px !important;
    }

    .about-project-details .row .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        border-right: none;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .about-project-details .row .col-md-3:nth-child(2n) {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .about-project-details {
        padding-bottom: 0px !important;
        padding-top: 0px !important;
    }

    .about-project-details .row .col-md-3 {
        max-width: 100%;
        border-right: none;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .about-project-details .row p {
        font-size: 0.95rem;
    }
}

/* Challenge Section */

.challenge-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    position: relative;
    padding-left: 1.5rem;
    /* space for bullet */
}

.challenge-title::before {
    content: "•";
    /* bullet symbol */
    position: absolute;
    left: 0;
    top: -6px;
    font-size: 2rem;
    /* size of bullet */
    line-height: 1.2;
    color: var(--primary, #00bcd4);
    /* custom color */
}

@media (max-width: 768px) {
    .challenge-list {
        grid-template-columns: 1fr;
        /* stack on mobile */
    }
}

.challenge-item {
    position: relative;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.challenge-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6rem;
    margin: 0;
}

.services-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.services-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    position: relative;
}

.services-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary, #00bcd4);
    margin: 8px auto 0;
    border-radius: 2px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* ✅ 2 per row */
    gap: 1rem;
    margin-top: 1rem;
}

.service-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
    width: 50px;
    height: 50px;
}

/* Solutions Section */
.solutions-list {
    display: flex;
    flex-direction: column;
    /* stack one by one */
    gap: 20px;
}

.solutions-item.card-box {
    display: flex;
    /* place number + content side by side */
    align-items: center;
    /* vertical center */
    gap: 20px;
    /* space between number and content */
    background: #fff;
    padding: 20px 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-number {
    flex-shrink: 0;
    /* prevent number from shrinking */
    font-size: 50px;
    font-weight: 800;
    color: var(--secondary, #007bff);
    line-height: 1;
}

.solution-content {
    flex: 1;
    /* take remaining space */
}

@media (max-width: 992px) {
    .col-lg-5 img {
        max-width: 80%;
        margin: 1.5rem auto;
        display: block;
    }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
    .col-lg-5 img {
        max-width: 100%;
        margin: 1rem auto;
    }
}

/* Title */
.solutions-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
}

/* Description */
.solutions-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .case-study-hero-section .images-devices img {
        max-width: 70%;
        margin: 25px;
    }
}

@media (max-width: 576px) {
    .case-study-hero-section .images-devices img {
        max-width: 88%;
        margin: 25px;
    }
}

/* Key - Feature */
.key-feature-image {
    border-radius: 10px;
    border: 1px solid #b5b5b5;
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.3); */
}

/* apana turf case study */

/* challenges section */
.cs-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: -30px;
}

.cs-block {
    flex: 1 1 300px;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    /* <-- text left aligned */
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.challenge {
    background: linear-gradient(135deg, #d4eeff, #f2faff);
}

.solution {
    background: linear-gradient(135deg, #fff7ed, #fee6b1);
}

.cs-block i {
    margin-right: 6px;
    vertical-align: middle;
}

.challenge i {
    color: #dc3545;
}

.solution i {
    color: #3f8afa;
}

.cs-block h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.cs-block p {
    margin: 0;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .cs-card {
        flex-direction: column;
    }

    .cs-block {
        flex: 1 1 100%;
    }

    .cs-card {
        background: #fff;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-bottom: 40px;
    }

    .cs-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

@media (min-width: 768px) {
    .cs-block:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 575px) {
    .challenge-section,
    .key-features-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* key-feature in apanaturf case study */

.at-card {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

@media (min-width: 768px) and (max-width: 1050px) {
    .at-card-p,
    .at-card-head {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .at-card {
        background-color: #fff;
        border: none;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 20px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        /* smooth hover */
    }

    .cs-card {
        margin-bottom: 25px;
    }

    .at-card:hover {
        transform: translateY(-6px);
        /* card lifts up */
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        /* deeper shadow */
    }

    .at-card .row {
        margin-bottom: 0px !important;
    }
}
/* complain erp challenges and solution */
.ce-row {
    display: flex;
    flex-wrap: wrap;
    margin: -12px; /* spacing fix */
}
.ce-row > div {
    padding: 12px;
}

.ce-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ce-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.ce-card-header {
    color: #fff;
    padding: 20px;
    font-weight: 600;
}

.ce-row > div:nth-child(1) .ce-card-header,
.ce-row > div:nth-child(4) .ce-card-header,
.ce-row > div:nth-child(8) .ce-card-header,
.ce-row > div:nth-child(5) .ce-card-header {
    background: linear-gradient(135deg, #ffb380, #ff8c66); /* Orange */
}

.ce-row > div:nth-child(2) .ce-card-header,
.ce-row > div:nth-child(3) .ce-card-header,
.ce-row > div:nth-child(7) .ce-card-header,
.ce-row > div:nth-child(6) .ce-card-header {
    background: linear-gradient(135deg, #a2d9ff, #74c0fc); /* Blue */
}

.ce-card-body {
    padding: 20px;
}

.ce-label {
    display: inline-block;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.ce-challenge .ce-label {
    background: #ffe9d6; /* Light orange */
    color: #d35400;
}

.ce-solution .ce-label {
    background: #d6f0ff; /* Light blue */
    color: #1e6091;
}

@media (max-width: 768px) {
    .ce-row > div:nth-child(odd) .ce-card-header {
        background: linear-gradient(135deg, #ffb380, #ff8c66); /* Orange */
    }
    .ce-row > div:nth-child(even) .ce-card-header {
        background: linear-gradient(135deg, #a2d9ff, #74c0fc); /* Blue */
    }
    .ce-card-header {
        padding: 15px;
    }
    .ce-card-body {
        padding: 15px;
    }
}

/* e-tag challenges and .solution */
.e-tag-main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.e-tag-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    display: flex;
    gap: 15px;
    height: 100%;
}

.e-tag-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.e-tag-card-content h5 {
    margin: 0 0 6px;
    font-weight: bold;
}

.e-tag-card-content p {
    margin: 0;
    color: #64748b;
}

.e-tag-arrow-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.e-tag-arrow {
    width: 110px;
    height: 35px;
    background: linear-gradient(to right, #b8d8ff, #6eccff);
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 10% 50%);
    box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.3),
        inset 2px 2px 6px rgba(0, 0, 0, 0.2), 2px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.e-tag-arrow-head {
    width: -webkit-fill-available;
    height: 65px;
    background: linear-gradient(to right, #bde6ff, #e7f2ff);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%);
    box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.3),
        inset 2px 2px 6px rgba(0, 0, 0, 0.2), 2px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    justify-items: center;
    align-content: center;
}

.apanaturf-challenge-card p,
.apanaturf-solution-card p {
    color: #475569;
    line-height: 1.6;
}

/*  Toms Challenege and solution  */
.toms_challenge_solutions-circle-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.toms_challenge_solutions-circle-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(to bottom, #27b0e5 50%, #fa923d 50%);
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.toms_challenge_solutions-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.toms_challenge_solutions-option-card {
    position: absolute;
    width: 379px;
    min-height: 120px;
    padding: 10px;
    background: transparent;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.toms_challenge_solutions-option-left {
    left: -373px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #fa923d;
    border-right: none;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.toms_challenge_solutions-option-right {
    right: -370px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #27b0e5;
    border-left: none;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.toms_challenge_solutions-text-challenges {
    color: var(--secondary);
}

.toms_challenge_solutions-text-solution {
    color: var(--primary);
}

/* Tablet responsiveness */
@media (max-width: 992px) {
    .toms_challenge_solutions-circle-wrapper {
        display: none !important;
    }

    .toms_challenge_solutions-option-card {
        position: relative !important;
        width: 100% !important;
        max-width: 500px;
        margin: 10px auto;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        text-align: center;
        border-radius: 20px !important;
        min-height: 140px;
    }

    .toms_challenge_solutions-option-left,
    .toms_challenge_solutions-option-right {
        border: 1px solid #ccc !important;
        border-radius: 20px !important;
    }
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .toms_challenge_solutions-option-card {
        max-width: 90%;
        padding: 8px;
        font-size: 0.85rem;
    }

    .toms_challenge_solutions-option-card h5 {
        font-size: 1rem;
    }
}

/* E Tag  Case Study */
.e-tag-arrow-head.e-tag-left {
    transform: scaleX(-1);
    background: linear-gradient(to left, #ffeed0, #ffd597);
}

.e-tag-arrow-head.e-tag-left h4 {
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .e-tag-main-container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .e-tag-col {
        width: 100%;
    }

    .e-tag-arrow-container {
        flex-direction: row;
        justify-content: center;
        padding: 20px 0;
        width: 100%;
    }

    .e-tag-arrow {
        transform: rotate(90deg);
        margin: 0px;
        width: 50px;
    }

    .e-tag-arrow.e-tag-left {
        transform: rotate(-90deg);
    }

    .e-tag-heading-card {
        display: none;
    }

    .e-tag-row-card {
        padding: 20px 5px;
        background-color: #eef5fe;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .e-tag-row-card:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

    .e-tag-card {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    /* .e-tag-card {
        background: linear-gradient(to left, #fbeecc, #ffd597);
    } */
}

@media (max-width: 990px) {
    .e-tag-card {
        display: block;
    }
}

@media (max-width: 577px) {
    .challenge-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.e-tag-heading-card {
    justify-content: space-around;
    margin-bottom: 0px;
}

/* paytoall challenges and solution */
.pt-cs-section {
    padding: 60px 20px;
}

@media (min-width: 768px) and (max-width: 1050px) {
    .at-card-p {
        text-align: left;
    }
}

.pt-cs-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.pt-cs-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pt-cs-challenge {
    border-left: 6px solid #ff932d;
    padding-left: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.pt-cs-solution {
    border-left: 6px solid #217cfc;
    padding-left: 15px;
    text-align: left;
}

/* dolphine laser challenges and solution */

.dl-cs-pair {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.dl-cs-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dl-cs-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.dl-cs-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.dl-cs-challenge {
    background-color: #fff4e6;
    border-radius: 20px 20px 0 0;
}

.dl-cs-solution {
    background-color: #e6f7ff;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 767px) {
    .dl-cs-item {
        flex-direction: row;
        gap: 15px;
    }

    .dl-cs-icon {
        font-size: 1.8rem;
    }
}

/* open access pub challenges and solution */
.oap-card {
    display: flex;
    flex-direction: row;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    height: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.oap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.oap-detail-box {
    flex: 2;
    background: #fff;
    padding: 20px;
}

.oap-problem {
    background: #fff3e6;
    padding: 15px;
    border-left: 5px solid #ffa94d;
    margin-bottom: 10px;
    border-radius: 8px;
}

.oap-solution {
    background: #d9f0ff;
    padding: 15px;
    border-left: 5px solid #4db8ff;
    border-radius: 8px;
}

@media (min-width: 576px) and (max-width: 1050px) {
    .hero-section-oap {
        width: 100%;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .oap-card {
        flex-direction: column;
    }

    .oap-detail-box {
        padding: 15px;
    }
}

/* true-value challenges and solution */
.tv-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px 40px;
    align-items: stretch;
    /* make all equal height */
    margin-bottom: 30px;
}

.tv-challenge,
.tv-solution {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* keep text vertically balanced */
}

.tv-challenge:hover,
.tv-solution:hover {
    transform: translateY(-5px);
}

.tv-challenge {
    border-left: 5px solid #ff932d;
}

.tv-solution {
    border-left: 5px solid #217cfc;
}

.tv-challenge h5,
.tv-solution h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tv-challenge p,
.tv-solution p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

/* Arrow connector */
.tv-arrow {
    font-size: 2rem;
    color: #000000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -------- Mobile view -------- */
@media (max-width: 768px) {
    .tv-flow {
        grid-template-columns: 1fr;
    }

    .tv-arrow {
        display: none;
        /* hide arrow on mobile */
    }

    .tv-flow .tv-challenge {
        border-radius: 14px 14px 0 0;
        border-left: none;
        border-top: 5px solid #faaa09;
    }

    .tv-flow .tv-solution {
        border-radius: 0 0 14px 14px;
        border-left: none;
        border-top: 2px solid #eee;
        border-bottom: 5px solid #35daff;
    }
}

/* challenges and solutions in emc case study */

.arrow-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* position: relative; */
    height: 100%;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.challenges .icon-box {
    background: #f8e6fd;
    color: #7b3fbc;
}

.solutions .icon-box {
    background: #e6f8ec;
    color: #4caf50;
}

.arrow-container img {
    width: 145%;
    height: 100%;
    margin: 100px;
}

@media (max-width: 1199px) {
    .arrow-container img {
        margin: 160px;
    }
}

@media (max-width: 590px) {
    .col-custom-4 {
        padding-left: 46px;
    }
}

@media (min-width: 589px) and (max-width: 991px) {
    .c-s-card {
        margin-right: -10px !important;
    }
}

@media (max-width: 991px) {
    .c-s-card {
        max-width: 100% !important;
    }

    .arrow-container img {
        width: 60%;
        height: 60%;
        margin: 0px !important;
    }
}
@media (min-width: 768px) and (max-width: 1025px) {
    .feature-header {
        text-align: left;
    }
    .feature-dec {
        text-align: left;
    }
    .feature-header-reverse {
        text-align: right;
    }
    .feature-dec-reverse {
        text-align: right;
    }
}

.c-s-card {
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 8px 2px 13px rgb(191 183 183);
    padding: 15px 15px 15px 50px;
    max-width: 380px;
    margin: 20px auto;
}

.icon-circle {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 10px rgb(181 170 170);
}

.icon-circle img {
    width: 35px;
    height: 35px;
    /* filter: invert(1); */
}

.c-s-card-desc {
    font-size: 18px;
    margin-top: 5px;
    color: #666;
}

/* key-feature in emc case study */

.emc-feature-card {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

@media (max-width: 767px) {
    .emc-feature-card {
        background-color: #fff;
        border: none;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 20px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        /* smooth hover */
    }

    .emc-feature-card:hover {
        transform: translateY(-6px);
        /* card lifts up */
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        /* deeper shadow */
    }

    .emc-feature-card .row {
        margin-bottom: 0px !important;
    }
}

/* dalalibook challenges */
.db-challenge-solution-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 24px;
    flex-wrap: wrap;
}

/* Headings container */
.db-heading-challenges {
    background: #fa923d;
    /* flex: 1; */
    text-align: center;
    padding: 15px 0;
    position: relative;
    border-radius: 12px;
    color: white;
}
.db-heading-solutions {
    background: #3ba8e1;
    flex: 1;
    text-align: center;
    padding: 15px 0;
    position: relative;
    border-radius: 12px;
    color: white;
}
/* Challenge and Solution Columns */
.db-challenge-column,
.db-solution-column {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Each card */
.db-card-box {
    background: white;
    border-radius: 14px;
    padding: 18px 20px 18px 20px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.07);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    /* flex-direction: column; */
    height: 100%;
}

/* Icon container */
.db-icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.08);
}

/* Challenge icons bg */
.db-icon-challenge {
    background: #fa923d;
}

/* Solution icons bg */
.db-icon-solution {
    background: #3ba8e1;
}

/* Text content */
.db-card-content {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

/* Bold title inside content */
.db-card-title {
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 6px;
    color: #222;
}

/* Responsive */
@media (max-width: 767.98px) {
    .db-challenge-solution-wrapper {
        flex-direction: column;
        max-width: 100%;
    }

    .db-challenge-column,
    .db-solution-column {
        min-width: 100%;
    }

    .db-heading-challenges,
    .db-heading-solutions {
        flex: unset;
        width: 100%;
        position: relative;
        padding: 12px 0;
        clip-path: none !important;
    }

    .db-heading-challenges::after,
    .db-heading-solutions::before {
        display: none !important;
    }
}

/* kracknow challenges  */
.challenge-solution-flow {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.flow-arrow {
    flex: 1;
    padding: 20px 45px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    position: relative;
}

.flow-arrow.challenge {
    background: linear-gradient(135deg, #f39c12, #f7b733);
    text-align: right;
    clip-path: polygon(
        0 0,
        calc(100% - 30px) 0,
        100% 50%,
        calc(100% - 30px) 100%,
        0 100%
    );
}

.flow-arrow.solution {
    background: linear-gradient(135deg, #3ba8e1, #6ac3ff);
    text-align: left;
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 30px 100%, 0 50%);
}

.flow-arrow small {
    display: block;
    font-size: 17px;
    font-weight: normal;
    margin-top: 8px;
    opacity: 0.95;
    line-height: 1.5;
}

.flow-icon {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.flow-icon i {
    font-size: 28px;
    color: #333;
}

@media (max-width: 768px) {
    .flow-row {
        flex-direction: column;
        gap: 10px;
    }

    .flow-arrow {
        clip-path: none !important;
        text-align: center !important;
        border-radius: 6px;
    }

    .flow-icon {
        position: relative;
        top: -30px;
        z-index: 2;
        width: 60px;
        height: 60px;
    }

    .flow-arrow.challenge {
        margin: 0px 10px;
    }

    .flow-arrow.solution {
        margin: 0px 10px;
        position: relative;
        top: -59px;
        z-index: 0;
    }

    .challenge-solution-flow {
        gap: 0px;
    }
}

/* hisab book challenges */
.hb-item-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    align-items: stretch;
    height: 100%;
}

.hb-icon-side {
    width: 60px;
    /* height: 50px; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.hb-icon-side.right {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.text-side {
    flex: 1;
    background-color: #fff;
    padding: 10px 15px;
    /* height: 50px; */
    display: flex;
    align-items: center;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    text-align: start;
}

.text-side.left {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    /* height: 100%; */
    text-align: start;
}

.orange-bg {
    background: linear-gradient(to bottom, #fa923d, #e87f28);
}

.purple-bg {
    background: linear-gradient(to bottom, #3ba8e1, #2a7bbf);
}

.icon-img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    /* make icons white */
}

@media (max-width: 767px) {
    /* .hb-item-row {
    flex-direction: column;
    align-items: stretch;
    } */
    .text-side {
        margin-top: 5px;
    }
}
.challenge-color {
    color: #fa923d;
    font-weight: 700;
    margin-bottom: 0px;
}
.solution-color {
    color: #3ba8e1;
    font-weight: 700;
    margin-bottom: 0px;
}

/* make my foam challenges  */
.mmf-cs-glass-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: start;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid #e0e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.mmf-cs-glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.mmf-cs-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.mmf-cs-header i {
    font-size: 26px;
    color: #4a90e2;
    margin-right: 12px;
}

.mmf-cs-header h5 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.mmf-cs-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.mmf-cs-solution {
    background-color: #eaf4ff;
    padding: 12px 16px;
    border-left: 4px solid #4a90e2;
    border-radius: 6px;
    font-size: 14.5px;
    color: #333;
}

/* healthy bedroom challenges  */
.pill-box {
    border-radius: 20px;
    padding: 24px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.pill-orange {
    background-color: #f8f1e5;
    border-left: 5px solid #fa923d;
}

.pill-blue {
    background-color: #e6f3fa;
    border-left: 5px solid #3ba8e1;
}

.hb-c-s-heading {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* dhs challenges  */
.dhs-card-wrapper {
    position: relative;
    color: white;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.dhs-card-wrapper-challenges {
    padding: 20px 80px 20px 20px;
}

.dhs-card-wrapper-solutions {
    padding: 20px 20px 20px 30px;
}

.dhs-bg-orange {
    background-color: #fa923d;
}

.dhs-bg-blue {
    background-color: #3ba8e1;
}

.dhs-diamond,
.dhs-diamond-start {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 120px;
    height: 120px;
    background-color: #e5e5e5;
    border: 10px solid #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.dhs-diamond {
    right: -48px;
}

.dhs-diamond-start {
    left: -48px;
}

.dhs-diamond i,
.dhs-diamond-start i {
    transform: rotate(-45deg);
    font-size: 30px;
    color: black;
}

.card-content-solutions,
.card-content-challenges {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content-solutions {
    padding-left: 64px;
}

.card-content-challenges {
    padding-right: 23px;
    text-align: end;
}

.card-content-challenges h5,
.card-content-solutions h5 {
    font-weight: bold;
    margin-bottom: 5px;
}

.card-content-challenges p,
.card-content-solutions p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 1300px) {
    .dhs-diamond-start {
        left: -60px;
    }

    .dhs-diamond,
    .dhs-diamond-start {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 1199px) {
    .dhs-diamond,
    .dhs-diamond-start {
        width: 95px;
        height: 95px;
        border-width: 6px;
    }

    .dhs-diamond i,
    .dhs-diamond-start i {
        font-size: 20px;
    }

    .card-content-solutions {
        padding-left: 40px;
    }

    .card-content-challenges {
        padding-right: 15px;
    }

    .dhs-diamond-start {
        left: -47px;
    }

    .dhs-diamond {
        right: -46px;
    }
}

@media (max-width: 991px) {
    .hide-col {
        display: none !important;
    }

    .dhs-diamond,
    .dhs-diamond-start {
        width: 84px;
        height: 84px;
        border-width: 5px;
    }

    .dhs-diamond i,
    .dhs-diamond-start i {
        font-size: 18px;
    }
    .dhs-card-wrapper-challenges {
        padding: 20px 50px 20px 20px;
        margin-right: 50px;
    }

    .dhs-card-wrapper-solutions {
        padding: 20px 20px 20px 22px;
        margin-left: 50px;
    }
    .card-content-solutions {
        padding-left: 30px;
        text-align: center !important;
    }

    .card-content-challenges {
        padding-right: 10px;
        text-align: center !important;
    }

    .no-gutters {
        --bs-gutter-x: 4rem !important;
    }
}

@media (max-width: 767px) {
    .dhs-diamond,
    .dhs-diamond-start {
        display: none;
    }

    .dhs-card-wrapper {
        padding: 20px;
    }

    .card-content-solutions,
    .card-content-challenges {
        text-align: center !important;
        padding-left: 0;
        padding-right: 0;
    }
    .dhs-card-wrapper-challenges {
        margin-right: 0px;
    }

    .dhs-mb {
        margin-bottom: 1rem;
    }

    .dhs-card-wrapper-solutions {
        margin-left: 0px;
    }

    /* .no-gutters {
        --bs-gutter-x: 1rem !important;
    } */
}

@media (max-width: 576px) {
    .dhs-card-wrapper {
        text-align: center;
    }

    .card-content-challenges {
        text-align: center;
    }
    .card-content-solutions {
        text-align: center;
    }

    .no-gutters {
        --bs-gutter-x: 1rem !important;
    }
}

/* Wobitravel - Challenge and solution */
.wobitravel-pair {
    display: flex;
    flex-direction: row;
    gap: 90px;
    margin-bottom: 30px;
}

/* Desktop cards */
.wobitravel-card {
    flex: 1;
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 8px 2px 13px rgb(191 183 183);
    padding: 15px 15px 15px 50px;
    min-height: 150px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

/* Challenge styling */
.wobitravel-challenges {
    background: linear-gradient(135deg, #fa923d33 0%, #fa923d11 100%);
    padding: 15px 50px 15px 15px;
}

.wobitravel-challenges .wobitravel-icon-circle {
    background-color: #fa923d;
    left: auto;
    right: 0;
    transform: translate(50%, -50%);
}

/* Solution styling */
.wobitravel-solutions {
    background: linear-gradient(270deg, #27b0e533 0%, #27b0e511 100%);
    padding: 15px 15px 15px 50px;
}

.wobitravel-solutions .wobitravel-icon-circle {
    background-color: #27b0e5;
}

/* Icon styling */
.wobitravel-icon-circle {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 10px rgb(181 170 170);
    background: #fff;
}

.wobitravel-icon-circle img {
    width: 45px;
    height: 45px;
}

/* Default (Desktop & Tablet) → hide titles */
.wobitravel-title {
    display: none;
}

@media (min-width: 992px) {
    .wobitravel-heading {
        display: none !important;
    }
}

/* Tablet & Mobile → stack vertically */
@media (max-width: 992px) {
    .wobitravel-pair {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 40px;
    }

    .wobitravel-heading {
        min-height: auto !important;
        display: flex;
        padding: 6px !important;
        justify-content: center;
    }

    .wobitravel-heading .wobitravel-challenege-heading-title {
        color: #fa923d;
    }

    .wobitravel-heading .wobitravel-solution-heading-title {
        color: #27b0e5;
    }

    .wobitravel-card {
        padding: 20px;
    }

    .wobitravel-icon-circle {
        display: none;
    }
}

/* Mobile → center align */
@media (max-width: 576px) {
    .wobitravel-pair {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }

    .wobitravel-card {
        text-align: center;
        position: relative;
        justify-content: center;
        box-shadow: 2px 2px 13px rgb(191 183 183);
    }

    .wobitravel-card-text {
        text-align: center;
    }

    /* Hide icons */
    .wobitravel-icon-circle {
        display: none;
    }

    /* Base style for titles */
    .wobitravel-title {
        display: block;
        font-weight: bold;
        font-size: 20px;
        margin-bottom: 10px;
        text-align: center;
    }

    /* Specific colors */
    .wobitravel-challenges .wobitravel-title {
        color: #fa923d;
    }

    .wobitravel-solutions .wobitravel-title {
        color: #27b0e5;
    }

    .wobitravel-heading {
        display: none !important;
    }
}

/* HRLOGIX - Challenge and solution */
.hrlogix-pair {
    display: flex;
    flex-direction: row;
    gap: 90px;
    margin-bottom: 30px;
}

/* Desktop cards */
.hrlogix-card {
    flex: 1;
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 8px 2px 13px rgb(191 183 183);
    padding: 15px 15px 15px 50px;
    min-height: 150px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

/* Challenge styling */
.hrlogix-challenges {
    background: linear-gradient(135deg, #fa923d33 0%, #fa923d11 100%);
    padding: 15px 50px 15px 15px;
}

.hrlogix-challenges .hrlogix-icon-circle {
    background-color: #fa923d;
    left: auto;
    right: 0;
    transform: translate(50%, -50%);
}

/* Solution styling */
.hrlogix-solutions {
    background: linear-gradient(270deg, #27b0e533 0%, #27b0e511 100%);
    padding: 15px 15px 15px 50px;
}

.hrlogix-solutions .hrlogix-icon-circle {
    background-color: #27b0e5;
}

/* Icon styling */
.hrlogix-icon-circle {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 10px rgb(181 170 170);
    background: #fff;
}

.hrlogix-icon-circle img {
    width: 45px;
    height: 45px;
}

/* Default (Desktop & Tablet) → hide titles */
.hrlogix-title {
    display: none;
}

@media (min-width: 992px) {
    .hrlogix-heading {
        display: none !important;
    }
}

/* Tablet & Mobile → stack vertically */
@media (max-width: 992px) {
    .hrlogix-pair {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 40px;
    }

    .hrlogix-heading {
        min-height: auto !important;
        display: flex;
        padding: 6px !important;
        justify-content: center;
    }

    .hrlogix-heading .hrlogix-challenege-heading-title {
        color: #fa923d;
    }

    .hrlogix-heading .hrlogix-solution-heading-title {
        color: #27b0e5;
    }

    .hrlogix-card {
        padding: 20px;
    }

    .hrlogix-icon-circle {
        display: none;
    }
}

/* Mobile → center align */
@media (max-width: 576px) {
    .hrlogix-pair {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }

    .hrlogix-card {
        text-align: center;
        position: relative;
        justify-content: center;
        box-shadow: 2px 2px 13px rgb(191 183 183);
    }

    .hrlogix-card-text {
        text-align: center;
    }

    /* Hide icons */
    .hrlogix-icon-circle {
        display: none;
    }

    /* Base style for titles */
    .hrlogix-title {
        display: block;
        font-weight: bold;
        font-size: 20px;
        margin-bottom: 10px;
        text-align: center;
    }

    /* Specific colors */
    .hrlogix-challenges .hrlogix-title {
        color: #fa923d;
    }

    .hrlogix-solutions .hrlogix-title {
        color: #27b0e5;
    }

    .hrlogix-heading {
        display: none !important;
    }
}

/* Label-Patti Challenge & Solution section */
.label-patti-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.label-patti-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.label-patti-label {
    font-size: 20px;
    font-weight: 600;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.label-patti-challenge .label-patti-label {
    background: #fde2e2;
    color: #c0392b;
}

.label-patti-solution .label-patti-label {
    background: #d4f5dd;
    color: #1e8449;
}
