/* ============================================
   Service Pages Shared Styles
   ============================================ */

/* ============================================
   Breadcrumbs - Modern Gradient Strip
   ============================================ */
.breadcrumbs-modern {
    background: linear-gradient(135deg, #05334B 0%, #1A1F36 100%);
    padding: 78px 0 12px; /* 78px pushes below fixed header */
    margin-bottom: 0;
}

.breadcrumbs-modern .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item::after {
    content: '/';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #00d084;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

/* Adjust hero section when breadcrumbs are present */
.breadcrumbs-modern + .page-hero,
.breadcrumbs-modern + .service-banner-modern {
    padding-top: 60px; /* Reduce top padding since breadcrumbs provide spacing */
}

@media (max-width: 768px) {
    .breadcrumbs-modern {
        padding: 72px 0 10px;
    }
    
    .breadcrumb-list {
        font-size: 12px;
        gap: 6px;
    }
    
    .breadcrumb-item::after {
        margin-left: 6px;
    }
    
    .breadcrumbs-modern + .page-hero,
    .breadcrumbs-modern + .service-banner-modern {
        padding-top: 50px;
    }
}

.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    text-align: center;
}

/* Modern Service Banner */
.service-banner-modern {
    position: relative;
    padding: 140px 0 64px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.service-banner-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 208, 132, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(123, 220, 181, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(56, 181, 151, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.service-banner-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00d084 50%, transparent 100%);
}

.service-banner-modern .container {
    position: relative;
    z-index: 2;
}

.service-banner-modern .page-title {
    color: white;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.service-banner-modern .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.service-banner-modern .page-cta {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.service-banner-modern .btn-primary {
    background: linear-gradient(135deg, #00d084 0%, #38B597 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 208, 132, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-banner-modern .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 208, 132, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-cta {
    margin-top: 32px;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.hero-breadcrumb a:hover {
    color: var(--primary-color);
}

.hero-breadcrumb i {
    font-size: 10px;
}

.hero-breadcrumb span {
    color: var(--primary-color);
    font-weight: 500;
}

.page-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
}

/* Content Layout */
.page-content {
    padding: 40px 0 60px;
}

.content-layout {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    width: 100%;
}

.sidebar {
    display: none;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Real Results Section - Full Width Green Background */
.content-section:has(.stats-grid) {
    background: var(--gradient-primary);
    padding: 48px 20px;
    margin: 48px 0 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    color: white;
}

.content-section:has(.stats-grid) h2 {
    color: white;
    text-align: center;
    margin-bottom: 32px;
}

/* Real Results Stats Section - Horizontal Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid .stat-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
}

.stats-grid .stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.stats-grid .stat-icon i {
    font-size: 28px;
    color: white;
}

.stats-grid .stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: white !important;
    line-height: 1;
}

.stats-grid .stat-label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.4;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-section:has(.stats-grid) {
        padding: 40px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .content-section:has(.stats-grid) {
        padding: 40px 20px;
    }
    
    .content-section:has(.stats-grid) h2 {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stats-grid .stat-icon {
        width: 56px;
        height: 56px;
    }
    
    .stats-grid .stat-icon i {
        font-size: 24px;
    }
    
    .stats-grid .stat-number {
        font-size: 42px;
    }
    
    .stats-grid .stat-label {
        font-size: 14px;
    }
}

.content-section h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.3;
}

.certified-cloud-partners{
    margin-top: 0px !important;
}

.content-section h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-section p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 100%;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-box {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-box i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: block;
}

.feature-box h4 {
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14px;
    margin: 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
}

/* Platforms List */
.platforms-list {
    margin: 32px 0;
}

.platform-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.platform-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-top: 4px;
}

.platform-item h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.platform-item p {
    font-size: 14px;
    margin: 0;
    color: var(--text-light);
}

/* CTA Box */
.cta-box {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 48px 0;
}

.cta-box h3 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 28px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-size: 16px;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-box .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid var(--border-color);
}

.sidebar-widget h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu li {
    margin-bottom: 8px;
}

.service-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 15px;
}

.service-menu a:hover,
.service-menu li.active a {
    background: white;
    color: var(--primary-color);
    transform: translateX(4px);
}

.service-menu li.active a {
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
}

/* CTA Widget */
.cta-widget {
    background: var(--gradient-dark);
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .page-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 40px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   Benefits Grid (4-column on service pages)
   ============================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.benefits-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .benefits-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(56, 181, 151, 0.15);
}

.benefit-card i {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    background: linear-gradient(135deg, rgba(56, 181, 151, 0.1), rgba(123, 220, 181, 0.1));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.benefit-card h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   Feature Tabs (What X Includes sections)
   ============================================ */

.feature-tabs {
    margin: 32px 0;
}

.tab-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.tab-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(56, 181, 151, 0.12);
    transform: translateY(-2px);
}

.tab-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(56, 181, 151, 0.25);
}

.tab-icon i {
    font-size: 28px;
    color: white;
}

.tab-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.tab-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   Feature Box Large (Why Choose sections)
   ============================================ */

.feature-box-large {
    background: white;
    padding: 36px 28px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-box-large:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(56, 181, 151, 0.18);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 6px 16px rgba(56, 181, 151, 0.3);
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-box-large h4 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-box-large p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Large CTA Box
   ============================================ */

.cta-box-large {
    background: var(--gradient-primary);
    color: white;
    padding: 38px 20px;
    border-radius: 0;
    text-align: center;
    margin: 40px 0;
    /* Full width */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.cta-box-large h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 26px;
    font-weight: 700;
}

.cta-box-large p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-size: 15px;
}

/* Full Width CTA Section */
.cta-section-fullwidth {
    background: var(--gradient-primary);
    width: 100%;
    padding: 64px 20px;
    text-align: center;
}

.cta-section-fullwidth .cta-section-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section-fullwidth h3 {
    color: white;
    margin: 0 0 16px 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-section-fullwidth p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cta-section-fullwidth {
        padding: 48px 20px;
    }
    .cta-section-fullwidth h3 {
        font-size: 28px;
    }
    .cta-section-fullwidth p {
        font-size: 16px;
    }
}

.btn-primary-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: white;
    color: var(--primary-dark);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-white:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FAQ Accordion
   ============================================ */

.faq-accordion {
    margin: 32px auto;
    max-width: 980px;
}

/* 2-Column FAQ Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 0 20px;
    align-items: start; /* Prevent items from stretching to match row height */
}

.faq-grid .faq-item {
    margin-bottom: 0;
    height: fit-content;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 600px;
    }
}

.faq-item {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 22px 56px 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #fafbfc;
    transition: all 0.25s ease;
    position: relative;
    text-align: left;
    min-height: 72px;
}

.faq-question:hover {
    background: white;
}

.faq-question h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.5;
    padding-right: 8px;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    position: absolute;
    right: 24px;
    font-size: 14px;
}

.faq-item.active .faq-question {
    background: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    border-top: 1px solid #e2e8f0;
}

.faq-answer p {
    padding: 20px 28px 24px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: #64748b;
}

/* FAQ Section Header Alignment */
.page-section .section-header + .faq-grid {
    margin-top: 40px;
}

/* FAQ Section Spacing */
.page-section:has(.faq-grid) {
    padding: 80px 20px;
}

.page-section .faq-grid {
    margin-bottom: 20px;
}

/* ============================================
   Case Studies Listing (match live layout)
   ============================================ */

.case-studies-list {
    max-width: 980px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.case-study-item {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.case-study-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 14px 28px rgba(56, 181, 151, 0.12);
    transform: translateY(-2px);
}

.case-study-item-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
}

.case-study-item-desc {
    margin: 0 0 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.case-study-item-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.case-study-item-link:hover {
    gap: 10px;
}

/* Pagination (shared for listings) */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px auto 0;
}

.pagination a,
.pagination span {
    padding: 10px 14px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
}

.pagination .active {
    background: var(--primary-color);
    color: #fff;
}

.pagination .disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* ============================================
   Use Cases List (Migration page)
   ============================================ */

.use-cases-list {
    margin: 32px 0;
}

.use-case-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.use-case-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.use-case-item i {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.use-case-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.use-case-item p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   Migration Phases
   ============================================ */

.migration-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.phase-item {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.phase-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.phase-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.phase-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.phase-item p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* New Minimalist Process List (Netguru Inspired) */
.process-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 40px 0;
    border-top: 1px solid var(--border-color);
}

.process-item-minimal {
    display: grid;
    grid-template-columns: 80px 1fr;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.process-item-minimal:hover {
    background: rgba(0, 208, 132, 0.02);
}

.process-item-minimal .process-step {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
}

.process-item-minimal:hover .process-step {
    opacity: 1;
}

.process-item-minimal .process-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--heading-color);
}

.process-item-minimal .process-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 800px;
}

/* Challenge Cards Grid (Different from Process) */
.challenges-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.challenge-card-modern {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.challenge-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

/* Cascading Cards Design (Netguru Screenshot Inspired) */
.cascading-cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
    padding: 60px 0 100px;
}

.cascading-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(50px);
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.cascading-card.active {
    opacity: 1;
    transform: translateY(0);
}

.cascading-card:nth-child(2) { margin-top: 40px; transition-delay: 0.1s; }
.cascading-card:nth-child(3) { margin-top: 80px; transition-delay: 0.2s; }
.cascading-card:nth-child(4) { margin-top: 120px; transition-delay: 0.3s; }
.cascading-card:nth-child(5) { margin-top: 160px; transition-delay: 0.4s; }

.cascading-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cascading-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--heading-color);
    line-height: 1.3;
}

.cascading-icon-circle {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex-shrink: 0;
    margin-left: 15px;
}

.cascading-icon-circle i {
    font-size: 18px;
    color: var(--primary-color);
}

.cascading-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.text-highlight-green {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.text-highlight-green::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -4px;
    right: -4px;
    height: 12px;
    background: #00d084;
    opacity: 0.3;
    z-index: -1;
    border-radius: 100px;
}

@media (max-width: 1200px) {
    .cascading-cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .cascading-card:nth-child(n) { margin-top: 0; }
    .cascading-card { min-height: auto; }
}

@media (max-width: 992px) {
    .challenges-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Modernization Pathways - Horizontal Accordion (Netguru Inspired) */
.modernization-pathways {
    display: flex;
    gap: 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    height: 400px; /* Increased height for better readability */
}

.pathway-item {
    flex: 1;
    position: relative;
    padding: 40px 25px;
    border-right: 1px solid var(--border-color);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    min-width: 0; /* Allows shrinking below content size */
}

.pathway-item:last-child {
    border-right: none;
}

/* Active and Hover states */
.pathway-item.active,
.pathway-item:hover {
    flex: 3;
    background: var(--bg-secondary);
}

/* When the whole container is hovered, the 'active' one shrinks unless it is the one being hovered */
.modernization-pathways:hover .pathway-item.active:not(:hover) {
    flex: 1;
    background: white;
}

.pathway-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: block;
}

.pathway-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
    line-height: 1.3;
    white-space: normal; /* Allow wrapping for readability */
    transition: all 0.3s ease;
    width: 100%;
}

.pathway-item.active h3,
.pathway-item:hover h3 {
    color: var(--primary-color);
}

.pathway-description-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    transform: translateX(-20px);
}

.pathway-item.active .pathway-description-wrapper,
.pathway-item:hover .pathway-description-wrapper {
    max-height: 200px;
    opacity: 1;
    transform: translateX(0);
}

/* When container is hovered, hide description of active item if not hovered */
.modernization-pathways:hover .pathway-item.active:not(:hover) .pathway-description-wrapper {
    max-height: 0;
    opacity: 0;
    transform: translateX(-20px);
}

@media (max-width: 1024px) {
    .modernization-pathways {
        flex-direction: column;
        height: auto;
    }
    
    .pathway-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        height: auto;
        min-height: 100px;
        flex: none !important;
        padding: 30px;
    }

    .pathway-description-wrapper {
        max-height: 0;
        opacity: 0;
    }

    .pathway-item.active .pathway-description-wrapper,
    .pathway-item:hover .pathway-description-wrapper {
        max-height: 200px;
        opacity: 1;
        padding-top: 15px;
    }
}

.challenge-label {
    display: inline-block;
    padding: 6px 14px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.challenge-card-modern h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--heading-color);
}

.challenge-card-modern p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.solution-box {
    background: #f0fdf4;
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.solution-box h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-box p {
    font-size: 13px;
    color: #166534;
    margin: 0;
}

@media (max-width: 768px) {
    .process-item-minimal {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 30px 0;
    }
    
    .process-item-minimal .process-step {
        font-size: 36px;
    }
}

/* Netguru Inspired Split Section */
.split-content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    align-items: start;
}

.split-left {
    position: sticky;
    top: 100px;
}

.split-left h2 {
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.split-left .section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.split-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.minimal-info-block {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.minimal-info-block:last-child {
    border-bottom: none;
}

.minimal-info-block h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--heading-color);
}

.minimal-info-block h4 i {
    color: var(--primary-color);
    font-size: 18px;
}

.minimal-info-block p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .split-content-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .split-left {
        position: static;
    }
}

/* ============================================
   Responsive Updates
   ============================================ */

@media (max-width: 768px) {
    .benefits-grid,
    .migration-phases {
        grid-template-columns: 1fr;
    }
    
    .cta-box-large h3 {
        font-size: 24px;
    }
    
    .cta-box-large p {
        font-size: 16px;
    }
    
    .use-case-item {
        flex-direction: column;
        text-align: center;
    }
    
    .use-case-item i {
        margin: 0 auto 12px;
    }
}


/* ============================================
   Why Choose Section - WordPress Style (Cloud Migration Design)
   ============================================ */

.why-choose-section-wordpress {
    background: var(--gradient-primary);
    padding: 64px 20px;
    color: white;
    margin: 48px 0 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.why-choose-header {
    text-align: center;
    margin-bottom: 32px;
}

.why-choose-title-highlight {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 40px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
}

.why-choose-divider {
    width: 80px;
    height: 3px;
    background: white;
    margin: 0 auto;
}

.why-choose-description {
    text-align: center;
    font-size: 17px;
    line-height: 1.8;
    color: white;
    max-width: 900px;
    margin: 32px auto 40px;
}

/* Key Metrics Row */
.why-choose-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 48px auto;
    max-width: 900px;
}

.metric-item {
    flex: 1;
    text-align: center;
}

.metric-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.metric-separator {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* White Feature Cards Grid */
.why-choose-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-card-white {
    background: white;
    padding: 40px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-icon-circle {
    width: 80px;
    height: 80px;
    background: #165643;
    border: 4px solid #7bdcb5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.card-icon-circle i {
    font-size: 32px;
    color: white;
}

.why-choose-card-white h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.why-choose-card-white p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-choose-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-title-highlight {
        font-size: 28px;
        padding: 10px 24px;
    }
    
    .why-choose-description {
        font-size: 15px;
    }
    
    .why-choose-metrics {
        flex-direction: column;
        gap: 24px;
    }
    
    .metric-separator {
        width: 60px;
        height: 1px;
    }
    
    .why-choose-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Old why-choose-section (backup) */
.why-choose-section {
    background: var(--gradient-primary); /* Darker gradient matching other pages */
    padding: 56px 20px;
    color: white;
    margin: 48px 0 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-choose-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.why-choose-intro {
    font-size: 18px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.why-choose-differentiators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.differentiator-item {
    font-size: 20px;
    font-weight: 700;
    padding: 0 20px;
    border-left: 4px solid white;
    line-height: 1.2;
    text-align: left;
}

.differentiator-item:first-child {
    border-left: 4px solid white;
}

.why-choose-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-card {
    background: white;
    border-radius: 12px;
    padding: 45px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.why-choose-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: #239981; /* Darker Teal Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-icon i {
    font-size: 40px;
    color: white;
}

.why-choose-card h4 {
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-choose-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.section-title-white {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle-white {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* Key Highlights - Three Items with Bars */
.key-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 56px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-bar {
    width: 4px;
    height: 60px;
    background: white;
    border-radius: 2px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.highlight-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

/* Why Choose Cards Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-card {
    background: white;
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-icon-dark {
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(5, 51, 75, 0.3);
}

.card-icon-dark i {
    font-size: 36px;
    color: white;
}

.why-choose-card h4 {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.why-choose-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
        margin: 60px 0;
    }
    
    .section-title-white {
        font-size: 32px;
    }
    
    .section-subtitle-white {
        font-size: 16px;
    }
    
    .key-highlights {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   Modern Highlighted Sections
   ============================================ */

.highlight-section {
    padding: 0;
    margin-bottom: 48px;
}

.includes-section {
    background: white;
    padding: 48px 40px;
    border-radius: 24px;
    border: 2px solid var(--primary-color);
    margin-bottom: 48px;
    box-shadow: 0 8px 24px rgba(56, 181, 151, 0.08);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(56, 181, 151, 0.25);
}

.section-badge i {
    font-size: 16px;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.lead-text {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    margin-bottom: 40px !important;
}

/* Benefits Grid Modern */
.benefits-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

/* Variant: 3 columns on desktop (6 items = 2 rows x 3) */
.benefits-grid-modern.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Variant: single row (horizontal scroll) */
.benefits-grid-modern.row-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.benefits-grid-modern.row-scroll .benefit-card-modern {
    flex: 0 0 320px;
    min-width: 320px;
    scroll-snap-align: start;
}

.benefits-grid-modern.row-scroll::-webkit-scrollbar {
    height: 8px;
}

.benefits-grid-modern.row-scroll::-webkit-scrollbar-thumb {
    background: rgba(56, 181, 151, 0.35);
    border-radius: 999px;
}

.benefits-grid-modern.row-scroll::-webkit-scrollbar-track {
    background: rgba(5, 51, 75, 0.06);
    border-radius: 999px;
}

@media (max-width: 1200px) {
    .benefits-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid-modern.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid-modern {
        grid-template-columns: 1fr;
    }
    .benefits-grid-modern.cols-3 {
        grid-template-columns: 1fr;
    }
    .benefits-grid-modern.row-scroll .benefit-card-modern {
        flex-basis: 280px;
        min-width: 280px;
    }
}

/* Blog Card Styles (Modern Grid) */
.blog-image-wrapper {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Center the image */
    display: block; /* Remove inline spacing */
    transition: transform 0.5s ease;
}

.benefit-card-modern:hover .blog-image-wrapper img {
    transform: scale(1.1);
}

/* Blog Carousel Styles */
.blog-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.blog-carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%; /* Resetting to 100% to ensure translateX percentage works correctly relative to container */
    will-change: transform;
}

.blog-carousel-slide {
    width: 100%;
    flex: 0 0 100%; /* Fix: Ensure each slide is exactly 100% of the track/container */
    padding: 0; /* Remove padding that causes trimming */
    box-sizing: border-box;
}

/* Home Blog Newsletter Layout Fix */
.home-blog-newsletter {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    border: 2px solid rgba(56, 181, 151, 0.4);
    border-radius: 16px;
    overflow: hidden;
    background: white;
    margin-bottom: 22px;
}

.home-blog-feature {
    padding: 24px;
    overflow: hidden; /* Ensure carousel stays within bounds */
}

/* Pagination Dots for Carousel */
.blog-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

/* Latest From our Blog (shared layout + sizing across pages) */
.latest-blog-section {
    padding-top: 50px;
}

.latest-blog-section .section-title-centered {
    font-size: 36px;
    margin-bottom: 10px;
}

.latest-blog-section .section-underline {
    width: 74px;
    height: 3px;
    margin: 0 auto 28px;
}

.latest-blog-section .home-blog-newsletter {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    border-width: 1px;
    border-radius: 12px;
}

.latest-blog-section .home-blog-feature {
    padding: 24px;
}

.latest-blog-section .home-newsletter-card {
    padding: 26px;
}

.latest-blog-section .home-newsletter-card h3 {
    font-size: 22px;
    margin: 0 0 6px 0;
}

.latest-blog-section .home-newsletter-card p {
    font-size: 14px;
    margin: 0 0 12px 0;
}

/* Force the SSR carousel image (inline height:240px) to our consistent height */
.latest-blog-section .blog-image-wrapper {
    height: 246px;
}

.latest-blog-section .blog-image-wrapper[style] {
    height: 246px !important;
    border-radius: 10px !important;
}

/* Carousel slide: image-left + content-right */
.latest-blog-section .blog-carousel-slide .benefit-card-modern {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.latest-blog-section .blog-carousel-slide .blog-image-wrapper {
    flex: 0 0 42%;
    width: 42%;
    height: 246px !important;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gradient-primary);
}

/* Latest blog carousel: avoid cropping thumbnail images */
.latest-blog-section .blog-carousel-slide .blog-image-wrapper img {
    object-fit: contain !important; /* show full image without trimming */
    object-position: center;
}

/* Disable zoom on hover for carousel thumbnails (prevents accidental crop) */
.latest-blog-section .blog-carousel-slide .benefit-card-modern:hover .blog-image-wrapper img {
    transform: none !important;
}

.latest-blog-section .blog-carousel-slide .benefit-card-modern > div:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 !important;
}

.latest-blog-section .blog-carousel-slide h4 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
    line-height: 1.35 !important;
}

.latest-blog-section .blog-carousel-slide p {
    font-size: 14px !important;
    margin-bottom: 14px !important;
    line-height: 1.55 !important;
}

.latest-blog-section .blog-carousel-slide a {
    font-size: 14px !important;
}

.latest-blog-section .blog-carousel-dots {
    margin-top: 10px;
    gap: 8px;
}

.latest-blog-section .carousel-dot {
    width: 8px;
    height: 8px;
}

.latest-blog-section .carousel-dot.active {
    width: 24px;
}

@media (max-width: 768px) {
    .latest-blog-section .home-blog-newsletter {
        max-width: 100%;
    }

    .latest-blog-section .blog-carousel-slide .benefit-card-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .latest-blog-section .blog-carousel-slide .blog-image-wrapper {
        width: 100%;
        flex-basis: auto;
    }
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Benefit Card Modern (base styles) */
.benefit-card-modern {
    background: white;
    padding: 32px 26px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease;
    text-align: left;
    position: relative; /* required for ::before accent bar */
    overflow: hidden;   /* keeps ::before + inner effects clean */
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.benefit-card-modern:hover {
    z-index: 2; /* prevent visual clipping when cards overlap */
}

.benefit-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-card-modern:hover::before {
    transform: scaleX(1);
}

.benefit-card-modern:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(56, 181, 151, 0.2);
}

.benefit-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(56, 181, 151, 0.1), rgba(123, 220, 181, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 3px solid transparent;
    transition: all 0.4s ease;
}

.benefit-card-modern:hover .benefit-icon-wrapper {
    background: var(--gradient-primary);
    border-color: white;
    transform: scale(1.1);
}

.benefit-icon-wrapper i {
    font-size: 40px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.benefit-card-modern:hover .benefit-icon-wrapper i {
    color: white;
}

.benefit-card-modern h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.benefit-card-modern p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Includes Grid - 3 columns */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.includes-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.includes-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.includes-card:hover::after {
    opacity: 1;
}

.includes-card:hover {
    background: white;
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(56, 181, 151, 0.18);
    border-color: transparent;
}

.includes-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 6px 16px rgba(56, 181, 151, 0.3);
    transition: all 0.4s ease;
}

.includes-card:hover .includes-icon {
    transform: rotateY(360deg);
    box-shadow: 0 8px 20px rgba(56, 181, 151, 0.4);
}

.includes-icon i {
    font-size: 32px;
    color: white;
}

.includes-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--text-primary);
}

.includes-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .highlight-section,
    .includes-section {
        padding: 48px 32px;
        border-radius: 16px;
    }
    
    .benefits-grid-modern,
    .includes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-badge {
        font-size: 13px;
        padding: 8px 16px;
    }
}


/* ============================================
   Tabbed Interface (WordPress Style)
   ============================================ */

.includes-section-tabs {
    margin-bottom: 48px;
}

.section-title-centered {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.tabs-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 48px;
}

/* Tab Buttons - Left Side */
.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tab-btn {
    background: #F4F4F4;
    border: none;
    padding: 20px 24px;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 8px;
    border-radius: 8px;
}

.tab-btn:hover {
    background: #E8E8E8;
}

.tab-btn.active {
    background: var(--primary-dark);
    color: white;
    font-weight: 600;
    border-radius: 12px;
}

/* Tab Content - Right Side */
.tab-content-area {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    min-height: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.tab-content-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56, 181, 151, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-inner {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.tab-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(56, 181, 151, 0.15), rgba(123, 220, 181, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(56, 181, 151, 0.3);
    box-shadow: 0 6px 16px rgba(56, 181, 151, 0.2);
}

.tab-icon-large i {
    font-size: 48px;
    color: var(--primary-color);
}

.tab-text {
    flex: 1;
}

.tab-content-inner h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 18px 0;
    line-height: 1.3;
}

.tab-content-inner p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Tabs */
@media (max-width: 992px) {
    .tabs-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .tab-buttons {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
    }
    
    .tab-btn {
        border: 2px solid var(--border-color);
        border-radius: 8px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .tab-btn::before {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        height: 0;
    }
    
    .tab-btn.active::before {
        width: auto;
        height: 4px;
    }
    
    .tab-content-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ================================
   VAPT Page Specific Styles
   ================================ */

/* Compliance Grid */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.compliance-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.compliance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.compliance-item:hover::before {
    transform: scaleX(1);
}

.compliance-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 16px 40px rgba(0, 208, 132, 0.15);
}

.compliance-item i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 16px;
    display: block;
    transition: all 0.4s ease;
}

.compliance-item:hover i {
    transform: scale(1.15) rotateY(360deg);
    color: var(--accent-hover);
}

.compliance-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 12px 0;
}

.compliance-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 32px;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    padding-left: 24px;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 64px;
    top: 80px;
    bottom: -48px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    opacity: 0.2;
}

.process-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 208, 132, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step:hover .process-number {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 12px 32px rgba(0, 208, 132, 0.4);
}

.process-content {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 32px;
    transition: all 0.3s ease;
}

.process-step:hover .process-content {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 208, 132, 0.1);
    transform: translateX(8px);
}

.process-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 12px 0;
}

.process-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Feature List within Tabs */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li i {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        margin-bottom: 36px;
        padding-left: 12px;
    }
    
    .process-step:not(:last-child)::before {
        left: 42px;
        top: 60px;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .process-content {
        padding: 20px 24px;
    }
    
    .process-content h4 {
        font-size: 18px;
    }
    
    .process-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .compliance-item {
        padding: 24px 20px;
    }
    
    .compliance-item i {
        font-size: 40px;
    }
    
    .compliance-item h4 {
        font-size: 18px;
    }
}
/* ================================
   Cloud Migration Services India Page Styles
   ================================ */

/* Journey Steps Styling */
.journey-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px 0;
}

.journey-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.journey-step:hover {
    border-color: #00d084;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 208, 132, 0.15);
}

.journey-step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
}

.journey-step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 12px 0;
}

.journey-step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.service-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    border-color: #00d084;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 208, 132, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 12px 0;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.industry-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.industry-item:hover {
    border-color: #00d084;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 208, 132, 0.1);
}

.industry-item i {
    font-size: 32px;
    color: #00d084;
    margin-bottom: 16px;
    display: block;
}

.industry-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0 0 8px 0;
}

.industry-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Content Image */
.image-container {
    margin: 32px 0;
    text-align: center;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Business Impacts Section - Horizontal Grid Design
   ============================================ */

.business-impacts-section {
    margin: 64px 0;
    padding: 0;
}

.business-impacts-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.business-impacts-section .section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 48px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.business-impacts-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0 auto;
}

.impact-item {
    text-align: center;
    padding: 0;
}

.impact-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #38B597 0%, #05334B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(56, 181, 151, 0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(56, 181, 151, 0.2);
}

.impact-item:hover .impact-icon-wrapper {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(56, 181, 151, 0.35);
    border-color: rgba(56, 181, 151, 0.4);
}

.impact-icon-wrapper i {
    font-size: 40px;
    color: white;
}

.impact-item h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.impact-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .business-impacts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .business-impacts-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .impact-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .impact-icon-wrapper i {
        font-size: 32px;
    }
    
    .impact-item h3 {
        font-size: 18px;
    }
    
    .impact-item p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .journey-step {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .journey-step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .service-card,
    .industry-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .journey-step {
        padding: 24px 20px;
    }
    
    .service-card,
    .industry-item {
        padding: 16px;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .industry-item i {
        font-size: 28px;
    }
}

/* ================================
   Modernization Pathways Section - Enhanced
   ================================ */

.intro-text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 90%;
}

.modernization-container {
    display: flex;
    gap: 28px;
    margin: 48px 0;
}

/* Pathway Tabs - Left Column */
.pathway-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 290px;
}

.pathway-tab {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 22px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.pathway-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pathway-tab i {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    color: white;
}

.pathway-tab:hover {
    border-color: #00d084;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.15);
}

.pathway-tab:hover::before {
    opacity: 1;
}

.pathway-tab.active {
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    color: white;
    border-color: #00d084;
    box-shadow: 0 8px 20px rgba(0, 208, 132, 0.25);
}

.pathway-tab.active::before {
    opacity: 0;
}

.pathway-tab.active i {
    opacity: 1;
    transform: translateX(0);
}

/* Content Wrapper - Right Column */
.pathway-content-wrapper {
    flex: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 48px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    min-height: 450px;
}

.pathway-content {
    display: none;
}

.pathway-content.active {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pathway Title */
.pathway-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 20px 0;
    position: relative;
    display: inline-block;
}

.pathway-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    border-radius: 2px;
}

/* Pathway Text */
.pathway-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Highlights Section - Visual + Stats */
.pathway-highlights {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 32px;
}

/* Cloud Icon - Enhanced 3D */
.pathway-visual {
    position: relative;
}

.cloud-icon {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 208, 132, 0.3),
        0 8px 16px rgba(0, 208, 132, 0.2),
        inset 0 -4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cloud-icon:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 24px 48px rgba(0, 208, 132, 0.35),
        0 12px 20px rgba(0, 208, 132, 0.25),
        inset 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.cloud-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        transform: rotate(45deg) translateX(100%);
    }
}

.cloud-icon-inner {
    position: relative;
    z-index: 1;
}

.cloud-icon-inner i {
    font-size: 72px;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.cloud-label {
    color: white;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Stat Box - Enhanced Design */
.pathway-stat-box {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border-left: 6px solid #00d084;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.03);
    position: relative;
}

.pathway-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.05) 0%, transparent 100%);
    border-radius: 0 16px 0 100%;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 17px;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 16px;
}

.stat-highlight {
    font-size: 18px;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
}

.stat-highlight::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    color: #00d084;
    font-weight: 700;
}

.source-note {
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    margin-top: 16px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ================================
   Process Timeline - Fix for Circles
   ================================ */

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
}

.process-content {
    flex: 1;
    padding-top: 8px;
}

.process-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 12px 0;
}

.process-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ================================
   Responsive Design for Modernization Section
   ================================ */

@media (max-width: 1200px) {
    .pathway-highlights {
        grid-template-columns: 200px 1fr;
        gap: 24px;
    }
    
    .cloud-icon {
        width: 200px;
        height: 200px;
    }
    
    .cloud-icon-inner i {
        font-size: 64px;
    }
    
    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 1024px) {
    .modernization-container {
        flex-direction: column;
    }
    
    .pathway-tabs {
        min-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pathway-tab {
        flex: 1;
        min-width: 200px;
    }
    
    .pathway-content-wrapper {
        padding: 36px;
    }
    
    .pathway-highlights {
        grid-template-columns: 180px 1fr;
        gap: 24px;
    }
    
    .cloud-icon {
        width: 180px;
        height: 180px;
    }
    
    .cloud-icon-inner i {
        font-size: 56px;
    }
    
    .cloud-label {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .pathway-tabs {
        flex-direction: column;
    }
    
    .pathway-tab {
        min-width: 100%;
    }
    
    .pathway-content-wrapper {
        padding: 28px;
        min-height: auto;
    }
    
    .pathway-title {
        font-size: 24px;
    }
    
    .pathway-text {
        font-size: 15px;
    }
    
    .pathway-highlights {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .cloud-icon {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }
    
    .cloud-icon-inner i {
        font-size: 48px;
    }
    
    .cloud-label {
        font-size: 16px;
    }
    
    .pathway-stat-box {
        padding: 24px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .stat-highlight {
        font-size: 16px;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .pathway-tab {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .pathway-content-wrapper {
        padding: 20px;
    }
    
    .pathway-title {
        font-size: 22px;
    }
    
    .pathway-text {
        font-size: 14px;
    }
    
    .cloud-icon {
        width: 140px;
        height: 140px;
    }
    
    .cloud-icon-inner i {
        font-size: 40px;
    }
    
    .cloud-label {
        font-size: 15px;
    }
    
    .pathway-stat-box {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label, .stat-highlight {
        font-size: 15px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .process-number {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin: 0 auto;
    }
}

/* ================================
   Two-Column Content with Partner Badges
   ================================ */

.two-column-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: stretch;
    margin-top: 24px;
}

.content-left {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-left p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.content-left p:last-child {
    margin-bottom: 0;
}

.content-right {
    display: flex;
    align-items: center;
}

.partner-badges-container {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px 26px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 24px 0;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.partner-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #00d084 0%, #7bdcb5 100%);
    border-radius: 2px;
}

.partner-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.partner-badge:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.aws-partner:hover {
    border-color: #FF9900;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

.gcp-partner:hover {
    border-color: #4285F4;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.azure-partner:hover {
    border-color: #0078D4;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
}

.partner-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.aws-partner .partner-logo {
    background: linear-gradient(135deg, #FF9900 0%, #ffb84d 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.gcp-partner .partner-logo {
    background: linear-gradient(135deg, #4285F4 0%, #669df6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.azure-partner .partner-logo {
    background: linear-gradient(135deg, #0078D4 0%, #50a3e8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.partner-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.partner-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

.competencies-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e2e8f0;
}

.competencies-list h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 16px 0;
}

.competencies-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.competencies-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
}

.competencies-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.competencies-list li i {
    color: #00d084;
    font-size: 16px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .two-column-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-left {
        padding-right: 0;
    }
    
    .content-right {
        position: static;
    }
    
    .partner-badges-container {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .two-column-content {
        gap: 32px;
    }
    
    .partner-badges-container {
        padding: 24px;
    }
    
    .partner-badge {
        padding: 16px;
    }
    
    .partner-logo {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .partner-info h4 {
        font-size: 16px;
    }
    
    .partner-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .partner-title {
        font-size: 20px;
    }
    
    .partner-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .partner-logo {
        width: 56px;
        height: 56px;
        font-size: 30px;
    }
    
    .competencies-list {
        padding: 20px;
    }
    
    .competencies-list li {
        font-size: 14px;
    }
}

/* ===========================================
   Related Success Stories Section (Shared)
   Used on: case-study detail pages
   =========================================== */
.related-success-stories {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
}

.related-success-stories .container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-success-stories .section-header {
    text-align: center;
    margin-bottom: 42px;
}

.related-success-stories .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 181, 151, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.related-success-stories .section-subtitle {
    max-width: 700px;
    margin: 12px auto 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.related-success-stories .success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 22px;
    margin-bottom: 34px;
}

.related-success-stories .success-story-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.related-success-stories .success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56, 181, 151, 0.15);
    border-color: var(--primary-color);
}

.related-success-stories .success-story-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.related-success-stories .success-story-image-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.related-success-stories .success-story-image-fallback i {
    font-size: 56px;
    color: rgba(255, 255, 255, 0.9);
}

.related-success-stories .success-story-image-fallback .fallback-text {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-success-stories .success-story-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-success-stories .success-story-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.related-success-stories .company-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    padding: 8px;
}

.related-success-stories .company-info {
    flex: 1;
}

.related-success-stories .company-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 4px 0;
}

.related-success-stories .industry-tag {
    display: inline-block;
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(56, 181, 151, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
}

.related-success-stories .success-story-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-success-stories .success-story-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.related-success-stories .success-story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.related-success-stories .read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.related-success-stories .read-more-link i {
    transition: transform 0.3s ease;
}

.related-success-stories .success-story-card:hover .read-more-link i {
    transform: translateX(4px);
}

.related-success-stories .success-stories-cta {
    text-align: center;
}

.related-success-stories .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-success-stories .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .related-success-stories {
        padding: 48px 16px;
    }

    .related-success-stories .success-stories-grid {
        grid-template-columns: 1fr;
    }
}
