﻿/* ============================================
   INDUSTRIAL HOME PAGE V3 - ULTRA PROFESSIONAL WITH ANIMATIONS
   ============================================ */

/* Import Professional Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== ANIMATED GRADIENT BACKGROUND ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== HERO SECTION V3 - INDUSTRIAL TOOLS ANIMATION ===== */
.hero-section-v2 {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

    /* Tools Animation Container */
    .hero-section-v2::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(135deg, rgba(127, 29, 29, 0.03) 0%, rgba(127, 29, 29, 0.01) 100%);
        z-index: 0;
    }

    /* Animated gradient overlay with spark effect */
    .hero-section-v2::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: radial-gradient(circle at 35% 45%, rgba(220, 38, 38, 0.03) 0%, transparent 25%), radial-gradient(circle at 65% 55%, rgba(127, 29, 29, 0.05) 0%, transparent 30%);
        z-index: 1;
        animation: sparkPulse 4s ease-in-out infinite;
    }

@keyframes sparkPulse {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-visual {
    position: relative;
    height: 500px;
    z-index: 1;
    perspective: 1000px;
}

/* Lottie Animation Styling */
.lottie-animation-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    opacity: 1;
}

    .lottie-animation-container dotlottie-wc {
        width: 100% !important;
        height: 100% !important;
        max-width: 800px;
        max-height: 800px;
    }

/* Technical Grid Background */
.hero-content-v2::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -200px;
    width: 600px;
    height: 600px;
    background-image: linear-gradient(rgba(127, 29, 29, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 29, 29, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    z-index: -1;
    animation: gridSlide 25s linear infinite;
}

@keyframes gridSlide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

.min-vh-90 {
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-content-v2 {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #fca5a5;
    border-radius: 50px;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-title-v2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description-v2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #000000;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-industrial-primary {
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(130deg, #8b0000 0%, #cc0017 50%, #8b0000 90%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(127, 29, 29, 0.2);
}

    .btn-industrial-primary:hover {
        background: linear-gradient(130deg, #8b0000 0%, #cc0017 50%, #8b0000 90%);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(127, 29, 29, 0.3);
        color: white;
    }

.btn-industrial-outline {
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: white;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-industrial-outline:hover {
        background: linear-gradient(130deg, #8b0000 0%, #cc0017 50%, #8b0000 90%);
        color: white;
        transform: translateY(-2px);
    }

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

    .trust-item strong {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .trust-item span {
        font-family: 'DM Sans', sans-serif;
        font-size: 0.875rem;
        color: #000000;
    }

.trust-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* ===== BRANCHES DISPLAY - HORIZONTAL LAYOUT ===== */
.trust-item-branches strong {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .trust-item-branches strong i {
        color: var(--primary-color);
        font-size: 1.5rem;
    }

.trust-item-branches span {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
    font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .trust-item-branches {
        width: 100%;
    }

        .trust-item-branches span {
            font-size: 0.8rem;
            text-align: left;
        }
}

@media (max-width: 575px) {
    .trust-item-branches span {
        font-size: 0.75rem;
    }
}


.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform-style: preserve-3d;
}

    .floating-card i {
        font-size: 2rem;
        color: #000000;
        transition: all 0.4s ease;
        animation: iconPulse 2s ease-in-out infinite;
    }

    .floating-card p {
        margin: 0;
        font-family: 'Space Grotesk', sans-serif;
        font-weight: 600;
        font-size: 0.95rem;
        color: #000000;
        transition: all 0.4s ease;
    }

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.card-1 {
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 1%;
    animation-delay: 2s;
}

.card-3 {
    top: 80%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: translateY(-20px) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-30px) rotateX(0deg) rotateY(0deg);
    }

    75% {
        transform: translateY(-20px) rotateX(-2deg) rotateY(2deg);
    }
}

.floating-card:hover {
    transform: translateY(-15px) scale(1.08) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

    .floating-card:hover i {
        transform: scale(1.2) rotate(5deg);
        color: var(--accent-color);
    }

    .floating-card:hover p {
        color: var(--primary-color);
    }

/* ===== CATALOG MODAL STYLES ===== */
.catalog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .catalog-modal.active {
        opacity: 1;
        visibility: visible;
    }

.catalog-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.catalog-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-modal.active .catalog-modal-content {
    transform: scale(1);
}

.catalog-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px 16px 0 0;
}

.catalog-modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.catalog-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

    .catalog-modal-close:hover {
        background: var(--primary-color);
        color: white;
        transform: rotate(90deg);
    }

.catalog-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
}

    /* Custom Scrollbar for Modal */
    .catalog-modal-body::-webkit-scrollbar {
        width: 8px;
    }

    .catalog-modal-body::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .catalog-modal-body::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

        .catalog-modal-body::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-color);
        }

/* Modal Categories */
.modal-category {
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

    .modal-category:last-child {
        margin-bottom: 0;
    }

    /* Categories without subcategories - as PDF link */
    .modal-category.no-subcategories .modal-category-header {
        cursor: default;
    }

.modal-category-link {
    text-decoration: none;
    cursor: pointer !important;
    position: relative;
}

    .modal-category-link:hover {
        background: #e2e8f0 !important;
        color: var(--primary-color) !important;
    }

    .modal-category-link .pdf-icon {
        color: #dc2626;
        font-size: 1.1rem;
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .modal-category-link:hover .pdf-icon {
        transform: scale(1.15);
    }

/* Hide chevron for categories without subcategories */
.modal-category.no-subcategories .toggle-icon {
    display: none;
}

.modal-category-header {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    gap: 12px;
    user-select: none;
    background: #f8fafc;
}

    .modal-category-header:hover {
        background: #e2e8f0;
        color: var(--primary-color);
    }

    .modal-category-header i:first-child {
        color: var(--primary-color);
        font-size: 1.25rem;
        width: 24px;
        text-align: center;
    }

    .modal-category-header span {
        flex: 1;
    }

    .modal-category-header .toggle-icon {
        font-size: 0.9rem;
        color: #94a3b8;
        transition: transform 0.3s ease;
    }

.modal-category.active .modal-category-header {
    background: var(--primary-color);
    color: white;
}

    .modal-category.active .modal-category-header i:first-child {
        color: white;
    }

    .modal-category.active .modal-category-header .toggle-icon {
        transform: rotate(180deg);
        color: white;
    }

.modal-category-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.modal-category.active .modal-category-items {
    max-height: 600px;
}

/* Modal Items */
.modal-item {
    display: flex;
    align-items: center;
    padding: 14px 18px 14px 54px;
    color: #475569;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    gap: 12px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

    .modal-item:last-child {
        border-bottom: none;
    }

    .modal-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: var(--primary-color);
        transition: width 0.2s ease;
    }

    .modal-item:hover {
        color: var(--primary-color);
        background: #f8fafc;
        padding-left: 58px;
    }

        .modal-item:hover::before {
            width: 4px;
        }

    .modal-item i.fa-file-pdf {
        color: #dc2626;
        font-size: 1rem;
    }

    .modal-item:hover i.fa-file-pdf {
        transform: scale(1.1);
    }

/* Modal Footer */
.catalog-modal-footer {
    padding: 20px 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 2px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
}

.modal-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: linear-gradient(0deg, #262626 0%, #e20c24 100%) !important;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    gap: 8px;
}

    .modal-view-all-btn:hover {
        background: var(--secondary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(127, 29, 29, 0.2);
    }

    .modal-view-all-btn i {
        transition: transform 0.3s ease;
    }

    .modal-view-all-btn:hover i {
        transform: translateX(4px);
    }

/* ===== CAPABILITIES SECTION - TEXT TO IMAGE ON HOVER (RED THEME) ===== */
.capabilities-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

    .capabilities-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(127, 29, 29, 0.2) 50%, transparent 100% );
    }

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: black;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}


.section-lead {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: black;
    margin-bottom: 0;
}

.section-lead-center {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: black;
    max-width: 700px;
    margin: 0 auto;
}

.link-industrial {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

    .link-industrial::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-color);
        transition: width 0.3s ease;
    }

    .link-industrial:hover {
        color: var(--accent-color);
        transform: translateX(5px);
    }

        .link-industrial:hover::after {
            width: 100%;
        }

.capabilities-section .row.g-4 {
    display: flex;
    flex-wrap: wrap;
}

    .capabilities-section .row.g-4 > [class*='col-'] {
        display: flex;
    }

.capability-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    /* Background image layer - HIDDEN by default */
    .capability-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transform: scale(1.2);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }

    /* Overlay - TRANSPARENT by default, DARK on hover */
    .capability-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2;
        pointer-events: none;
    }

    /* Animated border */
    .capability-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 20px 60px rgba(127, 29, 29, 0.25);
        transform: translateY(-12px);
    }

        /* REVEAL and zoom image on hover */
        .capability-card:hover::before {
            opacity: 1;
            transform: scale(1);
        }

        /* Dark overlay on hover to make image visible */
        .capability-card:hover::after {
            background: transparent;
        }

    /* All content above overlays */
    .capability-card > * {
        position: relative;
        z-index: 3;
        transition: all 0.4s ease;
    }

    /* HIDE text on hover */
    .capability-card:hover .capability-title,
    .capability-card:hover .capability-description,
    .capability-card:hover .capability-icon {
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
    }

/* Set background images */
.capabilities-section .row.g-4 > .col-lg-3:nth-child(1) .capability-card::before {
    background-image: url('/images/Capabilities/Pneumatic.webp');
}

.capabilities-section .row.g-4 > .col-lg-3:nth-child(2) .capability-card::before {
    background-image: url('/images/Capabilities/Power.png');
}

.capabilities-section .row.g-4 > .col-lg-3:nth-child(3) .capability-card::before {
    background-image: url('/images/Capabilities/Cutting.jpg');
}

.capabilities-section .row.g-4 > .col-lg-3:nth-child(4) .capability-card::before {
    background-image: url('/images/Capabilities/Abrasives.jpg');
}

.capability-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient( 130deg, #8b0000 0%, #cc0017 50%, #8b0000 90%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .capability-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient( transparent, var(--primary-color), transparent 30% );
        opacity: 0;
        transition: all 0.5s ease;
        animation: rotate 4s linear infinite;
    }

.icon-color {
    color: white !important;
}

.capability-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.capability-card:hover .capability-icon::before {
    opacity: 0.3;
}

.capability-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.capability-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* ===== METRICS SECTION - ANIMATED COUNTERS ===== */
.metrics-section {
    padding: 80px 0;
    background: linear-gradient(0deg, #8b0000 0%, #cc0017 50%, #8b0000 90%) !important;
    position: relative;
    overflow: hidden;
}

    .metrics-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(0deg, #8b0000 0%, #cc0017 50%, #8b0000 90%) !important;
    }

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.metric-item {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

    .metric-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .metric-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .metric-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .metric-item:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.metric-flag {
    width: 36px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .metric-flag:hover {
        transform: scale(1.1) rotate(5deg);
    }

.metric-plus {
    font-size: 2.5rem;
}

.metric-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ===== PARTNERS SECTION - ENHANCED WITH BETTER ANIMATIONS ===== */
.partners-section {
    padding: 120px 0 100px;
    background: #f8fafc;
    background-image: url('/images/Handshake.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

    /* Enhanced overlay with gradient animation */
    .partners-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0) 40%, rgba(248, 250, 252, 0) 60%, rgba(248, 250, 252, 0) 100% );
        z-index: 1;
    }

    /* Animated gradient overlay */
    .partners-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 0%, rgba(127, 29, 29, 0.03) 50%, transparent 100% );
        background-size: 200% 200%;
        animation: gradientShift 10s ease infinite;
        z-index: 1;
    }

    /* Ensure all content appears above the overlay */
    .partners-section .container,
    .partners-section .partners-slider {
        position: relative;
        z-index: 2;
    }

    /* Move heading section higher */
    .partners-section .row.mb-5 {
        margin-bottom: 4rem !important;
        padding-top: 20px;
    }

.partners-slider {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 50px 0;
    margin-top: 3rem;
    position: relative;
}

    /* Gradient fade on edges - softer for transparent background */
    .partners-slider::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100px;
        height: 100%;
        background: linear-gradient(90deg, rgba(248, 250, 252, 0) 0%, transparent 100%);
        z-index: 10;
        pointer-events: none;
    }

    .partners-slider::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(248, 250, 252, 0) 100%);
        z-index: 10;
        pointer-events: none;
    }

.partners-track {
    display: flex;
    width: fit-content;
    animation: scroll-partners 60s linear infinite;
    gap: 50px;
    align-items: center;
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

.partners-track img {
    height: 100px;
    width: auto;
    object-fit: contain;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
    opacity: 0.7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .partners-track img:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.1) translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    }

@keyframes scroll-partners {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== CTA INDUSTRIAL SECTION - ANIMATED GRADIENT ===== */
.cta-industrial-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100% );
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

    .cta-industrial-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(0deg, #8b0000 0%, #cc0017 50%, #8b0000 90%) !important;
    }

    /* Floating particles effect */
    .cta-industrial-section::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: none;
        border-radius: 50%;
        top: -200px;
        right: -200px;
    }

.cta-industrial-content {
    position: relative;
    z-index: 2;
}

.cta-industrial-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-industrial-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-industrial-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-white {
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

    .btn-cta-white::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(127, 29, 29, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-cta-white:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-cta-white:hover {
        background: #f8f9fa;
        transform: translateY(-3px);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
        color: var(--primary-color);
    }

    .btn-cta-white > * {
        position: relative;
        z-index: 1;
    }

.btn-cta-outline-white {
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .btn-cta-outline-white::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transition: left 0.4s ease;
    }

    .btn-cta-outline-white:hover::before {
        left: 0;
    }

    .btn-cta-outline-white:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: white;
        transform: translateY(-3px);
        color: white;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .btn-cta-outline-white > * {
        position: relative;
        z-index: 1;
    }

/* ===== RESPONSIVE DESIGN - ENHANCED ===== */

/* Desktop to Tablet (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-title-v2 {
        font-size: clamp(2.25rem, 4vw, 3rem);
    }

    .hero-description-v2 {
        font-size: 1.05rem;
    }

    .hero-visual {
        height: 450px;
    }

    .section-heading {
        font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .hero-section-v2 {
        padding: 100px 0 60px;
    }

        .hero-section-v2::before {
            width: 45%;
        }

        .hero-section-v2::after {
            width: 45%;
        }

    .hero-visual {
        height: 640px;
        margin-top: 3rem;
    }

    .lottie-animation-container {
        max-width: 640px;
        height: 640px;
    }

        .lottie-animation-container dotlottie-wc {
            max-width: 640px;
            max-height: 640px;
        }

    .floating-card {
        padding: 1.25rem;
        font-size: 0.9rem;
    }

        .floating-card i {
            font-size: 1.75rem;
        }

    .card-1 {
        top: 5%;
        right: 10%;
    }

    .card-2 {
        top: 42%;
        right: 5%;
    }

    .card-3 {
        top: 72%;
        right: 15%;
    }

    .hero-trust-bar {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .trust-divider {
        display: none;
    }

    .capabilities-section {
        padding: 80px 0;
    }

    .capability-card {
        padding: 1.75rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .metric-value {
        font-size: 3rem;
    }

    .partners-section {
        padding: 100px 0 80px;
    }

        .partners-section .row.mb-5 {
            margin-bottom: 3.5rem !important;
        }

    .partners-slider {
        padding: 45px 0;
    }

    .cta-industrial-section {
        padding: 80px 0;
    }
}

/* Mobile Landscape & Small Tablet (576px - 767px) */
@media (max-width: 767px) {
    .hero-section-v2 {
        padding: 80px 0 50px;
        min-height: auto;
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    }

        /* Simplify hero background on mobile */
        .hero-section-v2::before {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(127, 29, 29, 0.03) 0%, rgba(127, 29, 29, 0.01) 100%);
        }

        .hero-section-v2::after {
            animation: sparkPulse 5s ease-in-out infinite;
        }

    /* Simplify grid on mobile */
    .hero-content-v2::before {
        background-size: 30px 30px;
        animation: gridSlide 30s linear infinite;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero-title-v2 {
        font-size: clamp(1.85rem, 6vw, 2.5rem);
        margin-bottom: 1.25rem;
    }

    .hero-description-v2 {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-industrial-primary,
    .btn-industrial-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .hero-trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.25rem 0;
    }

    .trust-item strong {
        font-size: 1.35rem;
    }

    .trust-item span {
        font-size: 0.85rem;
    }

    .trust-divider {
        width: 100%;
        height: 1px;
        display: block;
    }

    /* Show simplified hero visual on mobile */
    .hero-visual {
        display: block;
        height: 480px;
        margin-top: 2rem;
    }

    .lottie-animation-container {
        max-width: 500px;
        height: 500px;
    }

        .lottie-animation-container dotlottie-wc {
            max-width: 500px;
            max-height: 500px;
        }

    /* Adjust floating cards for mobile */
    .floating-card {
        padding: 1rem;
        font-size: 0.85rem;
    }

        .floating-card i {
            font-size: 1.5rem;
        }

    .card-1 {
        top: 10%;
        right: 1%;
        width: auto;
    }

    .card-2 {
        top: 50%;
        right: 1%;
        width: auto;
    }

    .card-3 {
        top: 90%;
        right: 1%;
        width: auto;
    }

    /* Capabilities on mobile */
    .capabilities-section {
        padding: 60px 0;
    }

    .capability-card {
        padding: 1.5rem;
    }

        /* Keep text-to-image behavior on mobile but less dramatic */
        .capability-card:hover {
            transform: translateY(-5px);
        }

            .capability-card:hover .capability-title,
            .capability-card:hover .capability-description,
            .capability-card:hover .capability-icon {
                opacity: 0;
                transform: translateY(-10px);
            }

    .capability-icon::before {
        animation: none;
    }

    .section-heading {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: 0.85rem;
    }

        .section-heading::after {
            width: 50px;
            height: 3px;
        }

    .section-lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .section-lead-center {
        font-size: 1rem;
    }

    .link-industrial {
        font-size: 0.95rem;
        margin-top: 1rem;
    }

    .capability-icon {
        width: 60px;
        height: 60px;
    }

        .capability-icon i {
            font-size: 1.65rem;
        }

    .capability-title {
        font-size: 1.15rem;
    }

    .capability-description {
        font-size: 0.9rem;
    }

    /* Metrics on mobile */
    .metrics-section {
        padding: 60px 0;
    }

        .metrics-section::before {
            animation: patternMove 30s linear infinite;
        }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .metric-item {
        animation: fadeInUp 0.4s ease forwards;
    }

    .metric-value {
        font-size: 2.75rem;
    }

    .metric-flag {
        width: 32px;
    }

    .metric-label {
        font-size: 0.95rem;
    }

    /* Partners on mobile - TRANSPARENT BACKGROUND */
    .partners-section {
        padding: 80px 0 60px;
        background-attachment: scroll;
    }

        .partners-section::after {
            animation: none;
        }

        .partners-section .row.mb-5 {
            margin-bottom: 3rem !important;
            padding-top: 10px;
        }

    .partners-slider {
        padding: 40px 0;
        margin-top: 2.5rem;
        background: transparent;
    }

    .partners-track {
        gap: 40px;
        animation: scroll-partners 45s linear infinite;
    }

        .partners-track img {
            height: 80px;
        }

    /* CTA on mobile */
    .cta-industrial-section {
        padding: 70px 0;
    }

        .cta-industrial-section::after {
            width: 300px;
            height: 300px;
            animation: float 20s ease-in-out infinite;
        }

    .cta-industrial-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: 1.25rem;
    }

    .cta-industrial-description {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 2rem;
    }

    .cta-industrial-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-cta-white,
    .btn-cta-outline-white {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    /* Modal - Mobile */
    .catalog-modal-content {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        border-radius: 12px;
    }

    .catalog-modal-header {
        padding: 18px 20px;
    }

    .catalog-modal-title {
        font-size: 1.2rem;
    }

        .catalog-modal-title i {
            font-size: 1rem;
        }

    .catalog-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .catalog-modal-body {
        padding: 14px 20px;
    }

    .modal-category-header {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

        .modal-category-header i:first-child {
            font-size: 1.15rem;
        }

    .modal-item {
        padding: 12px 16px 12px 50px;
        font-size: 0.9rem;
    }

        .modal-item:hover {
            padding-left: 54px;
        }

    .catalog-modal-footer {
        padding: 16px 20px;
    }

    .modal-view-all-btn {
        padding: 13px 20px;
        font-size: 0.95rem;
    }
}

/* Small Mobile (376px - 575px) */
@media (max-width: 575px) {
    .capability-card {
        padding: 1.25rem;
    }

    .hero-visual {
        height: 400px;
    }

    .lottie-animation-container {
        max-width: 400px;
        height: 400px;
    }

        .lottie-animation-container dotlottie-wc {
            max-width: 400px;
            max-height: 400px;
        }

    .floating-card {
        padding: 0.85rem;
    }

        .floating-card i {
            font-size: 1.35rem;
        }

        .floating-card p {
            font-size: 0.8rem;
        }

    .partners-track img {
        height: 70px;
    }

    .catalog-modal-content {
        border-radius: 10px;
    }

    .catalog-modal-header {
        padding: 16px 18px;
    }

    .catalog-modal-title {
        font-size: 1.1rem;
    }

    .catalog-modal-close {
        width: 34px;
        height: 34px;
    }

    .catalog-modal-body {
        padding: 12px 18px;
    }

    .modal-category-header {
        padding: 13px 14px;
        font-size: 0.9rem;
    }

    .modal-item {
        padding: 11px 14px 11px 46px;
        font-size: 0.875rem;
    }

        .modal-item:hover {
            padding-left: 50px;
        }

    .catalog-modal-footer {
        padding: 14px 18px;
    }

    .modal-view-all-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    .capability-card {
        padding: 1rem;
    }

    .capability-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }

        .capability-icon i {
            font-size: 1.5rem;
        }

    .capability-title {
        font-size: 1.05rem;
        margin-bottom: 0.85rem;
    }

    .capability-description {
        font-size: 0.875rem;
    }

    .hero-visual {
        height: 350px;
    }

    .lottie-animation-container {
        max-width: 350px;
        height: 350px;
    }

        .lottie-animation-container dotlottie-wc {
            max-width: 350px;
            max-height: 350px;
        }

    .floating-card {
        padding: 0.75rem;
    }

        .floating-card i {
            font-size: 1.25rem;
        }

        .floating-card p {
            font-size: 0.75rem;
        }

    .partners-track img {
        height: 60px;
    }

    .catalog-modal-header {
        padding: 14px 16px;
    }

    .catalog-modal-title {
        font-size: 1rem;
    }

        .catalog-modal-title i {
            font-size: 0.9rem;
        }

    .catalog-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .catalog-modal-body {
        padding: 11px 16px;
    }

    .modal-category-header {
        padding: 12px 13px;
        font-size: 0.875rem;
    }

        .modal-category-header i:first-child {
            font-size: 1.05rem;
        }

    .modal-item {
        padding: 10px 13px 10px 44px;
        font-size: 0.85rem;
    }

        .modal-item:hover {
            padding-left: 48px;
        }

        .modal-item i.fa-file-pdf {
            font-size: 0.95rem;
        }

    .catalog-modal-footer {
        padding: 13px 16px;
    }

    .modal-view-all-btn {
        padding: 11px 16px;
        font-size: 0.85rem;
    }
}

/* Container padding adjustments for mobile */
@media (max-width: 575px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 375px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Accessibility - Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-section-v2::before,
    .hero-section-v2::after {
        animation: none !important;
    }

    .floating-card {
        animation: none !important;
    }

    .lottie-animation-container dotlottie-wc {
        display: none !important;
    }

    .capability-icon::before {
        animation: none !important;
    }

    .metric-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .partners-track {
        animation: scroll-partners 60s linear infinite !important;
    }

    .cta-industrial-section,
    .cta-industrial-section::before,
    .cta-industrial-section::after {
        animation: none !important;
    }

    .metrics-section::before {
        animation: none !important;
    }

    .partners-section::after {
        animation: none !important;
    }

    .hero-content-v2::before {
        animation: none !important;
    }
}

/* Performance optimization - Use will-change for animated elements */
.floating-card,
.capability-card,
.partners-track img,
.metric-item,
.lottie-animation-container {
    will-change: transform;
}

    .hero-section-v2::before,
    .capability-card::before {
        will-change: transform, opacity;
    }

/* Smooth scrolling for the page */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
