   /* ===== INDUSTRIAL DESIGN SYSTEM ===== */
   :root {
    --industrial-blue: #3B3AA8;
    --automation-orange: #D92E2E;
    --panel-gray: #3A3A3A;
    --hmi-green: #A1D82E;
    --safety-red: #D92E2E;
    --pure-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #666;
    --border-color: #ddd;
}

/* ===== BASE STRUCTURE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, .tech-font {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section {
    padding: 60px 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.animate-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.animate-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.animate-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.animate-visible {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) scale(1) rotate(0deg) !important;
}

/* Add staggered delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* ===== FULLY RESPONSIVE HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    background: var(--pure-white);
    transition: transform 0.3s ease;
}

@media (min-width: 992px) {
    header {
        min-height: 120px;
        background: transparent;
        box-shadow: none;
    }
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    height: 120px;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav .nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.desktop-nav .nav-left {
    justify-content: flex-end;
}

.desktop-nav .nav-right {
    justify-content: flex-start;
}

.desktop-nav a, .desktop-nav .dropdown-toggle {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--pure-white);
    text-shadow: 0 1px 1px #000;
    background: var(--panel-gray);
    border: 1.5px solid #777;
    border-radius: 8px;
    padding: 6px 14px;
    transition: all 0.2s;
    box-shadow: 0 1px 0 #222 inset;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}

.desktop-nav a:hover, .desktop-nav .dropdown-toggle:hover {
    background: var(--automation-orange);
    color: var(--pure-white);
    box-shadow: 0 0 8px rgba(217, 46, 46, 0.6), 0 1px 0 #222 inset;
    border-color: var(--automation-orange);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 115%;
    left: 0;
    background-color: var(--panel-gray);
    border: 1.5px solid #777;
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    z-index: 1100;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: var(--automation-orange);
}


.logo-ellipse-centered {
    position: relative;
    flex-shrink: 0;
    background: var(--pure-white);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 30px;
    border-radius: 8px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: auto;
    height: auto;
}

.desktop-nav a.logo, .desktop-nav a.logo:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Mobile Navigation Styles */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    height: 60px;
}

@media (max-width: 991px) {
    body {
        padding-top: 60px; /* Match mobile-nav height */
    }

    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .desktop-nav {
        display: none;
    }

    /* Ensure no extra space at top */
    .hero, 
    section:first-of-type {
        margin-top: -60px; /* Negative margin to counteract body padding */
        padding-top: 60px; /* Add padding back to maintain spacing */
    }
}

.mobile-logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.mobile-logo img {
    height: 100%;
    width: auto;
    display: block;
}

.mobile-toggle {
    border: none;
    background: none;
    width: 30px;
    height: 30px;
    padding: 5px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 60px; /* Match mobile-nav height */
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 9998;
}

.mobile-menu.active {
    transform: translateX(0);
}

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

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: #f5f5f5;
}

/* Adjust body padding when mobile menu is visible */
@media (max-width: 991px) {
    body {
        padding-top: 60px;
    }
}

/* ===== INDUSTRIAL HERO SECTION (HOME) ===== */
.hero {
    background-color: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-corner-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ===== HERO CORNER IMAGE FIXED SIZE & ANIMATION ===== */
.corner-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: opacity 0.5s, transform 0.5s;
    opacity: 1;
    position: absolute;
    z-index: 2;
}
@media (max-width: 600px) {
    .corner-img {
        width: 110px;
        height: 110px;
    }
}

.corner-tl { top: 5%; left: 5%; animation: flyInFromTL 1.2s ease-out 0.5s forwards; }
.corner-tr { top: 5%; right: 5%; animation: flyInFromTR 1.2s ease-out 0.7s forwards; }
.corner-bl { bottom: 5%; left: 5%; animation: flyInFromBL 1.2s ease-out 0.9s forwards; }
.corner-br { bottom: 5%; right: 5%; animation: flyInFromBR 1.2s ease-out 1.1s forwards; }

@keyframes flyInFromTL {
    from { transform: translate(-120%, -120%) rotate(-90deg); opacity: 0; }
    to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes flyInFromTR {
    from { transform: translate(120%, -120%) rotate(90deg); opacity: 0; }
    to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes flyInFromBL {
    from { transform: translate(-120%, 120%) rotate(90deg); opacity: 0; }
    to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes flyInFromBR {
    from { transform: translate(120%, 120%) rotate(-90deg); opacity: 0; }
    to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
}

@media (min-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 0;
    }
}

.hero-content {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 3;
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }

}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

}

.hero p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }
}

.btn-technical {
    display: inline-block;
    background-color: var(--automation-orange);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
    min-width: 180px;
}

.btn-technical:hover {
    background-color: #e05e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--pure-white);
}

/* ===== TECHNICAL CERTIFICATIONS ===== */
.certifications {
    background-color: var(--pure-white);
    padding: 30px 0;
}

@media (min-width: 768px) {
    .certifications {
        padding: 40px 0;
    }
}

.certs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .certs-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
}

.cert-icon {
    font-size: 2rem;
    color: var(--automation-orange);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .cert-icon {
        font-size: 2.5rem;
    }
}

.cert-label {
    font-weight: 500;
    color: var(--panel-gray);
    font-size: 0.9rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cert-label {
        font-size: 1rem;
    }
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-title {
        margin-bottom: 50px;
    }
}

.section-title h2 {
    font-size: 2rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .section-title h2 {
        font-size: 2.5rem;
    }
}

.section-title p {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title p {
        font-size: 1.1rem;
    }
}

/* ===== ABOUT US SECTION ===== */
.about-us {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

.about-text h2 {
    font-size: 2rem;
    color: var(--industrial-blue);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .about-text h2 {
        font-size: 2.5rem;
    }
}

.about-text p {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .about-text p {
        font-size: 1.1rem;
    }
}

.about-img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-img {
        height: 400px;
    }
}

/* ===== GRID LAYOUTS ===== */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid-container-4-cols {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ===== CARD COMPONENTS ===== */
.card {
    background-color: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--automation-orange);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-left: 4px solid var(--hmi-green);
}

.card-img {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.card-content {
    padding: 20px;
}

@media (min-width: 768px) {
    .card-content {
        padding: 25px;
    }
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--industrial-blue);
}

@media (min-width: 768px) {
    .card-content h3 {
        font-size: 1.4rem;
    }
}

.card-content p {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .card-content p {
        font-size: 1rem;
    }
}

.card-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}


.card-content li {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .card-content li {
        font-size: 1rem;
    }
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    background-color: var(--pure-white);
}

/* ===== FEATURES SECTION ===== */
.features {
    background-color: var(--light-gray);
}

.feature-card {
    background-color: var(--pure-white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--industrial-blue);
}

@media (min-width: 768px) {
    .feature-card {
        padding: 30px;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--automation-orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--automation-orange);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .feature-icon {
        font-size: 2.5rem;
    }
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .feature-card h3 {
        font-size: 1.4rem;
    }
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .feature-card p {
        font-size: 0.95rem;
    }
}

/* ===== PRICING SECTION ===== */
.pricing {
    background-color: var(--pure-white);
}

.pricing-card {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--industrial-blue);
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 30px;
    }
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--automation-orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .pricing-card h3 {
        font-size: 1.8rem;
    }
}

.pricing-price {
    font-size: 2rem;
    color: var(--hmi-green);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .pricing-price {
        font-size: 2.5rem;
    }
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-card li {
    margin-bottom: 10px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .pricing-card li {
        font-size: 1rem;
    }
}

/* ===== FAQ SECTION ===== */
.faq {
    background-color: var(--light-gray);
}

.faq-item {
    background-color: var(--pure-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    margin-bottom: 15px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--industrial-blue);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .faq-item h3 {
        font-size: 1.2rem;
    }
}

.faq-item p {
    color: var(--dark-gray);
    display: none;
    font-size: 0.9rem;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .faq-item p {
        font-size: 1rem;
    }
}

.faq-item.active p {
    display: block;
}

.faq-item i {
    transition: transform 0.3s ease;
}

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

/* ===== INDUSTRIAL METRICS ===== */
.metrics {
    background: linear-gradient(135deg, #e0e7ef 60%, #f5f5f5 100%);
    color: white;
    padding: 60px 0;
    position: relative;
}

@media (min-width: 768px) {
    .metrics {
        padding: 80px 0;
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.metric-card {
    background: rgba(255,255,255,0.15);
    padding: 30px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

@media (min-width: 768px) {
    .metric-card {
        padding: 40px 20px;
    }
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid var(--automation-orange);
}

.metric-icon {
    font-size: 2rem;
    color: var(--automation-orange);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .metric-icon {
        font-size: 2.5rem;
    }
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hmi-green);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

@media (min-width: 768px) {
    .metric-value {
        font-size: 3rem;
    }
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

@media (min-width: 768px) {
    .metric-label {
        font-size: 1.1rem;
    }
}

/* ===== BRANDS SECTION ===== */
.brands {
    background-color: var(--pure-white);
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

@media (min-width: 768px) {
    .brand-card {
        width: 200px;
        height: 140px;
    }
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.brand-logo {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .brand-logo {
        width: 100%;
        height: 100%;
    }
}

.brands-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.brands-slider::-webkit-scrollbar {
    display: none;
}

.brand-card h3 {
    font-size: 1.2rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .brand-card h3 {
        font-size: 1.4rem;
    }
}

.brand-card p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .brand-card p {
        font-size: 0.95rem;
    }
}

/* ===== INDUSTRIES SECTION ===== */
.industries {
    background-color: var(--pure-white);
}

.industry-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-bottom: 4px solid var(--industrial-blue);
}

@media (min-width: 768px) {
    .industry-card {
        padding: 30px;
    }
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-bottom-color: var(--hmi-green);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--automation-orange);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
}

.industry-card h3 {
    font-size: 1.3rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

.tech-link {
    color: var(--automation-orange);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .tech-link {
        font-size: 1rem;
    }
}

.tech-link:hover {
    text-decoration: underline;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-card {
    background-color: var(--pure-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--automation-orange);
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 30px;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-card p {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .testimonial-card p {
        font-size: 1rem;
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: var(--industrial-blue);
}

@media (min-width: 768px) {
    .testimonial-author h4 {
        font-size: 1.1rem;
    }
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

@media (min-width: 768px) {
    .testimonial-author span {
        font-size: 0.9rem;
    }
}

/* ===== INTEGRATIONS SECTION ===== */
.integrations {
    background-color: var(--pure-white);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.integration-card {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .integration-card {
        padding: 20px;
    }
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.integration-card img {
    height: 40px;
    margin-bottom: 15px;
    object-fit: contain;
    width: 100%;
}

@media (min-width: 768px) {
    .integration-card img {
        height: 50px;
    }
}

.integration-card h4 {
    font-size: 1rem;
    color: var(--industrial-blue);
}

@media (min-width: 768px) {
    .integration-card h4 {
        font-size: 1.1rem;
    }
}

/* ===== SUPPORT SECTION ===== */
.support {
    background-color: var(--light-gray);
}

.support-card {
    background-color: var(--pure-white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--industrial-blue);
}

@media (min-width: 768px) {
    .support-card {
        padding: 30px;
    }
}

.support-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--automation-orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.support-icon {
    font-size: 2rem;
    color: var(--automation-orange);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .support-icon {
        font-size: 2.5rem;
    }
}

.support-card h3 {
    font-size: 1.2rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .support-card h3 {
        font-size: 1.4rem;
    }
}

.support-card p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .support-card p {
        font-size: 0.95rem;
    }
}

/* ===== CAREERS SECTION ===== */
.careers {
    background-color: var(--pure-white);
}

.career-card {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--industrial-blue);
}

@media (min-width: 768px) {
    .career-card {
        padding: 30px;
    }
}

.career-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--automation-orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.career-card h3 {
    font-size: 1.2rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .career-card h3 {
        font-size: 1.4rem;
    }
}

.career-card p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .career-card p {
        font-size: 1rem;
    }
}

/* ===== TECHNICAL CONTACT ===== */
.contact {
    background-color: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

.contact-info {
    color: #333;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--industrial-blue);
}

@media (min-width: 768px) {
    .contact-info h3 {
        font-size: 1.8rem;
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--automation-orange);
    margin-top: 3px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .contact-icon {
        font-size: 1.5rem;
    }
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--industrial-blue);
}

@media (min-width: 768px) {
    .contact-details h4 {
        font-size: 1.1rem;
    }
}

.contact-details p, 
.contact-details a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .contact-details p, 
    .contact-details a {
        font-size: 1rem;
    }
}

.contact-details a:hover {
    color: var(--automation-orange);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--industrial-blue);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--automation-orange);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--pure-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .contact-form {
        padding: 30px;
    }
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--industrial-blue);
}

@media (min-width: 768px) {
    .contact-form h3 {
        font-size: 1.5rem;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .form-group label {
        font-size: 1rem;
    }
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .form-control {
        font-size: 1rem;
    }
}

.form-control:focus {
    outline: none;
    border-color: var(--industrial-blue);
    box-shadow: 0 0 0 3px rgba(0,95,135,0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

@media (min-width: 768px) {
    textarea.form-control {
        min-height: 150px;
    }
}

/* ===== DEMO/SIGN-UP SECTION ===== */
.demo {
    background: linear-gradient(135deg, var(--industrial-blue) 60%, var(--panel-gray) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .demo {
        padding: 80px 0;
    }
}

.demo h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .demo h2 {
        font-size: 2.5rem;
    }
}

.demo p {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
}

@media (min-width: 768px) {
    .demo p {
        font-size: 1.2rem;
    }
}

/* ===== PRIVACY POLICY & TERMS SECTION ===== */
.legal {
    background-color: var(--pure-white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2rem;
    color: var(--industrial-blue);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .legal-content h2 {
        font-size: 2.5rem;
    }
}

.legal-content h3 {
    font-size: 1.5rem;
    color: var(--industrial-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .legal-content h3 {
        font-size: 1.8rem;
    }
}

.legal-content p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .legal-content p {
        font-size: 1rem;
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--panel-gray);
    color: #aaa;
    padding: 60px 0 30px;
}

@media (min-width: 768px) {
    footer {
        padding: 80px 0 30px;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 40px;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
        margin-bottom: 50px;
    }
}

.footer-col h3 {
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--automation-orange);
    font-family: 'Orbitron', sans-serif;
}

@media (min-width: 768px) {
    .footer-col h3 {
        font-size: 1.3rem;
    }
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-col a {
        font-size: 0.95rem;
    }
}

.footer-col a:hover {
    color: var(--automation-orange);
    padding-left: 8px;
}

.footer-newsletter {
    max-width: 100%;
}

@media (min-width: 992px) {
    .footer-newsletter {
        max-width: 350px;
    }
}

.footer-newsletter p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-newsletter p {
        font-size: 1rem;
    }
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: var(--pure-white);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--automation-orange);
}

.newsletter-btn {
    background-color: var(--automation-orange);
    color: var(--pure-white);
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

@media (min-width: 768px) {
    .newsletter-btn {
        width: auto;
    }
}

.newsletter-btn:hover {
    background-color: #e05e00;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        padding-top: 30px;
        font-size: 0.9rem;
    }
}

.footer-bottom a {
    color: var(--automation-orange);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

/* ===== LOADING STATES ===== */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: var(--automation-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--pure-white);
}

.services-slider-wrapper {
    position: relative;
}

.services-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px; /* Add some padding for shadow and hover effects */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    cursor: grab;
}

.services-slider:active {
    cursor: grabbing;
}

.services-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.service-card {
    flex: 0 0 280px;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--industrial-blue);
}

@media (min-width: 768px) {
    .service-card {
        flex: 0 0 320px;
        padding: 30px;
    }

}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-bottom-color: var(--hmi-green);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--automation-orange);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

.slider-arrow {
    display: none; /* Hidden on touch devices */
}

@media (min-width: 992px) {
    .services-slider-wrapper {
        padding: 0 30px;
    }
    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--pure-white);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        width: 45px;
        height: 45px;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--industrial-blue);
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }

    .slider-arrow:hover {
        background: var(--automation-orange);
        color: var(--pure-white);
        border-color: var(--automation-orange);
        transform: translateY(-50%) scale(1.1);
    }

    .slider-arrow.prev {
        left: -20px;
    }

    .slider-arrow.next {
        right: -20px;
    }
}

/* ===== INDUSTRIES SLIDER STYLES ===== */
.industries-slider-wrapper {
    position: relative;
}
.industries-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.industries-slider:active, .industries-slider.active {
    cursor: grabbing;
}
.industries-slider::-webkit-scrollbar {
    display: none;
}
.industries-slider .industry-card {
    flex: 0 0 280px;
}
@media (min-width: 768px) {
    .industries-slider .industry-card {
        flex: 0 0 320px;
    }
}
@media (min-width: 992px) {
    .industries-slider-wrapper {
        padding: 0 30px;
    }
}

/* ===== CASE STUDIES SLIDER STYLES ===== */
.case-studies-slider-wrapper {
    position: relative;
}
.case-studies-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px; /* Match the grid gap */
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.case-studies-slider:active, .case-studies-slider.active {
    cursor: grabbing;
}
.case-studies-slider::-webkit-scrollbar {
    display: none;
}
.case-studies-slider .card {
    flex: 0 0 320px; /* A bit wider for case studies */
}
@media (min-width: 992px) {
    .case-studies-slider-wrapper {
        padding: 0 30px;
    }
}

/* ===== TEXTILE INDUSTRY SECTION ===== */
.textile-card {
    background-color: var(--pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.textile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.textile-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.textile-card:hover .textile-card-img {
    transform: scale(1.05);
}

.textile-card-title {
    background-color: var(--industrial-blue);
    padding: 15px 20px;
    text-align: center;
    margin-top: auto; /* Pushes the title to the bottom */
}

.textile-card-title h4 {
    margin: 0;
    color: var(--pure-white);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== TEXTILE SLIDER STYLES ===== */
.textile-industry-slider-wrapper {
    position: relative;
}
.textile-industry-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.textile-industry-slider:active, .textile-industry-slider.active {
    cursor: grabbing;
}
.textile-industry-slider::-webkit-scrollbar {
    display: none;
}
.textile-industry-slider .textile-card {
    flex: 0 0 300px;
}
@media (min-width: 992px) {
    .textile-industry-slider-wrapper {
        padding: 0 30px;
    }
}

/* ===== INDUSTRY 4.0 SLIDER STYLES ===== */
.industry-4-0-slider-wrapper {
    position: relative;
}
.industry-4-0-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.industry-4-0-slider:active, .industry-4-0-slider.active {
    cursor: grabbing;
}
.industry-4-0-slider::-webkit-scrollbar {
    display: none;
}
.industry-4-0-slider .textile-card {
    flex: 0 0 320px;
}
@media (min-width: 992px) {
    .industry-4-0-slider-wrapper {
        padding: 0 30px;
    }
}

/* ===== TEXTILE INDUSTRY & INDUSTRY 4.0 UPGRADED STYLES ===== */
.section-showcase {
    background-color: var(--pure-white);
}

.textile-card {
    background-color: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid var(--industrial-blue);
    display: flex;
    flex-direction: column;
}

.textile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-top-color: var(--automation-orange);
}

.textile-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.textile-card:hover .textile-card-img {
    transform: scale(1.05);
}

.textile-card-title {
    background-color: var(--industrial-blue);
    padding: 15px 20px;
    text-align: center;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.textile-card:hover .textile-card-title {
    background-color: var(--automation-orange);
}

.textile-card-title h4 {
    margin: 0;
    color: var(--pure-white);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== TEXTILE SLIDER STYLES ===== */
.textile-industry-slider-wrapper {
    position: relative;
}
.textile-industry-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.textile-industry-slider:active, .textile-industry-slider.active {
    cursor: grabbing;
}
.textile-industry-slider::-webkit-scrollbar {
    display: none;
}
.textile-industry-slider .textile-card {
    flex: 0 0 300px;
}
@media (min-width: 992px) {
    .textile-industry-slider-wrapper {
        padding: 0 30px;
    }
}

/* ===== PANEL MANUFACTURING ACCORDION ===== */
.panel-accordion {
    max-width: 900px;
    margin: 0 auto;
}
.accordion-item {
    background-color: var(--pure-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: margin 0.3s ease;
}
.accordion-item:hover {
    margin-left: -5px;
    margin-right: -5px;
}
.accordion-header {
    background-color: var(--industrial-blue);
    color: var(--pure-white);
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.accordion-header:hover {
    background-color: var(--automation-orange);
}
.accordion-header h4 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}
.accordion-header .icon {
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease;
    padding: 0 25px;
}
.accordion-content-inner {
    padding: 25px 0;
}
.accordion-content img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
}
.accordion-item.active .accordion-header {
    background-color: var(--automation-orange);
}
.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}
.accordion-item.active .accordion-content {
    max-height: 500px; /* Adjust as needed for image height */
}

/* ===== PANEL MANUFACTURING SECTION (SLIDER VERSION) ===== */
.panel-manufacturing-slider-wrapper {
    position: relative;
}
.case-studies-slider.panel-manufacturing-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px; /* Match the grid gap */
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.case-studies-slider.panel-manufacturing-slider:active, .case-studies-slider.panel-manufacturing-slider.active {
    cursor: grabbing;
}
.case-studies-slider.panel-manufacturing-slider::-webkit-scrollbar {
    display: none;
}
.case-studies-slider.panel-manufacturing-slider .card {
    flex: 0 0 320px; /* A bit wider for case studies */
}
@media (min-width: 992px) {
    .panel-manufacturing-slider-wrapper {
        padding: 0 30px;
    }
}

/* ===== CG PRODUCT AUTHORIZED SECTION ===== */
.cg-products-slider-wrapper {
    position: relative;
}
.cg-products-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px; /* Add some padding for shadow and hover effects */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    cursor: grab;
}
.cg-products-slider:active {
    cursor: grabbing;
}
.cg-products-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.cg-product-card {
    flex: 0 0 280px;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--industrial-blue);
}
@media (min-width: 768px) {
    .cg-product-card {
        flex: 0 0 320px;
        padding: 30px;
    }
}
.cg-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-bottom-color: var(--hmi-green);
}
.cg-product-icon {
    font-size: 2.5rem;
    color: var(--automation-orange);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.cg-product-card:hover .cg-product-icon {
    transform: scale(1.1);
}
.cg-product-card h3 {
    font-size: 1.3rem;
    color: var(--industrial-blue);
    margin-bottom: 15px;
}
.cg-product-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.5;
}
.cg-product-slider-arrow {
    display: none; /* Hidden on touch devices */
}
@media (min-width: 992px) {
    .cg-products-slider-wrapper {
        padding: 0 30px;
    }
    .cg-product-slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--pure-white);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        width: 45px;
        height: 45px;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--industrial-blue);
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }
    .cg-product-slider-arrow:hover {
        background: var(--automation-orange);
        color: var(--pure-white);
        border-color: var(--automation-orange);
        transform: translateY(-50%) scale(1.1);
    }
    .cg-product-slider-arrow.prev {
        left: -20px;
    }
    .cg-product-slider-arrow.next {
        right: -20px;
    }
}

/* ===== WATER MANAGEMENT PLANT SECTION ===== */
.water-management-slider-wrapper {
    position: relative;
}
.water-management-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.water-management-slider:active {
    cursor: grabbing;
}
.water-management-slider::-webkit-scrollbar {
    display: none;
}
.water-management-slider .textile-card {
    flex: 0 0 300px;
}
@media (min-width: 992px) {
    .water-management-slider-wrapper {
        padding: 0 30px;
    }
}

.trust-logo-img {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.trust-logos-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-logo-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 8px;
}
.trust-logo-img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* ===== MOBILE RESPONSIVE RULES ===== */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Header mobile */
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .mobile-logo img {
        height: 40px;
        width: auto;
    }
    
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    
    .mobile-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: 0.3s;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #3B3AA8;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu ul {
        list-style: none;
        padding: 20px 0;
        margin: 0;
    }
    
    .mobile-menu li {
        margin: 0;
    }
    
    .mobile-menu a {
        display: block;
        color: white;
        text-decoration: none;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-menu a:hover {
        background: #D92E2E;
        padding-left: 30px;
    }
    
    .mobile-menu .dropdown-menu {
        display: none;
        background: rgba(0,0,0,0.2);
        border: none;
        padding-left: 20px;
    }
    
    .mobile-menu .dropdown-toggle.active + .dropdown-menu {
        display: block;
    }
    
    /* Hero section mobile */
    .hero {
        min-height: 100vh;
        padding-top: 70px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-technical {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 200px;
    }
    
    /* Grid mobile */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Cards mobile */
    .card {
        margin-bottom: 20px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .card-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    /* Services slider mobile */
    .services-slider {
        gap: 15px;
        padding: 15px 5px;
    }
    
    .service-card {
        flex: 0 0 250px;
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    /* Trust logos mobile */
    .trust-logos-bar {
        gap: 15px;
        padding: 15px;
        overflow-x: auto;
    }
    
    .trust-logo-box {
        min-width: 80px;
        height: 60px;
        padding: 8px;
    }
    
    /* OUR ACHIEVEMENTS section mobile */
    .metrics-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .metric-card {
        padding: 25px 15px 20px 15px !important;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .metric-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        margin: 0 auto 15px auto !important;
    }
    
    .metric-value {
        font-size: 1.8rem !important;
        margin-bottom: 8px;
    }
    
    .metric-label {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    .metric-card div[style*="color:#666"] {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    
    /* Footer mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .footer-col h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-col a {
        font-size: 0.9rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Contact mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    /* Section titles mobile */
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-title p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    /* General mobile improvements */
    .section {
        padding: 40px 0;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Hide desktop elements on mobile */
    .slider-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn-technical {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: 180px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .service-card {
        flex: 0 0 220px;
        padding: 15px;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    /* OUR ACHIEVEMENTS section small mobile */
    .metric-card {
        padding: 20px 12px 15px 12px !important;
    }
    
    .metric-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
        margin: 0 auto 12px auto !important;
    }
    
    .metric-value {
        font-size: 1.6rem !important;
    }
    
    .metric-label {
        font-size: 0.95rem !important;
    }
    
    .metric-card div[style*="color:#666"] {
        font-size: 0.85rem !important;
    }
}

/* FINAL FIX: Force mobile dropdown menu to work */
/* Mobile Navigation Dropdown Fix */
nav.mobile-nav .mobile-menu { display: none; }
nav.mobile-nav .mobile-menu.active { display: block; }
nav.mobile-nav .mobile-menu .dropdown-menu { display: none !important; }
nav.mobile-nav .mobile-menu .dropdown-toggle.active + .dropdown-menu { display: block !important; }
nav.mobile-nav .mobile-menu .dropdown-toggle i { transition: transform 0.3s ease; }
nav.mobile-nav .mobile-menu .dropdown-toggle.active i { transform: rotate(180deg); }

/* ABB Solutions Section Styles */
.abb-solutions {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Partner Badge */
.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.partner-badge .partner-logo {
    height: 40px;
    width: auto;
}

.partner-badge span {
    background: #3B3AA8;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 30px 0;
}

.category-tab {
    background: #fff;
    border: 2px solid #e0e7ef;
    color: #666;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.category-tab:hover {
    border-color: #3B3AA8;
    color: #3B3AA8;
}

.category-tab.active {
    background: #3B3AA8;
    border-color: #3B3AA8;
    color: #fff;
}

/* Product Sliders */
.abb-products-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.abb-products-slider {
    display: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 24px;
    padding: 20px 0;
}

.abb-products-slider.active {
    display: flex;
}

.abb-products-slider::-webkit-scrollbar {
    display: none;
}

/* Product Cards */
.abb-products-slider .product-item {
    flex: 0 0 340px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(59,58,168,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1.5px solid #e0e7ef;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    min-height: 400px;
    height: 400px;
}

.abb-products-slider .product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59,58,168,0.15);
}

/* Flip Card Structure for AC Drives */
.product-item-front,
.product-item-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s;
    padding: 24px;
}

.product-item-front {
    transform: rotateY(0deg);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-item-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.product-item:hover .product-item-front {
    transform: rotateY(180deg);
}

.product-item:hover .product-item-back {
    transform: rotateY(0deg);
}

/* Front side styling */
.product-item-front img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f8f9fc;
    padding: 16px;
}

.product-item-front h4 {
    color: #3B3AA8;
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.product-item-front p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Back side styling */
.product-item-back h4 {
    color: #ffffff !important;
    font-size: 1.3rem;
    margin: 0 0 16px 0;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.product-item-back ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-item-back li {
    color: #ecf0f1;
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
    font-weight: 500;
}

.product-item-back li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.product-item-back .btn-technical {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    border: none;
}

.product-item-back .btn-technical:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
}

/* Regular product items (PLCs, HMIs) */
.abb-products-slider .product-item:not(:has(.product-item-front)) {
    position: relative;
    height: auto;
    min-height: 400px;
}

.abb-products-slider .product-item:not(:has(.product-item-front)) img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f8f9fc;
    padding: 16px;
}

.abb-products-slider .product-item:not(:has(.product-item-front)) h4 {
    color: #3B3AA8;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.abb-products-slider .product-item:not(:has(.product-item-front)) p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 16px 0;
}

/* Mobile responsive for flip cards */
@media (max-width: 768px) {
    .abb-products-slider .product-item {
        flex: 0 0 300px;
        min-height: 350px;
    }
    
    .product-item-front img,
    .abb-products-slider .product-item:not(:has(.product-item-front)) img {
        height: 140px;
    }
    
    .product-item-front h4,
    .product-item-back h4,
    .abb-products-slider .product-item:not(:has(.product-item-front)) h4 {
        font-size: 1.1rem;
    }
    
    .product-item-front p,
    .abb-products-slider .product-item:not(:has(.product-item-front)) p {
        font-size: 0.9rem;
    }
    
    .product-item-back li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .abb-products-slider .product-item {
        flex: 0 0 280px;
        min-height: 320px;
    }
    
    .product-item-front img,
    .abb-products-slider .product-item:not(:has(.product-item-front)) img {
        height: 120px;
    }
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #3B3AA8 0%, #6665D2 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.abb-products-slider .product-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f8f9fc;
    padding: 16px;
}

.product-info {
    padding: 0 4px;
}

.abb-products-slider .product-item h4 {
    color: #3B3AA8;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.abb-products-slider .product-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 16px 0;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.product-features li i {
    color: #3B3AA8;
    font-size: 0.8rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3B3AA8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap 0.3s;
}

.product-link:hover {
    gap: 12px;
}

/* Features Section */
.abb-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: center;
}

.feature {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(59,58,168,0.08);
}

.feature i {
    font-size: 2rem;
    color: #3B3AA8;
    margin-bottom: 16px;
}

.feature h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

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

@media (max-width: 768px) {
    .abb-solutions {
        padding: 40px 0;
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .abb-products-slider-wrapper {
        padding: 0 20px;
    }
    
    .abb-products-slider .product-item {
        flex: 0 0 300px;
    }
    
    .abb-products-slider .product-item img {
        height: 160px;
    }
    
    .abb-features {
        gap: 16px;
    }
    
    .feature {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .abb-features {
        grid-template-columns: 1fr;
    }
    
    .partner-badge {
        flex-direction: column;
        text-align: center;
    }
}

.top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info a, .contact-info span {
    color: #333;
    text-decoration: none;
}

.contact-info i {
    margin-right: 5px;
    color: #D92E2E;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Services Bar Styles */
.services-bar {
    background: linear-gradient(to bottom, 
        #FF9933 0%, #FF9933 33.33%, 
        #FFFFFF 33.33%, #FFFFFF 66.66%, 
        #138808 66.66%, #138808 100%);
    color: #333;
    padding: 20px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Ashoka Chakra in the center */
.services-bar::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #000080;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    z-index: 1;
}

/* Chakra spokes */
.services-bar::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: conic-gradient(from 0deg, transparent 0deg, #FFFFFF 15deg, transparent 30deg, #FFFFFF 45deg, transparent 60deg, #FFFFFF 75deg, transparent 90deg, #FFFFFF 105deg, transparent 120deg, #FFFFFF 135deg, transparent 150deg, #FFFFFF 165deg, transparent 180deg, #FFFFFF 195deg, transparent 210deg, #FFFFFF 225deg, transparent 240deg, #FFFFFF 255deg, transparent 270deg, #FFFFFF 285deg, transparent 300deg, #FFFFFF 315deg, transparent 330deg, #FFFFFF 345deg, transparent 360deg);
    border-radius: 50%;
    z-index: 2;
}

.services-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 3;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF9933, #138808);
    transition: background 0.3s ease;
}

.service-icon i {
    font-size: 20px;
    color: #FFFFFF;
}

.service-text {
    font-weight: 600;
    color: #333;
}

/* Mobile Styles for Services Bar */
@media (max-width: 768px) {
    .services-bar {
        padding: 15px 0;
        position: relative;
        z-index: 10;
    }

    /* Smaller chakra for mobile */
    .services-bar::before {
        width: 40px;
        height: 40px;
    }

    .services-bar::after {
        width: 35px;
        height: 35px;
    }

    .services-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 12px 8px;
        gap: 8px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 15px;
        min-height: 80px;
    }

    .service-item:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 1);
    }

    .service-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto;
    }

    .service-icon i {
        font-size: 16px;
    }

    .service-text {
        font-size: 12px;
        line-height: 1.2;
    }
}

/* Small Mobile Styles */
@media (max-width: 380px) {
    .services-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 8px;
    }

    .service-item {
        padding: 10px 5px;
        min-height: 70px;
    }

    .service-icon {
        width: 28px;
        height: 28px;
    }

    .service-icon i {
        font-size: 14px;
    }

    .service-text {
        font-size: 11px;
    }

    /* Even smaller chakra for very small screens */
    .services-bar::before {
        width: 30px;
        height: 30px;
    }

    .services-bar::after {
        width: 25px;
        height: 25px;
    }
}

/* ===== SERVICES CARDS FLIP EFFECTS ===== */

/* Services slider cards with flip animation */
.services-slider .service-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 280px;
}

.services-slider .service-card:hover {
    transform: translateY(-10px) rotateY(180deg);
    box-shadow: 0 20px 40px rgba(59,58,168,0.2);
}

/* Service card front side */
.services-slider .service-card-front {
    position: relative;
    backface-visibility: hidden;
    transform: rotateY(0deg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
}

/* Service card back side */
.services-slider .service-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B3AA8, #6565d5);
    color: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    border-radius: 8px;
}

.services-slider .service-card-back h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.services-slider .service-card-back p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.services-slider .service-card-back .service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.services-slider .service-card-back .service-features li {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.services-slider .service-card-back .service-features li:before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #A1D82E;
    font-size: 1.1rem;
}

.services-slider .service-card-back .btn-technical {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.services-slider .service-card-back .btn-technical:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* ===== INDUSTRIES CARDS FLIP EFFECTS ===== */

/* Industries slider cards with flip animation */
.industries-slider .industry-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 280px;
}

.industries-slider .industry-card:hover {
    transform: translateY(-10px) rotateY(180deg);
    box-shadow: 0 20px 40px rgba(59,58,168,0.2);
}

/* Industry card front side */
.industries-slider .industry-card-front {
    position: relative;
    backface-visibility: hidden;
    transform: rotateY(0deg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
}

/* Industry card back side */
.industries-slider .industry-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #A1D82E, #8BC34A);
    color: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    border-radius: 8px;
}

.industries-slider .industry-card-back h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.industries-slider .industry-card-back p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.industries-slider .industry-card-back .industry-solutions {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.industries-slider .industry-card-back .industry-solutions li {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.industries-slider .industry-card-back .industry-solutions li:before {
    content: "🔧";
    position: absolute;
    left: 0;
    color: #3B3AA8;
    font-size: 1.1rem;
}

.industries-slider .industry-card-back .btn-technical {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.industries-slider .industry-card-back .btn-technical:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Mobile responsive adjustments for services flip cards */
@media (max-width: 768px) {
    .services-slider .service-card:hover {
        transform: translateY(-5px) rotateY(0deg);
    }
    
    .services-slider .service-card-back {
        position: relative;
        transform: rotateY(0deg);
        backface-visibility: visible;
        margin-top: 15px;
        border-radius: 8px;
    }
    
    .services-slider .service-card-front {
        backface-visibility: visible;
    }
    
    /* Industries mobile adjustments */
    .industries-slider .industry-card:hover {
        transform: translateY(-5px) rotateY(0deg);
    }
    
    .industries-slider .industry-card-back {
        position: relative;
        transform: rotateY(0deg);
        backface-visibility: visible;
        margin-top: 15px;
        border-radius: 8px;
    }
    
    .industries-slider .industry-card-front {
        backface-visibility: visible;
    }
}

/* ===== PREMIUM AUTOMATION SOLUTIONS SECTION ===== */
.premium-solutions {
    background: linear-gradient(135deg, #f5f7fa 60%, #e9eafc 100%);
    padding: 80px 0;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.9);
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(59,58,168,0.1);
    border: 1px solid rgba(59,58,168,0.1);
}

.premium-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.premium-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3B3AA8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Category Tabs */
.premium-category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.premium-tab {
    background: #fff;
    border: 2px solid #e0e7ef;
    color: #666;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.premium-tab:hover {
    border-color: #3B3AA8;
    color: #3B3AA8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59,58,168,0.15);
}

.premium-tab.active {
    background: #3B3AA8;
    border-color: #3B3AA8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(59,58,168,0.25);
}

/* Premium Products Wrapper */
.premium-products-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.premium-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B3AA8;
    font-size: 1.2rem;
}

.premium-arrow:hover {
    background: #3B3AA8;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59,58,168,0.3);
}

.premium-arrow.prev {
    left: -25px;
}

.premium-arrow.next {
    right: -25px;
}

/* Premium Products Slider */
.premium-products-slider {
    display: none;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.premium-products-slider::-webkit-scrollbar {
    display: none;
}

.premium-products-slider.active {
    display: flex;
}

.premium-products-slider:active {
    cursor: grabbing;
}

/* Premium Product Cards */
.premium-product-card {
    flex: 0 0 340px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(59,58,168,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1.5px solid #e0e7ef;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    min-height: 400px;
    height: 400px;
}

.premium-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59,58,168,0.15);
}

/* Premium Flip Card Structure */
.premium-card-front,
.premium-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s;
    padding: 24px;
}

.premium-card-front {
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.premium-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #3B3AA8, #6565d5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premium-product-card:hover .premium-card-front {
    transform: rotateY(180deg);
}

.premium-product-card:hover .premium-card-back {
    transform: rotateY(0deg);
}

.premium-card-front img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 12px;
}

.premium-card-front h4 {
    color: #3B3AA8;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.premium-card-front p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.premium-card-back h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.premium-card-back ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.premium-card-back ul li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    font-size: 0.9rem;
    position: relative;
    padding-left: 16px;
}

.premium-card-back ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #A1D82E;
    font-weight: bold;
}

/* Premium Badge Tag */
.premium-badge-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(59,58,168,0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

/* Premium Product Info */
.premium-product-info {
    padding: 20px 0;
}

.premium-product-info h4 {
    color: #3B3AA8;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.premium-product-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.premium-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.premium-features li {
    color: #555;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-features li i {
    color: #A1D82E;
    font-size: 0.8rem;
}

/* Premium Link */
.premium-link {
    color: #3B3AA8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.premium-link:hover {
    color: #6565d5;
    transform: translateX(4px);
}

/* Premium Benefits */
.premium-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.premium-benefit {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(59,58,168,0.08);
    border: 1.5px solid #e0e7ef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.premium-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59,58,168,0.15);
}

.premium-benefit i {
    font-size: 2.5rem;
    color: #3B3AA8;
    margin-bottom: 16px;
}

.premium-benefit h4 {
    color: #3B3AA8;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.premium-benefit p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-products-wrapper {
        padding: 0 40px;
    }
    
    .premium-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .premium-arrow.prev {
        left: -20px;
    }
    
    .premium-arrow.next {
        right: -20px;
    }
    
    .premium-product-card {
        flex: 0 0 300px;
        min-height: 350px;
        height: 350px;
    }
    
    .premium-category-tabs {
        gap: 6px;
    }
    
    .premium-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .premium-benefits {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .premium-products-wrapper {
        padding: 0 30px;
    }
    
    .premium-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .premium-product-card {
        flex: 0 0 280px;
        min-height: 320px;
        height: 320px;
        padding: 20px;
    }
    
    .premium-category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .premium-tab {
        width: 100%;
        max-width: 200px;
    }
}

.services-gap {
    width: 60px;
    min-width: 40px;
    height: 1px;
    display: block;
}

@media (max-width: 768px) {
    .services-gap {
        width: 20px;
        min-width: 10px;
    }
    .services-items {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .services-items {
        flex-wrap: wrap;
        gap: 6px;
    }
    .services-gap {
        width: 100%;
        height: 10px;
        min-width: 0;
        order: 99;
    }
}

/* Section with Background Image Responsive Styles */
.section-with-bg-image {
    background: url('../products-img/section-img.jpg') no-repeat center center;
    background-size: cover;
    padding: 150px 0;
    position: relative;
}

.section-with-bg-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.section-with-bg-image .container {
    position: relative;
    z-index: 1;
}

.section-with-bg-image .section-title h2,
.section-with-bg-image .section-title p {
    color: #fff;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .section-with-bg-image {
        padding: 80px 0;
    }
    
    .section-with-bg-image .section-title h2 {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .section-with-bg-image .section-title p {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .section-with-bg-image {
        padding: 60px 0;
    }
    
    .section-with-bg-image .section-title h2 {
        font-size: 20px;
    }
    
    .section-with-bg-image .section-title p {
        font-size: 14px;
    }
}

/* Custom Mobile Navigation Styles */
.custom-mobile-nav {
  display: none;
  background: #232357;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  box-shadow: 0 2px 12px #0002;
}
@media (max-width: 900px) {
  .custom-mobile-nav { display: block; }
  header, .desktop-nav { display: none !important; }
}
.custom-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
}
.custom-mobile-logo img {
  height: 38px;
}
.custom-burger {
  width: 38px; height: 38px;
  background: none; border: none; outline: none;
  display: flex; flex-direction: column; justify-content: center;
  cursor: pointer;
  z-index: 1100;
}
.custom-burger span {
  display: block;
  height: 4px;
  width: 28px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.custom-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.custom-burger.active span:nth-child(2) {
  opacity: 0;
}
.custom-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.custom-mobile-menu {
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: #232357;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,1.3,.6,1);
  box-shadow: 0 8px 24px #0003;
}
.custom-mobile-menu.active {
  max-height: 400px;
}
.custom-mobile-menu ul {
  list-style: none;
  margin: 0; padding: 0.5rem 0;
}
.custom-mobile-menu li {
  border-bottom: 1px solid #35357a;
}
.custom-mobile-menu li:last-child {
  border-bottom: none;
}
.custom-mobile-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
}
.custom-mobile-menu a:hover {
  background: #3B3AA8;
  color: #fff200;
}

@media (max-width: 991px) {
  header {
    background: #fff !important; /* White background for header on mobile */
  }
  .mobile-toggle span {
    background-color: #007bff !important; /* Blue lines for burger menu */
  }
  .custom-mobile-nav-header {
    background: #fff !important; /* White background for custom mobile header */
  }
  .custom-burger span {
    background-color: #007bff !important; /* Blue lines for custom burger menu */
  }
}

/* === OUR SERVICES: Enhanced Mobile Responsiveness === */
@media (max-width: 768px) {
  .services-section {
    padding: 30px 0;
  }
  .services-slider-wrapper {
    margin-top: 10px;
    padding: 0 0 0 0;
  }
  .services-slider {
    gap: 12px;
    padding: 10px 0 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  .service-card {
    flex: 0 0 85vw !important;
    max-width: 95vw !important;
    min-width: 85vw !important;
    padding: 12px 6px 10px 6px !important;
    min-height: 160px;
    border-radius: 12px;
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
  .service-card p {
    font-size: 0.9rem;
  }
  .slider-arrow {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    font-size: 1rem;
    z-index: 10;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    align-items: center;
    justify-content: center;
    opacity: 0.85;
  }
  .slider-arrow.prev {
    left: 2px;
  }
  .slider-arrow.next {
    right: 2px;
  }
}
@media (max-width: 480px) {
  .services-section {
    padding: 12px 0;
  }
  .service-card {
    flex: 0 0 95vw !important;
    max-width: 98vw !important;
    min-width: 95vw !important;
    padding: 8px 2px 8px 2px !important;
    min-height: 120px;
  }
  .slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .service-card:hover,
  .services-slider .service-card:hover,
  .service-card:hover .service-icon {
    transform: none !important;
    box-shadow: none !important;
    border-bottom-color: var(--industrial-blue) !important;
    background: inherit !important;
    color: inherit !important;
    filter: none !important;
  }
}

@media (max-width: 991px) {
  .services-slider .service-card,
  .services-slider .service-card:hover {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
  .services-slider .service-card-front {
    backface-visibility: visible !important;
    transform: none !important;
    position: relative !important;
    display: flex !important;
  }
  .services-slider .service-card-back {
    display: none !important;
    transform: none !important;
    position: static !important;
    backface-visibility: visible !important;
  }
}

