/* ========== Versatile Feature Tabs Section ========== */

.feature-section-tabs {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: #A78AE3;
    background: linear-gradient(135deg, #A78AE3, #7C5CCA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tabs Navigation */
.tabs-button-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    border-color: #A78AE3;
    color: #A78AE3;
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, #A78AE3, #7C5CCA);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(167, 138, 227, 0.3);
}

.tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-area {
    padding: 20px 0;
}

/* Challenge Section */
.challenge-section {
    margin-bottom: 35px;
}

.challenge-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.challenge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ffe5e5;
    color: #ff6b6b;
    border-radius: 50%;
    font-size: 14px;
}

.challenge-text {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* Solution Section */
.solution-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.solution-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #e5f5e5;
    color: #4caf50;
    border-radius: 50%;
    font-size: 14px;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.solution-list li:last-child {
    margin-bottom: 0;
}

.list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #A78AE3;
    font-size: 16px;
    margin-top: 2px;
}

/* Image Container */
.feature-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.feature-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    transition: opacity 0.3s ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Why Choose Us Cards */
.why-choose-us {
    background: #ffffff;
}
/* ensure columns and cards stretch to equal height */
.why-choose-us .row {
    align-items: stretch;
}
.why-choose-us .col-md-4,
.why-choose-us .col-sm-6 {
    display: flex;
}
.choose-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
}
.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.choose-icon {
    font-size: 45px;
    color: #303030;
    margin-bottom: 15px;
}
.choose-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.choose-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
}

/* CTA Button */
.feature-cta-wrapper {
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 36px;
    }

    .tabs-button-group {
        gap: 20px;
    }

    .tab-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .feature-section-tabs {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .tabs-button-group {
        flex-direction: column;
        gap: 8px;
    }

    .tab-button {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 18px;
    }

    .feature-image-container {
        min-height: 300px;
        margin-top: 30px;
    }

    .solution-section {
        padding: 20px;
    }

    .challenge-title,
    .solution-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }

    .tabs-button-group {
        gap: 5px;
    }

    .tab-button {
        padding: 10px 12px;
        font-size: 12px;
    }

    .tab-icon {
        display: none;
    }

    .tab-content-area {
        padding: 0;
    }

    .solution-section {
        padding: 15px;
    }
}

/* Case Studies Carousel */
.case-studies .case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.case-studies .case-media img {
    width: 100%;
    height: 300px;
    min-height: 180px;
    object-fit: cover;
    object-position: top;
    display: block;
    background: #f4f4f6;
    color: transparent;
}
.case-studies .case-body {
    padding: 18px 20px;
    flex: 1 1 auto;
}
.case-studies .case-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a1a;
}
.case-studies .case-desc {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}
.case-studies .swiper-container,
.case-studies .swiper {
    padding-bottom: 30px;
}
.case-studies .swiper-slide {
    display: flex;
    height: auto;
}

@media (min-width: 992px) {
    .case-studies .swiper-slide { padding: 0 10px; }
}

