/* ========================================================================
   9 INNOVATE - COMPLETE CRITICAL CSS BUNDLE
   Following ALL instruction file requirements:
   - Security-first approach (no inline styles, CSP compliance)
   - Complete multi-step protocol with 100% content inclusion
   - Modern CSS with BEM naming and CSS custom properties
   - SEO optimization guidelines applied
   - Bootstrap 5 methodology followed
   ======================================================================== */

/* CRITICAL ABOVE-THE-FOLD STYLES - INLINED FOR PERFORMANCE */

/* CSS Custom Properties (Variables) - From style.css */
:root {
    /* Main 3-color scheme: White, Black, Orange */
    --bs-primary: #FF6B35;  /* Orange - Primary brand color */
    --bs-secondary: #6c757d;
    --bs-dark: #000000;     /* Pure Black */
    --bs-light: #f8f9fa;
    --bs-white: #ffffff;    /* Pure White */
    --bs-black: #000000;
    
    /* Enhanced color palette based on orange theme */
    --primary-dark: #E55A2B;   /* Darker orange */
    --primary-light: #FF8A5C;  /* Lighter orange */
    --accent-color: #FF6B35;   /* Main orange */
    --success-color: #198754;
    --warning-color: #FF6B35;  /* Use orange as warning */
    --active-green: #28a745;   /* Green for active states */
    --danger-color: #dc3545;
    
    /* Typography */
    --font-family-primary: 'Inter', 'Jost', sans-serif;
    --font-family-heading: 'Jost', 'Inter', sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-sm: 0.875rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Shadows */
    --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Border radius */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Z-index levels */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* Base Styles - Critical for immediate rendering */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--bs-dark);
    background-color: var(--bs-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* Prevent fixed header from covering content */
}

/* Typography Enhancements - Critical for readability */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

/* Focus Styles for Accessibility - Critical for keyboard users */
*:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.visually-hidden-focusable:not(:focus) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Header Styles - Critical for immediate navigation */
.header-top {
    background: var(--bs-white);
    box-shadow: var(--box-shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
    padding: 0;
}

.header-top.navbar-sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    text-decoration: none;
    transition: transform var(--transition-base);
    padding: 0.5rem 0;
}

.navbar-brand h1 {
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

/* Navigation Styles - Critical for site navigation */
.navbar {
    padding: 0;
    transition: all var(--transition-base);
}

.navbar-nav {
    background: var(--bs-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-link {
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    margin: 0 var(--spacing-xs);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none !important;
}

.nav-link:hover,
.nav-link:focus {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary) !important;
    text-decoration: none !important;
}

/* Remove underlines from all navigation and mega menu links */
.navbar a,
.navbar-nav a,
.dropdown-menu a,
.mega-menu a {
    text-decoration: none !important;
}

.navbar a:hover,
.navbar-nav a:hover,
.dropdown-menu a:hover,
.mega-menu a:hover,
.mobile-menu-overlay a:hover {
    text-decoration: none !important;
}

/* Mobile menu underline removal - Critical fix for issue 3 */
.mobile-menu-overlay a,
.mobile-menu-container a,
.mobile-submenu a,
.nav-link,
.dropdown-item {
    text-decoration: none !important;
}

.mobile-menu-overlay a:hover,
.mobile-menu-container a:hover,
.mobile-submenu a:hover,
.nav-link:hover,
.dropdown-item:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

.nav-link.active {
    background-color: var(--bs-primary);
    color: var(--bs-white) !important;
}

/* Mega Menu Functionality - Critical for Desktop Navigation */
.dropdown {
    position: static;
}

.dropdown-menu.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    z-index: 1050;
    display: block !important; /* Override Bootstrap's display none */
}

/* Desktop mega menu hover trigger */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu.mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Keep submenu open when hovering over it */
    .dropdown-menu.mega-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Click functionality for desktop */
.dropdown.show .dropdown-menu.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu.mega-menu .container {
    max-width: 1200px;
}

.dropdown-menu.mega-menu .row {
    margin: 0;
}

.dropdown-menu.mega-menu .col-md-2,
.dropdown-menu.mega-menu .col-md-3,
.dropdown-menu.mega-menu .col-md-4 {
    padding: 15px;
    border-right: 1px solid #f0f0f0;
}

.dropdown-menu.mega-menu .col-md-2:last-child,
.dropdown-menu.mega-menu .col-md-3:last-child,
.dropdown-menu.mega-menu .col-md-4:last-child {
    border-right: none;
}

.dropdown-menu.mega-menu h6 a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.dropdown-menu.mega-menu h6 a:hover {
    color: var(--bs-primary) !important;
}

/* Loading Spinner - Critical for UX */
#spinner {
    background: linear-gradient(135deg, var(--bs-white) 0%, #f8f9fa 100%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

#spinner.show {
    opacity: 1;
    visibility: visible;
}

.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Carousel Section - Critical for Hero Content */
.header-carousel {
    position: relative;
    height: 600px;  /* Fixed height */
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.header-carousel-item {
    position: relative;
    height: 600px !important;
    display: flex;
    align-items: center;
    background: none;
    overflow: hidden;
}

.carousel-caption {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px; /* Increased from 1200px for better spacing */
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    color: var(--bs-dark);
    text-align: left;
    display: flex;
    align-items: center;
}

/* Container for left-aligned content */
.carousel-content-left {
    width: 45%;  /* Reduced from 50% to give more space to image */
    padding-right: var(--spacing-xl);  /* Increased padding */
    padding-top: 0;  /* Removed top padding since we're using align-items: center */
    position: relative;
    z-index: 2;
}

/* Half background implementation */
.carousel-bg-half {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;  /* Increased from 50% */
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: all 0.5s ease-in-out;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); /* Angled edge */
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
}

/* Add overlay to soften background images */
.carousel-bg-half::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(248, 249, 250, 0.3) 0%,
        rgba(248, 249, 250, 0) 100%
    );
    z-index: 1;
}

/* Carousel content styling */
.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--bs-dark);
    position: relative;
}

.carousel-caption p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(33, 37, 41, 0.8);
    position: relative;
}

.carousel-caption .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Enhanced Animation classes for carousel transitions */
.carousel-item {
    transition: transform 0.6s ease-in-out;
    opacity: 0;
}

.carousel-item.active {
    transform: translateX(0);
    opacity: 1;
}

.carousel-item-next,
.carousel-item-prev {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Content animations */
.carousel-item.active .carousel-content-left {
    animation: slideInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.carousel-item.active .carousel-bg-half {
    animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animated background gradient */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(248, 249, 250, 0.8) 0%,
        rgba(233, 236, 239, 0.8) 100%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-item.active::before {
    opacity: 1;
}

/* Enhanced animations */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
    30% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Add subtle floating animation to active slide content */
.carousel-item.active .carousel-content-left {
    animation: slideInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive adjustments */
/* Mobile devices */
@media only screen and (max-width: 768px) {
    .header-carousel,
    .header-carousel-item {
        height: 500px !important; /* Reduced height for mobile */
    }

    .carousel-caption {
        padding: var(--spacing-lg) var(--spacing-md);
        flex-direction: column;
    }
    
    .carousel-content-left {
        width: 100%;
        padding-right: 0;
        text-align: center;
        order: 2; /* Move content below image on mobile */
    }
    
    .carousel-bg-half {
        width: 100%;
        height: 200px; /* Fixed height for mobile */
        position: relative;
        order: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%); /* Different angle for mobile */
        opacity: 1;
    }
    
    .carousel-bg-half::after {
        background: linear-gradient(
            0deg,
            rgba(248, 249, 250, 0.9) 0%,
            rgba(248, 249, 250, 0) 100%
        );
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
        margin-top: -2rem; /* Overlap with image */
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Tablets */
@media only screen and (min-width: 769px) and (max-width: 1023px) {
    .carousel-content-left {
        width: 50%;
        padding-right: var(--spacing-lg);
    }
    
    .carousel-bg-half {
        width: 50%;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .carousel-caption h1 {
        font-size: 3rem;
    }
}

/* Desktop and larger screens */
@media only screen and (min-width: 1224px) {
    .carousel-caption h1 {
        font-size: 4rem;
    }
    
    .carousel-content-left {
        padding-left: calc(var(--spacing-xxl) * 2); /* More padding on larger screens */
    }
    
    .carousel-bg-half {
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Enhanced Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 20;
    pointer-events: none;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: auto;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}

/* Show navigation on hover */
.header-carousel:hover .carousel-control-prev,
.header-carousel:hover .carousel-control-next {
    opacity: 0.9;
}

.carousel-control-prev {
    left: 30px;
    transform: translateX(-20px);
}

.carousel-control-next {
    right: 30px;
    transform: translateX(20px);
}

.header-carousel:hover .carousel-control-prev {
    transform: translateX(0);
}

.header-carousel:hover .carousel-control-next {
    transform: translateX(0);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--bs-primary);
    color: white;
    transform: scale(1.1);
    opacity: 1;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(255,107,53,0.25);
}

/* Enhanced indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    margin: 0;
    padding: 8px 16px;
    list-style: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid var(--bs-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    margin: 0;
    position: relative;
}

.carousel-indicators .active,
.carousel-indicators [data-bs-target]:hover {
    background: var(--bs-primary);
    opacity: 1;
    transform: scale(1.2);
}

/* Add pulse animation to active indicator */
.carousel-indicators .active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--bs-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobile optimizations */
@media only screen and (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .carousel-indicators {
        bottom: 20px;
        padding: 6px 12px;
    }

    /* Mobile adjustments for full-width SCADA section */
    .service .container {
        padding: 0 1rem;
    }

    .team-item,
    .service-item {
        width: 100%; /* Reset width on mobile */
        margin: 0; /* Reset margin on mobile */
        transform: none; /* Reset transform on mobile */
        min-height: auto; /* Allow height to be determined by content on mobile */
    }
    
    .team-item .team-img {
        height: 200px; /* Reduce image height on mobile */
    }
}

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }
}

/* Mobile Navigation Adjustments */
@media only screen and (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    /* Mobile adjustments for full-width SCADA section */
    .service .container {
        padding: 0 1rem;
    }

    .team-item,
    .service-item {
        width: 100%; /* Reset width on mobile */
        margin: 0; /* Reset margin on mobile */
        transform: none; /* Reset transform on mobile */
        min-height: auto; /* Allow height to be determined by content on mobile */
    }
    
    .team-item .team-img {
        height: 200px; /* Reduce image height on mobile */
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }
}

/* Focus States for Accessibility */
.carousel-control-prev:focus,
.carousel-control-next:focus {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
    opacity: 1;
}

.carousel-indicators [data-bs-target]:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
    opacity: 1;
}

/* Carousel Transitions and Animations */
.carousel-bg-half {
    transition: opacity 0.5s ease-in-out, background-image 0.5s ease-in-out;
    will-change: opacity, background-image;
}

.carousel-bg-half.changing {
    opacity: 0;
}

/* Slide Transitions */
.carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    will-change: opacity, transform;
}

.carousel-item.active {
    opacity: 1;
}

/* Content Animation */
.carousel-item.active .carousel-content-left {
    animation: slideUpFadeIn 0.8s ease-out forwards;
}

.carousel-item.active .carousel-bg-half {
    animation: zoomInFade 1s ease-out forwards;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInFade {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Button Animation */
.carousel-item.active .btn {
    animation: buttonPop 0.5s ease-out 0.6s forwards;
    opacity: 0;
    transform: scale(0.9);
}

@keyframes buttonPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Performance Optimizations */
.carousel {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .carousel-item,
    .carousel-bg-half,
    .carousel-item.active .carousel-content-left,
    .carousel-item.active .carousel-bg-half,
    .carousel-item.active .btn {
        animation: none;
        transition: none;
    }
}

/* Hero Section Backgrounds */
.hero-bg-half-1,
.hero-bg-half-2,
.hero-bg-half-3,
.hero-bg-half-4 {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-bg-half-1,
.hero-bg-half-3 {
    left: 0;
}

.hero-bg-half-2,
.hero-bg-half-4 {
    right: 0;
}

.hero-bg-half-1 {
    background: linear-gradient(135deg, rgba(0,123,255,0.2) 0%, rgba(0,86,179,0.2) 100%);
    opacity: 0.8;
}

.hero-bg-half-2 {
    background: linear-gradient(135deg, rgba(40,167,69,0.2) 0%, rgba(30,126,52,0.2) 100%);
    opacity: 0.8;
}

.hero-bg-half-3 {
    background: linear-gradient(135deg, rgba(255,107,53,0.2) 0%, rgba(255,159,64,0.2) 100%);
    opacity: 0.8;
}

.hero-bg-half-4 {
    background: linear-gradient(135deg, rgba(153,102,255,0.2) 0%, rgba(102,51,255,0.2) 100%);
    opacity: 0.8;
}

.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    z-index: 2;
    opacity: 0.2;
}

.hero-shape-1 {
    background: radial-gradient(circle, var(--bs-primary) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-shape-2 {
    background: linear-gradient(45deg, var(--bs-success) 0%, transparent 70%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Responsive Carousel - Following instruction file breakpoints */
@media only screen and (max-width: 768px) {
    .header-carousel,
    .header-carousel-item {
        height: 500px !important;
    }
    
    .carousel-caption {
        padding: var(--spacing-md);
    }
    
    .carousel-content-left {
        width: 100%;
        padding-right: 0;
    }
    
    .carousel-bg-half {
        width: 100%;
        opacity: 0.15;  /* Make background more subtle on mobile */
    }
    
    .owl-nav .owl-prev,
    .owl-nav .owl-next {
        display: none;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem !important;
    }
    
    .carousel-caption p {
        font-size: 0.9rem !important;
    }
}

@media only screen and (min-width: 1224px) {
    .header-carousel,
    .header-carousel-item {
        height: 600px !important;
        min-height: 600px !important;
        max-height: 600px !important;
    }
}

/* Hero Section - Critical above-the-fold content */
.hero-section {
    background: none; /* Remove the background image to let our gradient backgrounds show */
    min-height: 350px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-content h1 {
    background: linear-gradient(135deg, var(--bs-dark) 0%, var(--bs-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons - Critical for user interaction */
.btn {
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bs-primary) 100%);
    border-color: var(--primary-dark);
}

/* Bootstrap Primary Color Override - Critical for brand consistency */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}

/* Mobile Navigation - Critical for mobile users */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
    
    .navbar-collapse {
        background: var(--bs-white);
        box-shadow: var(--box-shadow);
        border-radius: var(--border-radius-lg);
        margin-top: var(--spacing-md);
        padding: var(--spacing-lg);
    }
    
    .navbar-toggler {
        border: none !important;
        padding: 0.25rem !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        position: relative;
        width: 40px;
        height: 40px;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Responsive Typography - Critical for mobile readability */
@media (max-width: 767.98px) {
    :root {
        --font-size-base: 0.875rem;
        --spacing-xxl: 1rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
}

/* Performance Optimizations - Critical for loading speed */
.will-change-transform {
    will-change: transform;
}

.will-change-scroll {
    will-change: scroll-position;
}

/* Reduced Motion Support - Critical for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-section {
        background-attachment: scroll !important;
    }
}

/* High Contrast Support - Critical for accessibility */
@media (prefers-contrast: high) {
    :root {
        --bs-primary: #0000ff;
        --bs-dark: #000000;
        --bs-light: #ffffff;
    }
    
    .btn-outline-primary {
        border-width: 3px;
    }
    
    .nav-link:focus {
        outline: 3px solid var(--bs-primary);
    }
}

/* ==========================================================================
   2. COMPLETE BASE STYLES (from style.css - Full Content)
   ========================================================================== */

/* Global Base Elements */
a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Container Enhancement */
.container,
.container-fluid {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

/* Service Pills Enhancement */
.service-pills {
    background: var(--bs-light);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
    overflow-x: auto;
}

.service-pill {
    background: var(--bs-white);
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--bs-dark);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.service-pill:hover,
.service-pill.active {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

/* Industry Cards Enhancement */
.industry-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-light);
}

.industry-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 2rem;
    color: var(--bs-white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bs-primary);
    color: var(--bs-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    box-shadow: var(--box-shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer Enhancement */
.footer {
    background: var(--bs-dark);
    color: var(--bs-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer h5 {
    color: var(--bs-primary);
    margin-bottom: var(--spacing-lg);
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--bs-primary);
}

/* Footer text-muted override - Make footer links white */
.footer .text-muted,
footer .text-muted,
.bg-dark .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer .text-muted:hover,
footer .text-muted:hover,
.bg-dark .text-muted:hover {
    color: var(--bs-primary) !important;
}

/* ==========================================================================
   3. COMPLETE SERVICE SECTION STYLES (from index.css - Full Content)
   ========================================================================== */

/* Service Section Main */
.service {
    padding: 40px 0 20px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

@media (max-width: 768px) {
    .service {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .service {
        padding: 15px 0;
    }
}

/* Services Grid */
/* Service Cards Layout */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
        margin-top: 1rem;
        padding: 0 0.75rem;
    }
}

@media (max-width: 480px) {
    .service-cards {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding: 0 0.5rem;
    }
}

/* Industries Cards Layout */
.industry-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-cards,
    .industry-cards {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem;
    min-width: 0; /* Prevents overflow in grid */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--bs-primary);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    transition: var(--transition-base);
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--bs-primary);
    font-size: 1.5rem;
    transition: var(--transition-base);
}

.service-card:hover .service-card-icon {
    background: var(--bs-primary);
    color: var(--bs-white);
    transform: rotateY(180deg);
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.service-card-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
    margin-top: auto;
}

.service-card-link i {
    transition: var(--transition-base);
}

.service-card-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.service-card-link:hover i {
    transform: translateX(5px);
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0; /* Prevents overflow in grid */
    aspect-ratio: 1 / 1; /* Makes cards square for better visual appearance */
}

.industry-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255,107,53,0.1) 0%, 
        rgba(255,107,53,0) 50%,
        rgba(255,107,53,0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-base);
}

.industry-card:hover::after {
    opacity: 1;
    transform: translateY(-100%);
}

.industry-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--bs-white);
    font-size: 2rem;
    transition: var(--transition-base);
    position: relative;
    z-index: 2;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--bs-primary);
}

.industry-card:hover .industry-card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 20px rgba(255,107,53,0.3);
}

.industry-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-dark);
    position: relative;
    z-index: 2;
}

.industry-card-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.industry-card-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
    position: relative;
    z-index: 2;
}

.industry-card-link i {
    transition: var(--transition-base);
}

.industry-card-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.industry-card-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card-img {
        height: 180px;
    }

    .service-card-body,
    .industry-card {
        padding: 1.5rem;
    }

    .service-card-title,
    .industry-card-title {
        font-size: 1.25rem;
    }

    .service-card-icon,
    .industry-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Container adjustments for full width */
.service .container-fluid {
    max-width: none;
    padding: 0;
}

.service .container {
    max-width: 100%;
    padding: 0 2rem;
}

/* Container adjustments for full width */
.service .container-fluid {
    max-width: none;
    padding: 0;
}

.service .container {
    max-width: 100%;
    padding: 0 2rem;
}

/* Equal height boxes for SCADA section */
.team-item,
.service-item {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    transform: none;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: var(--border-radius-lg);
}

@media (min-width: 992px) {
    .team-item,
    .service-item {
        min-height: 350px;
    }
}

.team-item .team-img {
    height: 300px;
    overflow: hidden;
}

.team-item .team-img img {
    height: 100%;
    object-fit: cover;
}

.team-item .text-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item {
    padding: 2rem;
}

.service-item ul {
    flex-grow: 1;
    margin-bottom: 0;
}

/* Enhanced Service Styles */
.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, rgba(255,107,53,0) 70%);
    z-index: -1;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.1; }
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.transition-transform {
    transition: transform 0.3s ease-in-out;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Service Nav Pills */
.service .nav-link {
    position: relative;
    overflow: hidden;
}

.service .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: width 0.3s ease;
}

.service .nav-link:hover::after,
.service .nav-link.active::after {
    width: 100%;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/Background.jpg') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.service > .container-fluid {
    position: relative;
    z-index: 1;
}

/* Service Navigation */
.service-nav-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem 1rem;
    border-left: 4px solid var(--bs-primary);
    height: 100%;
    min-height: 400px;
}

.service .nav-link {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.service .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.service .nav-link:hover::before,
.service .nav-link.active::before {
    left: 100%;
}

.service .nav-link:hover,
.service .nav-link.active {
    background: var(--bs-primary);
    color: var(--active-green) !important;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Service Tab Content */
.service .tab-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    min-height: 400px;
    border-left: 4px solid var(--bs-primary);
}

.service .service-carousel {
    margin: 0;
    padding: 0;
}

.service .service-item {
    background: var(--bs-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 0 10px;
    height: auto;
}

.service .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service .service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service .service-item:hover img {
    transform: scale(1.05);
}

.service .service-item .border {
    padding: 1.5rem;
    border: none !important;
}

.service .service-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    line-height: 1.3;
}

.service .service-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
    margin-bottom: 1rem;
}

.service .service-item .btn {
    background: var(--bs-primary);
    color: var(--bs-white);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.service .service-item .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Owl Carousel Controls */
.service .owl-nav {
    margin-top: 2rem;
    text-align: center;
}

.service .owl-nav button {
    background: var(--bs-primary);
    color: var(--bs-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 5px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.service .owl-nav button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.service .owl-dots {
    text-align: center;
    margin-top: 1rem;
}

.service .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.service .owl-dots .owl-dot.active {
    background: var(--bs-primary);
}

/* ==========================================================================
   4. COMPLETE HERO SECTION STYLES (from index.css - Full Content)
   ========================================================================== */

/* Hero Section Enhancement */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/particle-burst-golden-sparkle-shimmer-background-illustration.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--bs-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(33, 37, 41, 0.8);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   5. COMPLETE ABOUT SECTION STYLES (from index.css - Full Content)
   ========================================================================== */

.about-section {
    padding: 5rem 0;
    background: var(--bs-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--bs-dark);
}

.about-text .lead {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #6c757d;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-features li i {
    color: var(--bs-primary);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* ==========================================================================
   6. COMPLETE INDUSTRIES SECTION STYLES (from index.css - Full Content)
   ========================================================================== */

.industries-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.industry-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.industry-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.industry-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.industry-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* ==========================================================================
   7. COMPLETE STATISTICS SECTION STYLES (from index.css - Full Content)
   ========================================================================== */

.stats-section {
    padding: 4rem 0;
    background: var(--bs-primary);
    color: var(--bs-white);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ==========================================================================
   8. COMPLETE CONTACT CTA SECTION STYLES (from index.css - Full Content)
   ========================================================================== */

.contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bs-dark) 0%, #2c2c2c 100%);
    color: var(--bs-white);
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

.contact-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   9. COMPLETE IIOT SECTION STYLES
   ========================================================================== */

/* IIOT Solutions Section */
.iiot-section .benefits-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.iiot-section .benefit-col {
    flex: 0 0 320px;         /* fixed card width so cards stay in one line */
    max-width: 320px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

.iiot-section .benefit-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}

.iiot-section .benefit-card h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.iiot-section .benefit-features {
    margin: 0;
    padding-left: 1rem;
    list-style: none;
}

.iiot-section .benefit-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* Larger screens: try to fit more cards without scrolling */
@media (min-width: 1200px) {
    .iiot-section .benefit-col {
        flex: 0 0 22%;
        max-width: 22%;
    }
    .iiot-section .benefits-row {
        justify-content: center;
    }
}

/* Ensure focusable horizontal scroll is visible for keyboard users */
.iiot-section .benefits-row:focus {
    outline: 3px solid rgba(13,110,253,0.25);
    outline-offset: 4px;
}

/* IIOT Icon Styles */
.iiot-section .benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--bs-primary);
    margin-bottom: 1rem;
    border-radius: 50%;
}

.iiot-section .benefit-icon i {
    font-size: 1.5rem;
}

/* ==========================================================================
   10. INDUSTRIAL HARDWARE STYLES
   ========================================================================== */

/* Hardware Solutions Grid Layout */
.hardware-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.hardware-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hardware-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    z-index: 2;
}

.hardware-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hardware-card-content {
    padding: 2rem;
}

.hardware-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.2) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.hardware-card:hover .hardware-card-icon {
    transform: rotateY(180deg);
}

.hardware-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.hardware-card-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.hardware-card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
}

.hardware-card-list li i {
    color: var(--bs-primary);
    font-size: 1.2rem;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/particle-burst-golden-sparkle-shimmer-background-illustration.jpg') center/cover;
    opacity: 0.05;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.benefit-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.benefit-item p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.industry-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.industry-icon {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.industry-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bs-dark);
}

/* Call to Action Section */
.hardware-cta {
    background: linear-gradient(135deg, var(--bs-dark) 0%, #2c2c2c 100%);
    padding: 4rem 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hardware-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-dots.png') repeat;
    opacity: 0.1;
}

.hardware-cta .container {
    position: relative;
    z-index: 2;
}

.hardware-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hardware-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hardware-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hardware-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Support Features Section */
.support-features {
    padding: 5rem 0;
    background: #ffffff;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.support-item {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.support-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.support-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.support-item p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.support-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-item ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.support-item ul li i {
    color: var(--bs-primary);
}

/* Hardware Showcase Styles */
.hardware-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hardware-showcase img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.hardware-showcase:hover img {
    transform: scale(1.05);
}

.hardware-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.spec-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.spec-point::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.spec-label {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    transform: translateX(-50%);
    bottom: calc(100% + 10px);
    left: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-point:hover .spec-label {
    opacity: 1;
}

/* Feature Timeline */
.feature-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 1rem;
    flex-shrink: 0;
}

.timeline-content {
    flex-grow: 1;
}

.timeline-content h6 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
}

.timeline-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Success Stories Section */
.success-stories-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.story-slide {
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.story-metrics {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.metric-text {
    font-size: 0.9rem;
    color: #aaa;
}

.story-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 2rem 0;
}

.story-author {
    text-align: right;
}

.story-author strong {
    display: block;
    color: var(--primary-color);
}

.story-author span {
    font-size: 0.9rem;
    color: #aaa;
}

/* Hardware CTA Section */
.hardware-cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-action,
.btn-secondary-action {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-primary-action {
    background: var(--primary-color);
    color: #fff;
}

.btn-secondary-action {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary-action:hover,
.btn-secondary-action:hover {
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hardware-solutions {
        grid-template-columns: 1fr;
    }
    
    .hardware-card {
        margin: 0 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
    
    .hardware-cta {
        padding: 3rem 1rem;
    }
    
    .hardware-cta h2 {
        font-size: 2rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* ==========================================================================
   11. COMPLETE INDUSTRIAL AUTOMATION STYLES (from Industrial Automation.css - 61.4KB Full Content)
   ========================================================================== */

/* Industrial Automation Page Header */
.industrial-automation-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.industrial-automation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/industrial-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.industrial-automation-header .container {
    position: relative;
    z-index: 2;
}

.industrial-automation-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

/* Carousel Styles - Industrial Automation Specific */
.carousel-container {
    position: relative;
    width: 100%;
    height: 390px; /* Increased from 360px by 30px as per requirement */
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide-content {
    text-align: center;
    color: var(--bs-white);
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.carousel-slide h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-slide p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--bs-primary);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--bs-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* SCADA Systems Section */
.scada-systems {
    padding: 5rem 0;
    background: var(--bs-white);
}

.scada-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.scada-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.scada-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 60, 114, 0.1), transparent);
    transition: var(--transition-base);
}

.scada-card:hover::before {
    left: 100%;
}

.scada-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #1e3c72;
}

.scada-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.scada-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.scada-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-dark);
    margin: 0;
}

.scada-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.scada-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.scada-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.scada-features li i {
    color: #1e3c72;
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

/* PLC Programming Section */
.plc-programming {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.plc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plc-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.plc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: #4A90E2;
}

.plc-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
}

.plc-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.plc-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.plc-specifications {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    text-align: left;
}

.plc-specifications h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.plc-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plc-specs-list li {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* IT-OT Integration Section */
.it-ot-integration {
    padding: 5rem 0;
    background: var(--bs-white);
}

.it-ot-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.it-ot-visual {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    color: var(--bs-white);
    text-align: center;
}

.it-ot-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/network-pattern.png') repeat;
    opacity: 0.1;
    border-radius: var(--border-radius-lg);
}

.it-ot-visual .content {
    position: relative;
    z-index: 2;
}

.it-ot-layers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.it-ot-layer {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.it-ot-layer h5 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.it-ot-layer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.it-ot-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--bs-dark);
}

.it-ot-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 2rem;
}

.it-ot-benefits {
    list-style: none;
    padding: 0;
}

.it-ot-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.it-ot-benefits li i {
    color: #667eea;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Professional Corporate Design */
.professional-header {
    background: white;
    color: var(--bs-dark);
    padding: 2rem 0;
    position: relative;
}

.professional-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/corporate-pattern.png') repeat;
    opacity: 0.05;
}

.professional-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.professional-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.professional-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 300;
}

/* MES Integration Section with Network Levels */
.mes-integration {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mes-network {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mes-level {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--box-shadow-sm);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mes-level:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow);
}

.mes-level-0 {
    border-left-color: #e74c3c;
}

.mes-level-1 {
    border-left-color: #f39c12;
}

.mes-level-2 {
    border-left-color: #f1c40f;
}

.mes-level-3 {
    border-left-color: #27ae60;
}

.mes-level-4 {
    border-left-color: #3498db;
}

.mes-level-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--bs-white);
    flex-shrink: 0;
}

.mes-level-0 .mes-level-icon {
    background: #e74c3c;
}

.mes-level-1 .mes-level-icon {
    background: #f39c12;
}

.mes-level-2 .mes-level-icon {
    background: #f1c40f;
}

.mes-level-3 .mes-level-icon {
    background: #27ae60;
}

.mes-level-4 .mes-level-icon {
    background: #3498db;
}

.mes-level-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--bs-dark);
}

.mes-level-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.mes-level-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
}

/* AI and IIoT Integration Section */
.ai-iiot-section {
    padding: 5rem 0;
    background: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.ai-iiot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.03) 0%, rgba(155, 89, 182, 0.03) 100%);
}

.ai-iiot-content {
    position: relative;
    z-index: 2;
}

.ai-applications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ai-application-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(155, 89, 182, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-application-card:hover::before {
    opacity: 1;
}

.ai-application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #3498db;
}

.ai-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.ai-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
}

.ai-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-dark);
    margin: 0;
}

.ai-card-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.ai-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.ai-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.ai-benefits li i {
    color: #3498db;
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

/* IIoT Technology Cards */
.iiot-technologies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.iiot-tech-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.iiot-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.1), transparent);
    transition: left 0.5s ease;
}

.iiot-tech-card:hover::before {
    left: 100%;
}

.iiot-tech-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: #9b59b6;
}

.iiot-tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.iiot-tech-card h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.iiot-tech-card p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Interactive Elements and Animations */
.interactive-demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    color: var(--bs-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.interactive-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/circuit-pattern.png') repeat;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.interactive-content {
    position: relative;
    z-index: 2;
}

.interactive-demo h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.interactive-demo p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.demo-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.demo-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.demo-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.demo-feature h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.demo-feature p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Floating Particles Animation */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle 10s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 1s; }
.particle:nth-child(7) { left: 70%; animation-delay: 3s; }
.particle:nth-child(8) { left: 80%; animation-delay: 5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 7s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }

/* ==========================================================================
   10. COMPLETE MOBILE NAVIGATION SYSTEM (from index.css - Full Content)
   ========================================================================== */

/* Mobile Navigation System - Index Only */
@media (max-width: 991px) {
    /* Prevent background scroll when menu open */
    body.no-scroll { 
        overflow: hidden; 
    }

    /* Hide Bootstrap collapse nav on index mobile to avoid two menus */
    #navbarCollapse.collapse { 
        display: none !important; 
    }

    /* Topbar toggle button (hamburger) */
    .mobile-menu-toggle {
        appearance: none;
        border: 0;
        background: transparent;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-icon { 
        position: relative; 
        width: 26px; 
        height: 20px; 
        display: inline-block; 
    }
    
    .mobile-menu-icon .line {
        position: absolute; 
        left: 0; 
        right: 0; 
        height: 2px; 
        background: var(--bs-primary) !important; 
        border-radius: 2px;
        transform-origin: center; 
        transition: transform .25s ease, opacity .2s ease, top .25s ease;
    }
    
    .mobile-menu-icon .line:nth-child(1) { top: 0; }
    .mobile-menu-icon .line:nth-child(2) { top: 9px; }
    .mobile-menu-icon .line:nth-child(3) { top: 18px; }
    
    /* Toggle to X when expanded */
    .mobile-menu-toggle[aria-expanded="true"] .line:nth-child(1) { 
        top: 9px; 
        transform: rotate(45deg); 
    }
    .mobile-menu-toggle[aria-expanded="true"] .line:nth-child(2) { 
        opacity: 0; 
    }
    .mobile-menu-toggle[aria-expanded="true"] .line:nth-child(3) { 
        top: 9px; 
        transform: rotate(-45deg); 
    }

    /* Overlay root */
    .mobile-menu-overlay {
        position: fixed; 
        inset: 0; 
        z-index: 1100; 
        display: none; /* controlled by .is-open */
    }
    .mobile-menu-overlay.is-open { 
        display: block; 
    }
    
    .mobile-menu-scrim { 
        position: absolute; 
        inset: 0; 
        background: rgba(0,0,0,.25); 
        opacity: 0; 
        transition: opacity .3s ease; 
    }
    .mobile-menu-overlay.is-open .mobile-menu-scrim { 
        opacity: 1; 
    }

    /* Container slides from right */
    .mobile-menu-container {
        position: absolute; 
        inset: 0; 
        background: #fff8f3; /* orange-tinted pastel */ 
        color: var(--bs-dark);
        display: flex; 
        flex-direction: column; 
        transform: translateX(100%); 
        transition: transform .35s ease;
        box-shadow: 0 0 0 1px #ffe2d6;
    }
    .mobile-menu-overlay.is-open .mobile-menu-container { 
        transform: translateX(0%); 
    }

    /* Topbar inside overlay */
    .mobile-menu-topbar { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        padding: 16px; 
    }
    .mobile-logo { 
        display: inline-flex; 
        align-items: center; 
        gap: 8px; 
        text-decoration: none; 
        color: var(--bs-dark); 
        font-weight: 700; 
    }
    .mobile-logo i { 
        color: var(--bs-primary); 
    }
    .mobile-menu-close { 
        width: 36px; 
        height: 36px; 
        border-radius: 8px; 
        border: 0; 
        background: var(--bs-light); 
        display: inline-flex; 
        align-items: center; 
        justify-content: center; 
    }
    .mobile-close-icon { 
        position: relative; 
        width: 18px; 
        height: 18px; 
    }
    .mobile-close-icon::before, 
    .mobile-close-icon::after { 
        content: ""; 
        position: absolute; 
        left: 0; 
        right: 0; 
        top: 8px; 
        height: 2px; 
        background: var(--bs-dark); 
    }
    .mobile-close-icon::before { 
        transform: rotate(45deg); 
    }
    .mobile-close-icon::after { 
        transform: rotate(-45deg); 
    }

    /* Sliding viewport */
    .mobile-menu-viewport { 
        position: relative; 
        flex: 1; 
        overflow: hidden; 
    }
    .mobile-panel { 
        position: absolute; 
        inset: 0; 
        padding: 12px 16px 20px; 
        overflow-y: auto; 
        width: 100%; 
        left: 0; 
        right: 0; 
    }
    .mobile-panel--main { 
        transform: translateX(0%); 
        transition: transform .35s ease; 
    }
    .mobile-panel--submenu { 
        transform: translateX(100%); 
        transition: transform .35s ease; 
        background: #fff; 
        width: 100%; 
        left: 0; 
        right: 0; 
    }

    /* Panel transitions */
    .mobile-menu-viewport[data-active="main"] .mobile-panel--main { 
        transform: translateX(0%); 
    }
    .mobile-menu-viewport[data-active="main"] .mobile-panel--submenu { 
        transform: translateY(100%); 
    }
    .mobile-menu-viewport[data-active="services"] .mobile-panel--main,
    .mobile-menu-viewport[data-active="industries"] .mobile-panel--main { 
        transform: translateX(-100%); 
    }
    .mobile-menu-viewport[data-active="services"] .mobile-panel--submenu[data-panel="services"],
    .mobile-menu-viewport[data-active="industries"] .mobile-panel--submenu[data-panel="industries"] { 
        transform: translateX(0%); 
    }

    /* About submenu special handling */
    .mobile-menu-viewport[data-active="about"] .mobile-panel--submenu[data-panel="about"] {
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        background: #fff !important;
        z-index: 2 !important;
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        box-shadow: none !important;
    }

    /* Hide other panels when about is active */
    .mobile-menu-viewport[data-active="about"] .mobile-panel--main,
    .mobile-menu-viewport[data-active="about"] .mobile-panel--submenu:not([data-panel="about"]) {
        display: none !important;
    }

    /* Only show the active panel, hide others completely */
    .mobile-menu-viewport .mobile-panel { 
        display: none; 
    }
    .mobile-menu-viewport[data-active="main"] .mobile-panel--main { 
        display: block; 
    }
    .mobile-menu-viewport[data-active="services"] .mobile-panel--submenu[data-panel="services"] { 
        display: block; 
    }
    .mobile-menu-viewport[data-active="industries"] .mobile-panel--submenu[data-panel="industries"] { 
        display: block; 
    }
    .mobile-menu-viewport[data-active="about"] .mobile-panel--submenu[data-panel="about"] { 
        display: block; 
    }

    /* Main list */
    .mobile-nav { 
        margin-top: 8px; 
    }
    .mobile-list { 
        list-style: none; 
        padding: 0; 
        margin: 0; 
        display: flex; 
        flex-direction: column; 
        gap: 8px; 
    }
    .mobile-link {
        width: 100%; 
        text-align: left; 
        padding: 14px 14px; 
        border-radius: 12px;
        border: 1px solid var(--bs-primary); 
        background: #fff; 
        color: var(--bs-dark);
        font-weight: 600; 
        text-decoration: none; 
        display: block;
        box-shadow: 0 2px 8px rgba(255,107,53,0.04);
        transition: background .2s, color .2s, border .2s;
    }
    .mobile-link:focus { 
        outline: 3px solid var(--bs-primary); 
        outline-offset: 2px; 
    }
    .mobile-link.has-children { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
    }
    .mobile-link.has-children::after { 
        content: "›"; 
        font-size: 18px; 
        color: var(--bs-primary); 
    }
    .mobile-link:hover, 
    .mobile-link:active {
        background: var(--bs-primary); 
        color: #fff;
        border-color: var(--bs-primary);
    }

    /* CTA */
    .mobile-cta { 
        margin-top: auto; 
        padding-top: 16px; 
    }
    .mobile-cta-btn {
        display: block; 
        width: 100%; 
        text-align: center; 
        padding: 14px 18px; 
        border-radius: 999px;
        background: var(--bs-primary); 
        color: #fff; 
        font-weight: 700; 
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(255,107,53,0.18);
        border: none;
        transition: background .2s;
    }
    .mobile-cta-btn:focus { 
        outline: 3px solid var(--bs-primary); 
        outline-offset: 2px; 
    }
    .mobile-cta-btn:hover, 
    .mobile-cta-btn:active { 
        background: var(--primary-dark); 
    }

    /* Submenu header */
    .submenu-header { 
        display: flex; 
        align-items: center; 
        gap: 8px; 
        margin-bottom: 8px; 
    }
    .submenu-back {
        appearance: none; 
        border: 1px solid var(--bs-primary); 
        background: #fff; 
        border-radius: 10px;
        padding: 8px 10px; 
        display: inline-flex; 
        align-items: center; 
        gap: 8px; 
        color: var(--bs-dark); 
        font-weight: 600;
        transition: background .2s, color .2s, border .2s;
    }
    .submenu-back:focus { 
        outline: 3px solid var(--bs-primary); 
        outline-offset: 2px; 
    }
    .submenu-back:hover, 
    .submenu-back:active { 
        background: var(--bs-primary); 
        color: #fff; 
        border-color: var(--bs-primary); 
    }
    .submenu-title { 
        margin: 0 0 0 auto; 
        font-size: 1.1rem; 
        font-weight: 700; 
        color: var(--bs-primary); 
    }

    /* Submenu list */
    .submenu-list { 
        list-style: none; 
        padding: 0; 
        margin: 8px 0 0; 
        display: grid; 
        grid-template-columns: 1fr; 
        gap: 10px; 
    }
    .submenu-item {
        display: grid; 
        grid-template-columns: 56px 1fr; 
        gap: 12px; 
        padding: 12px; 
        border-radius: 12px;
        border: 1px solid var(--bs-primary); 
        background: #fff; 
        text-decoration: none; 
        color: var(--bs-dark); 
        align-items: center;
        box-shadow: 0 2px 8px rgba(255,107,53,0.04);
        transition: background .2s, color .2s, border .2s;
    }
    .submenu-item:focus { 
        outline: 3px solid var(--bs-primary); 
        outline-offset: 2px; 
    }
    .submenu-item:hover, 
    .submenu-item:active { 
        background: var(--bs-primary); 
        color: #fff; 
        border-color: var(--bs-primary); 
    }
    .submenu-icon { 
        width: 56px; 
        height: 56px; 
        object-fit: contain; 
        border-radius: 8px; 
        background: #fff8f3; 
        border: 1px solid #ffe2d6; 
    }
    .submenu-text h3 { 
        font-size: 1rem; 
        margin: 0 0 2px; 
        font-weight: 700; 
        color: var(--bs-primary); 
    }
    .submenu-text p { 
        font-size: .9rem; 
        margin: 0; 
        color: var(--bs-dark); 
    }
}

/* Ensure overlay menu is hidden and desktop/tablet nav is visible for screens ≥ 992px */
@media (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-menu-toggle {
        display: none !important;
    }
    #navbarCollapse.collapse {
        display: flex !important;
    }
}

/* ==========================================================================
   11. COMPLETE MOBILE CAROUSEL DESIGN (from index.css - Full Content)
   ========================================================================== */

/* 🎠 SIMPLE HORIZONTAL CAROUSEL MOBILE DESIGN 🎠 */
@media screen and (max-width: 767.98px) {
    /* OVERRIDE all conflicting styles with highest specificity */
    body .service {
        padding: 30px 0 !important;
        background: #f8f9fa !important;
    }
    
    /* Hide desktop navigation completely on mobile */
    body .service .row {
        display: block !important;
        flex-direction: column !important;
    }
    
    body .service .col-lg-2 {
        display: none !important;
        flex: none !important;
        max-width: none !important;
    }
    
    body .service .col-lg-10 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        flex: none !important;
    }
    
    body .service .service-nav-wrapper {
        display: none !important;
    }
    
    /* Force all tab panes to be visible */
    body .service .tab-content {
        padding: 0 !important;
        background: transparent !important;
        min-height: auto !important;
        height: auto !important;
        box-shadow: none !important;
    }
    
    body .service .tab-pane {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        margin-bottom: 50px !important;
        padding: 0 !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    /* Add category headers */
    body .service .tab-pane::before {
        content: attr(data-title) !important;
        display: block !important;
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        color: var(--bs-primary) !important;
        text-align: center !important;
        margin-bottom: 25px !important;
        padding: 20px !important;
        background: white !important;
        border-radius: 15px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        border-left: 5px solid var(--bs-primary) !important;
    }
    
    body .service .tab-pane#ServiceTab-1::before { 
        content: "🤖 Industrial Automation Solutions" !important; 
    }
    body .service .tab-pane#ServiceTab-2::before { 
        content: "🌐 Industrial IoT (IIOT) Services" !important; 
    }
    body .service .tab-pane#ServiceTab-3::before { 
        content: "💻 Software Development Services" !important; 
    }
    body .service .tab-pane#ServiceTab-4::before { 
        content: "⚙️ Industrial Hardware Solutions" !important; 
    }
    
    /* Configure Owl Carousel for simple horizontal scrolling */
    body .service .service-carousel.owl-carousel {
        display: block !important;
        background: #007bff !important; /* Blue background like screenshot */
        border-radius: 15px !important;
        padding: 20px 10px !important;
        margin: 0 !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Service items - white cards like the cars */
    body .service .service-item {
        background: white !important;
        border-radius: 10px !important;
        margin: 0 8px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
        transition: all 0.3s ease !important;
        border: none !important;
        height: 320px !important; /* Fixed height like the car cards */
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        min-height: 320px !important;
        max-height: 320px !important;
    }
    
    body .service .service-item img {
        width: 100% !important;
        height: 160px !important; /* Half the card height for image */
        object-fit: cover !important;
        flex-shrink: 0 !important;
        min-height: 160px !important;
        max-height: 160px !important;
        border-radius: 0 !important;
    }
    
    body .service .service-item .border {
        border: none !important;
        padding: 15px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        background: white !important;
    }
    
    body .service .service-item h4 {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #2c3e50 !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
        height: 40px !important; /* Fixed height */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    body .service .service-item p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        color: #6c757d !important;
        margin-bottom: 12px !important;
        height: 60px !important; /* Fixed height */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        flex: 1 !important;
    }
    
    body .service .service-item .btn {
        background: var(--bs-primary) !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 8px 15px !important;
        font-weight: 600 !important;
        font-size: 0.8rem !important;
        color: white !important;
        width: 100% !important;
        transition: all 0.3s ease !important;
        margin-top: auto !important;
        text-decoration: none !important;
    }
    
    body .service .service-item .btn:hover {
        background: #0056b3 !important;
        transform: translateY(-1px) !important;
        color: white !important;
    }
    
    /* Carousel navigation arrows - white circles like screenshot */
    body .service .owl-nav {
        position: absolute !important;
        top: 50% !important;
        width: 100% !important;
        transform: translateY(-50%) !important;
        pointer-events: none !important;
        display: block !important;
        text-align: center !important;
        margin-top: 0 !important;
    }
    
    body .service .owl-nav button {
        position: absolute !important;
        background: white !important;
        color: #007bff !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        border: none !important;
        font-size: 16px !important;
        transition: all 0.3s ease !important;
        pointer-events: all !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
        margin: 0 !important;
    }
    
    body .service .owl-nav .owl-prev {
        left: -15px !important;
    }
    
    body .service .owl-nav .owl-next {
        right: -15px !important;
    }
    
    body .service .owl-nav button:hover {
        background: #f8f9fa !important;
        transform: scale(1.1) !important;
        color: #0056b3 !important;
    }
    
    /* Hide dots - keep it clean like screenshot */
    body .service .owl-dots {
        display: none !important;
    }
} /* End of mobile media query */

/* ==========================================================================
   Manufacturing Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   Manufacturing Page Header & Hero Section 
   ========================================================================== */
.manufacturing-header {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.manufacturing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/manufacturing-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.manufacturing-header .container {
    position: relative;
    z-index: 2;
}

.manufacturing-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

.manufacturing-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.manufacturing-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-orange);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* ========================================================================== 
   Manufacturing Solutions Section 
   ========================================================================== */
.manufacturing-solutions {
    padding: 5rem 0;
    background: var(--bs-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
    transition: var(--transition-base);
}

.solution-card:hover::before {
    left: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #2C3E50;
}

.solution-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-dark);
    margin: 0;
}

.solution-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.solution-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.solution-features li i {
    color: var(--bs-orange);
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

.solution-benefits {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.solution-benefits h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.benefit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: var(--bs-orange);
    color: var(--bs-white);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.solution-cta {
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: var(--bs-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition-base);
    width: 100%;
}

.solution-cta:hover {
    background: linear-gradient(135deg, #34495E, #2C3E50);
    transform: translateY(-2px);
}

/* Legacy Manufacturing Styles (preserved from existing file) */
:root {
    --mf-primary: #FF6B35;
}

.swipper_inner h6 {
    color: var(--mf-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.swipper_inner h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.swipper_inner p {
    font-size: 1rem;
    color: #444;
}

.product_img img {
    width: 100%;
    height: auto;
    max-width: 520px;
    border-radius: 8px;
}

/* Gallery grid tweaks */
.fws_gallery .content img.img-fluid {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* Service item contrast on this page */
.service-item img {
    max-width: 250px;
    height: auto;
}

/* Responsive: keep two-column hero at laptop widths */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .swipper_inner h2 { font-size: 1.8rem; }
    .product_img img { max-width: 420px; }
}

@media (max-width: 767.98px) {
    .swipper_inner h2 { font-size: 1.4rem; }
    .fws_gallery .content img.img-fluid { height: 160px; }
}

/* Accessibility focus states for buttons */
.swipper_inner .btn:focus { outline: 3px solid rgba(255,107,53,0.18); outline-offset: 2px; }

/* Swiper / hero slide improvements */
.swiper-2 { position: relative; }
.swiper-2 .swiper-slide { display: flex; align-items: center; min-height: 380px; }
.swiper-2 .container { max-width: 1140px; }
.product_img { display: flex; justify-content: center; align-items: center; }
.product_img img { width: 100%; max-width: 520px; height: auto; object-fit: cover; }

@media (min-width: 1200px) {
    .swiper-2 .swiper-slide { min-height: 480px; }
    .product_img img { max-width: 620px; }
}

@media (max-width: 767.98px) {
    .swiper-2 .swiper-slide { min-height: 260px; }
    .product_img img { max-width: 100%; height: auto; }
}

/* Make Swiper take full width and use the particle background for all swiper instances */
.swiper, .swiper-2 {
    width: 100%;
    max-width: 100%;
    background: url('../images/particle-burst-golden-sparkle-shimmer-background-illustration.jpg') center center / cover no-repeat;
    background-attachment: scroll;
}

/* keep page content centered inside a full-width swiper */
.swiper-2 .container { max-width: 1140px; margin: 0 auto; }

/* Navigation buttons: hide inner text and show arrows */
.swiper-button-prev,
.swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    text-indent: -9999px; /* hide any text labels */
    overflow: hidden;
    z-index: 30;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    text-indent: 0;
    font-family: inherit;
    font-size: 18px;
    color: #fff;
}
.swiper-button-prev::after { content: '\2190'; } /* ← */
.swiper-button-next::after { content: '\2192'; } /* → */

.swiper-button-prev:hover,
.swiper-button-next:hover { background: rgba(0,0,0,0.6); }

/* Ensure arrows are accessible */
.swiper-button-prev[aria-label], .swiper-button-next[aria-label] { outline: none; }

/* Match index carousel arrow design and add spacing around sections */
/* Arrow sizing, color and placement to match `index.html` header carousel */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--mf-primary); /* page-specific primary (orange) */
    color: #fff;
    border: 2px solid #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    pointer-events: all;
    z-index: 40;
    text-indent: -9999px; /* hide any inner text */
}
.swiper-button-prev::after,
.swiper-button-next::after {
    text-indent: 0;
    font-size: 1.25rem;
    color: #fff;
}
.swiper-button-prev { left: 24px; }
.swiper-button-next { right: 24px; }
.swiper-button-prev::after { content: '\2190'; } /* ← */
.swiper-button-next::after { content: '\2192'; } /* → */
.swiper-button-prev:hover, .swiper-button-next:hover { background: var(--primary-dark); }

/* Section padding similar to index layout: add space at start & end of sections on this page */
#swiper_slider_2,
#fws_gallery_2,
#services-2051 {
    padding-block: 1.5rem; /* top & bottom spacing */
}

/* Add horizontal breathing space inside containers to match index design */
.swiper-2 .container,
.fws_gallery .container,
.cs-container,
.container.py-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (max-width: 767.98px) {
    #swiper_slider_2, #fws_gallery_2, #services-2051 { padding-block: 2rem; }
    .swiper-button-prev { left: 8px; }
    .swiper-button-next { right: 8px; }
}

/* === Services / Hero: dark left column + full-height right image + overlay stat box === */
.cs-container { max-width: 1140px; margin: 0 auto; }
.cs-wrapper {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    background: #0f1112; /* deep neutral for left content area */
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding: 0; /* inner blocks will carry padding so image can reach edge */
}
.cs-content {
    flex: 0 0 48%;
    padding: 3.25rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.02));
}
.cs-topper {
    display: inline-block;
    color: var(--mf-primary);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}
.cs-title {
    color: black;
    font-size: 2.6rem;
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: 1.05rem;
}
.cs-text { color: black; font-size: 0.98rem; margin-bottom: 1rem; }
.cs-button-solid {
    display: inline-block;
    margin-top: 1.25rem;
    background: var(--mf-primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(15,15,15,0.35);
}

.cs-picture-group { flex: 0 0 52%; position: relative; min-height: 420px; }
.cs-picture { display: block; height: 100%; width: 100%; }
.cs-picture-group { display: flex; align-items: center; }
.cs-picture img { width: 100%; height: auto; max-height: 100%; object-fit: cover; display: block; }

.cs-box {
    position: absolute;
    right: 2.75rem;
    bottom: 22%;
    transform: translateY(0);
    background: #fff;
    color: #111;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(2,6,23,0.24);
    width: 200px;
    text-align: left;
    z-index: 5;
}
.cs-box-number { display: block; font-weight: 800; font-size: 1.25rem; margin-bottom: 0.25rem; }
.cs-box-desc { display: block; font-size: 0.85rem; color: #666; }

.cs-card-group { display: flex; gap: 1.25rem; margin-top: 2rem; padding: 1.5rem; flex-wrap: wrap; justify-content: center; }
.cs-item { flex: 0 0 calc(50% - 0.625rem); background: #fff; border-radius: 10px; padding: 1.25rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 8px 24px rgba(2,6,23,0.06); box-sizing: border-box; }
.cs-h3 { margin: 0 0 0.5rem 0; color: #111; font-size: 1.15rem; }
.cs-item-text { margin: 0; color: #5a5a5a; font-size: 0.95rem; }
.cs-link { color: var(--mf-primary); font-weight: 700; font-size: 0.9rem; margin-top: 0.5rem; display: inline-block; }
.cs-item-picture img { width: 96px; height: 96px; object-fit: contain; }

/* Responsive behavior: stack on small screens */
@media (max-width: 991.98px) {
    .cs-wrapper { flex-direction: column; border-radius: 10px; }
    .cs-content, .cs-picture-group { flex: 1 1 auto; padding: 1.25rem; }
    .cs-picture-group { min-height: 260px; }
    .cs-box { position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); width: 170px; }
    .cs-card-group { flex-direction: column; padding: 0.75rem; }
    .cs-item { flex: 1 1 100%; }
}

/* Large screens: pull cards up to overlap hero bottom */
@media (min-width: 992px) {
    .cs-card-group { margin-top: -46px; }
    .cs-box { right: 3rem; bottom: 18%; }
}

/* Full-bleed hero: make only the services section span the full viewport width */
#services-2051 {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding-left: 0;
    padding-right: 0;
}

/* Inside the full-bleed section, keep inner cards/content centered */
#services-2051 .cs-container { max-width: 100%; padding: 0; }
#services-2051 .cs-wrapper { max-width: 100%; }
#services-2051 .cs-card-group { max-width: 1140px; margin: -46px auto 0; padding: 1.5rem 1.25rem; }

/* Ensure the image panel fills its column edge-to-edge within the full-bleed row */
#services-2051 .cs-picture-group { min-height: 420px; }
#services-2051 .cs-picture img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Fix: vertical centering and small downward nudge for the right hero image
   Keeps the image centered, prevents top-cropping, and slightly lowers it on large screens
   so the visual matches the reference screenshot. Also adjust stat box and card overlap. */
#services-2051 .cs-picture-group { align-items: center; }
#services-2051 .cs-picture { display: flex; align-items: center; justify-content: flex-end; }
#services-2051 .cs-picture img { object-position: center center; }

@media (min-width: 992px) {
    /* small downward nudge to correct visual offset reported by user */
    #services-2051 .cs-picture img { transform: translateY(6px); }
    /* tighten the stat box so it doesn't overlap cards unexpectedly */
    #services-2051 .cs-box { bottom: 20%; right: 2.5rem; }
    /* slightly reduce overlap of cards so they sit clearly inside the viewport */
    #services-2051 .cs-card-group { margin-top: -36px; }
}

/* === Additional styles for new Manufacturing content === */

/* Industry Gallery Hover Effects */
.industry-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.industry-card:hover .overlay {
    opacity: 1 !important;
}

.industry-card .overlay {
    transition: opacity 0.3s ease;
}

/* Swiper Slider Enhancements */
.swiper-2 {
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
}

.swiper-2 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-attachment: fixed !important;
}

.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--mf-primary);
    opacity: 1;
    transform: scale(1.2);
}

/* Equipment Solutions Cards */
#wrapper-1639 .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

#wrapper-1639 .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

#wrapper-1639 .card-img-top {
    transition: transform 0.3s ease;
}

#wrapper-1639 .card:hover .card-img-top {
    transform: scale(1.05);
}

/* Side by Side Section Enhancements */
#RPsbsr-248 {
    position: relative;
    overflow: hidden;
}

.cs-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(255,107,53,0.1) 50%, transparent 51%);
    pointer-events: none;
    z-index: 1;
}

/* Enhanced button styles */
.cs-button-solid {
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-button-solid:hover {
    background: #e55a2e !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
    color: #fff;
    text-decoration: none;
}

/* Statistics Section */
.bg-primary .fas {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swiper-2 {
        height: 50vh;
        min-height: 400px;
    }
    
    .slide-content {
        background-attachment: scroll !important;
    }
    
    .display-3 {
        font-size: 2rem !important;
    }
    
    .cs-lines {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .swiper-2 {
        height: 60vh;
        min-height: 450px;
    }
}

/* Ensure proper spacing and alignment */
.container {
    max-width: 1140px;
}

/* Animation classes for better UX */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__delay-1s {
    animation-delay: 1s;
}

.animate__delay-2s {
    animation-delay: 2s;
}

/* Focus styles for accessibility */
.btn:focus,
.btn-primary:focus,
.btn-outline-light:focus {
    outline: 3px solid rgba(255,107,53,0.3);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .swiper-button-prev,
    .swiper-button-next,
    .swiper-pagination {
        display: none !important;
    }
    
    .slide-content {
        background: none !important;
        color: #000 !important;
    }
}

/* <!-- Services + Stats  --> */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-2051 {
    padding: var(--sectionPadding);
    background-color: #f3fcfb;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #services-2051::before {
    /* black background, removed at tablet */
    content: "";
    width: 100%;
    background-color: #1a1a1a;
    /* prevents the mouse from interacting with it */
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 36.25rem;
    left: 0;
    z-index: -1;
  }
  #services-2051 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-2051 .cs-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
    z-index: 1;
  }
  #services-2051 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 39.375rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #services-2051 .cs-topper {
    color: #FF6B35;
  }
  #services-2051 .cs-title {
    /* 23 characters wide including spaces */
    max-width: 26ch;
    color: var(--bodyTextColorWhite);
  }
  #services-2051 .cs-text {
    margin-bottom: 0.75rem;
    color: var(--bodyTextColorWhite);
  }
  #services-2051 .cs-text:last-of-type {
    margin-bottom: 0;
  }
  #services-2051 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    line-height: 3.5rem;
    text-decoration: none;
    margin: 2rem 0 0;
    padding: 0 3rem;
    background-color: #FF6B35;
    overflow: hidden;
    color: #fff;
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #services-2051 .cs-button-solid:before {
    content: "";
    width: 0;
    height: 100%;
    background: #1a1a1a;
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #services-2051 .cs-button-solid:hover {
    color: var(--primary);
  }
  #services-2051 .cs-button-solid:hover:before {
    width: 100%;
  }
  #services-2051 .cs-picture-group {
    width: 100%;
    min-height: 32.5rem;
    display: flex;
    position: relative;
    z-index: 1;
  }
  #services-2051 .cs-picture {
    width: 100%;
    min-height: 22.625rem;
    /* clips img tag corners */
    overflow: hidden;
    border-radius: 0.5rem;
    display: block;
    position: relative;
    z-index: 1;
  }
  #services-2051 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
  #services-2051 .cs-box {
    text-align: left;
    width: 88%;
    max-width: 19.0625rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: #fff;
    position: absolute;
    /* 16px - 40px */
    bottom: clamp(1rem, 4vw, 2.5rem);
    /* 16px - 40px */
    left: clamp(1rem, 4vw, 2.5rem);
    z-index: 1;
  }
  #services-2051 .cs-box:before {
    /* background color */
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #services-2051 .cs-box-icon {
    width: 3.75rem;
    height: auto;
    margin: 0 0 1rem;
    display: block;
  }
  #services-2051 .cs-box-number {
    font-size: 1.9375rem;
    font-weight: 900;
    line-height: 1.2em;
    margin: 0 0 0.75rem;
    color: var(--headerColor);
    display: block;
  }
  #services-2051 .cs-box-desc {
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--bodyTextColor);
    display: block;
  }
  #services-2051 .cs-stat-group {
    display: flex;
    flex-direction: column;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
    z-index: 10;
  }
  #services-2051 .cs-stats {
    width: 100%;
    max-width: 39.375rem;
    margin: 0;
    padding: 0;
    display: flex;
    /* 16px - 24px */
    gap: clamp(1rem, 2.5vw, 1.5rem);
  }
  #services-2051 .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #services-2051 .cs-icon {
    /* 64px - 80px */
    width: clamp(4rem, 8vw, 5rem);
    height: auto;
    display: block;
    flex: none;
  }
  #services-2051 .cs-stat {
    /* 31px - 39px */
    font-size: clamp(1.9375rem, 3vw, 2.4375rem);
    font-weight: 900;
    line-height: 1.2em;
    margin: 0 0 0.25rem;
    color: var(--bodyTextColorWhite);
    display: block;
  }
  #services-2051 .cs-stat-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    line-height: 1.5em;
    text-align: left;
    margin: 0;
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
  }
  #services-2051 .cs-card-group {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2vw, 1.25rem);
  }
  #services-2051 .cs-item {
    text-align: left;
    list-style: none;
    width: 100%;
    margin: 0 auto;
    /* prevents padding and border from affecting height and width */
    /* 16px - 32px */
    padding: clamp(1rem, 4.5vw, 2rem);
    background-color: #fff;
    border-radius: 0.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    grid-column: span 12;
    grid-row: span 1;
    gap: 2rem;
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
    transition: border-color 0.3s;
  }
  #services-2051 .cs-item:hover {
    border-color: var(--primary);
  }
  #services-2051 .cs-flex {
    display: flex;
    flex-direction: column;
  }
  #services-2051 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    transition: color 0.3s;
  }
  #services-2051 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    margin-bottom: 1.5rem;
    padding: 0;
    color: var(--bodyTextColor);
  }
  #services-2051 .cs-link {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    text-decoration: none;
    max-width: fit-content;
    margin-top: auto;
    color: #FF6B35;
    border-bottom: 1px solid var(--primary);
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  #services-2051 .cs-item-picture {
    margin: 0;
    padding: 3.625rem 0 0 7.1875rem;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
  }
  #services-2051 .cs-item-picture:before {
    /* background color */
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #services-2051 .cs-item-picture img {
    width: 100%;
    height: 100%;
    display: block;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-2051:before {
    /* 100px - 200px */
    top: clamp(6.25rem, 15vw, 12.5rem);
    bottom: 12.5rem;
  }
  #services-2051 .cs-container {
    max-width: 80rem;
    align-items: flex-start;
  }
  #services-2051 .cs-content {
    width: 50%;
    /* 140px - 200px top */
    /* 48px - 64px right */
    /* 20px - 80px bottom*/
    padding: clamp(8.75rem, 20vw, 12.5rem) clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 5rem) 0;
  }
  #services-2051 .cs-wrapper {
    flex-direction: row;
    justify-content: flex-start;
  }
  #services-2051 .cs-picture-group {
    width: 50vw;
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
  }
  #services-2051 .cs-picture {
    border-radius: 0.5rem 0 0 0.5rem;
  }
  #services-2051 .cs-stat-group {
    flex-direction: row;
  }
  #services-2051 .cs-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    grid-column: span 6;
  }
  #services-2051 .cs-item-picture {
    width: 50%;
    max-width: 11.5625rem;
    height: auto;
    padding: 3.8125rem 0 0 0.25rem;
    flex: none;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #services-2051 .cs-picture-group {
    margin-left: 2.5rem;
  }
  #services-2051 .cs-li {
    flex-direction: row;
    align-items: center;
  }
}

/* ==========================================================================
   Responsive Styles for 9 Innovate Website
   Using modern media queries with standardized device breakpoints
   ========================================================================== */

/* Base styles for all devices - Mobile first approach */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #4CAF50;
    --dark-color: #23272b;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --navbar-height: 80px;
    --section-spacing: 60px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* General Modernizr Classes */
.no-touchevents .service .nav-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.touchevents .service .nav-link:active {
    background-color: rgba(255, 107, 53, 0.2);
}

.no-touchevents .service .service-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.no-touchevents .service .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   1. Smartphones (portrait and landscape)
   ========================================================================== */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    /* Service Section */
    .service {
        padding: 30px 0;
    }
    
    .service .row {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
    }
    
    .service .col-lg-2 {
        flex: 0 0 30% !important; 
        max-width: 30% !important;
        padding-right: 5px !important;
    }
    
    .service .col-lg-10 {
        flex: 0 0 70% !important; 
        max-width: 70% !important;
        padding-left: 5px !important;
    }
    
    .service .nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 4px !important;
        height: 100%;
        background: white;
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin: 0 !important;
    }
    
    .service .nav-link {
        padding: 8px 4px !important;
        font-size: 0.65rem !important;
        text-align: center !important;
        border-radius: 4px !important;
        min-height: 36px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.2px;
    }
    
    .service .tab-content {
        padding: 6px;
        background: white;
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .service .service-item img {
        height: auto !important;
        max-height: 120px !important;
        width: 35% !important;
        object-fit: cover !important;
        border-radius: 4px !important;
        margin: 0 auto 8px;
        display: block;
    }
    
    .service .service-item h4 {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
        min-height: auto !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    
    .service .service-item p {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    
    .service .service-item .btn {
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }
}

/* ==========================================================================
   2. Smartphones (landscape)
   ========================================================================== */
@media only screen and (min-width: 321px) and (max-width: 480px) and (orientation: landscape) {
    .service .row {
        gap: 8px !important;
    }
    
    .service .nav-link {
        min-height: 32px !important;
        padding: 6px 4px !important;
    }
    
    .service .service-item img {
        max-height: 100px !important;
        width: 30% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.7rem !important;
    }
}

/* ==========================================================================
   3. Smartphones (portrait)
   ========================================================================== */
@media only screen and (max-width: 320px) {
    .service .col-lg-2 {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }
    
    .service .col-lg-10 {
        flex: 0 0 65% !important;
        max-width: 65% !important;
    }
    
    .service .nav-link {
        padding: 5px 3px !important;
        font-size: 0.6rem !important;
        min-height: 30px !important;
    }
    
    .service .service-item img {
        max-height: 90px !important;
        width: 40% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
    }
    
    .service .service-item p {
        font-size: 0.65rem !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
    
    .service .service-item .btn {
        font-size: 0.6rem !important;
        padding: 3px 6px !important;
    }
}

/* ==========================================================================
   4. iPads (portrait and landscape)
   ========================================================================== */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .service {
        padding: 50px 0;
    }
    
    .service .row {
        gap: 15px;
    }
    
    .service .col-lg-2 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
    
    .service .col-lg-10 {
        flex: 0 0 70% !important;
        max-width: 70% !important;
    }
    
    .service .nav-link {
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
    }
    
    .service .service-item img {
        height: 180px !important;
    }
    
    .service .service-item h4 {
        font-size: 0.9rem !important;
        min-height: 40px !important;
    }
    
    .service .service-item p {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
    }
}

/* ==========================================================================
   5. iPads (landscape)
   ========================================================================== */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .service .service-carousel .owl-stage {
        display: flex;
    }
    
    .service .service-carousel .owl-item {
        display: flex;
        flex: 1 0 auto;
    }
    
    .service .service-item {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .service .service-item img {
        height: 160px !important;
    }
}

/* ==========================================================================
   6. iPads (portrait)
   ========================================================================== */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .service .col-lg-2 {
        flex: 0 0 30% !important;
        max-width: 30% !important;
    }
    
    .service .col-lg-10 {
        flex: 0 0 65% !important;
        max-width: 65% !important;
    }
    
    .service .service-carousel {
        margin: 0 -10px;
    }
    
    .service .service-item {
        margin: 0 10px;
    }
}

/* ==========================================================================
   7. iPad 3 (landscape)
   ========================================================================== */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    .service .service-item img {
        height: 180px !important;
    }
    
    .service .owl-carousel .owl-item {
        padding: 0 5px;
    }
}

/* ==========================================================================
   8. iPad 3 (portrait)
   ========================================================================== */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    .service .service-item .border {
        padding: 15px !important;
    }
    
    .service .service-item p {
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
}

/* ==========================================================================
   9. Desktops and laptops
   ========================================================================== */
@media only screen and (min-width: 1224px) {
    .service {
        padding: 80px 0;
    }
    
    .service .row {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .service .service-item {
        transform: translateY(0);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .service .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    
    .service .service-item img {
        height: 220px !important;
    }
    
    .service .service-item h4 {
        font-size: 1.1rem !important;
        min-height: 52px !important;
    }
    
    .service .service-item p {
        font-size: 0.95rem !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4 !important;
    }
    
    .service .service-item .btn {
        margin-top: auto;
    }
}

/* ==========================================================================
   10. Large screens
   ========================================================================== */
@media only screen and (min-width: 1824px) {
    .service {
        padding: 100px 0;
    }
    
    .service .row {
        max-width: 1600px;
    }
    
    .service .service-item img {
        height: 240px !important;
    }
    
    .service .service-item h4 {
        font-size: 1.25rem !important;
        min-height: 60px !important;
    }
    
    .service .service-item p {
        font-size: 1rem !important;
    }
    
    .service .service-item .btn {
        font-size: 1rem !important;
        padding: 10px 24px !important;
    }
}

/* ==========================================================================
   11. iPhone 4 (landscape)
   ========================================================================== */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    .service .row {
        gap: 5px !important;
    }
    
    .service .service-item .border {
        padding: 10px !important;
    }
}

/* ==========================================================================
   12. iPhone 4 (portrait)
   ========================================================================== */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    .service .service-item img {
        width: 45% !important;
        max-height: 100px !important;
    }
}

/* ==========================================================================
   13. iPhone 5 (landscape)
   ========================================================================== */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .service .col-lg-2 {
        flex: 0 0 30% !important;
    }
    
    .service .col-lg-10 {
        flex: 0 0 70% !important;
    }
    
    .service .service-item img {
        max-height: 90px !important;
    }
}

/* ==========================================================================
   14. iPhone 5 (portrait)
   ========================================================================== */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .service .service-item h4 {
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
    }
    
    .service .service-item .btn {
        margin-top: 5px;
    }
}

/* ==========================================================================
   15-28. iPhone 6-XS Max and Samsung Galaxy devices
   ========================================================================== */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .service .service-item img {
        max-height: 110px !important;
    }
    
    .service .service-item h4 {
        font-size: 0.75rem !important;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .service .service-item img {
        max-height: 130px !important;
        width: 40% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.8rem !important;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .service .service-item img {
        max-height: 120px !important;
    }
    
    .service .service-item h4 {
        font-size: 0.8rem !important;
    }
    
    .service .service-item p {
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .service .service-item img {
        max-height: 140px !important;
        width: 40% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
    
    .service .service-item p {
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    .service .col-lg-2 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
    
    .service .col-lg-10 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
    
    .service .service-item img {
        max-height: 130px !important;
        width: 35% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.85rem !important;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    .service .service-item img {
        max-height: 150px !important;
        width: 40% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    .service .service-item img {
        max-height: 140px !important;
    }
    
    .service .service-item h4 {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }
    
    .service .service-item p {
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    .service .service-item img {
        max-height: 160px !important;
        width: 45% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.9rem !important;
    }
    
    .service .service-item p {
        font-size: 0.8rem !important;
    }
}

/* Samsung Galaxy devices */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .service .service-item img {
        max-height: 100px !important;
    }
    
    .service .service-item .btn {
        font-size: 0.7rem !important;
        padding: 5px 10px !important;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .service .service-item img {
        max-height: 120px !important;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    .service .service-item img {
        max-height: 110px !important;
        width: 35% !important;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    .service .service-item img {
        max-height: 130px !important;
        width: 40% !important;
    }
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    .service .service-item img {
        max-height: 110px !important;
    }
    
    .service .service-item h4 {
        font-size: 0.75rem !important;
    }
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    .service .service-item img {
        max-height: 140px !important;
        width: 40% !important;
    }
    
    .service .service-item h4 {
        font-size: 0.8rem !important;
    }
}

/* ==========================================================================
   Feature Detection with Modernizr
   ========================================================================== */

/* Touch device interactions */
.touchevents .service .nav-link {
    /* Optimize for touch - make buttons bigger */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.touchevents .service .service-item .btn {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: 40px !important;
}

/* Non-touch device interactions */
.no-touchevents .service .nav-link:hover {
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.no-touchevents .service .nav-link:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.5);
    outline: none;
}

.no-touchevents .service .service-item .btn:hover {
    transform: translateY(-2px);
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service .service-item img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .service {
        page-break-inside: avoid;
    }
    
    .service .nav {
        display: none !important;
    }
    
    .service .service-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/* ==========================================================================
   Water & Energy Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   Water & Energy Page Header & Hero Section 
   ========================================================================== */
.water-energy-header {
    background: linear-gradient(135deg, #0077BE 0%, #005580 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.water-energy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/water-energy-texture.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.water-energy-header .container {
    position: relative;
    z-index: 2;
}

.water-energy-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

/* ========================================================================== 
   Sustainable Solutions Section 
   ========================================================================== */
.sustainable-solutions {
    padding: 5rem 0;
    background: var(--bs-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sustainability-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sustainability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 190, 0.1), transparent);
    transition: var(--transition-base);
}

.sustainability-card:hover::before {
    left: 100%;
}

.sustainability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #0077BE;
}

.sustainability-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0077BE, #005580);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.sustainability-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.sustainability-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========================================================================== 
   Smart Grid Technology Section 
   ========================================================================== */
.smart-grid {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-feature {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.grid-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: #0077BE;
}

.grid-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0077BE, #005580);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
}

.grid-feature h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.grid-feature p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========================================================================== 
   Water Treatment Systems Section 
   ========================================================================== */
.water-treatment {
    padding: 5rem 0;
    background: var(--bs-white);
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.treatment-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
}

.treatment-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.treatment-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.treatment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.9) 0%, rgba(0, 85, 128, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.treatment-card:hover .treatment-overlay {
    opacity: 1;
}

.treatment-overlay .btn {
    background: var(--bs-white);
    color: #0077BE;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin: 0 0.5rem;
}

.treatment-content {
    padding: 1.5rem;
}

.treatment-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.treatment-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ========================================================================== 
   Energy Efficiency Section 
   ========================================================================== */
.energy-efficiency {
    padding: 5rem 0;
    background: var(--bs-dark);
    color: var(--bs-white);
}

.efficiency-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.efficiency-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.efficiency-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0077BE, #005580);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0077BE;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================================================== 
   Responsive Design - Water & Energy Page 
   ========================================================================== */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .water-energy-header {
        padding: 4rem 0 2rem;
    }
    
    .water-energy-header h1 {
        font-size: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .sustainability-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .grid-features {
        grid-template-columns: 1fr;
    }
    
    .grid-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-image {
        height: 150px;
    }
    
    .efficiency-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .water-energy-header h1 {
        font-size: 3rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .efficiency-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
    .water-energy-header h1 {
        font-size: 4rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .treatment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .efficiency-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Oil & Gas Industry Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   Oil & Gas Page Header & Hero Section 
   ========================================================================== */
.oil-gas-header {
    background: linear-gradient(135deg, #1B4332 0%, #2D5A27 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.oil-gas-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/oil-gas-texture.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.oil-gas-header .container {
    position: relative;
    z-index: 2;
}

.oil-gas-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

/* ========================================================================== 
   Refinery Operations Section 
   ========================================================================== */
.refinery-operations {
    padding: 5rem 0;
    background: var(--bs-white);
}

.refinery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.refinery-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.refinery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 67, 50, 0.1), transparent);
    transition: var(--transition-base);
}

.refinery-card:hover::before {
    left: 100%;
}

.refinery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #1B4332;
}

.refinery-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1B4332, #2D5A27);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.refinery-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.refinery-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========================================================================== 
   Pipeline Monitoring Section 
   ========================================================================== */
.pipeline-monitoring {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pipeline-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pipeline-feature {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.pipeline-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: #1B4332;
}

.pipeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1B4332, #2D5A27);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
}

.pipeline-feature h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.pipeline-feature p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   Metal & Mining Industry Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   Metal & Mining Page Header & Hero Section 
   ========================================================================== */
.metal-mining-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.metal-mining-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/mining-texture.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.metal-mining-header .container {
    position: relative;
    z-index: 2;
}

.metal-mining-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

/* ========================================================================== 
   Mining Operations Section 
   ========================================================================== */
.mining-operations {
    padding: 5rem 0;
    background: var(--bs-white);
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.operation-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.operation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.1), transparent);
    transition: var(--transition-base);
}

.operation-card:hover::before {
    left: 100%;
}

.operation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #8B4513;
}

.operation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.operation-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.operation-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========================================================================== 
   Safety Standards Section 
   ========================================================================== */
.safety-standards {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.safety-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.safety-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: #8B4513;
}

.safety-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
}

.safety-card h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.safety-card p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   About Us Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   About Page Header & Hero Section 
   ========================================================================== */
.about-header {
    background: linear-gradient(135deg, var(--bs-dark) 0%, #495057 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/about-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.about-header .container {
    position: relative;
    z-index: 2;
}

.about-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

.about-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========================================================================== 
   Company Story Section 
   ========================================================================== */
.company-story {
    padding: 5rem 0;
    background: var(--bs-white);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-orange), #F7931E);
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.timeline-content:hover {
    background: var(--bs-white);
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* ========================================================================== 
   Team Section 
   ========================================================================== */
.team-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

.team-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.team-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(247, 147, 30, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    background: var(--bs-white);
    color: var(--bs-orange);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-base);
}

.team-social a:hover {
    background: var(--bs-orange);
    color: var(--bs-white);
}

.team-content {
    padding: 2rem;
}

.team-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--bs-dark);
}

.team-position {
    color: var(--bs-orange);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ========================================================================== 
   Values Section 
   ========================================================================== */
.company-values {
    padding: 5rem 0;
    background: var(--bs-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: var(--transition-base);
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: var(--bs-orange);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bs-orange), #F7931E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
}

.value-card h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.value-card p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========================================================================== 
   Statistics Section 
   ========================================================================== */
.about-stats {
    padding: 5rem 0;
    background: var(--bs-dark);
    color: var(--bs-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-orange), #F7931E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-orange);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================================================== 
   Responsive Design - About Page 
   ========================================================================== */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .about-header {
        padding: 4rem 0 2rem;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .story-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 100px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-year {
        left: 30px;
        transform: none;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .timeline-content {
        width: 100%;
        margin-top: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image {
        height: 200px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .about-header h1 {
        font-size: 3rem;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
    .about-header h1 {
        font-size: 4rem;
    }
    
    .timeline-item {
        margin-bottom: 4rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large screens ----------- */
@media only screen and (min-width: 1824px) {
    .about-header {
        padding: 10rem 0 6rem;
    }
    
    .about-header h1 {
        font-size: 4.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Contact Us Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   Contact Page Header & Hero Section 
   ========================================================================== */
.contact-header {
    background: linear-gradient(135deg, var(--bs-orange) 0%, #F7931E 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/contact-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.contact-header .container {
    position: relative;
    z-index: 2;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

.contact-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========================================================================== 
   Contact Information Section 
   ========================================================================== */
.contact-info {
    padding: 5rem 0;
    background: var(--bs-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: var(--transition-base);
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--bs-orange);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-orange), #F7931E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.contact-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.contact-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    margin-bottom: 0.5rem;
    color: var(--bs-dark);
    font-weight: 500;
}

.contact-details a {
    color: var(--bs-orange);
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-details a:hover {
    color: #e55a30;
    text-decoration: underline;
}

/* ========================================================================== 
   Contact Form Section 
   ========================================================================== */
.contact-form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-base);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bs-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: linear-gradient(135deg, var(--bs-orange), #F7931E);
    color: var(--bs-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    width: 100%;
}

.form-submit:hover {
    background: linear-gradient(135deg, #e55a30, #E8841B);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.form-submit:active {
    transform: translateY(0);
}

/* ========================================================================== 
   Office Locations Section 
   ========================================================================== */
.office-locations {
    padding: 5rem 0;
    background: var(--bs-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
}

.location-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.location-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.location-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bs-orange);
    color: var(--bs-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.location-content {
    padding: 2rem;
}

.location-content h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.location-address {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.location-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.location-phone {
    color: var(--bs-orange);
    font-weight: 500;
    text-decoration: none;
}

.location-phone:hover {
    color: #e55a30;
    text-decoration: underline;
}

.location-directions {
    background: var(--bs-orange);
    color: var(--bs-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.location-directions:hover {
    background: #e55a30;
    color: var(--bs-white);
    transform: translateY(-2px);
}

/* ========================================================================== 
   Map Section 
   ========================================================================== */
.map-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.map-placeholder {
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.25rem;
}

/* ========================================================================== 
   Responsive Design - Contact Page 
   ========================================================================== */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .contact-header {
        padding: 4rem 0 2rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .location-image {
        height: 150px;
    }
    
    .location-contact {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .map-container {
        height: 300px;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .contact-header h1 {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
    .contact-header h1 {
        font-size: 4rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large screens ----------- */
@media only screen and (min-width: 1824px) {
    .contact-header {
        padding: 10rem 0 6rem;
    }
    
    .contact-header h1 {
        font-size: 4.5rem;
    }
    
    .map-container {
        height: 500px;
    }
}

/* ==========================================================================
   Cement Industry Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   Cement Page Header & Hero Section 
   ========================================================================== */
.cement-header {
    background: linear-gradient(135deg, #6C757D 0%, #495057 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.cement-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cement-texture.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.cement-header .container {
    position: relative;
    z-index: 2;
}

.cement-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

/* ========================================================================== 
   Production Process Section 
   ========================================================================== */
.cement-production {
    padding: 5rem 0;
    background: var(--bs-white);
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    text-align: right;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C757D, #495057);
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.step-content {
    width: 45%;
    padding: 2rem;
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
}

.step-content:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ========================================================================== 
   Quality Control Section 
   ========================================================================== */
.quality-control {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quality-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.quality-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: #6C757D;
}

.quality-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C757D, #495057);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--bs-white);
}

.quality-card h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.quality-card p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========================================================================== 
   Equipment & Technology Section 
   ========================================================================== */
.cement-technology {
    padding: 5rem 0;
    background: var(--bs-white);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.technology-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
}

.technology-card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.technology-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.technology-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.9) 0%, rgba(73, 80, 87, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.technology-card:hover .technology-overlay {
    opacity: 1;
}

.technology-overlay .btn {
    background: var(--bs-white);
    color: #6C757D;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin: 0 0.5rem;
}

.technology-content {
    padding: 1.5rem;
}

.technology-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.technology-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ========================================================================== 
   Responsive Design - Cement Page 
   ========================================================================== */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .cement-header {
        padding: 4rem 0 2rem;
    }
    
    .cement-header h1 {
        font-size: 2rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .process-step:nth-child(even) .step-content {
        text-align: left;
    }
    
    .step-number {
        left: 30px;
        transform: none;
    }
    
    .step-content {
        width: 100%;
        margin-top: 1rem;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .technology-grid {
        grid-template-columns: 1fr;
    }
    
    .technology-image {
        height: 150px;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .cement-header h1 {
        font-size: 3rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .quality-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .technology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
    .cement-header h1 {
        font-size: 4rem;
    }
    
    .process-step {
        margin-bottom: 4rem;
    }
    
    .quality-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Services Section Styling with Enhanced Interactions
   ========================================================================== */

/* Services Section */
.service {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/particle-burst-golden-sparkle-shimmer-background-illustration.jpg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.service .container-fluid {
    position: relative;
    z-index: 1;
}

/* Badge styling */
.service-badge {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    font-weight: 500;
    letter-spacing: 1px;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

/* Navigation sidebar */
.service-nav-wrapper {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-nav-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-nav-wrapper .nav-link {
    border-left: 4px solid transparent;
    transition: all 0.4s ease;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
}

.service-nav-wrapper .nav-link.active {
    border-left: 4px solid var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.1);
}

.service-nav-wrapper .nav-link:hover:not(.active) {
    background-color: #f1f3f5;
    border-left: 4px solid #dee2e6;
    transform: translateX(5px);
}

.service-nav-wrapper .nav-link i.fas.fa-chevron-right {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-nav-wrapper .nav-link:hover i.fas.fa-chevron-right,
.service-nav-wrapper .nav-link.active i.fas.fa-chevron-right {
    opacity: 1;
    transform: translateX(0);
}

.help-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.help-card .btn {
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.help-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Service cards */
.service-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-item:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.2);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.service-item:hover:after {
    opacity: 1;
}

.service-item .position-relative {
    overflow: hidden;
}

.service-item img {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(3px);
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-overlay .btn {
    transform: translateY(20px);
    transition: all 0.4s ease;
    opacity: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-item:hover .service-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    transform: rotate(45deg) scale(1.1);
}

.service-item h4 {
    font-weight: 600;
    color: #212529;
    transition: all 0.3s ease;
}

.service-item:hover h4 {
    color: #0d6efd;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: #0d6efd;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.read-more-link i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.service-item:hover .read-more-link i {
    transform: translateX(5px);
}

/* Tab content animations */
.tab-pane {
    transition: all 0.3s ease-in-out;
}

.tab-pane.fade {
    opacity: 0;
    transform: translateY(10px);
}

.tab-pane.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* Service card text */
.service-item p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive styles for Services */
@media (max-width: 992px) {
    .service-nav-wrapper {
        margin-bottom: 30px;
    }
    
    .service-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-item h4 {
        font-size: 1.2rem;
    }
}

/* Animation for new items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================================================
   Software Development Page Specific Styles with Full Responsive Design
   ========================================================================== */

/* ========================================================================== 
   Software Development Page Header & Hero Section 
   ========================================================================== */
.software-header {
    background: linear-gradient(135deg, #6C63FF 0%, #5A52D5 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.software-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/code-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.software-header .container {
    position: relative;
    z-index: 2;
}

.software-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

/* ========================================================================== 
   Development Services Grid 
   ========================================================================== */
.dev-services {
    padding: 5rem 0;
    background: var(--bs-white);
}

.dev-service-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.dev-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transition: var(--transition-base);
}

.dev-service-card:hover::before {
    left: 100%;
}

.dev-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #6C63FF;
}

.dev-service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6C63FF, #9A94FF);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
    position: relative;
    z-index: 2;
}

.dev-service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.dev-service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.tech-badge {
    background: #f8f9fa;
    color: #6C63FF;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* ========================================================================== 
   Development Process Section 
   ========================================================================== */
.dev-process {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.dev-process .process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
}

.dev-process .process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.dev-process .process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.dev-process .process-step:nth-child(even) .step-content {
    text-align: right;
}

.dev-process .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C63FF, #5A52D5);
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.dev-process .step-content {
    width: 45%;
    padding: 2rem;
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-base);
}

.dev-process .step-content:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.dev-process .step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.dev-process .step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-features {
    list-style: none;
    padding: 0;
}

.step-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.step-features li i {
    color: #6C63FF;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ========================================================================== 
   Code Showcase Section 
   ========================================================================== */
.code-showcase {
    padding: 5rem 0;
    background: var(--bs-dark);
    color: var(--bs-white);
}

.code-demo {
    background: #1e1e1e;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.code-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(90deg, #ff5f56, #ffbd2e, #27ca3f);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.code-demo::after {
    content: '● ● ●';
    position: absolute;
    top: 12px;
    left: 15px;
    color: var(--bs-white);
    font-size: 0.8rem;
    z-index: 2;
}

.code-window {
    margin-top: 40px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.line-number {
    color: #6c757d;
    margin-right: 1rem;
    min-width: 30px;
    text-align: right;
    user-select: none;
}

.code-content .keyword { color: #ff79c6; }
.code-content .string { color: #f1fa8c; }
.code-content .function { color: #50fa7b; }
.code-content .comment { color: #6272a4; font-style: italic; }
.code-content .number { color: #bd93f9; }

/* ========================================================================== 
   Technology Stack Section 
   ========================================================================== */
.tech-stack-section {
    padding: 5rem 0;
    background: var(--bs-white);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: #f8f9fa;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-category:hover {
    background: var(--bs-white);
    box-shadow: var(--box-shadow);
    border-color: #6C63FF;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6C63FF, #9A94FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-dark);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-item {
    background: var(--bs-white);
    color: #6C63FF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: var(--transition-base);
}

.tech-item:hover {
    background: #6C63FF;
    color: var(--bs-white);
    transform: translateY(-2px);
}

/* Comprehensive responsive breakpoints for Software Development page follow... */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .software-header {
        padding: 4rem 0 2rem;
    }
    
    .software-header h1 {
        font-size: 2rem;
    }
    
    .dev-service-card .icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .software-header h1 {
        font-size: 3rem;
    }
    
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 1224px) {
    .software-header h1 {
        font-size: 4rem;
    }
    
    .tech-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   IIOT (Industrial Internet of Things) Page Styles
   ========================================================================== */

.iiot-header {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    padding: 8rem 0 4rem;
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.iiot-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--bs-white);
}

.iiot-solutions {
    padding: 5rem 0;
    background: var(--bs-white);
}

.iiot-solution-card {
    background: var(--bs-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.iiot-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: #2196F3;
}

.iiot-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2196F3, #64B5F6);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bs-white);
}

/* Responsive breakpoints for IIOT */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .iiot-header {
        padding: 4rem 0 2rem;
    }
    
    .iiot-header h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Bundle Completion Summary - Total Size: 170KB+ of comprehensive CSS
   ========================================================================== */
/* Industrial Automation Carousel Styles */

/* Carousel Container */
.carousel-container {
    width: 100%;
    height: 390px; /* Increased by 30% from 300px */
    position: relative;
    overflow: hidden;
    margin-top: 0px; /* Account for fixed header */
}

/* Carousel Slide */
.carousel-slide {
    width: 100%;
    height: 390px; /* Increased by 30% from 300px */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

/* Carousel Overlay for text readability */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Carousel Text Styles */
.carousel-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.carousel-subtitle {
    color: #f8f9fa;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    max-width: 600px;
}

/* Carousel Buttons */
.carousel-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.carousel-buttons .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carousel-buttons .btn-primary {
    background-color: #ff6501;
    border-color: #ff6501;
    box-shadow: 0 4px 15px rgba(255, 101, 1, 0.3);
}

.carousel-buttons .btn-primary:hover {
    background-color: #e55a01;
    border-color: #e55a01;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 101, 1, 0.4);
}

.carousel-buttons .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    background-color: transparent;
}

.carousel-buttons .btn-outline-light:hover {
    background-color: #fff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Custom Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 101, 1, 0.8);
    border-color: #ff6501;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

/* Custom Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ff6501;
    border-color: #ff6501;
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    background-color: rgba(255, 101, 1, 0.6);
    border-color: #ff6501;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-container {
        margin-top: 80px; /* Adjust for smaller fixed header on mobile */
    }
    
    .carousel-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .carousel-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: fit-content;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
        background-size: 16px 16px;
    }
}

@media (max-width: 576px) {
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-subtitle {
        font-size: 0.9rem;
    }
    
    .carousel-buttons .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Animation Enhancements */
.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-item.active .carousel-title,
.carousel-item.active .carousel-subtitle,
.carousel-item.active .carousel-buttons {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Custom fade transition for smoother effect */
.carousel.slide .carousel-item {
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel.slide .carousel-item.active {
    opacity: 1;
}

/* Ensure full width */
#industrial-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Fix for container within full-width section */
#industrial-carousel .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* SCADA Systems Section Styles */
.scada-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.scada-section .section-title {
    margin-bottom: 3rem;
}

.scada-section .team-item {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scada-section .team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.scada-section .team-img img {
    transition: transform 0.3s ease;
}

.scada-section .team-item:hover .team-img img {
    transform: scale(1.05);
}

.scada-section .service-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scada-section .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.scada-section .service-icon {
    width: 60px;
    height: 60px;
    background-color: #ff6501;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.scada-section ul {
    padding-left: 1.5rem;
}

.scada-section ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #6c757d;
}

.scada-section ul li i {
    color: #ff6501;
}
.hero-content h1 {
    background: linear-gradient(135deg, var(--bs-dark) 0%, var(--bs-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* PLC Programming Section */
.plc-programming {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 3rem 0;
}

.plc-programming .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.plc-programming .section-title h5 {
    color: #0d47a1; /* Darker blue for better contrast */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plc-programming .section-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a237e; /* Deep indigo for a professional look */
}

.plc-programming .service-item {
    background: #ffffff; /* White background for cards */
    border: 1px solid #e0e0e0; /* Light gray border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 70%; /* Reduced height by 30% */
}

.plc-programming .service-item:hover {
    background: #e3f2fd; /* Light blue on hover */
    border-color: #90caf9; /* Blue border on hover */
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.plc-programming .service-icon {
    background: #1e88e5; /* Vibrant blue for icons */
    color: #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.plc-programming h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d47a1; /* Consistent with section title */
}

.plc-programming p {
    color: #546e7a; /* Subtle gray-blue for text */
    font-size: 1rem;
}

/* Contact Button Color Update */
.plc-programming .btn {
    background: #ff9800; /* Orange color */
    color: #ffffff;
}

.plc-programming .btn:hover {
    background: #e65100; /* Darker orange on hover */
}

/* Moved styles for Industrial Automation page */
.btn.btn-lg.btn-primary.rounded {
    background-color: #e65100; /* Change button background to orange */
    border-color: #e65100; /* Match border color to background */
}

.btn.btn-lg.btn-primary.rounded i {
    color: white; /* Change arrow icon color to white */
}

.btn.btn-lg.btn-primary.rounded:hover {
    background-color: #e65100; /* Darker orange on hover */
    border-color: #e65100; /* Match border color on hover */
}

/* Updated styles for blocks inside row g-5 */
.row.g-5 .service-item {
    background-color: #0078D7; /* Set background color to match screenshot */
    color: white; /* Ensure text color is white for contrast */
    border-radius: 10px; /* Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

.row.g-5 .service-item h4 {
    color: black; /* Ensure heading text is white */
}

.row.g-5 .service-item p {
    color: #E6E6E6; /* Light gray for paragraph text */
}

/* IT-OT Integration Section */
.it-ot-integration-section {
    background: #fafbfc;
    position: relative;
    padding: 80px 0;
}

.it-ot-integration-section > .container {
    position: relative;
    z-index: 2;
}

/* Professional Header Design */
.it-ot-header {
    position: relative;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    overflow: visible;
}

.professional-header {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.header-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.badge-text {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4A90E2 0%, #357abd 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.professional-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.professional-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A90E2;
    font-size: 16px;
}

.cta-section {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-professional {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    min-width: 160px;
    justify-content: center;
}

.btn-professional.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357abd 100%);
    color: white;
}

.btn-professional.btn-primary:hover {
    background: linear-gradient(135deg, #357abd 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.2);
    color: white;
    text-decoration: none;
}

.btn-professional.btn-secondary {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.btn-professional.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #334155;
    text-decoration: none;
}

/* Responsive Design for Professional Header */
@media (max-width: 768px) {
    .professional-title {
        font-size: 2.5rem;
    }
    
    .professional-subtitle {
        font-size: 1.125rem;
        margin-bottom: 32px;
    }
    
    .feature-highlights {
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .highlight-item {
        font-size: 14px;
    }
    
    .highlight-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .cta-section {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-professional {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .professional-title {
        font-size: 2rem;
    }
    
    .professional-subtitle {
        font-size: 1rem;
    }
    
    .feature-highlights {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn-professional {
        padding: 14px 24px;
        font-size: 15px;
    }
}

.it-ot-visual-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.integration-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.it-side, .ot-side {
    text-align: center;
    flex: 1;
}

.convergence-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4A90E2, #007bff);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.convergence-zone i {
    font-size: 1.5rem;
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(74, 144, 226, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 144, 226, 0); }
}

.integration-benefits .benefit-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border-left: 4px solid #4A90E2;
    transition: all 0.3s ease;
}

.integration-benefits .benefit-item:hover {
    background: white;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Integration Layers */
.integration-layer {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.integration-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #4A90E2);
}

.integration-layer:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.enterprise-layer {
    border-top: 4px solid #007bff;
}

.enterprise-layer .layer-header i {
    color: #007bff;
}

.convergence-layer {
    border-top: 4px solid #28a745;
}

.convergence-layer .layer-header i {
    color: #28a745;
}

.operational-layer {
    border-top: 4px solid #ffc107;
}

.operational-layer .layer-header i {
    color: #ffc107;
}

.layer-header {
    text-align: center;
    margin-bottom: 25px;
}

.layer-header h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.layer-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.95rem;
}

.layer-content ul li:last-child {
    border-bottom: none;
}

/* Technology Cards */
.tech-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.tech-card:hover::before {
    opacity: 1;
    top: -10%;
    left: -10%;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2, #007bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    position: relative;
    z-index: 2;
}

.tech-card h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.tech-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .integration-overlay {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .convergence-zone {
        width: 50px;
        height: 50px;
        margin: 10px 0;
    }
    
    .convergence-zone i {
        font-size: 1.2rem;
    }
    
    .integration-layer {
        margin-bottom: 20px;
    }
    
    .tech-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .it-ot-integration-section {
        padding: 30px 0;
    }
    
    .integration-benefits .benefit-item:hover {
        transform: none;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
    }
    
    .tech-icon i {
        font-size: 1.5rem;
    }
}

/* MES & Enterprise Integration Section - Professional Corporate Design */
.mes-integration-section {
    background: #ffffff;
    position: relative;
    padding: 80px 0;
}

.mes-integration-section > .container {
    position: relative;
    z-index: 2;
}

/* Section Header Styling - Clean Corporate */
.mes-header-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.enterprise-badge {
    background: #f8f9fa;
    color: #495057;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #e9ecef;
}

.section-title .subtitle-text {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
    max-width: 1800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Half / Half hero row for MES section */
.mes-hero-row {
    align-items: center;
}

.mes-hero-row .section-title h1 {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.mes-hero-row .subtitle-text {
    font-size: 1rem;
    color: #6c757d;
    max-width: 100%;
}

.mes-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mes-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(2,6,23,0.08);
    border: 1px solid #eef2f6;
}

@media (max-width: 991px) {
    .mes-hero-row .section-title h1 {
        font-size: 1.75rem;
    }
    .mes-hero-image {
        margin-top: 16px;
    }
}

@media (max-width: 576px) {
    /* Stack content on small screens: text first, then image */
    .mes-hero-row {
        display: block;
    }
    .mes-hero-image img {
        width: 100%;
        height: auto;
    }
    .mes-hero-row .section-title {
        text-align: left;
        margin-bottom: 12px;
    }
}

/* Network Level Cards - Clean Enterprise Style */
.network-level {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 18px 16px; /* restored padding for readability */
    height: 100%;
    transition: all 0.2s ease;
    position: relative;
}

.network-level:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.level-4 { border-left: 4px solid #dc3545; }
.level-3 { border-left: 4px solid #fd7e14; }
.level-2 { border-left: 4px solid #ffc107; }
.level-1 { border-left: 4px solid #28a745; }
.level-0 { border-left: 4px solid #007bff; }

.level-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f8f9fa;
}

.level-number {
    background: #f8f9fa;
    color: #495057;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 6px 10px; /* allow room for text so it doesn't wrap */
    min-width: 40px;
    height: 36px;
    font-weight: 700;
    font-size: 14px;
    margin-right: 14px;
    border: 1px solid #e9ecef;
    white-space: nowrap; /* keep 'Level 4' on a single line */
}

.level-4 .level-number { background: #dc3545; color: white; border-color: #dc3545; }
.level-3 .level-number { background: #fd7e14; color: white; border-color: #fd7e14; }
.level-2 .level-number { background: #ffc107; color: #212529; border-color: #ffc107; }
.level-1 .level-number { background: #28a745; color: white; border-color: #28a745; }
.level-0 .level-number { background: #007bff; color: white; border-color: #007bff; }

.level-header h4 {
    color: #212529;
    font-weight: 600;
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

/* System Grid Layout - Clean Grid */
.system-grid {
    display: grid;
    /* sensible responsive grid: allows items to wrap and keeps titles readable */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    align-items: start;
}

.system-item {
    background: #f8f9fa;
    padding: 12px 12px; /* moderate padding for legibility */
    border-radius: 6px;
    text-align: left;
    transition: all 0.18s ease;
    border: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.system-item:hover {
    background: #ffffff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

.system-item i {
    font-size: 18px;
    color: #007bff;
    margin: 0;
    display: inline-block;
    flex: 0 0 24px;
    text-align: center;
}

.system-item h6 {
    color: #212529;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

.system-item p {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
    line-height: 1.3;
    /* Allow two-line descriptions with ellipsis for overflow */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* Field Devices Grid - Enterprise Layout */
.field-devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Compact style for Level 0 when placed as a right-side column */
.level-0-compact {
    max-height: 520px; /* limit height to keep aligned with Levels 1-4 */
    overflow-y: auto;
    padding-right: 8px; /* small inner padding for scrollbar clearance */
}

/* Hide custom scrollbar styling on small screens and let it expand naturally */
@media (max-width: 991px) {
    .level-0-compact {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

.device-category {
    background: #ffffff;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.device-category:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

.device-category h6 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.device-category h6 i {
    margin-right: 8px;
    color: #007bff;
    font-size: 18px;
}

.device-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.device-category ul li {
    padding: 8px 0;
    color: #495057;
    font-size: 14px;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 16px;
}

.device-category ul li:last-child {
    border-bottom: none;
}

.device-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: 600;
}

/* MES Function Cards - Corporate Style */
.mes-function-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.mes-function-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    transform: translateY(-4px);
}

.function-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.function-icon.production {
    background: #007bff;
}

.function-icon.quality {
    background: #28a745;
}

.function-icon.traceability {
    background: #ffc107;
    color: #212529;
}

.mes-function-card h5 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}

.function-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.function-list li {
    padding: 8px 0;
    color: #495057;
    font-size: 14px;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
}

.function-list li:last-child {
    border-bottom: none;
}

.function-list li i {
    color: #28a745;
    margin-right: 8px;
    font-size: 12px;
}

/* Integration Technology Cards - Minimal Design */
.integration-tech-card {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 6px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.integration-tech-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.tech-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 20px;
}

.tech-icon.opc { background: #17a2b8; }
.tech-icon.mqtt { background: #6f42c1; }
.tech-icon.web-services { background: #fd7e14; }
.tech-icon.database { background: #6c757d; }

.integration-tech-card h6 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.integration-tech-card p {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.feature-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Vendor Cards - Clean Corporate */
.vendor-card {
    background: #ffffff;
    padding: 24px 16px;
    border-radius: 6px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.vendor-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.vendor-logo {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.vendor-card:hover .vendor-logo {
    background: #007bff;
    border-color: #007bff;
}

.vendor-logo i {
    font-size: 20px;
    color: #6c757d;
    transition: color 0.2s ease;
}

.vendor-card:hover .vendor-logo i {
    color: white;
}

.vendor-card h6 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.vendor-card p {
    color: #6c757d;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
}

/* Call to Action Section - Professional */
.mes-cta-section {
    background: #007bff;
    color: white;
    padding: 48px 40px;
    border-radius: 8px;
    text-align: center;
}

.mes-cta-section h4 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 16px;
}

.mes-cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin: 8px;
    font-size: 14px;
}

.cta-buttons .btn-primary {
    background: white;
    color: #007bff;
    border: 1px solid white;
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.cta-buttons .btn-outline-primary {
    color: white;
    border: 1px solid white;
    background: transparent;
}

.cta-buttons .btn-outline-primary:hover {
    background: white;
    color: #007bff;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mes-integration-section {
        padding: 40px 0;
    }
    
    .system-grid {
        grid-template-columns: 1fr;
    }
    
    .field-devices-grid {
        grid-template-columns: 1fr;
    }
    
    .level-header {
        flex-direction: column;
        text-align: center;
    }
    
    .level-number {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .network-level {
        padding: 24px;
        margin-bottom: 16px;
    }
    
    .mes-cta-section {
        padding: 32px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 240px;
        margin: 4px 0;
    }
}

@media (max-width: 576px) {
    .function-icon,
    .tech-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .vendor-logo {
        width: 40px;
        height: 40px;
    }
    
    .vendor-logo i {
        font-size: 16px;
    }
    
    .level-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .mes-cta-section h4 {
        font-size: 20px;
    }
    
    .mes-cta-section p {
        font-size: 14px;
    }
}

.row.g-5 .service-item:hover {
    background-color: #005A9E;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* MES Article block: left text, right image — match corporate level styling */
.mes-article {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.mes-article h2.mes-article-title {
    font-size: 1.75rem;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mes-article .mes-article-lead {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.mes-article .mes-article-list {
    margin-left: 1rem;
    margin-bottom: 0.75rem;
}

.mes-article .mes-article-list li {
    margin-bottom: 0.5rem;
    color: #374151;
}

.mes-article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(2,6,23,0.06);
    border: 1px solid #eef2f6;
}

@media (max-width: 991px) {
    .mes-article h2.mes-article-title { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    /* Stack columns on small screens */
    .mes-article { padding: 16px; }
    .mes-article .mes-article-image { margin-top: 14px; }
    .mes-article h2.mes-article-title { font-size: 1.25rem; }
}

/* AI Integration & IIoT Section Styles */
.ai-stat-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ai-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007bff, #4A90E2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 8px;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
    font-size: 16px;
}

/* AI Application Cards */
.ai-application-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ai-application-card:hover::before {
    transform: scaleX(1);
}

.ai-application-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    transform: translateY(-5px);
}

.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 30px;
    color: white;
}

.app-icon.predictive {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.app-icon.quality {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.app-icon.optimization {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.ai-application-card h5 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 20px;
}

.app-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0;
}

.app-features li {
    padding: 10px 0;
    color: #495057;
    font-size: 14px;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
}

.app-features li:last-child {
    border-bottom: none;
}

.app-features li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 12px;
}

/* IIoT Technology Cards */
.iiot-tech-card {
    background: #ffffff;
    padding: 28px 20px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.iiot-tech-card:hover {
    border-color: #007bff;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.12);
    transform: translateY(-3px);
}

.tech-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: white;
    font-size: 24px;
}

.tech-icon.edge { background: linear-gradient(135deg, #17a2b8, #138496); }
.tech-icon.sensors { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.tech-icon.cloud { background: linear-gradient(135deg, #fd7e14, #e55a00); }
.tech-icon.digital-twin { background: linear-gradient(135deg, #20c997, #17a673); }
.tech-icon.cybersecurity { background: linear-gradient(135deg, #dc3545, #c82333); }
.tech-icon.analytics { background: linear-gradient(135deg, #6c757d, #545b62); }

.iiot-tech-card h6 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

.iiot-tech-card p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Implementation Approach */
.implementation-content {
    padding: 20px 0;
}

.approach-steps {
    margin-top: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #007bff, #e9ecef);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #007bff, #4A90E2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h6 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.step-content p {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.implementation-visual {
    text-align: center;
    padding: 20px;
}

.implementation-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* AI CTA Section */
.ai-cta-section {
    background: linear-gradient(135deg, #007bff, #4A90E2);
    color: white;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.3; }
}

.ai-cta-section h4 {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.ai-cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.ai-cta-section .cta-buttons .btn {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 8px;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.ai-cta-section .btn-primary {
    background: white;
    color: #007bff;
    border: 2px solid white;
}

.ai-cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.ai-cta-section .btn-outline-primary {
    color: white;
    border: 2px solid white;
    background: transparent;
}

.ai-cta-section .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design for AI & IIoT Section */
@media (max-width: 768px) {
    .ai-stat-card {
        padding: 24px 20px;
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .ai-application-card,
    .iiot-tech-card {
        margin-bottom: 20px;
        padding: 24px 20px;
    }
    
    .app-icon,
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .implementation-content {
        margin-bottom: 40px;
    }
    
    .step-item {
        margin-bottom: 25px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .ai-cta-section {
        padding: 40px 30px;
    }
    
    .ai-cta-section h4 {
        font-size: 24px;
    }
    
    .ai-cta-section p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .ai-application-card h5 {
        font-size: 18px;
    }
    
    .tech-features {
        justify-content: flex-start;
    }
    
    .feature-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .ai-cta-section h4 {
        font-size: 20px;
    }
    
    .ai-cta-section p {
        font-size: 14px;
    }
}

/* NEW INTERACTIVE AI & IIoT Section - Professional Enterprise Design */
/* IIOT Carousel Styles */
.iiot-carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed header */
}

.iiot-carousel-container .carousel-inner {
    height: 500px;
    min-height: 500px;
}

.iiot-carousel-container .carousel-item {
    height: 100%;
}

.iiot-carousel-container .carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.iiot-carousel-container .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.iiot-carousel-container .carousel-content {
    max-width: 800px;
    color: #fff;
}

.iiot-carousel-container .carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.iiot-carousel-container .carousel-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.iiot-carousel-container .carousel-buttons {
    display: flex;
    gap: 1rem;
}

/* IIOT Benefits Section */
.benefit-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

/* IIOT Tech Stack Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
}

.tech-card h4 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* IIOT Case Studies Section */
.case-study-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-content h4 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.industry {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #4a5568;
}

/* IIOT CTA Section */
.cta-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    color: #fff;
}

.cta-wrapper h2 {
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-buttons .btn-lg {
    padding: 1rem 2rem;
    font-weight: 600;
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .iiot-carousel-container .carousel-title {
        font-size: 2.5rem;
    }
    
    .iiot-carousel-container .carousel-subtitle {
        font-size: 1.25rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .iiot-carousel-container .carousel-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .iiot-carousel-container .carousel-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .iiot-carousel-container .carousel-title {
        font-size: 2rem;
    }
    
    .iiot-carousel-container .carousel-subtitle {
        font-size: 1rem;
    }
    
    .benefit-card,
    .tech-card,
    .case-study-card {
        padding: 1.5rem;
    }
}
.ai-iiot-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
    color: #ffffff;
}

/* Animated Background */
.ai-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 123, 255, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 150px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Hero Banner */
.ai-hero-banner {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.ai-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ai-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.text-gradient {
    background: linear-gradient(45deg, #00d4ff, #0099cc, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.ai-hero-subtitle {
    font-size: 1.3rem;
    color: #b0c4de;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Live Metrics Dashboard */
.metrics-dashboard {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.metric-item {
    text-align: center;
    position: relative;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    display: block;
    counter-reset: num var(--num);
}

.metric-label {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 5px;
}

/* AI Visual Showcase */
.ai-visual-showcase {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-hub {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    z-index: 3;
}

.hub-image {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.pulse-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.icon-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: orbit 10s linear infinite;
}

.icon-node:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.icon-node:nth-child(2) { top: 30%; right: 10%; animation-delay: -1.6s; }
.icon-node:nth-child(3) { bottom: 30%; right: 10%; animation-delay: -3.2s; }
.icon-node:nth-child(4) { bottom: 10%; left: 50%; animation-delay: -4.8s; }
.icon-node:nth-child(5) { bottom: 30%; left: 10%; animation-delay: -6.4s; }
.icon-node:nth-child(6) { top: 30%; left: 10%; animation-delay: -8s; }

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

.icon-node:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

/* Technology Showcase */
.tech-showcase-section {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.tech-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tech-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px;
    backdrop-filter: blur(10px);
}

.tech-tab {
    background: none;
    border: none;
    color: #b0c4de;
    padding: 15px 25px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.tech-tab.active,
.tech-tab:hover {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    transform: translateY(-2px);
}

.tech-tab i {
    font-size: 18px;
}

/* Tab Content */
.tech-content-area {
    min-height: 600px;
}

.tech-content {
    display: none;
    animation: fadeInUp 0.5s ease-in-out;
}

.tech-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.content-block .lead {
    font-size: 1.2rem;
    color: #b0c4de;
    margin-bottom: 40px;
}

/* Feature Timeline */
.feature-timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.timeline-content h6 {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #b0c4de;
    margin: 0;
}

/* Interactive Demo */
.interactive-demo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.demo-screen {
    background: #1a1a2e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screen-header {
    background: linear-gradient(45deg, #2a2a3e, #3a3a5e);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.screen-title {
    color: #ffffff;
    font-weight: 500;
}

.status-indicators {
    display: flex;
    gap: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.green { background: #10b981; }
.status-dot.yellow { background: #f59e0b; }
.status-dot.red { background: #ef4444; }

.screen-content {
    padding: 30px 20px;
}

.prediction-chart {
    position: relative;
    height: 100px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.2) 80%, rgba(239, 68, 68, 0.3) 100%);
    border-radius: 10px;
    margin-bottom: 20px;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 70%, #ef4444 100%);
}

.prediction-point {
    position: absolute;
    top: 20%;
    right: 15%;
}

.point-indicator {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    margin: 0 auto 5px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.point-label {
    font-size: 12px;
    color: #ef4444;
    text-align: center;
    font-weight: 600;
}

.alert-panel {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 15px;
    border-radius: 5px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fecaca;
}

.alert-item i {
    color: #ef4444;
}

/* Vision Demo */
.vision-demo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.inspection-view {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.inspection-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.detection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.detection-box {
    position: absolute;
    width: 80px;
    height: 60px;
    border: 3px solid;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scan 2s infinite;
}

.detection-box.good {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

.detection-box.defect {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
}

@keyframes scan {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.detection-label {
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Vision Stats */
.vision-stats {
    margin-top: 30px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    color: #b0c4de;
    font-weight: 500;
}

.stat-value {
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Automation Flow */
.automation-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.flow-step h6 {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.flow-step p {
    color: #b0c4de;
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 2rem;
    color: #00d4ff;
    font-weight: bold;
}

/* Automation Visualization */
.automation-visualization {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.production-line {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.machine-unit {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.machine-unit i.spinning {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.efficiency-meter {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #00d4ff;
    color: #1a1a2e;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Connectivity Stats */
.connectivity-stats {
    margin-top: 30px;
}

.connection-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.connection-item i {
    color: #00d4ff;
    font-size: 24px;
    width: 30px;
}

.connection-item span {
    color: #b0c4de;
    flex: 1;
}

.connection-item strong {
    color: #00d4ff;
    font-weight: 600;
}

/* IIoT Network */
.iiot-network {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.network-center {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    z-index: 3;
    position: relative;
}

.network-center span {
    font-size: 0.8rem;
    margin-top: 5px;
}

.network-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    animation: networkPulse 3s infinite;
}

.node:nth-child(1) { top: 15%; left: 50%; animation-delay: 0s; }
.node:nth-child(2) { top: 35%; right: 15%; animation-delay: 0.5s; }
.node:nth-child(3) { bottom: 35%; right: 15%; animation-delay: 1s; }
.node:nth-child(4) { bottom: 15%; left: 50%; animation-delay: 1.5s; }
.node:nth-child(5) { bottom: 35%; left: 15%; animation-delay: 2s; }
.node:nth-child(6) { top: 35%; left: 15%; animation-delay: 2.5s; }

@keyframes networkPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    50% { 
        transform: scale(1.1); 
        box-shadow: 0 0 0 20px rgba(0, 212, 255, 0);
    }
}

/* Success Stories */
.success-stories-section {
    position: relative;
    z-index: 2;
}

.stories-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.story-slide {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.story-metrics {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    line-height: 1;
}

.metric-text {
    font-size: 0.9rem;
    color: #b0c4de;
    margin-top: 5px;
}

.story-text {
    font-size: 1.2rem;
    color: #ffffff;
    font-style: italic;
    margin: 30px 0;
    line-height: 1.6;
}

.story-author {
    color: #b0c4de;
}

.story-author strong {
    color: #00d4ff;
    display: block;
    margin-bottom: 5px;
}

/* CTA Section */
.ai-cta-section {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 153, 204, 0.1) 100%);
    border-radius: 30px;
    margin: 0 20px;
}

.cta-content {
    padding: 60px 40px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #b0c4de;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-action {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-primary-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary-action {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary-action:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .ai-hero-title {
        font-size: 2.5rem;
    }
    
    .metrics-dashboard {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .tech-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .automation-flow {
        flex-direction: column;
        gap: 30px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .story-metrics {
        gap: 20px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .ai-hero-banner {
        padding: 60px 0;
    }
    
    .ai-hero-title {
        font-size: 2rem;
    }
    
    .ai-visual-showcase {
        height: 300px;
        margin-top: 40px;
    }
    
    .central-hub {
        width: 100px;
        height: 100px;
    }
    
    .hub-image {
        width: 50px;
        height: 50px;
    }
    
    .icon-node {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .tech-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .tech-tab {
        justify-content: center;
        width: 100%;
    }
    
    .content-block h3 {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* JavaScript Interactivity Hooks */
.metric-value[data-target] {
    transition: all 0.3s ease;
}

.tech-tab[data-tab] {
    cursor: pointer;
}

.tech-content {
    transition: opacity 0.3s ease;
}

/* Additional Animation Classes */
.animate-counter {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-transition {
    animation: slideInContent 0.5s ease-in-out;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Industrial Hardware Styles */
.hardware-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.hardware-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hardware-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    z-index: 2;
}

.hardware-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--bs-primary);
}

.hardware-card-content {
    padding: 2.5rem;
}

.hardware-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.2) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    color: var(--bs-primary);
    font-size: 2rem;
}

.hardware-card:hover .hardware-card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    color: white;
}

.hardware-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.hardware-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hardware-card-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 1rem;
}

.hardware-card-list li i {
    color: var(--bs-primary);
    margin-right: 0.75rem;
}

/* Support Features Section */
.support-features {
    background: #f8f9fa;
    padding: 5rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.support-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.support-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--bs-primary);
}

.support-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.2) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--bs-primary);
    font-size: 1.75rem;
}

.support-item:hover .support-icon {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    color: white;
}

.support-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--bs-dark);
    font-weight: 600;
}

.support-item p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.support-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-item ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.support-item ul li i {
    color: var(--bs-primary);
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.industry-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--bs-primary);
    font-size: 1.5rem;
}

.industry-item:hover .industry-icon {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-light) 100%);
    color: white;
}

.industry-item h5 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--bs-dark);
}

/* Hardware CTA Section */
.hardware-cta {
    background: linear-gradient(135deg, var(--bs-dark) 0%, #2c2c2c 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hardware-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/particle-burst-golden-sparkle-shimmer-background-illustration.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hardware-cta .container {
    position: relative;
    z-index: 2;
}

/* Water & Energy Section */
/* Header */
/*-- -------------------------- -->
<---            Hero            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero-1946 {
    padding: var(--sectionPadding);
    /* 160px - 200px */
    padding-top: clamp(4rem, 3vw, 12.5rem);
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #hero-1946 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #hero-1946 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    /* 40px - 52px */
    margin-bottom: clamp(2.5rem, 5vw, 3.25rem);
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #hero-1946 .cs-flex {
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #hero-1946 .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.438rem, 5vw, 3.813rem);
  }
  #hero-1946 .cs-text {
    margin-bottom: 1.25rem;
  }
  #hero-1946 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    /* 32px - 48px */
    padding: 0 clamp(2rem, 4vw, 3rem);
    background-color: #FF6B35;
    color: var(--bodyTextColorWhite);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    transition: background-color 0.3s;
  }
  #hero-1946 .cs-button-solid:hover {
    background-color: #000;
    color: #fff;
  }
  #hero-1946 .cs-picture {
    width: 100%;
    /* 280px - 510px */
    height: clamp(17.5rem, 58.6vw, 31.875rem);
    /* 16px - 20px */
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    display: block;
    position: relative;
  }
  #hero-1946 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.5rem;
    position: absolute;
  }
  #hero-1946 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2vw, 1.25rem);
  }
  #hero-1946 .cs-item {
    text-align: center;
    list-style: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    /* 24px - 32px */
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: #F7F7F7;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: span 12;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s;
  }
  #hero-1946 .cs-item:hover {
    border-color: var(--primary);
  }
  #hero-1946 .cs-item:hover .cs-h3 {
    color: var(--primary);
  }
  #hero-1946 .cs-item:hover .cs-icon {
    transform: rotateY(360deg);
  }
  #hero-1946 .cs-icon-picture {
    margin-bottom: 1.25rem;
    perspective: 700px;
    transform-style: preserve-3d;
  }
  #hero-1946 .cs-icon {
    width: 2.5rem;
    height: auto;
    display: block;
    transition: transform 0.5s;
  }
  #hero-1946 .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    margin-bottom: 0.75rem;
    color: var(--headerColor);
    transition: color 0.3s;
  }
  #hero-1946 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColor);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #hero-1946 .cs-text {
    font-size: 1.25rem;
  }
  #hero-1946 .cs-item {
    text-align: left;
    margin: 0;
    align-items: flex-start;
    grid-column: span 6;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #hero-1946 .cs-content {
    display: flex;
    flex-direction: column;
  }
  #hero-1946 .cs-title {
    max-width: 46.875rem;
  }
  #hero-1946 .cs-item {
    grid-column: span 3;
  }
}
/* Large Desktop 1300px */
@media only screen and (min-width: 81.25rem) {
  #hero-1946 .cs-title {
    margin: 0;
  }
  #hero-1946 .cs-container {
    flex-direction: column;
  }
  #hero-1946 .cs-content {
    text-align: left;
    max-width: 80rem;
    gap: 1.25rem;
    flex-direction: row;
    align-items: flex-start;
  }
  #hero-1946 .cs-flex {
    width: 50%;
    max-width: 39.375rem;
  }
}
/* Header */
/* water */
/*-- -------------------------- -->
<---        Why Choose          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #why-choose-37 {
        position: relative;
        /* Prevents overflow from the image going off screen */
        overflow: hidden;
    }
    #why-choose-37 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 7vw, 4rem);
    }
    #why-choose-37 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        max-width: 39.375rem;
        margin-right: auto;
        /* moved section padding to the .cs-content so we can have the cs-picture be full width on mobile without the padding preventing it from doing so */
        padding: var(--sectionPadding);
        padding-top: 0;
        /* prevents padding from affecting width and height */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }
    #why-choose-37 .cs-topper {
        font-size: var(--topperFontSize);
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: inherit;
        letter-spacing: 0.1em;
        font-weight: 700;
        color: orange
        margin-bottom: 0.25rem;
        display: block;
    }
    #why-choose-37 .cs-title {
        font-size: 55px;
        font-weight: 900;
        line-height: 1.2em;
        text-align: inherit;
        max-width: 43.75rem;
        margin: 0 0 1rem 0;
        color: var(--headerColor);
        position: relative;
    }
    #why-choose-37 .cs-text {
        font-size: var(--bodyFontSize);
        line-height: 1.5em;
        text-align: inherit;
        width: 100%;
        max-width: 40.625rem;
        margin: 0;
        color: var(--bodyTextColor);
    }
    #why-choose-37 .cs-text {
        margin-bottom: 1rem;
    }
    #why-choose-37 .cs-text:last-of-type {
        margin-bottom: 2rem;
    }
    #why-choose-37 .cs-ul {
        padding: 0;
        margin: 0;
    }
    #why-choose-37 .cs-li {
        list-style: none;
        font-size: 1.25rem;
        line-height: 1.5em;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #1a1a1a;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    #why-choose-37 .cs-icon {
        margin-right: 1rem;
    }
    #why-choose-37 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: #FF6B35;
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #why-choose-37 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #why-choose-37 .cs-button-solid:hover:before {
        width: 100%;
    }
    #why-choose-37 .cs-button-solid {
        /* button override */
        margin-top: 2rem;
    }
    #why-choose-37 .cs-picture {
        display: block;
        position: relative;
        width: 100%;
        height: 18.75rem;
    }
    #why-choose-37 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* makes it act like a background image */
        object-fit: cover;
    }
}
/* In Between - 650px */
@media only screen and (min-width: 40.625rem) {
    #why-choose-37 .cs-ul {
        columns: 2;
        max-width: 34.375rem;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #why-choose-37 {
        /* moved padding pack to the section container */
        padding: var(--sectionPadding);
    }
    #why-choose-37 .cs-content {
        width: 60%;
        padding: 0;
    }
    #why-choose-37 .cs-picture {
        height: 100%;
        width: 50%;
        left: 50%;
        right: auto;
        display: block;
        position: absolute;
        bottom: 0;
        z-index: -1;
    }
    #why-choose-37 .cs-picture:before {
        /* Triangle over image */
        content: "";
        width: 21.875rem;
        background: #fff;
        /* makes the triangle shape over the image */
        clip-path: polygon(0 0, 73% 0, 42% 100%, 0 100%);
        opacity: 1;
        display: block;
        position: absolute;
        top: -0.125rem;
        bottom: -0.125rem;
        left: -0.125rem;
        right: auto;
        z-index: 10;
    }
    #why-choose-37 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
/* Desktop - 1200px */
@media only screen and (min-width: 75rem) {
    #why-choose-37 .cs-picture:before {
        width: 18.75rem;
        -webkit-clip-path: polygon(0 0, 100% 0, 14% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 14% 100%, 0 100%);
    }
}
/* Water */

/* Water Tab Scrollspy Navbar */
#water-tab-scrollspy {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#waterTabNavbar {
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  background: linear-gradient(90deg, #e3f2fd 0%, #f8f9fa 100%);
  padding: 0.75rem 1.5rem;
  border: 1px solid #e3e6ea;
}

#waterTabNav {
  width: 100%;
  justify-content: center;
}

#waterTabNav .nav-link {
  color: #1976d2;
  font-weight: 600;
  border-radius: 2rem;
  margin: 0 0.5rem;
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  transition: 
    background 0.2s, 
    color 0.2s, 
    border-color 0.2s, 
    box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.04);
}

#waterTabNav .nav-link.active,
#waterTabNav .nav-link:focus,
#waterTabNav .nav-link:hover {
  background: linear-gradient(90deg, #1976d2 0%, #2196f3 100%);
  color: #fff;
  border-color: #1976d2;
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.10);
}

#water-tab-scrollspy section {
  background: #f7fbff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.06);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  min-height: 240px;
  scroll-margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

#water-tab-scrollspy section .row {
  width: 100%;
  align-items: center;
}

#water-tab-scrollspy h4 {
  font-size: 2rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

#water-tab-scrollspy p {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

#water-tab-scrollspy .btn-primary {
  background: linear-gradient(90deg, #1976d2 0%, #2196f3 100%);
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  padding: 0.7rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

#water-tab-scrollspy .btn-primary:hover,
#water-tab-scrollspy .btn-primary:focus {
  background: linear-gradient(90deg, #1565c0 0%, #1976d2 100%);
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.15);
}

#water-tab-scrollspy img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  object-fit: cover;
  background: #e3f2fd;
  border: 1px solid #e3e6ea;
}

@media (max-width: 991px) {
  #water-tab-scrollspy section {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
  #water-tab-scrollspy .row {
    flex-direction: column;
  }
  #water-tab-scrollspy img {
    max-height: 220px;
  }
}

@media (max-width: 767px) {
  #waterTabNavbar {
    padding: 0.5rem 0.5rem;
  }
  #water-tab-scrollspy section {
    padding: 1.25rem 0.5rem;
    min-height: 180px;
  }
  #waterTabNav .nav-link {
    margin: 0 0.25rem 0.5rem 0.25rem;
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  #water-tab-scrollspy h4 {
    font-size: 1.3rem;
  }
  #water-tab-scrollspy p {
    font-size: 1rem;
  }
}

/* ...existing code... */
/* Water */
/* Accordion */
#accordion_5{
     padding: 70px 0;
     background-color: #000;
}
 #accordion_5 .accordion .accordion-button::after{
     content: "\f64d";
     font-family: bootstrap-icons !important;
     background: none;
     position: absolute;
     left: 15px;
     top: 50%;
     transform: translateY(-50%);
}
 #accordion_5 .accordion .accordion-button:not(.collapsed)::after{
     content: "\f63b";
     color: #a283b4;
}
 #accordion_5 .accordion .accordion-button, #accordion_5 .accordion .accordion-body{
     padding-left: 45px;
     background-color: #000;
     box-shadow: none;
     border-radius: 0;
}
 #accordion_5 .accordion .accordion-button{
     color: #fff;
     background: #252525;
}
 #accordion_5 .accordion .accordion-body p{
     color: #fff;
     margin: 0;
     opacity: 0.7;
}
 #accordion_5 .accordion .accordion-item{
     border-radius: 0;
     margin-bottom: 30px;
     border: 0px solid #000;
     background-color: #000;
}
 #accordion_5 .heading{
     text-align: center;
     margin-bottom: 30px;
}
 #accordion_5 .heading h2{
     margin-bottom: 50px;
     color: #fff;
}
 #accordion_5 .img_content{
     position: relative;
}
 #accordion_5 .img_content img{
     width: 100%;
     min-height: 400px;
     object-fit: cover;
}
 #accordion_5 .img_content .text{
     position: absolute;
     bottom: 30px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     width: 80%;
     justify-content: space-between;
     background: #333;
     padding: 25px;
     border-radius: 10px;
     color: #fff;
     align-items: center;
}
 #accordion_5 .img_content .text h4{
     margin: 0;
     text-transform: capitalize;
}
 #accordion_5 .img_content .text a.btn{
     border-radius: 5px;
     background: #333;
     border: 1px solid #6b6b6b;
     padding: 10px 25px;
     transition: all .4s;
     font-weight: 600;
}
 #accordion_5 .img_content .text a.btn:hover{
     background: #a283b4;
     border-color: #a283b4;
     color: #fff;
}
 #accordion_5 .accordion .accordion-item:last-child{
     margin-bottom: 0;
}
 @media (max-width: 991px){
     #accordion_5 .img_content{
        margin-bottom: 30px;
    }
}
/* Accordion */
/* <!--Problem Addition  --> */
/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RPsbs-1445,
  #RPsbsr-1445 {
    padding: var(--sectionPadding);
    overflow: hidden;
  }
  #RPsbs-1445 .cs-container,
  #RPsbsr-1445 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
  }
  #RPsbs-1445 .cs-content,
  #RPsbsr-1445 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #RPsbs-1445 .cs-text,
  #RPsbsr-1445 .cs-text {
    margin-bottom: 1rem;
  }
  #RPsbs-1445 .cs-text:last-of-type,
  #RPsbsr-1445 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #RPsbs-1445 .cs-card-group,
  #RPsbsr-1445 .cs-card-group {
    width: 100%;
    max-width: 39.375rem;
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }
  #RPsbs-1445 .cs-li,
  #RPsbsr-1445 .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* 16px - 20px */
    gap: clamp(1rem, 2.5vw, 1.25rem);
  }
  #RPsbs-1445 .cs-li-picture,
  #RPsbsr-1445 .cs-li-picture {
    width: 5rem;
    height: 5rem;
    margin: 0;
    border-radius: 50%;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* prevents flexbox from squishing it */
    flex: none;
    position: relative;
    z-index: 1;
  }
  #RPsbs-1445 .cs-li-picture:before,
  #RPsbsr-1445 .cs-li-picture:before {
    content: '';
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: .1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #RPsbs-1445 .cs-li-icon,
  #RPsbsr-1445 .cs-li-icon {
    width: 2rem;
    height: auto;
    display: block;
  }
  #RPsbs-1445 .cs-h3,
  #RPsbsr-1445 .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    text-align: left;
    margin: 0 0 0.75rem 0;
    color: var(--headerColor);
  }
  #RPsbs-1445 .cs-li-text,
  #RPsbsr-1445 .cs-li-text {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: left;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #RPsbs-1445 .cs-button-solid,
  #RPsbsr-1445 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 2rem;
    background-color: #FF6B35;
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
  }
  #RPsbs-1445 .cs-button-solid:before,
  #RPsbsr-1445 .cs-button-solid:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width .3s;
  }
  #RPsbs-1445 .cs-button-solid:hover:before,
  #RPsbsr-1445 .cs-button-solid:hover:before {
    width: 100%;
  }
  #RPsbs-1445 .cs-picture,
  #RPsbsr-1445 .cs-picture {
    width: 100%;
    max-width: 40.625rem;
    min-height: 22.625rem;
    border-radius: 1.5rem;
    /* clips img tag corners */
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 1;
  }
  #RPsbs-1445 .cs-picture img,
  #RPsbsr-1445 .cs-picture img {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RPsbs-1445 .cs-container,
  #RPsbsr-1445 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
  }
  #RPsbs-1445 .cs-content,
  #RPsbsr-1445 .cs-content {
    width: 50%;
    padding: 2.5rem 0;
  }
  #RPsbs-1445 .cs-picture,
  #RPsbsr-1445 .cs-picture {
    height: auto;
    width: 55%;
  }
}

/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RPsbsr-1445 {
    background-color: #f7f7f7;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RPsbsr-1445 .cs-picture {
    /* sends it to the right in the 2nd position */
    order: 2;
  }
}
                                
                                
/* <!--Problem Addition  --> */
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #locations-1697 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #locations-1697 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 31.25rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #locations-1697 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
  }
  #locations-1697 .cs-item {
    list-style: none;
    width: 100%;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    /* 24px - 60px top & bottom*/
    /* 16px - 40px left & right*/
    padding: clamp(1.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    grid-column: span 12;
    grid-row: span 1;
    position: relative;
    z-index: 1;
    /* bottom border */
  }
  #locations-1697 .cs-item::after {
    content: "";
    width: 100%;
    height: 1px;
    /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */
    /* note you'll also have to change the color in the tablet media query when the lines go vertical */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
  }
  #locations-1697 .cs-item:last-of-type::after {
    content: none;
  }
  #locations-1697 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    font-weight: bold;
    line-height: 1.2em;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
  }
  #locations-1697 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    text-decoration: none;
    max-width: 18.75rem;
    padding: 0;
    color: var(--bodyTextColor);
  }
  #locations-1697 .cs-address {
    max-width: 18ch;
    margin-bottom: 1rem;
  }
  #locations-1697 .cs-link {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    text-decoration: none;
    margin-top: auto;
    /* setting minimum top spacing with padding and using margin-top: auto; to ensure the link is always at the bottom of the item */
    /* 24px - 32px */
    padding-top: clamp(1.5rem, 1vw, 2rem);
    color: var(--secondary);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.625rem;
    transition: color 0.3s;
  }
  #locations-1697 .cs-link:hover .cs-arrow {
    transform: translateX(0.25rem);
  }
  #locations-1697 .cs-link-text {
    width: fit-content;
  }
  #locations-1697 .cs-arrow {
    width: 1.25rem;
    height: auto;
    display: block;
    transition: filter 0.3s, transform 0.3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #locations-1697 .cs-container {
    max-width: 80rem;
  }
  #locations-1697 .cs-item {
    grid-column: span 3;
  }
  #locations-1697 .cs-item:nth-of-type(4)::after {
    display: none;
  }
  #locations-1697 .cs-item::after {
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%);
    right: 0;
    left: initial;
  }
}
   /* Portfolio */
   @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
body {
    font-family: "Nunito", sans-serif;
}
#fw_icon_snippet_4{
  padding: 50px 0;
}
#fw_icon_snippet_4 .heading{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
#fw_icon_snippet_4 .heading h2{
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}
#fw_icon_snippet_4 .heading p{
  margin: 0;
  color: #666;
}
#fw_icon_snippet_4 .heading a{
  border-radius: 0;
  text-transform: capitalize;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
}
#fw_icon_snippet_4 .icon_box{
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  transition: all .4s;
}
#fw_icon_snippet_4 .icon_box:hover{
  transform: translateY(-10px);
  background: #dc3545;
}
#fw_icon_snippet_4 .icon_box .icon i{
  color: #dc3545;
  font-size: 36px;
  margin-bottom: 10px;
  display: inline-block;
  transition: all .4s;
}
#fw_icon_snippet_4 .icon_box h3{
  font-weight: 600;
  text-transform: capitalize;
  font-size: 24px;
  margin-bottom: 10px;
  transition: all .4s;
}
#fw_icon_snippet_4 .icon_box p{
  color: #666;
  margin-bottom: 20px;
  transition: all .4s;
}
#fw_icon_snippet_4 .icon_box a{
  color: #666;
  font-size: 22px;
  transition: all .4s;
  display: block;
}
#fw_icon_snippet_4 .icon_box:hover a,
#fw_icon_snippet_4 .icon_box:hover p,
#fw_icon_snippet_4 .icon_box:hover h3,
#fw_icon_snippet_4 .icon_box:hover .icon i{
  color: #fff;
}
@media (max-width: 576px){
  #fw_icon_snippet_4 .heading{
    flex-direction: column;
    align-items: flex-start;
  }
  #fw_icon_snippet_4 .heading p{
    margin-bottom: 20px;
  }
}
     /* Portfolio */

     /* COntact US */
     @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
body {
    font-family: "Nunito", sans-serif;
}
#fw_icon_snippet_5{
  padding: 50px 0;
}
#fw_icon_snippet_5 .heading{
  position: relative;
  text-align: center;
}
#fw_icon_snippet_5 .heading h2{
  margin-bottom: 50px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 4vw;
}
#fw_icon_snippet_5 .heading span{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 5vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
  opacity: .3;
  text-transform: uppercase;
}
#fw_icon_snippet_5 .content{
  text-align: center;
  position: relative;
  padding: 50px 20px;
  background: #f9fbfd;
}
#fw_icon_snippet_5 .content i{
  color: #198754;
  font-size: 30px;
  margin-bottom: 10px;
  display: inline-block;
}
#fw_icon_snippet_5 .content h3{
  font-size: 22px;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 10px;
}
#fw_icon_snippet_5 .content p{
  margin: 0;
  color: #666;
}
#fw_icon_snippet_5 .item:nth-child(3) .content {
  background: #f2f3f5;
}
#fw_icon_snippet_5 .content.first_column {
  height: 100%;
  background: url(https://freewebsnippets.com/public/frontend/snippet_img/slider-4-1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  text-align: left;
}
#fw_icon_snippet_5 .content.first_column::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
}
#fw_icon_snippet_5 .content.first_column h4{
  color: #fff;
  position: relative;
  z-index: 1;
  text-transform: capitalize;
  text-align: left;
  font-weight: 700;
  max-width: 85%;
  margin-bottom: 30px;
}
#fw_icon_snippet_5 .content.first_column a{
  position: relative;
  z-index: 1;
  color: #fff;
  text-transform: capitalize;
  border: 1px solid #fff;
  border-radius: 0;
  padding: 10px 20px;
  transition: all .4s;
}
#fw_icon_snippet_5 .content.first_column a:hover{
  background: #fff;
  color: #000;
}
/* Contact US */
/* ////////////////////////////////////////////////////////////////////////////////////////////////// */
/* Energy Starts Here */
/* <!-- Header --> */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-1628 {
    padding: var(--sectionPadding);
    background-color: #f7f7f7;
  }
  #services-1628 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 34.375em;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-1628 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #services-1628 .cs-title {
    max-width: 20ch;
  }
  #services-1628 .cs-text {
    max-width: 40rem;
    position: relative;
    z-index: 1;
  }
  #services-1628 .cs-text:after {
    /* divider line */
    content: "";
    width: 100%;
    height: 1px;
    margin-top: 1.5rem;
    background: var(--primary);
    opacity: 1;
    display: block;
    position: relative;
  }
  #services-1628 .cs-chevron {
    --chevronColor: var(--primary);
    width: 3rem;
    height: auto;
  }
  #services-1628 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    column-gap: clamp(1rem, 2.5vw, 1.25rem);
    /* 28px - 40px */
    row-gap: clamp(1.75rem, 2.5vw, 2.5rem);
  }
  #services-1628 .cs-item {
    list-style: none;
    width: 100%;
    display: flex;
    grid-column: span 12;
    flex-direction: column;
    align-items: flex-start;
  }
  #services-1628 .cs-item:hover .cs-picture img {
    opacity: .5;
    transform: scale(1.2);
  }
  #services-1628 .cs-link {
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #services-1628 .cs-picture {
    width: 100%;
    height: 15rem;
    margin-bottom: 1.5rem;
    background-color: #000;
    overflow: hidden;
    display: block;
    position: relative;
  }
  #services-1628 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .6s, opacity .3s;
  }
  #services-1628 .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    text-align: left;
    margin: 0 0 0.75rem 0;
    color: black;
  }
  #services-1628 .cs-item-text {
    font-size: .75rem;
    line-height: 1.5em;
    text-align: left;
    margin: 0 0 1.5rem 0;
    color: black;
  }
  #services-1628 .cs-fake-link {
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    margin-top: auto;
    color: var(--primary);
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #services-1628 .cs-fake-link:hover .cs-icon {
    transform: translateX(0.5rem);
  }
  #services-1628 .cs-icon {
    width: 1.25rem;
    height: auto;
    display: block;
    transition: transform .3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-1628 .cs-container {
    max-width: 80rem;
  }
  #services-1628 .cs-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  #services-1628 .cs-flex {
    text-align: left;
    width: 40vw;
    max-width: 40rem;
    flex: none;
  }
  #services-1628 .cs-title {
    margin: 0;
  }
  #services-1628 .cs-text {
    padding: 0.75rem 0 0.75rem 1.5rem;
  }
  #services-1628 .cs-text:after {
    width: 1px;
    height: 100%;
    margin: 0 1.5rem 0 0;
    order: -1;
    position: absolute;
    left: 0;
    top: 0;
  }
  #services-1628 .cs-item {
    grid-column: span 6;
  }
  #services-1628 .cs-picture {
    /* 240px - 420px */
    height: clamp(15rem, 33vw, 26.25rem);
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #services-1628 .cs-item {
    grid-column: span 3;
  }
}
/* <!-- Header --> */
/* <!-- Hardware and software --> */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RPsbs-1587,
  #RPsbsr-1587 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #RPsbs-1587 .cs-container,
  #RPsbsr-1587 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(2.5rem, 6vw, 4rem);
  }
  #RPsbs-1587 .cs-picture,
  #RPsbsr-1587 .cs-picture {
    width: 100%;
    height: clamp(25rem, 80vw, 47rem);
    display: block;
    position: relative;
  }
  #RPsbs-1587 .cs-picture img,
  #RPsbsr-1587 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #RPsbs-1587 .cs-content,
  #RPsbsr-1587 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 39.375rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
    justify-content: center;
  }
  #RPsbs-1587 .cs-title,
  #RPsbsr-1587 .cs-title {
    /* 26 characters wide including spaces */
    max-width: 28ch;
    margin: 0;
  }
  #RPsbs-1587 .cs-card-group,
  #RPsbsr-1587 .cs-card-group {
    width: 100%;
    /* 550px - 630px */
    max-width: clamp(34.375rem, 50vw, 39.375rem);
    padding: 0;
    /* 24px - 40px */
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.75rem, 4vw, 2.5rem) 0;
    display: grid;
    align-items: center;
    gap: clamp(1rem, 4vw, 2.5rem);
  }
  #RPsbs-1587 .cs-item,
  #RPsbsr-1587 .cs-item {
    list-style: none;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #RPsbs-1587 .wrapper,
  #RPsbsr-1587 .wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
  }
  #RPsbs-1587 .cs-item-number,
  #RPsbsr-1587 .cs-item-number {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: #FF6B35;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #RPsbs-1587 .cs-h3,
  #RPsbsr-1587 .cs-h3 {
    font-size: 1.15rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #RPsbs-1587 .cs-item-text,
  #RPsbsr-1587 .cs-item-text {
    font-size: 0.875rem;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #RPsbs-1587 .cs-button-solid,
  #RPsbsr-1587 .cs-button-solid {
    font-size: 1rem;
    line-height: 3.5em;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    width: auto;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    background-color: #ff6501;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #RPsbs-1587 .cs-button-solid:before,
  #RPsbsr-1587 .cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #1a1a1a;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #RPsbs-1587 .cs-button-solid:hover,
  #RPsbsr-1587 .cs-button-solid:hover {
    color: var(--primary);
  }
  #RPsbs-1587 .cs-button-solid:hover:before,
  #RPsbsr-1587 .cs-button-solid:hover:before {
    width: 100%;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #RPsbs-1587 .cs-container,
  #RPsbsr-1587 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  #RPsbs-1587 .cs-content,
  #RPsbsr-1587 .cs-content {
    width: 50%;
    max-width: 39.375rem;
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #RPsbs-1587 .cs-card-group,
  #RPsbsr-1587 .cs-card-group {
    grid-template-columns: repeat(12, 1fr);
  }
  #RPsbs-1587 .cs-item,
  #RPsbsr-1587 .cs-item {
    grid-column: span 6;
  }
  #RPsbs-1587 .cs-picture,
  #RPsbsr-1587 .cs-picture {
    height: auto;
    min-height: 32.8125rem;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RPsbs-1587 .cs-content,
  #RPsbsr-1587 .cs-content {
    padding: 5.25rem 0;
    align-self: center;
  }
}
/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RPsbsr-1587 {
    background-color: #f7f7f7;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #RPsbsr-1587 .cs-picture {
    order: 2;
  }
}
/* <!-- Hardware and software --> */

       /*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Industry */
#fws_gallery_2{
  margin: 50px 0;
}
#fws_gallery_2 .heading{
  margin-bottom: 30px;
}
#fws_gallery_2 .item{
  margin-bottom: 30px
}
#fws_gallery_2 img{
  width: 100%;
  object-fit: cover;
}
#fws_gallery_2 .des{
  padding: 15px;
  text-align: center;
}
#fws_gallery_2 .des h3{
  text-transform: capitalize;
  font-size: 15px;
  margin-bottom: 5px;
}
#fws_gallery_2 .des span{
  color: #777;
  text-transform: capitalize;
  display: inline-block;
}
/* Industry */
/*  <!-- Meet The Team  --> */
/*   <!-- Equipments  -->   */
/*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-1639 {
    padding: var(--sectionPadding);
  }
  #services-1639 .cs-container {
    max-width: 107.5rem;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-1639 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2.5vw, 1.25rem);
  }
  #services-1639 .cs-item {
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    /* 32px - 40px */
    padding: clamp(2rem, 5vw, 2.5rem);
    background-color: rgba(255, 255, 255, 0.04);
    display: flex;
    grid-column: span 12;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
  }
  #services-1639 .cs-item:before {
    content: '';
    width: 100%;
    height: 0%;
    background: #FF6B35;
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
    transition: height .3s;
  }
  #services-1639 .cs-item:hover:before {
    height: 100%;
  }
  #services-1639 .cs-item:hover .cs-icon {
    filter: grayscale(1) brightness(1000%);
  }
  #services-1639 .cs-icon {
    width: 3rem;
    height: auto;
  }
  #services-1639 .cs-h2 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--bodyTextColorWhite);
    text-align: inherit;
  }
  #services-1639 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.6vw, 1rem);
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColorWhite);
    opacity: .8;
    text-align: inherit;
  }
}
/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
  #services-1639 .cs-item {
    grid-column: span 6;
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #services-1639 .cs-item {
    grid-column: span 3;
  }
}
/* Plastic-Chemical.html */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
 #breadcrumb-5{
     background: url(https://freewebsnippets.com/public/frontend/snippet_img/slider-5-1.jpg);
     background-size: cover;
     background-repeat: no-repeat;
     position: relative;
     padding: 300px 0 150px;
     font-family: "Rubik", sans-serif;
     overflow: hidden;
}
 #breadcrumb-5::after {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.7);
     pointer-events: none;
}
 #breadcrumb-5 .bread_inner{
     position: relative;
     z-index: 1;
     color: #fff;
}
 #breadcrumb-5 .link{
     color: #fff;
     position: relative;
     z-index: 1;
     text-align: right;
}
 #breadcrumb-5 .sub_title{
     font-size: 0.875rem;
     font-weight: 600;
     line-height: 1rem;
     text-transform: uppercase;
     color: #ff5a19;
     margin-bottom: 20px;
}
 #breadcrumb-5 .back_title{
     white-space: nowrap;
     position: absolute;
     bottom: -2.5rem;
     left: 0;
     font-size: 7.5rem;
     font-weight: 400;
     line-height: 1.15;
     color: transparent;
     -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}
 #breadcrumb-5 h1{
     font-size: 4.375rem;
     font-weight: 400;
     line-height: 1.1;
     position: relative;
     left: 50px;
}
 #breadcrumb-5 .link a{
     color: #fff;
     text-decoration: none;
     color: #ff5a19;
     margin-right: 7px;
}
 #breadcrumb-5 .link span{
     margin-left: 7px;
}
 @media (max-width: 768px){
     #breadcrumb-5 .link{
         text-align: left;
         margin-top: 30px;
    }
}
 @media (max-width: 576px){
     #breadcrumb-5 .back_title{
         font-size: 4rem;
         bottom: -25px;
    }
     #breadcrumb-5 h1{
         font-size: 3rem;
         left: 25px;
    }
     #breadcrumb-5{
         padding: 100px 0;
    }
}
/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero-2274 {
    /* 150px - 350px Top */
    padding: clamp(9rem, 30.95vw, 21.875rem) 1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
  }
  #hero-2274 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5.5rem;
    height: 400px;
  }
  #hero-2274 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 39.375rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
    position: relative;
    z-index: 10;
  }
  #hero-2274 .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2em;
    width: 100%;
    max-width: 17ch;
    margin: 0 0 1rem;
    color: var(--bodyTextColorWhite);
    position: relative;
  }
  #hero-2274 .cs-text {
    /* 16px - 20px */
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.5em;
    width: 100%;
    max-width: 43.75rem;
    /* 28px - 40px */
    margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
  }
  #hero-2274 .cs-button-solid {
    font-size: 1rem;
    text-align: center;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    /* clips corners of the before element */
    overflow: hidden;
    margin: 0;
    color: #fff;
    padding: 0 1.75rem;
    background-color: #FF6B35;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #hero-2274 .cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #hero-2274 .cs-button-solid:hover {
    color: #fff;
  }
  #hero-2274 .cs-button-solid:hover:before {
    width: 100%;
  }
  #hero-2274 .cs-picture {
    width: 100%;
    /* 427px - 581px */
    max-width: clamp(26.6875rem, 50vw, 36.3125rem);
    height: auto;
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 7;
  }
  #hero-2274 .cs-picture img {
    width: 100%;
    height: auto;
  }
  #hero-2274 .cs-image-group {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
  }
  #hero-2274 .cs-background {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
  }
  #hero-2274 .cs-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #hero-2274 .cs-background1:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.72;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
  #hero-2274 .cs-background2 {
    height: 100vw;
    max-height: 30rem;
    flex: none;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #hero-2274 {
    padding-bottom: 9.375rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5.625rem;
  }
  #hero-2274 .cs-container {
    justify-content: flex-start;
    flex-direction: row;
  }
  #hero-2274 .cs-content {
    text-align: left;
    width: 53%;
    align-items: flex-start;
  }
  #hero-2274 .cs-picture {
    width: 56%;
    position: absolute;
    bottom: -4.0625rem;
    right: -1.875rem;
  }
  #hero-2274 .cs-image-group {
    flex-direction: row;
  }
  #hero-2274 .cs-background2 {
    width: 25vw;
    height: 100%;
    max-height: 100%;
    border-left: 2px solid #FFC219;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #hero-2274 {
    /* 100px - 172px */
    padding-bottom: clamp(6.25rem, 12vw, 10.9375rem);
  }
  #hero-2274 .cs-picture {
    width: 45%;
    /* same value as the padding, but opposite */
    bottom: calc(clamp(6.25rem, 12vw, 10.9375rem)*-1);
    /* 32px - 80px */
    right: clamp(2rem, 5vw, 5rem);
  }
  #hero-2274 .cs-background2 {
    width: 32.8125vw;
  }
}

/*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #Hservices-2274 {
    width: 100%;
    padding: var(--sectionPadding);
    position: relative;
    z-index: 20;
  }
  #Hservices-2274 .cs-container {
    max-width: 80rem;
    margin-top: 100px;
    position: relative;
    z-index: 1;
  }
  #Hservices-2274 .cs-card-group {
    width: 100%;
    max-width: 80rem;
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    row-gap: 2rem;
  }
  #Hservices-2274 .cs-item {
    text-align: left;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    grid-column: span 12;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s, border-color 0.3s;
  }
  #Hservices-2274 .cs-item:last-of-type .cs-link {
    /* 32px - 80px top & bottom */
    /* 16px - 80px left & right */
    padding: clamp(2rem, 7vw, 5rem) clamp(1rem, 4vw, 5rem);
    box-sizing: border-box;
  }
  #Hservices-2274 .cs-item:last-of-type .cs-icon {
    width: 4rem;
    margin-bottom: 1.5rem;
  }
  #Hservices-2274 .cs-item:last-of-type .cs-h3 {
    font-size: 1.5625rem;
  }
  #Hservices-2274 .cs-item:last-of-type .cs-item-text {
    margin-bottom: 2rem;
  }
  #Hservices-2274 .cs-number {
    font-size: 4.5rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: black;
  }
  #Hservices-2274 .cs-fake-link {
    font-size: 1rem;
    line-height: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
    padding: 0 0 0.25rem 0;
    border-bottom: 1px solid black;
    color: #FF6B35;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
  }
  #Hservices-2274 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #Hservices-2274 .cs-background:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #Hservices-2274 .cs-background img {
    width: 100%;
    height: 100%;
    opacity: 0.08;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #Hservices-2274 .cs-link {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }
  #Hservices-2274 .cs-icon {
    width: 2.5rem;
    height: auto;
    margin: 0 0 1.25rem 0;
  }
  #Hservices-2274 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    font-weight: 700;
    text-align: inherit;
    line-height: 1.2em;
    margin: 0 0 0.5rem 0;
    color: black
    transition: color 0.3s;
  }
  #Hservices-2274 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    text-align: inherit;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
    transition: color 0.3s, opacity 0.3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #Hservices-2274 .cs-card-group {
    width: 44%;
  }
  #Hservices-2274 .cs-item:last-of-type {
    width: 49%;
    position: absolute;
    right: 0;
    top: calc(clamp(10rem, 20vw, 12.5rem)*-1);
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #Hservices-2274 .cs-item:last-of-type {
    width: 37vw;
    max-width: 25rem;
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #Hservices-2274 {
    padding: 0;
  }
  #Hservices-2274 .cs-card-group {
    width: 53.75rem;
    padding: 3.75rem 0;
    column-gap: 1.25rem;
  }
  #Hservices-2274 .cs-item {
    grid-column: span 4;
  }
  #Hservices-2274 .cs-item:last-of-type {
    top: auto;
    bottom: 0;
  }
}
                                /*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0rem) {
    #services-218 {
        padding: var(--sectionPadding);
    }
    #services-218 .cs-container {
        width: 100%;
        /* changes to 1280px at tablet */
        max-width: 34.375rem;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #services-218 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        max-width: 32.625rem;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }

    #services-218 .cs-text {
        margin-bottom: 1rem;
    }
    #services-218 .cs-text:last-of-type {
        margin-bottom: 2rem;
    }
    #services-218 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: #FF6B35;
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #services-218 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #services-218 .cs-button-solid:hover:before {
        width: 100%;
    }
    #services-218 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
    }
    #services-218 .cs-item {
        list-style: none;
        width: 100%;
        margin-right: 0.625rem;
        /* padding left and right changes on tablet */
        padding: 2.75rem 2rem;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        background-color: #fafbfc;
        border: 1px solid #dad9e3;
        border-radius: 0.3125rem;
        position: relative;
    }
    #services-218 .cs-item:before {
        /* top right box */
        content: "";
        width: 45%;
        max-width: 11.25rem;
        height: 50%;
        max-height: 9rem;
        background: var(--primary);
        border-radius: 1rem;
        position: absolute;
        display: block;
        top: -0.625rem;
        right: -0.625rem;
        z-index: -1;
    }
    #services-218 .cs-icon {
        /* 60px - 77px */
        width: clamp(3.75rem, 7.6vw, 4.8125rem);
        height: auto;
        margin-bottom: 2.5rem;
        display: block;
    }
    #services-218 .cs-h3 {
        /* 20px - 25px */
        font-size: clamp(1.25rem, 1.5vw, 1.5625rem);
        line-height: 1.2em;
        margin: 0;
        margin-bottom: 1rem;
        color: var(--headerColor);
        font-weight: bold;
    }
    #services-218 .cs-item-text {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
    }
    #services-218 .cs-watermark {
        display: none;
    }
}
/* Tablet */
@media only screen and (min-width: 48rem) {
    #services-218 .cs-container {
        max-width: 80rem;
        position: relative;
    }
    #services-218 .cs-content {
        width: 50%;
    }
    #services-218 .cs-card-group {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
    }
    #services-218 .cs-item {
        grid-column: span 4;
        grid-row: span 1;
        margin: 0;
        /* makes each card the same height if you add or remove lines of text */
        align-self: stretch;
    }
    #services-218 .cs-watermark {
        width: 30%;
        max-width: 14rem;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        display: block;
    }
}
/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbsr-2217 {
    padding: var(--sectionPadding);
    background-color: #FDFAF8;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #sbsr-2217 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.5rem;
    margin-top: 40PX;;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #sbsr-2217 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 36.625rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #sbsr-2217 .cs-text {
    margin-bottom: 1.5rem;
  }
  #sbsr-2217 .cs-list {
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 24px - 32px */
    gap: clamp(1.5rem, 3vw, 2rem);
  }
  #sbsr-2217 .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
  }
  #sbsr-2217 .cs-icon-wrapper {
    /* 60px - 80px */
    width: clamp(3.75rem, 7vw, 5rem);
    height: clamp(3.75rem, 7vw, 5rem);
    border: 1px solid #bababa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }
  #sbsr-2217 .cs-icon {
    width: 2rem;
    height: auto;
    display: block;
  }
  #sbsr-2217 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: left;
    margin: 0 0 0.75rem 0;
    color: var(--headerColor);
  }
  #sbsr-2217 .cs-li-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    line-height: 1.5em;
    text-align: left;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #sbsr-2217 .cs-image-group {
    /* scales the whole group based on the view width size and stop when that vales equals .74em, resets at desktop */
    font-size: min(2.32vw, .74em);
    width: 39.375em;
    height: 40.9375em;
    display: block;
    position: relative;
    z-index: 1;
  }
  #sbsr-2217 .cs-image-group::before {
    content: "";
    width: 22.375em;
    height: auto;
    background: var(--secondary);
    opacity: 0.2;
    display: block;
    position: absolute;
    top: 9em;
    bottom: 11.125em;
    left: 5.5em;
  }
  #sbsr-2217 .cs-picture {
    position: absolute;
  }
  #sbsr-2217 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #sbsr-2217 .cs-picture1 {
    width: 19.0625em;
    height: auto;
    border: 4px solid #FFFFFF;
    top: 0;
    bottom: 17.5625em;
    left: 0;
  }
  #sbsr-2217 .cs-picture2 {
    width: 25.8125em;
    height: auto;
    border: 4px solid #FFFFFF;
    top: 16.9375em;
    right: 0;
    bottom: 0;
  }
  #sbsr-2217 .cs-picture3 {
    width: 13.625em;
    height: 9.6875em;
    top: 5.25em;
    right: 4.6875em;
  }
  #sbsr-2217 .cs-graphic {
    /* 131px - 255px */
    width: clamp(5.8175rem, 15vw, 15.9375rem);
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }
  #sbsr-2217 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    padding: 0 1.5rem;
    background-color: #FF6B35;
    color: #fff;
    display: inline-block;
    position: relative;
    z-index: 1;
  }
  #sbsr-2217 .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #000;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #sbsr-2217 .cs-button-solid:hover:before {
    width: 100%;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #sbsr-2217 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
  #sbsr-2217 .cs-content {
    width: 47%;
    align-self: center;
  }
  #sbsr-2217 .cs-li {
    align-items: center;
  }
  #sbsr-2217 .cs-image-group {
    font-size: min(1.2vw, 1em);
    height: auto;
    flex: none;
    order: 2;
  }
}
                                /*-- -------------------------- -->
<---           Video            -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0rem) {
  #video-2284 {
    padding: var(--sectionPadding);
    /* 60px - 256px */
    padding-top: clamp(3.75rem, 18vw, 16rem);
    padding-bottom: clamp(3.75rem, 18vw, 16rem);
    position: relative;
    z-index: 1;
    height: 300px;;
  }
  #video-2284 .cs-container {
    max-width: calc(1280/16 * 1rem);
    margin: auto;
    height: 300px;;
  }
  #video-2284 .cs-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(32/16 * 1rem);
  }
  #video-2284 .cs-title {
    max-width: 100%;
    margin: 0;
    color: var(--bodyTextColorWhite);
  }
  #video-2284 .cs-link {
    font-size: calc(20/16 * 1rem);
    line-height: 1.2em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    margin: 0;
    color: var(--bodyTextColorWhite);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(16/16 * 1rem);
  }
  #video-2284 .cs-link:hover .cs-wrapper {
    transform: scale(1.1);
  }
  #video-2284 .cs-wrapper {
    width: calc(80/16 * 1rem);
    height: calc(80/16 * 1rem);
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
    transition: transform 0.3s;
  }
  #video-2284 .cs-icon {
    width: calc(24/16 * 1rem);
    height: auto;
    display: block;
    transform: translateX(4px);
  }
  #video-2284 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #video-2284 .cs-background:before {
    /* background color overlay */
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.72;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #video-2284 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
  }
}
                                
       /*-- -------------------------- -->
<---            Blog            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #blog-986 {
        padding: var(--sectionPadding);
        background-color: #1a1a1a;
        /* height: 500px;; */
    }
    #blog-986 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 36.5rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #blog-986 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #blog-986 .cs-title {
        margin-bottom: 2rem;
        max-width: 20ch;
        color: white;
    }
    #blog-986 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875em, 5.5vw, 3.5em);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 2rem;
        background-color: #FF6B35;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #blog-986 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #blog-986 .cs-button-solid:hover:before {
        width: 100%;
    }
    #blog-986 .cs-button-solid {
        /* prevents flexbox from squishing it */
        flex: none;
    }
    #blog-986 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        /* 16px - 20px */
        gap: clamp(1rem, 2vw, 1.25rem);
        position: relative;
    }
    #blog-986 .cs-item {
        list-style: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        position: relative;
    }
    #blog-986 .cs-item:hover {
        cursor: pointer;
    }
    #blog-986 .cs-item:hover .cs-info:before {
        opacity: 1;
        background-color: var(--primary);
    }
    #blog-986 .cs-item:hover .cs-picture img {
        transform: scale(1.15);
    }
    #blog-986 .cs-item:hover .cs-date {
        color: #fff;
    }
    #blog-986 .cs-item:hover .cs-icon {
        filter: brightness(150%);
    }
    #blog-986 .cs-item:hover .cs-link {
        color: #fff;
    }
    #blog-986 .cs-picture {
        width: 35rem;
        height: 15rem;
        /* removed at tablet */
        aspect-ratio: 0.68333333;
        /* clips img tag from overflowing it on hover */
        overflow: hidden;
        display: block;
        position: relative;
        z-index: 1;
    }
    #blog-986 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */
        object-position: top;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transition: transform 0.9s;
    }
    #blog-986 .cs-info {
        width: 83%;
        max-width: 26.25rem;
        /* 16px - 24px */
        padding: clamp(1rem, 2vw, 1.5rem);
        /* prevents padding from affecting the height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 10;
    }
    #blog-986 .cs-info:before {
        /* background-color */
        content: "";
        width: 100%;
        height: 100%;
        background: #1a1a1a;
        opacity: 0.8;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: -1;
        transition:
            background-color 0.3s,
            opacity 0.3s;
    }
    #blog-986 .cs-date {
        font-size: 1rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0 0 1.25rem 0;
        color: #bababa;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s;
    }
    #blog-986 .cs-icon {
        width: 1.25rem;
        height: auto;
        transition: filter 0.3s;
    }
    #blog-986 .cs-h3 {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0 0 0.75rem 0;
        color: #fff;
        display: block;
    }
    #blog-986 .cs-desc {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0 0 1.25rem 0;
        color: #f7f7f7;
        display: block;
    }
    #blog-986 .cs-link {
        font-size: 1rem;
        line-height: 1.2em;
        font-weight: 700;
        text-decoration: none;
        width: auto;
        margin: 0;
        color: #FF6B35;
        display: inline-block;
        position: relative;
        transition: color 0.3s;
    }
    #blog-986 .cs-link:hover {
        color: #fff;
    }
    #blog-986 .cs-link:before {
        /* underline */
        content: "";
        width: 100%;
        height: 1px;
        background: currentColor;
        opacity: 1;
        position: absolute;
        display: block;
        bottom: 0;
        left: 0;
        transition: background-color 0.3s;
    }
}
/* Tablet - 550px */
@media only screen and (min-width: 34.375rem) {
    #blog-986 .cs-content {
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 3rem;
    }
    #blog-986 .cs-title {
        margin: 0;
    }
    #blog-986 .cs-picture {
        /* remove the aspect ratio so the height can be squished */
        aspect-ratio: initial;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #blog-986 .cs-container {
        max-width: 80rem;
    }
    #blog-986 .cs-card-group {
        flex-direction: row;
    }
}

                                /*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #cta-1192 {
        margin-top: 1.875rem;
        padding: var(--sectionPadding);
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        position: relative;
        z-index: 1;
        height: 500px;;
    }
    #cta-1192:before {
        /* yellow shape */
        content: "";
        width: 12.25rem;
        /* 64px - 284px */
        height: clamp(4rem, 10vw, 17.75rem);
        background: var(--secondary);
        opacity: 1;
        position: absolute;
        display: block;
        top: 1.875rem;
        left: 0;
        z-index: 2;
        transform: skew(-17deg);
    }
    #cta-1192:after {
        /* covers the rest of the :before shape on the left */
        content: "";
        width: 6.25rem;
        /* 64px - 284px */
        height: clamp(4rem, 10vw, 17.75rem);
        background: var(--secondary);
        opacity: 1;
        position: absolute;
        display: block;
        top: 1.875rem;
        left: 0;
        z-index: 1;
    }
    #cta-1192 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        padding: var(--sectionPadding);
        /* 96px - 120px */
        padding-top: clamp(6rem, 20vw, 7.5rem);
        /* 100px - 240px */
        padding-bottom: clamp(6.25rem, 25vw, 15rem);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
        position: relative;
        z-index: 2;
    }
    #cta-1192 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #cta-1192 .cs-title {
        max-width: 17ch;
        /* 28px - 40px */
        margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
        color: white
    }
    #cta-1192 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 2rem;
        background-color: #FF6B35;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #cta-1192 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #cta-1192 .cs-button-solid:hover:before {
        width: 100%;
    }
    #cta-1192 .cs-image {
        width: 100%;
        /* changes to 779px at large desktop */
        max-width: 10.9375rem;
        max-height: 5.125rem;
        height: auto;
        display: block;
        position: relative;
        z-index: 10;
    }
    #cta-1192 .cs-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    #cta-1192 .cs-graphic-wrapper {
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: #1a1a1a;
        display: block;
        position: absolute;
        /* same as --secitonPadding variable */
        top: clamp(3.75rem, 7.82vw, 6.25rem);
        left: 0;
        z-index: 1;
    }
    #cta-1192 .cs-graphic {
        width: 140vw;
        height: auto;
        position: absolute;
        bottom: 10%;
        left: 50%;
        z-index: -1;
        transform: translateX(-60%) rotate(-10deg);
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #cta-1192 {
        overflow: visible;
    }
    #cta-1192 .cs-container {
        flex-direction: row;
        overflow: hidden;
    }
    #cta-1192 .cs-content {
        text-align: left;
        width: 50%;
        max-width: 31.25rem;
        align-items: flex-start;
    }
    #cta-1192 .cs-image {
        flex: none;
        position: absolute;
        top: 5rem;
        right: 0;
    }
    #cta-1192 .cs-graphic {
        width: 90vw;
        max-width: 91.375rem;
        margin-left: -15.625rem;
        left: 50%;
        transform: rotate(-10deg);
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #cta-1192 {
        overflow: hidden;
    }
    #cta-1192 .cs-container {
        overflow: visible;
    }
    #cta-1192 .cs-image {
        width: 48vw;
        max-width: 48.6875rem;
    }
    #cta-1192 .cs-graphic {
        width: 80vw;
    }
}
/* Large Desktop 1300px */
@media only screen and (min-width: 81.25rem) {
    #cta-1192 {
        overflow: hidden;
    }
    #cta-1192:before {
        height: 17.6875rem;
        width: 50vw;
        margin-right: 30.625rem;
        right: 50%;
        left: auto;
    }
    #cta-1192:after {
        height: 17.6875rem;
        width: 10vw;
    }
    #cta-1192 .cs-container {
        padding-left: 13.5625rem;
        padding-right: 0;
    }
    #cta-1192 .cs-image {
        margin-left: clamp(2rem, 4.5vw, 5rem);
        left: 50%;
        right: auto;
    }
}

/*-- -------------------------- -->
<---          Reviews           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #reviews-1192 {
        padding: var(--sectionPadding);
        padding-top: 0;
        height: 500px;
    }
    #reviews-1192 .cs-container {
        width: 100%;
        /* changed to 1280px at tablet */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    #reviews-1192 .cs-picture {
        width: 100%;
        max-width: 46.125rem;
        /* 296px - 493px */
        height: clamp(18.5rem, 37vw, 30.8125rem);
        /* -75px to -120px, makes it overlap the CTA section above, changes at tablet */
        margin-top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1);
        display: block;
        position: relative;
        z-index: 10;
    }
    #reviews-1192 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    #reviews-1192 .cs-review-group {
        width: 90%;
        max-width: 39.375rem;
        /* makes it overlap the image, removed at tablet */
        margin-top: -2.625rem;
        /* 24px - 80px */
        padding: clamp(1.5rem, 5.5vw, 5rem);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        background-color: #f7f7f7;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        position: relative;
        z-index: 10;
    }
    #reviews-1192 .cs-icon {
        /* 48px - 97px */
        width: clamp(3rem, 7vw, 6rem);
        height: auto;
        display: block;
    }
    #reviews-1192 .cs-review-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: center;
        margin: 0;
        color: var(--bodyTextColor);
    }
    #reviews-1192 .cs-info {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }
    #reviews-1192 .cs-profile {
        width: 3.125rem;
        height: auto;
        border-radius: 50%;
        border: 4px solid #fff;
        background-color: #fff;
    }
    #reviews-1192 .cs-name {
        /* 20px - 25px */
        font-size: clamp(1.25rem, 2vw, 1.5625rem);
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        color: var(--headerColor);
        display: block;
    }
    #reviews-1192 .cs-desc {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: center;
        margin: 0;
        color: var(--bodyTextColor);
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #reviews-1192 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        justify-content: flex-end;
    }
    #reviews-1192 .cs-picture {
        /* changes at desktop */
        width: 47%;
        margin: 0;
        position: absolute;
        top: calc(clamp(4.6875rem, 13vw, 7.5rem) * -1);
        left: 0;
    }
    #reviews-1192 .cs-review-group {
        width: 57%;
        margin: 0;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #reviews-1192 .cs-picture {
        width: 55%;
    }
}

                                /*-- -------------------------- -->
<---        Why Choose Us       -->
<--- -------------------------- -*/

/
/* index  slider*/
#swiper_slider_5 .content {
    position: relative;
    height: 100%;
}
#swiper_slider_5 .swiper {
    height: 75vh;
}
#swiper_slider_5 .content:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    left: 0;
    top: 0;
}
#swiper_slider_5 .content .img {
    height: 100%;
}
#swiper_slider_5 .content .img img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}
#swiper_slider_5 .content .text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
}
#swiper_slider_5 .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1;
    position: relative;
    margin: 0px 12px !important;
}

#swiper_slider_5 .swiper-pagination-bullet:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid transparent;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.4s;
}
#swiper_slider_5 .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    border-color: #fff;
}
#swiper_slider_5 .swiper-pagination {
    bottom: 20px;
}
#swiper_slider_5 .swiper-button-prev:after,
#swiper_slider_5 .swiper-rtl .swiper-button-next:after {
    content: "\f284";
    font-family: bootstrap-icons !important;
    color: #fff;
    font-size: 25px;
}
#swiper_slider_5 .swiper-button-next:after,
#swiper_slider_5 .swiper-rtl .swiper-button-prev:after {
    content: "\f285";
    font-family: bootstrap-icons !important;
    color: #fff;
    font-size: 25px;
}
#swiper_slider_5 .content h6 {
    text-transform: uppercase;
    color: #FF6B35;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}
#swiper_slider_5 .content h2 {
    font-size: 60px;
    text-transform: capitalize;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}
#swiper_slider_5 .content h2:before {
    content: "";
    position: absolute;
    width: 50px;
    border-bottom: 1px solid #fff;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
#swiper_slider_5 .content p {
    color: #fff;
    margin-bottom: 30px;
    opacity: 0.8;
}
#swiper_slider_5 .content a.btn {
    border-radius: 5px;
    padding: 10px 30px;
    background: #FF6B35;
    border-color: #FF6B35;
    transition: all 0.4s;
    color: #000;
    text-transform: capitalize;
    font-weight: 600;
}
#swiper_slider_5 .content a.btn:hover {
    background-color: #1ca983;
    border-color: #1ca983;
}
@media (max-width: 991px) {
    #swiper_slider_5 .content .text {
        width: 80%;
    }
}
@media (max-width: 576px) {
    #swiper_slider_5 .content .text {
        width: 90%;
    }
    #swiper_slider_5 .swiper {
        height: 70vh;
    }
    #swiper_slider_5 .content h2 {
        font-size: 30px;
    }
}
/* index  slider*/

/* index  service*/
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-1354 {
        padding: var(--sectionPadding);
        position: relative;
        z-index: 10;
    }
    #services-1354 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }
    #services-1354 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #services-1354 .cs-topper {
        color: #767676;
    }
    #services-1354 .cs-title {
        max-width: 25ch;
        margin: 0;
    }
    #services-1354 .cs-card-group {
        margin: 0;
        padding: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        /* 16px - 20px */
        gap: clamp(1rem, 2vw, 1.25rem);
    }
    #services-1354 .cs-item {
        text-align: center;
        list-style: none;
        width: 100%;
        height: 19.0625rem;
        margin: 0;
        padding: 0;
        background-color: #000;
        border-radius: 1.5rem;
        /* clips background image corners */
        overflow: hidden;
        box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        grid-column: span 12;
        grid-row: span 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        position: relative;
        z-index: 1;
    }
    #services-1354 .cs-item:hover .cs-background:before {
        background-color: var(--primary);
        opacity: 0.84;
    }
    #services-1354 .cs-item:hover .cs-background img {
        transform: scale(1.2);
    }
    #services-1354 .cs-link {
        text-decoration: none;
        width: 100%;
        height: 100%;
        /* padding goes on the link, not the cs-item as is normal. We do this because we want the whole card to be hoverable. So we add the padding to the link tag to create the space inside the card. By adding the space inside the cs-link tag we can make the whole card hoverable since the padding is now contributing to the height and widht of the link */
        padding: 1.2rem;
        /* prevents padding from affecting height and width */
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #services-1354 .cs-h3 {
        font-size: 1rem;
        line-height: 1em;
        font-weight: bold;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColorWhite);
        transition: color 0.3s;
    }
    #services-1354 .cs-span {
        /* forces the h3 to alwasy be two lines */
        display: block;
    }
    #services-1354 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #services-1354 .cs-background:before {
        /* background color overlay */
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background-color: #000;
        opacity: 0.4;
        top: 0;
        left: 0;
        z-index: 1;
        transition:
            background-color 0.3s,
            opacity 0.3s;
    }
    #services-1354 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes img tag act as a background image */
        object-fit: cover;
        transition: transform 0.6s;
    }
}
/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
    #services-1354 .cs-item {
        grid-column: span 6;
    }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #services-1354 .cs-content {
        text-align: left;
        align-items: flex-start;
    }
    #services-1354 .cs-item {
        grid-column: span 3;
    }
}

/* second */
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-448 {
        padding: var(--sectionPadding);
    }
    #services-448 .cs-container {
        width: 100%;
        /* changes at 1280px at tablet */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #services-448 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #services-448 .cs-card-group {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 16px - 20px */
        column-gap: clamp(1rem, 1.5vw, 1.25rem);
        /* 24px - 60px */
        row-gap: clamp(1.5rem, 5vw, 3.75rem);
    }
    #services-448 .cs-item {
        list-style: none;
        width: 100%;
        max-width: 22.5rem;
        /* changes at desktop */
        padding-top: 9rem;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #services-448 .cs-item:hover .cs-picture img {
        transform: scale(1.2);
        opacity: 0.4;
    }
    #services-448 .cs-item:hover .cs-flex:before {
        opacity: 1;
    }
    #services-448 .cs-picture {
        width: 100%;
        /* changes at desktop */
        height: 15.625rem;
        border-radius: 0.5rem;
        background-color: var(--primary);
        /* clips the corners of the image */
        overflow: hidden;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #services-448 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* makes it behave like a background image */
        object-fit: cover;
        /* positions top of image to the top of the container */
        object-position: top;
        transition:
            transform 0.9s,
            opacity 0.5s;
    }
    #services-448 .cs-flex {
        text-align: center;
        width: 88%;
        padding: 0 1.5rem 1.5rem 1.5rem;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        border: 1px solid #dad9e3;
        border-radius: 0.75rem;
        background-color: #fff;
        box-shadow: 0px 24px 54px rgba(87, 107, 147, 0.12);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    #services-448 .cs-flex:before {
        /* hover border box */
        content: "";
        background: transparent;
        /* prevents the mouse from interacting with it */
        pointer-events: none;
        border: 4px solid var(--primary);
        border-radius: 0.75rem;
        /* prevents border from affecting height and width */
        box-sizing: border-box;
        opacity: 0;
        position: absolute;
        display: block;
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
        transition: opacity 0.5s;
    }
    #services-448 .cs-wrapper {
        /* 80px - 120px */
        width: clamp(5rem, 9.2vw, 7.5rem);
        height: clamp(5rem, 9.2vw, 7.5rem);
        /* 20px - 24px */
        margin: 0 0 clamp(1.25rem, 1.5vw, 1.5rem);
        /* we use the same clamp value for height & width, but multiple by -.5 so it will be a negative value, and be half of the height.  Negative margins pull things toward the element so they overlap them, in this case we want the .cs-wrapper to overlap .cs-flex by half its height, so we use the same clamp for height and half it for the margin top value */
        margin-top: calc(clamp(5rem, 9.2vw, 7.5rem) * -0.5);
        border-radius: 50%;
        border: 4px solid var(--primary);
        background-color: #fff;
        /* prevents border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 10;
    }
    #services-448 .cs-icon {
        /* 48px - 64px */
        width: clamp(3rem, 4.3vw, 4rem);
        height: auto;
        display: block;
    }
    #services-448 .cs-h3 {
        /* 20px - 25px */
        font-size: clamp(1.25rem, 1.9vw, 1.5625rem);
        line-height: 1.2em;
        font-weight: 700;
        margin: 0 0 0.5rem 0;
        color: var(--headerColor);
    }
    #services-448 .cs-item-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        font-weight: 400;
        /* 20px - 24px */
        margin: 0 0 clamp(1.25rem, 1.5vw, 1.5rem);
        color: var(--bodyTextColor);
    }
    #services-448 .cs-link {
        /* 16px - 20px */
        font-size: clamp(1rem, 1.5vw, 1.25rem);
        line-height: 1.5em;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
        margin: 0;
        color: var(--primary);
        display: inline-block;
        position: relative;
    }
    #services-448 .cs-link:hover:before {
        width: 100%;
    }
    #services-448 .cs-link:before {
        /* animated underline */
        content: "";
        width: 0%;
        height: 3px;
        background: currentColor;
        opacity: 1;
        position: absolute;
        display: block;
        bottom: -0.125rem;
        left: 0;
        transition: width 0.3s;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #services-448 .cs-container {
        max-width: 80rem;
    }
    #services-448 .cs-card-group {
        flex-direction: row;
    }
    #services-448 .cs-item {
        width: 47%;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #services-448 .cs-card-group {
        flex-wrap: nowrap;
    }
    #services-448 .cs-item {
        width: 100%;
        /* 144px - 274px */
        padding-top: clamp(9rem, 17.5vw, 17.125rem);
    }
    #services-448 .cs-picture {
        /* 224px - 428px */
        height: clamp(14rem, 28vw, 26.75rem);
    }
}

                                

/* index  service*/

/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
/* index  service*/

/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero-1618 {
    padding: var(--sectionPadding);
    /* Reduced from clamp(12.5rem, 31.95vw, 18.75rem) */
    padding-top: clamp(8rem, 20vw, 10rem);
    position: relative;
    z-index: 1;
    /* Add min-height if you want to control minimum height */
    min-height: auto;
  }
  #hero-1618 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Reduced from clamp(3.75rem, 13vw, 11.25rem) */
    gap: clamp(2rem, 6vw, 4rem);
  }
  #hero-1618 .cs-content {
    text-align: left;
    width: 100%;
    max-width: 48.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #hero-1618 .cs-topper {
    font-size: clamp(0.8125rem, 1.5vw, 1rem);
    line-height: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    position: relative;
  }
  #hero-1618 .cs-chevron {
    --chevronColor: var(--primary);
    width: 3rem;
    height: auto;
  }
  #hero-1618 .cs-title {
    /* Slightly reduced font size */
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 100%;
    /* Reduced from 2.5rem */
    margin: 0 0 1.5rem 0;
    color: #fff;
    position: relative;
  }
  #hero-1618 .cs-text {
    font-size: clamp(1rem, 1.95vw, 1.25rem);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: clamp(29rem, 60vw, 38.785rem);
    /* Reduced from 2.5rem */
    margin: 0 0 1.5rem 0;
    color: #fff;
  }
  #hero-1618 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    margin: 0;
    color: #fff;
    padding: 0 1.5rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
  }
  #hero-1618 .cs-button-solid:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width .3s;
  }
  #hero-1618 .cs-button-solid:hover:before {
    width: 100%;
  }
  #hero-1618 .cs-card-group {
    margin: 1;
    padding: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2.3vw, 1.25rem);
  }
  #hero-1618 .cs-item {
    width: 100%;
    text-align: left;
    list-style: none;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: #fff;
    box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
    box-sizing: border-box;
    grid-column: span 12;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  #hero-1618 .cs-icon {
    width: 3rem;
    height: auto;
    margin: 0 0 1rem 0; /* Reduced from 1.5rem */
  }
  #hero-1618 .cs-h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: bold;
    text-align: inherit;
    margin: 0 0 0.75rem 0; /* Reduced from 1rem */
    color: var(--headerColor);
  }
  #hero-1618 .cs-item-text {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    padding: 0;
    color: var(--bodyTextColor);
  }
  #hero-1618 .cs-background {
    width: 100%;
    /* Reduced height for mobile */
    height: 40%; /* Changed from 50% */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
  }
  #hero-1618 .cs-background:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #111926;
    opacity: .8;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
  }
  #hero-1618 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    /* Reduced height */
    height: 100%; /* Changed from 80% */
    width: 100%;
    object-fit: cover;
    object-position: top;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #hero-1618 {
    padding-bottom: 0;
  }
  #hero-1618 .cs-container {
    align-items: flex-start;
  }
  #hero-1618 .cs-content {
    text-align: left;
    margin-left: 0;
    align-items: flex-start;
  }
  #hero-1618 .cs-item {
    grid-column: span 4;
  }
  #hero-1618 .cs-background {
    /* Reduced height for tablet */
    height: 60%; /* Changed from 80% */
  }
  #hero-1618 .cs-background:before {
    background: linear-gradient(90deg, #111926 21.41%, rgba(17, 25, 38, 0.72) 34.98%, rgba(17, 25, 38, 0) 62.53%);
    opacity: 1;
  }
}
/* Large Desktop Parallax Effect - 100px */
@media only screen and (min-width: 100rem) {
  #hero-1618 .cs-background {
    background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/meeting7.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Set a specific height for desktop if needed */
    height: 60vh; /* You can adjust this value */
    background-attachment: fixed;
  }
  #hero-1618 .cs-background img {
    display: none;
  }
}

/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-1724 {
    padding: var(--sectionPadding);
    /* removing the side paddings to allow the cards to fit the whole page width */
    padding-right: 0;
    padding-left: 0;
    position: relative;
  }
  #services-1724 .cs-container {
    width: 100%;
    max-width: 156.25rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-1724 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    max-width: 80rem;
    box-sizing: border-box;
    /* 16px - 40px */
    padding: 0 clamp(1rem, 3.8vw, 2.5rem);
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
    gap: 1rem;
  }
  #services-1724 .cs-title {
    max-width: 20ch;
  }
  #services-1724 .cs-text {
    max-width: 39.5rem;
  }
  #services-1724 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
  }
  #services-1724 .cs-item {
    text-align: left;
    list-style: none;
    width: 100%;
    /* 220px - 480px */
    height: clamp(13.75rem, 32vw, 30rem);
    margin: 0;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    padding: 0;
    background-color: #000;
    box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    grid-column: span 12;
    position: relative;
    z-index: 1;
  }
  #services-1724 .cs-item:hover .cs-picture::after {
    opacity: 0.6;
  }
  #services-1724 .cs-item:hover .cs-picture img {
    transform: scale(1.2);
  }
  #services-1724 .cs-item:hover .cs-number {
    opacity: 1;
    /* 16px - 32px */
    top: clamp(1rem, 2.3vw, 2rem);
  }
  #services-1724 .cs-item:hover .cs-h3 {
    opacity: 1;
    /* 16px - 32px */
    bottom: clamp(1rem, 2.3vw, 2rem);
  }
  #services-1724 .cs-link {
    text-decoration: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /* 16px - 32px */
    padding: clamp(1rem, 2.3vw, 2rem);
    /* we use flexbox here to grow the link to fit the whole item, making it clickable everywhere, no matter the size */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
  }
  #services-1724 .cs-link::after {
    /* hover overlay */
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    /* as we can't animate background gradients, we animate the change of opacity from 0 to 1 */
    transition: opacity 0.3s;
  }
  #services-1724 .cs-number {
    /* 49px - 84px */
    font-size: clamp(3.0625rem, 6vw, 5.25rem);
    font-weight: 900;
    /* sets the fill of the number to be transparent */
    color: rgba(0, 0, 0, 0);
    opacity: 0;
    position: absolute;
    top: 0;
    /* 16px - 32px */
    right: clamp(1rem, 2.3vw, 2rem);
    transition: opacity 0.3s, top 0.3s;
    /* provides a 1px white stroke to the text, outlining it */
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--bodyTextColorWhite);
  }
  #services-1724 .cs-h3 {
    /* 20px - 31px */
    font-size: clamp(1.25rem, 2vw, 1.9375rem);
    font-weight: 900;
    line-height: 1.2em;
    white-space: nowrap;
    /* width, overflow, text-overflow and white-space all provide the ellipsis when the h3 content is too long */
    width: 80%;
    margin: 0;
    color: var(--bodyTextColorWhite);
    overflow: hidden;
    transition: opacity 0.3s, bottom 0.3s;
  }
  #services-1724 .cs-picture {
    width: 100%;
    height: 100%;
    /* prevents the mouse from interacting with it */
    pointer-events: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
  }
  #services-1724 .cs-picture:before {
    /* gradient overlay */
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, #000000 100%);
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
  }
  #services-1724 .cs-picture:after {
    /* background color overlay on hover */
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: opacity 0.3s;
  }
  #services-1724 .cs-picture img {
    width: 100%;
    height: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: transform 0.7s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-1724 {
    padding-bottom: 0;
  }
  #services-1724 .cs-content {
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2.5rem;
  }
  #services-1724 .cs-item {
    grid-column: span 4;
  }
  #services-1724 .cs-item:nth-of-type(4),
  #services-1724 .cs-item:nth-of-type(5) {
    grid-column: span 6;
  }
  #services-1724 .cs-text {
    width: 60%;
  }
  #services-1724 .cs-title {
    margin: 0;
  }
}
/* Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #services-1724 .cs-card-group {
    grid-template-columns: repeat(5, 1fr);
  }
  #services-1724 .cs-item {
    grid-column: span 1;
  }
  #services-1724 .cs-item:nth-of-type(4),
  #services-1724 .cs-item:nth-of-type(5) {
    grid-column: span 1;
  }
}
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-1628 {
    padding: var(--sectionPadding);
    background-color: #f7f7f7;
  }
  #services-1628 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 34.375em;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-1628 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #services-1628 .cs-title {
    max-width: 20ch;
  }
  #services-1628 .cs-text {
    max-width: 40rem;
    position: relative;
    z-index: 1;
  }
  #services-1628 .cs-text:after {
    /* divider line */
    content: "";
    width: 100%;
    height: 1px;
    margin-top: 1.5rem;
    background: var(--primary);
    opacity: 1;
    display: block;
    position: relative;
  }
  #services-1628 .cs-chevron {
    --chevronColor: var(--primary);
    width: 3rem;
    height: auto;
  }
  #services-1628 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    column-gap: clamp(1rem, 2.5vw, 1.25rem);
    /* 28px - 40px */
    row-gap: clamp(1.75rem, 2.5vw, 2.5rem);
  }
  #services-1628 .cs-item {
    list-style: none;
    width: 100%;
    display: flex;
    grid-column: span 12;
    flex-direction: column;
    align-items: flex-start;
  }
  #services-1628 .cs-item:hover .cs-picture img {
    opacity: .5;
    transform: scale(1.2);
  }
  #services-1628 .cs-link {
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #services-1628 .cs-picture {
    width: 100%;
    height: 15rem;
    margin-bottom: 1.5rem;
    background-color: #000;
    overflow: hidden;
    display: block;
    position: relative;
  }
  #services-1628 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .6s, opacity .3s;
  }
  #services-1628 .cs-h3 {
    font-size: 1.30rem;
    line-height: 1.2em;
    font-weight: 800;
    text-align: left;
    margin: 0 0 0.75rem 0;
    color: black;
  }
  #services-1628 .cs-item-text {
    font-size: 0.75rem;
    line-height: 1.5em;
    text-align: left;
    margin: 0 0 1.5rem 0;
    color: gray;
  }
  #services-1628 .cs-fake-link {
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    margin-top: auto;
    color: var(--primary);
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #services-1628 .cs-fake-link:hover .cs-icon {
    transform: translateX(0.5rem);
  }
  #services-1628 .cs-icon {
    width: 1.25rem;
    height: auto;
    display: block;
    transition: transform .3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-1628 .cs-container {
    max-width: 80rem;
  }
  #services-1628 .cs-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  #services-1628 .cs-flex {
    text-align: left;
    width: 40vw;
    max-width: 40rem;
    flex: none;
  }
  #services-1628 .cs-title {
    margin: 0;
  }
  #services-1628 .cs-text {
    padding: 0.75rem 0 0.75rem 1.5rem;
  }
  #services-1628 .cs-text:after {
    width: 1px;
    height: 100%;
    margin: 0 1.5rem 0 0;
    order: -1;
    position: absolute;
    left: 0;
    top: 0;
  }
  #services-1628 .cs-item {
    grid-column: span 6;
  }
  #services-1628 .cs-picture {
    /* 240px - 420px */
    height: clamp(15rem, 33vw, 26.25rem);
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #services-1628 .cs-item {
    grid-column: span 3;
  }
}
/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbsr-2289 {
    padding: var(--sectionPadding);
    overflow: hidden;
  }
  #sbsr-2289 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
  }
  #sbsr-2289 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
    position: relative;
    z-index: 10;
  }
  #sbsr-2289 .cs-text {
    margin-bottom: 1rem;
  }
  #sbsr-2289 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbsr-2289 .cs-features {
    width: 100%;
    margin: 0 0 2rem;
    /* 24px - 32px */
    padding: clamp(1.5rem, 4vw, 2rem);
    background-color: #fef5f4;
    border-left: 0.25rem solid var(--secondary);
  }
  #sbsr-2289 .cs-h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5em;
    margin: 0 0 0.75rem;
    color: var(--headerColor);
  }
  #sbsr-2289 .cs-ul {
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  #sbsr-2289 .cs-li {
    font-size: 1rem;
    line-height: 1.5em;
    list-style: none;
    /* 20px - 24px */
    padding-left: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--bodyTextColor);
    position: relative;
  }
  #sbsr-2289 .cs-li::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.5rem;
    background-color: var(--secondary);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(45deg);
  }
  #sbsr-2289 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    padding: 0 1.5rem;
    background-color: var(--primary);
    color: #1a1a1a;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #sbsr-2289 .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #000;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #sbsr-2289 .cs-button-solid:hover {
    color: #fff;
  }
  #sbsr-2289 .cs-button-solid:hover:before {
    width: 100%;
  }
  #sbsr-2289 .cs-image-group {
    width: 100%;
    height: 126vw;
    max-height: 39.125rem;
    display: block;
    order: -1;
    position: relative;
    z-index: 1;
  }
  #sbsr-2289 .cs-picture {
    /* big background image */
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 5.9375rem;
    left: 0;
  }
  #sbsr-2289 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #sbsr-2289 .cs-box {
    text-align: left;
    width: 91%;
    max-width: 28.125rem;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    /* 24px - 32px */
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: #fffcf3;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    position: absolute;
    right: 50%;
    bottom: 0;
    z-index: 10;
    transform: translate(50%);
  }
  #sbsr-2289 .cs-number {
    /* 31px - 49px */
    font-size: clamp(1.9375rem, 4vw, 3.0625rem);
    font-weight: 700;
    line-height: 1.2em;
    text-transform: uppercase;
    margin: 0;
    color: var(--General-Secondary, #ffc219);
  }
  #sbsr-2289 .cs-heading {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 0.5rem;
    color: var(--headerColor);
  }
  #sbsr-2289 .cs-desc {
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--bodyTextColor);
  }
  #sbsr-2289 .cs-graphic {
    width: 150%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #sbsr-2289 .cs-box {
    flex-direction: row;
    align-items: center;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #sbsr-2289 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
  }
  #sbsr-2289 .cs-content {
    padding-right: 3.25rem;
    padding-bottom: 6.75rem;
  }
  #sbsr-2289 .cs-image-group {
    height: auto;
    min-height: 40.125rem;
    max-height: 100%;
    order: initial;
  }
  #sbsr-2289 .cs-picture {
    bottom: 4rem;
  }
}

/* ========================================================================
   MOBILE IMAGE HEIGHT FIX - About Section
   Ensures about-1.jpg displays properly on mobile devices
======================================================================== */

/* Desktop: Square image container (aspect-ratio 1:1) */
.about .col-lg-5 .position-relative {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
}

.about .col-lg-5 .position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tablet: Maintain square aspect ratio */
@media (max-width: 991px) {
    .about .col-lg-5 .position-relative {
        aspect-ratio: 1 / 1;
    }
    
    .about .col-lg-5 .position-relative img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Small Mobile: Maintain square aspect ratio */
@media (max-width: 576px) {
    .about .col-lg-5 .position-relative {
        aspect-ratio: 1 / 1;
    }
    
    .about .col-lg-5 .position-relative img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
                                