/* ========== Mobile menu hamburger - ensure visible on small screens ========== */
@media (max-width: 991px) {
  .header-1 .header__hamburger {
    display: flex !important;
    align-items: center;
    cursor: pointer;
  }
  .header-1 .header__hamburger .sidebar__toggle .header-bar span {
    background: var(--theme);
  }
    .mean__menu-wrapper{
    display: none !important;
  }
}
@media (min-width: 992px) {
  .header-1 .header__hamburger {
    display: none !important;
  }

}

/* White Papers page: fix image display (was showing as thin strip due to no height) */
.white-papers-section .white-paper-image .image-wrapper {
    width: 100%;
    min-height: 320px;
    border-radius: 8px;
    overflow: hidden;
}

/* Arrow icon default orange color for service-box-items (white background) */
.service-box-items .arrow-icon i {
    color: #f68b21 !important;
    transition: color 0.4s ease-in-out !important;
}

/* Arrow icon white color for active/orange background boxes */
.service-box-items.active .arrow-icon i {
    color: #ffffff !important;
}

/* Arrow icon color and angle change on hover for service-box-items */
.service-box-items:hover .arrow-icon {
    transform: rotate(0deg) !important;
}

.service-box-items:hover .arrow-icon i {
    color: #ffffff !important;
}

.service-box-items .arrow-icon {
    transform: rotate(-50deg) !important;
    transition: transform 0.4s ease-in-out, color 0.4s ease-in-out !important;
}

/* Hover effect for active/orange background boxes - make background white and content orange */
.service-box-items.active {
    position: relative;
    transition: all 0.4s ease-in-out;
    background-color: #f68b21 !important;
    color: #ffffff !important;
    background-image: url(../img/service/line-shape.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.service-box-items.active .content h3 a,
.service-box-items.active .content p,
.service-box-items.active .icon,
.service-box-items.active .icon i,
.service-box-items.active .arrow-icon i {
    color: #ffffff !important;
}

.service-box-items.active:hover .content h3 a,
.service-box-items.active:hover .content p {
    color: #702222 !important;
}

.service-box-items.active:hover .icon,
.service-box-items.active:hover .icon i,
.service-box-items.active:hover .arrow-icon i {
    color: #f68b21 !important;
}

/* White overlay for active boxes to mimic default animation */
.service-box-items.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff !important;
    transform: scale(1, 0) !important;
    transform-origin: bottom center !important;
    transition: transform 0.5s ease-in-out !important;
    z-index: -1;
}

.service-box-items.active:hover::before {
    transform: scale(1, 1) !important;
    transform-origin: top center !important;
}

/* Preserve background line image like default */
.service-box-items.active::after {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    width: 100%;
    height: 320px;
    content: "";
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-image: url(../img/service/line-shape.png) !important;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out !important;
}

.service-box-items.active:hover::after {
    bottom: 0;
    visibility: visible;
    opacity: 1;
}

.service-box-items.active .icon,
.service-box-items.active .arrow-icon {
    transition: transform 0.4s ease-in-out, color 0.4s ease-in-out !important;
}

/* Equal height for all service-box-items */
#industries .row {
    display: flex;
    flex-wrap: wrap;
}

#industries .row>[class*="col-"] {
    display: flex;
    flex-direction: column;
}

#industries .service-box-items {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#industries .service-box-items .content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#industries .service-box-items .arrow-icon {
    margin-top: auto;
}

/* Equal height for all service-box-items in services section */
#service .row {
    display: flex;
    flex-wrap: wrap;
}

#service .row>[class*="col-"] {
    display: flex;
    flex-direction: column;
}

#service .service-box-items {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#service .service-box-items .content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#service .service-box-items .arrow-icon {
    margin-top: auto;
}

/* Limit paragraph text to 6 lines with ellipsis */
#service .service-box-items .content p {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    max-height: calc(1.6em * 6);
    /* 6 lines with line-height 1.6 */
}

/* Smooth underline on hover for service card titles - only on title hover */
#service .service-box-items .content h3 a {
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

#service .service-box-items .content h3 a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

/* Show underline only when hovering directly on the title link */
#service .service-box-items .content h3 a:hover::after {
    width: 100%;
}

/* For active boxes (orange background), use white underline on title hover */
#service .service-box-items.active .content h3 a:hover::after {
    background-color: #f68b21;
}

/* Active nav menu item styling */
.nav_menu li.active>a {
    color: #f68b21 !important;
    font-weight: 600;
    position: relative;
}

.nav_menu li.active>a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f68b21;
    transition: all 0.3s ease;
}

/* Industry Tabs Styling */
.industry-tabs-wrapper {
    margin-top: 40px;
}

.industry-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.industry-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.industry-tab-btn .tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.industry-tab-btn i {
    font-size: 20px;
    color: #f68b21;
}

.industry-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #f68b21;
}

.industry-tab-btn.active {
    /*background: #f68b21;*/
    color: #000;
    border-color: #f68b21;
    box-shadow: 0 4px 15px rgb(24 13 3 / 30%);
}

.industry-tab-btn.active i {
    color: #ffffff;
}

.industry-tabs-content {
    position: relative;
    min-height: 400px;
}

.industry-tab-panel {
    display: none !important;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.industry-tab-panel.active {
    display: block !important;
    opacity: 1;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Insights Tabs (Blogs + White Papers) - matches industry tabs theme ========== */
.title-section-with-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.title-section-with-tabs .section-title {
    margin-bottom: 0;
}

.insights-tabs-wrapper {
    margin-top: 0;
}

.insights-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.insights-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.insights-tab-btn i {
    font-size: 20px;
    color: #f68b21;
}

.insights-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #f68b21;
}

.insights-tab-btn.active {
    color: #000;
    border-color: #f68b21;
    box-shadow: 0 4px 15px rgba(24, 13, 3, 0.3);
}

.insights-tab-btn.active i {
    color: #f68b21;
}

.insights-tabs-content {
    position: relative;
    min-height: 200px;
    margin-top: 0px;
}

.insights-tab-panel {
    display: none !important;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.insights-tab-panel.active {
    display: block !important;
    opacity: 1;
    animation: fadeIn 0.4s ease-in-out;
}

.insights-panel-footer {
    min-height: 36px;
}

.insights-panel-footer .link-btn {
    white-space: nowrap;
}

.insight-whitepaper-card .link-btn:hover span {
    color: #f68b21;
}

.industry-details-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.industry-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.industry-solutions h4 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.solution-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f68b21, #ea7224);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.solution-icon i {
    font-size: 24px;
    color: #ffffff;
}

.solution-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.solution-details {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.solution-details ul {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.solution-details li {
    color: #555;
    font-size: 14px;
    margin-bottom: 6px;
    position: relative;
    padding-left: 28px;
}

.solution-details li::before {
    content: "▹";
    color: #ea7224;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    line-height: 1;
}

/* Industry Details Button Styling */
.industry-details-section .btn-primary {
    background: linear-gradient(135deg, #f68b21, #ea7224);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 139, 33, 0.3);
}

.industry-details-section .btn-primary:hover {
    background: linear-gradient(135deg, #ea7224, #f68b21);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 139, 33, 0.4);
    color: #ffffff;
}

.industry-details-section .btn-primary i {
    transition: transform 0.3s ease;
}

.industry-details-section .btn-primary:hover i {
    transform: translateX(5px);
}

.case-studies-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-studies-section h4 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-study-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-study-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.case-study-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-item:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 15px;
}

.case-study-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.case-study-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
.process-items .content{
    padding: 11px;
}
@media (max-width: 768px) {
    .industry-tabs-nav {
        gap: 10px;
        padding: 15px;
    }

    .industry-tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .industry-tab-btn .tab-icon {
        width: 20px;
        height: 20px;
    }

    .title-section-with-tabs {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .insights-tabs-nav {
        gap: 10px;
        padding: 0;
        justify-content: center;
    }

    .insights-tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

}

/* How We Work: fix process circles overlapping on ~1200-1400px screens */
@media (min-width: 1200px) and (max-width: 1499px) {
    .woeking-process .process-items {
        width: 200px !important;
        height: 200px !important;
        margin: 20px auto !important;
    }
}
@media (min-width: 1500px) and (max-width: 1599px) {
    .woeking-process .process-items {
        width: 220px !important;
        height: 220px !important;
    }
}

/* How We Work: prevent process phase circles from overlapping */
.woeking-process .process-phases-row {
    row-gap: 0;
}
.woeking-process .process-item-no-overlap {
    max-width: 100%;
    box-sizing: border-box;
}
.woeking-process .process-item-no-overlap .content {
    padding: 0 15px;
    box-sizing: border-box;
}
.woeking-process .process-item-no-overlap .content p {
    max-width: 100%;
    line-height: 1.35;
    padding: 0 5px;
}
@media (min-width: 992px) {
    .woeking-process .process-phases-row .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}
@media (max-width: 991px) {
    .woeking-process .process-item-no-overlap {
        width: 240px;
        height: 240px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 575px) {
    .woeking-process .process-item-no-overlap {
        width: 200px;
        height: 200px;
    }
    .woeking-process .process-item-no-overlap .content p {
        font-size: 12px;
    }
}