
body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Premium Floating Containers */
.modern-container {
    border-radius: 24px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    background: #ffffff;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.modern-container:hover {
    border-color: var(--default) !important;
}


/* Expertise Cards Grid */
.expertise-card {
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--default) !important;
}

.expertise-icon-box {
    width: 50px;
    height: 50px;
    background-color: color-mix(in srgb, var(--default) 10%, transparent);
    color: var(--default);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon-box {
    background-color: var(--default);
    color: #ffffff;
    transform: scale(1.08);
}

/* Custom Check List styling */
.check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.check-list li {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.check-list li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: var(--default);
    margin-right: 0.5rem;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Product Cards Styling */
.product-card-list {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    overflow: hidden;
}

.product-card-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--default) !important;
}

.product-img-container {
    background-color: #f8fafc;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
    overflow: hidden;
}

.brand-tag {
    font-size: 0.725rem;
    font-weight: 700;
    color: #94a3b8;
}

.obsolete-tag {
    position: absolute;
    top: 12px;
    left: 0;
    font-weight: 700;
    font-size: 0.75rem;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.advantage-text {
    font-style: italic;
}

.border-default {
    border-color: var(--default) !important;
}

/* Sidebar Services List */
.service-sidebar-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-sidebar-item {
    margin-bottom: 0.75rem;
}

.service-sidebar-item:last-child {
    margin-bottom: 0;
}

.service-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.service-sidebar-link i {
    font-size: 1.1rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.service-sidebar-link:hover {
    color: var(--default);
    background-color: color-mix(in srgb, var(--default) 5%, #ffffff);
    border-color: var(--default);
}

.service-sidebar-link:hover i {
    color: var(--default);
    transform: translateX(4px) scale(1.1);
}

.service-sidebar-link.active {
    color: #ffffff;
    background-color: var(--default);
    border-color: var(--default);
}

.service-sidebar-link.active i {
    color: #ffffff;
}

/* Smooth scrolling and anchor offset for sticky header */
html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 100px; /* Offset to clear the sticky header */
}

/* Introduction line-height optimization */
.intro-text-wrapper {
    line-height: 1.6 !important;
}
.intro-text-wrapper p {
    line-height: 1.6 !important;
    margin-bottom: 1rem;
}

/* Custom mobile tabs style */
.custom-tab-btn {
    background-color: #f1f5f9;
    color: #475569;
    border: none;
    transition: all 0.3s ease;
}

.custom-tab-btn.active {
    background-color: var(--default) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--default) 30%, transparent);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Responsive products card (horizontal on mobile, vertical on desktop) */
@media (max-width: 767.98px) {
    .product-card-list {
        flex-direction: row !important;
        align-items: stretch;
    }
    
    .product-card-list .product-img-container {
        width: 35%;
        max-width: 140px;
        min-width: 100px;
        height: auto;
        border-bottom: none;
        border-right: 1px solid rgba(226, 232, 240, 0.5);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    
    .product-card-list .product-img-container img {
        max-height: 100px !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
    }

    .product-card-list .card-body {
        width: 65%;
        padding: 1rem !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }
    
    .product-card-list .brand-tag {
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
    }

    .product-card-list .obsolete-tag {
        top: 8px;
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }
    
    .product-card-list h3.h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .product-card-list .advantage-text {
        font-size: 0.8rem !important;
    }
    
    .product-card-list .prod-details {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.75rem !important;
    }
    
    .product-card-list .border-top {
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
    }
    
    .product-card-list .btn {
        width: 100%;
        font-size: 0.8rem !important;
        padding: 0.35rem 0.75rem !important;
    }
}

/* Brand tag as a premium badge */
.product-card-list .brand-tag {
    padding: 6px 10px !important;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    width: 70px !important;
    max-height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-card-list:hover .brand-tag {
    border-color: var(--default);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--default) 15%, rgba(0, 0, 0, 0.08));
}

/* Hidden list items on mobile */
@media (max-width: 767.98px) {
    .check-list li.hidden-mobile-li {
        display: none !important;
    }
    .check-list li.show-mobile-li {
        display: flex !important;
    }
}

/* ==========================================
   THEME 2 : HERO SHOWCASE (THEME ALTERNATIF)
   ========================================== */

/* Hero Banner Header */
.theme-modern-hero {
    background: linear-gradient(330deg, color-mix(in srgb, var(--default) 85%, #0f172a) 40%, #0f172a 100%);
    color: #ffffff;
    border-radius: 0 0 32px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3);
}

.theme-modern-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, color-mix(in srgb, var(--default) 30%, transparent) 0%, transparent 70%);
    pointer-events: none;
}

.theme-modern-badge {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.theme-modern-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-modern-hero-text {
    color: rgba(241, 245, 249, 0.9) !important;
    font-size: 1.05rem;
    line-height: 1.7 !important;
}

/* Floating Hero Card (Stats & Call to Action) */
.theme-modern-cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    color: #0f172a;
    transition: transform 0.3s ease;
}

.theme-modern-cta-card:hover {
    transform: translateY(-3px);
}

.theme-modern-stat-box {
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

/* Sticky Sub-Navigation Bar */
.theme-modern-subnav-sticky {
    position: sticky;
    top: 70px;
    z-index: 95;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.05);
}

.theme-modern-subnav-link {
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
}

.theme-modern-subnav-link:hover {
    color: var(--default);
    background-color: color-mix(in srgb, var(--default) 10%, #ffffff);
    border-color: var(--default);
}

.theme-modern-subnav-link.active {
    color: #ffffff !important;
    background-color: var(--default) !important;
    border-color: var(--default) !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--default) 30%, transparent);
}

@media (max-width: 767.98px) {
    .theme-modern-subnav-sticky {
        position: relative;
        top: 0;
        margin-top: 0;
        padding: 0.5rem 0 !important;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
        box-shadow: none;
    }
    
    .theme-modern-subnav-link {
        font-size: 0.825rem;
        padding: 0.45rem 0.9rem;
        background-color: #ffffff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }
}

/* Modern Section Card (Header Separated Clean Layout) */
.theme-modern-section-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-modern-section-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--default) 40%, #cbd5e1);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.07);
}

.theme-modern-section-header {
    background: #f8fafc;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-modern-icon-box {
    width: 46px;
    height: 46px;
    background-color: color-mix(in srgb, var(--default) 12%, #ffffff);
    color: var(--default);
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--default) 20%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-modern-section-card:hover .theme-modern-icon-box {
    background-color: var(--default);
    color: #ffffff;
    border-color: var(--default);
}

.theme-modern-section-body {
    padding: 1.75rem;
}

/* Grid layout for check lists in Theme 2 */
.modern-check-grid ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem 1.5rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.modern-check-grid ul li {
    font-size: 0.925rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    padding: 0.6rem 0.8rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.modern-check-grid ul li:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.modern-check-grid ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: var(--default);
    margin-right: 0.75rem;
    font-size: 0.75rem;
    margin-top: 0.1rem;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background-color: color-mix(in srgb, var(--default) 10%, transparent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Modern Product Card Layout */
.theme-modern-product-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.theme-modern-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--default);
}

.theme-modern-product-badge {
    background: linear-gradient(135deg, var(--default), color-mix(in srgb, var(--default) 80%, #000));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--default) 20%, transparent);
}

@media (max-width: 991.98px) {
    .theme-modern-hero-title {
        font-size: 2.1rem;
    }
}

