.static-machine-img {
width: auto;
    max-width: 100%;
    max-height: 170vh !important;
    object-fit: contain;
    margin-top: 66vh !important;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}
@media (max-width: 991px) {
.static-machine-img {
    width: auto;
    max-width: 100%;
    max-height: 90vh !important;
    object-fit: contain;
    margin-top: 10vh !important;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}
}

.hero-video-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-machine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from bottom (#1a80b6) to transparent top */
    background: linear-gradient(to top, #1a80b6 0%, rgba(8, 18, 30, 0.6) 50%, rgba(8, 18, 30, 0) 100%);
    pointer-events: none;
}




/* Section Background */
.why-choose-section {
    background-color: #1a80b6;
    padding: 80px 0;
}

/* Image Styling */
.why-choose-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

/* Section Title */
.why-choose-section .section-title-small {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #ffffff; /* White text */
    margin-bottom: 30px;
}

/* List Styling */
.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 400;
    color: #ffffff; /* All white text */
    line-height: 1.6;
}

/* Bold spacing */
.why-choose-list li strong {
    font-weight: 700;
    margin-right: 6px; /* Space between bold and normal text */
}

/* Add modern checkmark before each item */
.why-choose-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 1rem;
}

/* Paragraph Styling */
.why-choose-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ffffff; /* White text */
    line-height: 1.7;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-section .section-title-small {
        font-size: 1.75rem;
        text-align: center;
    }
    .why-choose-desc {
        text-align: center;
    }
}

.strength-item:hover .strength-item-content p {
    color: #ffffff;
}
.strength-item .strength-item-content p {
    color: #053456;
}
/* 1. Base Styles for Technology Items */
.m-tech-item {
    background: #fff;                /* Default background */
    border: 1px solid #ccc;          /* Default border */
    border-radius: 12px;             /* Rounded corners */
    padding: 20px;
    transition: all 0.4s ease;       /* Smooth hover effect */
    cursor: pointer;
    position: relative;
}
.services-item-content p {
    color: #053456; /* Default text color */
    transition: color 0.3s ease; /* Smooth color transition */
}

.services-item-content:hover p {
    color: #ffffff; /* Hover text color */
}

/* 2. Hover Lift Effect */
.m-tech-item:hover {
    transform: translateY(-12px) scale(1.03); /* Slight lift and scale */
    box-shadow: 0 20px 40px rgba(5, 52, 86, 0.12); /* Premium shadow */
    border-color: #1a80b6;           /* Highlighted border */
    background: #1a80b6;             /* Hover background */
}

/* 3. Text Color Inside Item */
.m-tech-item .m-tech-content h3  {
    color: #053456;                     /* Default text */
    transition: color 0.3s ease;
}

.m-tech-item .m-tech-content p {
    color: #555;                     /* Default text */
    transition: color 0.3s ease;
}

/* 4. Hover Text Color Change */
.m-tech-item:hover .m-tech-content h3,
.m-tech-item:hover .m-tech-content p {
    color: #e0e0e0;                  /* Hover text color */
}

/* 5. Optional: Icon Hover Effect (subtle) */
.m-tech-item:hover .m-tech-icon-holder img {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

/* Base Card Style */
.tech-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: left; /* Aligns text left like the modern example */
}

/* Hover Effect: Lift and Shadow */
.tech-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 52, 86, 0.15);
    border-color: transparent;
}

/* Header: Icon + Number Layout */
.tech-card-modern .how-work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

/* Icon Box Styling */
.tech-card-modern .icon-box {
    width: 80px;
    height: 80px;
    background-color: #f4f7fa; /* Light grey background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.tech-card-modern .icon-box img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* Hover Effect: Icon Background turns to Accent Color */
.tech-card-modern:hover .icon-box {
    background-color: var(--accent-color); /* Uses your orange/red accent */
}

.tech-card-modern:hover .icon-box img {
    filter: brightness(0) invert(1); /* Turns icon white on hover */
}

/* Step Number Styling */
.tech-card-modern .how-work-stpe-no h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #f0f3f6; /* Very light grey for background number */
    margin: 0;
    line-height: 1;
    transition: color 0.4s ease;
    font-family: 'Sora', sans-serif;
}

.tech-card-modern:hover .how-work-stpe-no h3 {
    color: rgba(5, 52, 86, 0.1); /* Dark blue with low opacity on hover */
}

/* Content Typography */
.tech-card-modern .how-work-item-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color); /* Dark Blue */
    margin-bottom: 15px;
    font-family: 'Sora', sans-serif;
}

.tech-card-modern .how-work-item-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* =======================================================================
   MODERN MACHINE TECHNOLOGY CARDS (Isolated Classes)
   ======================================================================= */

.m-tech-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.m-tech-item {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--divider-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left; /* Modern Left Alignment */
    min-height: 320px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
}

/* Premium Lift Effect on Hover */
.m-tech-item {
    transition: all 0.3s ease; /* Smooth animation */
    border: 1px solid #ccc;    /* Default border */
    background: #fff;          /* Default background */
}

.m-tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 52, 86, 0.12);
    border-color: #1a80b6;
    background: #1a80b6;
}

.m-tech-item .detail-section p {
    color: #555; /* Default text color */
    transition: color 0.3s ease; /* Smooth color change */
}

.m-tech-item:hover .detail-section p {
    color: #e0e0e0; /* Text color on hover */
}

/* Header: Layout for Icon and Number */
.m-tech-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Icon Holder - FIXED BACKGROUND (Does not change on hover) */
.m-tech-icon-holder {
    width: 70px;
    height: 70px;
    background: #f8fafd; /* Keeps this light color always */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.m-tech-icon-holder img {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

/* Subtle image animation instead of background color change */
.m-tech-item:hover .m-tech-icon-holder {
    transform: scale(1.1) rotate(5deg);
}

/* Step Number Styling (Top Right) */
.m-tech-step-no h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--divider-color);
    border-radius: 50px;
    padding: 6px 14px;
    margin: 0;
    transition: all 0.3s ease;
}

.m-tech-item:hover .m-tech-step-no h3 {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Modern Text Typography */
.m-tech-content h3 {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.m-tech-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    font-family: 'Sora', sans-serif;
}

/* Dark Mode Adaptation */
body.dark-mode .m-tech-item {
    background: #1e1e1e;
    border-color: rgba(255,255,255,0.1);
}
body.dark-mode .m-tech-icon-holder {
    background: rgba(255,255,255,0.05);
}
body.dark-mode .m-tech-step-no h3 {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
body.dark-mode .m-tech-content p {
    color: #b0b0b0;
}

/* =======================================================================
// MACHINE DETAILS CSS (Premium Dark Theme + White Sections)
// ======================================================================= */

body {
    
 
    color: #E0E0E0;
}

.machine-detail-wrapper {
    overflow-x: hidden;
}

.detail-section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

.section-title-small {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 20px;
}

.detail-section p {
    color: #b0cadb;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- HERO --- */
.hero-machine {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 52, 86, 0.75);
    opacity: 0.9;
}

.sticky-machine-container {
    position: fixed;
    top: 50%;
    right: 15%;
    width: 40vw;
    max-width: 700px;
    transform: translateY(-50%);
    z-index: 1;
    will-change: transform, opacity;
}

.floating-machine {
    width: 100%;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- TRUSTED BY --- */
.trusted-by-section {
    background-color: #1a80b6;
    padding: 40px 0;
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.logo-marquee {
    display: flex;
    width: 200%;
    animation: scroll-x 40s linear infinite;
}

.logo-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

@keyframes scroll-x {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- HANDPIECES --- */
.handpiece-section {
    background-color: #fff;
    color: var(--primary-color);
}

.handpiece-section h2 {
    color: var(--primary-color);
}

.handpiece-section p {
    color: var(--text-color);
}

.handpiece-icon-img {
    height: 120px;
    object-fit: contain;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    border-radius: 50px;
}

.spec-card {
    padding: 40px 30px;
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-10px);
}

.spec-card:hover .handpiece-icon-img {
    transform: scale(1.1) rotate(5deg);
}

/* --- 3D VIEW SECTION --- */
.view-3d-section {
    background-color: #0b1624;
    /* Darker distinct background */
    padding: 100px 0;
}

#canvas-container-3d {
    width: 100%;
    height: 600px;
    /* Big view */
    background: radial-gradient(circle at center, #1a2b40 0%, #0b1624 70%);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: grab;
}

#canvas-container-3d:active {
    cursor: grabbing;
}

.loader-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2rem;
}

/* --- RESULTS SCROLL REVEAL --- */
.results-scroll-wrapper {
    background-color: #fff;
    padding-bottom: 0;
}

.scroll-reveal-container {
    height: 300vh;
    /* Long scroll duration */
    position: relative;
    z-index: 10;
}

.scroll-reveal-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scroll-reveal-frame {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Phone/Card style size */
    aspect-ratio: 4/5;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(5, 52, 86, 0.25);
    overflow: hidden;
    border: 8px solid #fff;
}

.reveal-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.reveal-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-grayscale {
    filter: grayscale(100%) contrast(1.1);
}

.reveal-label {
    position: absolute;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    z-index: 5;
    text-transform: uppercase;
}

.label-before {
    top: 20px;
    left: 20px;
}
.faq-accordion  {
background: white;
    padding: 10px;
    border-radius: 10px;
}
.detail-section p {
 
}
.label-after {
    /* bottom: 20px; */
    right: 20px;
    background: var(--accent-color);
}

.layer-before {
    z-index: 2;
    border-bottom: 2px solid #fff;
}

.reveal-scroller-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
}

/* --- FAQ & BUTTONS --- */
.faq-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-color);
}

.fixed-devis-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fixed-devis-btn:hover {
    transform: translateY(-3px);
    background-color: #08121e;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .hero-machine {
        height: auto;
        padding: 120px 0 60px;
        text-align: center;
    }

    .sticky-machine-container {
        position: sticky;
        top: 80px;
        width: 80vw;
        margin: 40px auto;
        opacity: 0.2 !important;
        transform: translateX(-50%) !important;
        left: 50% !important;
    }

    .scroll-reveal-frame {
        max-width: 90%;
    }
}