/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Calibri', 'Calibri Light', 'Candara', 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;
}

html {
    font-family: 'Calibri', 'Calibri Light', 'Candara', 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;
    font-size: 18px; /* Increased from default 16px */
}

:root {
    /* Brand */
    --primary-50: #e6f7fa;
    --primary-100: #c2edf3;
    --primary-200: #8fdce9;
    --primary-300: #56c5dc;
    --primary-400: #26afcd;
    --primary-color: #0099ad;
    --primary-600: #007888;
    --primary-700: #045f6c;
    --primary-800: #094d59;
    --primary-900: #0c414c;
    --primary-light: #00b4c7; /* legacy alias */
    --primary-dark: #007888;  /* legacy alias */

    /* Accent & states */
    --accent-color: #00c2a8;
    --info-color: #3b82f6;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Neutral / text */
    --text-dark: #2c3e50;
    --text: #334155;
    --text-muted: #6c757d;
    --text-light: #94a3b8;

    /* Surfaces */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-muted: #f1f5f9;
    --bg-strong: #e2e8f0;

    /* Borders & outlines */
    --border-color: #e9ecef;
    --border-strong: #d4d9de;

    /* Shadows & motion */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-focus: 0 0 0 3px rgba(0, 153, 173, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Calibri', 'Calibri Light', 'Candara', 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.125rem; /* 18px - Increased base font size */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 400;
}

/* Ensure all text elements use Calibri */
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, ul, ol,
button, input, textarea, select,
label, th, td, table,
section, article, aside, header, footer, nav,
main, form, fieldset, legend {
    font-family: 'Calibri', 'Calibri Light', 'Candara', 'Segoe UI', 'Trebuchet MS', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: none;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.site-header .nav-brand a {
    color: #2ac5e8;
    text-shadow: none;
}

.site-header .logo-img {
    filter: none;
}

.site-header .nav-menu a {
    color: #6c757d;
    text-shadow: none;
    font-weight: bold;
}

.site-header .nav-menu a::after {
    background: var(--primary-color);
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a.active {
    color: var(--text-dark);
}

.site-header .language-toggle {
    border-color: var(--border-color);
    color: var(--text-dark);
    text-shadow: none;
}

.site-header .mobile-menu-toggle span {
    background: var(--text-dark);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .50rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 32px; /* Reduced from 40px */
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-brand a:hover .logo-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--bg-white);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.95rem; /* Reduced from 1.1rem */
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: calc(100% - 2.5rem);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: transparent;
    color: var(--bg-white);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
    padding-right: 2.5rem;
}

.dropdown-toggle::before {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.8;
}

.dropdown:hover .dropdown-toggle::before,
.dropdown.active .dropdown-toggle::before {
    transform: translateY(-50%) rotate(-135deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    min-width: 240px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.65rem;
    border: 1px solid rgba(18, 38, 63, 0.08);
    padding: 0.6rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform-origin: top;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 36px;
    width: 14px;
    height: 14px;
    background: inherit;
    transform: rotate(45deg);
    border-left: 1px solid rgba(18, 38, 63, 0.08);
    border-top: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 3px 0 0 0;
    z-index: 1;
}

.dropdown-menu li {
    list-style: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem; /* Reduced from 0.95rem */
    font-weight: 600;
    border-radius: 10px;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.12;
    transition: inherit;
}

.dropdown-menu a:hover {
    background: rgba(55, 125, 255, 0.08);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(55, 125, 255, 0.12);
}

/* Language Selector */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
}

.language-toggle {
    background: rgba(42, 197, 232, 0.1);
    border: 1px solid #2ac5e8;
    color: #2ac5e8;
    padding: 0.75rem 1.5rem; /* Reduced padding */
    border-radius: 50px;
    font-size: 0.875rem; /* Reduced from 1rem */
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-shadow: none;
}

.language-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    min-width: 120px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.65rem;
    border: 1px solid rgba(18, 38, 63, 0.08);
    list-style: none;
    max-height: 320px;
    overflow: auto;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform-origin: top;
}

.language-selector:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu a {
    display: block;
    padding: 0.5rem 0.75rem; /* Reduced padding */
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem; /* Reduced from 1rem */
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.22s ease;
    margin-bottom: 0.15rem;
}

.language-menu a:hover {
    background: rgba(55, 125, 255, 0.08);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.1);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Hide fallback when video is loaded and playing */
.hero-video:not(:emptied) + .hero-fallback {
    display: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--bg-white);
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-block;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: var(--bg-light);
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.secondary-button:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 15;
}

.slider-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--bg-white);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12; /* keep above slide overlay */
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.hero-slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide-video.loaded {
    opacity: 1;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.video-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #2a2a2a; /* Dark background while loading */
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(1.05);
    will-change: opacity, transform; /* Optimize for animations */
}

.hero-slide-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.hero-slide-image.error {
    opacity: 0.3;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDgwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxOTIwIiBoZWlnaHQ9IjEwODAiIGZpbGw9IiMyYTIyYTIiLz48dGV4dCB4PSI5NjAiIHk9IjU0MCIgZm9udC1mYW1pbHk9IkFyaWFsIiBmb250LXNpemU9IjI0IiBmaWxsPSIjNzc3IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5JbWFnZSBVbmF2YWlsYWJsZTwvdGV4dD48L3N2Zz4=') !important;
}

.battery-image-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #2a2a2a; /* Dark background while loading */
    opacity: 0;
    transform: scale(0.9);
    will-change: opacity, transform; /* Optimize for animations */
}

.battery-image-item.loaded {
    opacity: 1;
    transform: scale(1);
}

.battery-image-item.error {
    opacity: 0.3;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iIzJhMmEyYSIvPjx0ZXh0IHg9IjUwIiB5PSI1NSIgZm9udC1mYW1pbHk9IkFyaWFsIiBmb250LXNpemU9IjE0IiBmaWxsPSIjNzc3IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5JbWFnZSBVbmF2YWlsYWJsZTwvdGV4dD48L3N2Zz4=') !important;
}

.manufacturing-image-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #2a2a2a; /* Dark background while loading */
    opacity: 0;
    transform: scale(0.9);
    will-change: opacity, transform; /* Optimize for animations */
}

.manufacturing-image-item.loaded {
    opacity: 1;
    transform: scale(1);
}

.manufacturing-image-item.error {
    opacity: 0.3;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iIzJhMmEyYSIvPjx0ZXh0IHg9IjUwIiB5PSI1NSIgZm9udC1mYW1pbHk9IkFyaWFsIiBmb250LXNpemU9IjE0IiBmaWxsPSIjNzc3IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5JbWFnZSBVbmF2YWlsYWJsZTwvdGV4dD48L3N2Zz4=') !important;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: black;
    opacity: 0.1;
    z-index: 2;
}

/* Mobile responsive optimizations for hero images */
@media (max-width: 768px) {
    .hero-slide-image,
    .battery-image-item,
    .industrial-design-image-item,
    .manufacturing-image-item {
        background-attachment: scroll; /* Disable fixed background on mobile for better performance */
        transform: scale(1); /* Remove scale animation on mobile */
    }
    
    .hero-slide-image.loaded,
    .battery-image-item.loaded,
    .industrial-design-image-item.loaded,
    .manufacturing-image-item.loaded {
        transform: scale(1);
    }
    
    .hero-slide-video {
        object-fit: cover; /* Ensure video covers properly on mobile */
    }
    
    .video-poster {
        background-attachment: scroll;
    }
    
    /* Disable all fixed backgrounds on mobile for performance */
    .hero-slide,
    .service-card,
    .banner-section {
        background-attachment: scroll !important;
    }
}

@media (max-width: 480px) {
    .hero-slide-image,
    .battery-image-item,
    .industrial-design-image-item,
    .manufacturing-image-item {
        background-size: cover; /* Ensure proper coverage on small screens */
        background-position: center center;
    }
}

.intro-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.intro-heading {
    font-family: "Calibri Regular", Helvetica, Arial, Lucida, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 32px;
    color: rgb(0, 122, 153);
    margin-bottom: 2rem;
    width: 100%;
}

.intro-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Increased for better readability */
}

.intro-badge {
    display: flex;
    justify-content: center;
}

.iso-badge {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.banner-section {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner-section.video-banner {
    background: none;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.banner-section h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 10px;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding-left: 4rem;
}

.expertise-detailed h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.expertise-detailed p {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.expertise-detailed p strong {
    color: var(--text-dark);
}

.section-subtitle {
    margin: 2.5rem 0 1.5rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.service-card {
    position: relative;
    min-height: 250px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #0099AD;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 0;
}

.service-card span {
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    background-color: white;
    opacity: 0.8;
    padding: 0rem 1rem;
    border-radius: 8px 0px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-detailed {
    background: var(--bg-light);
}

.core-values {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 2rem;
    margin: 1.5rem 0 2.5rem;
    padding: 0;
}

.core-values li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.core-values li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.contact-detailed {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, #fafbfc 100%);
}

.contact-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: var(--bg-white);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%), var(--contact-hero-image, url('assets/images/home/industrial-design-work.jpg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
    padding: 4rem;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.contact-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.contact-section-header {
    margin-bottom: 4rem;
}

.contact-section-header .eyebrow {
    display: inline-block;
    font-size: 1rem; /* Increased from 0.85rem */
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.contact-section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-layout--compact {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
}

.contact-details {
    width: 100%;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f5;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 153, 173, 0.2);
}

.contact-card__icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.contact-card.compact {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.contact-card.compact::before {
    display: none;
}

.contact-card.compact .contact-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 139, 139, 0.08);
    color: var(--primary-color);
    margin-bottom: 0;
}

.contact-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem; /* Increased from 0.95rem */
}

.contact-card a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.contact-detailed .social-links {
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.contact-detailed .social-links a {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid #eef2f5;
    border-radius: 6px;
    font-size: 1.05rem; /* Increased from 0.875rem */
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none;
}

.contact-detailed .social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 173, 0.2);
}

.social-links--compact {
    gap: 0.5rem;
}

.social-links--compact a {
    padding: 0.35rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid #eef2f5;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links--compact a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 153, 173, 0.2);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f5;
    position: sticky;
    top: 100px;
}

.contact-form-card--compact {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    text-align: left;
}

.contact-form-header p {
    font-size: 1.1rem; /* Increased from 0.95rem */
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.contact-form-card .contact-form {
    margin-top: 0;
}

.contact-form-card .form-group {
    margin-bottom: .5rem;
}

.contact-form-card .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem; /* Increased from 0.95rem */
    letter-spacing: 0.3px;
}

.contact-form-card .form-group input,
.contact-form-card .form-group textarea {
    width: 100%;
    padding: 0.75rem .5rem;
    border: 2px solid #eef2f5;
    border-radius: 8px;
    font-size: 1.125rem; /* Increased from 1rem */
    font-family: inherit;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-form-card .form-group input::placeholder,
.contact-form-card .form-group textarea::placeholder {
    color: #adb5bd;
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 153, 173, 0.1);
}

.contact-form--compact .form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form--compact .form-group:not(:last-child) {
    margin-bottom: 1.25rem;
}

.contact-form--compact .form-group input,
.contact-form--compact .form-group textarea {
    background: #f8fbfd;
    border-color: #e4edf3;
}

.contact-form--compact .form-group input:focus,
.contact-form--compact .form-group textarea:focus {
    background: #fff;
}

.contact-form-card .form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-form-card .cta-button {
    width: 100%;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    font-size: 1.125rem; /* Increased from 1rem */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-form-card .cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 153, 173, 0.3);
}

.contact-form-card .cta-button svg {
    transition: transform 0.3s ease;
}

.contact-form-card .cta-button:hover svg {
    transform: translateX(4px);
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 0;
    border: 1px solid #b8dacc;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.1);
}

.success-message svg {
    flex-shrink: 0;
    color: #155724;
}

@media (max-width: 900px) {
    .intro-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-card {
        position: static;
        top: auto;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-section-header {
        margin-bottom: 3rem;
    }

    .contact-section-header h2 {
        font-size: 2rem;
    }

    .contact-layout--compact {
        grid-template-columns: 1fr;
    }

    .contact-form--compact .form-grid {
        grid-template-columns: 1fr;
    }

    .banner-section {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .contact-detailed {
        padding: 4rem 0;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .contact-section-header h2 {
        font-size: 1.75rem;
    }

    .contact-section-header p {
        font-size: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .contact-card__icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    padding: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.05rem; /* Increased from 0.9rem */
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .cta-button {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
     
}

.newsletter-form .cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Expertise Section */
.expertise-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.expertise-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.expertise-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-section p {
    font-size: 1.25rem; /* Increased from 1.1rem */
    line-height: 1.8;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.services-grid.services-grid--showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0;
}

.services-grid--showcase .service-card {
    min-height: 300px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.services-grid--showcase .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(0, 153, 173, 0.18), transparent 35%),
                radial-gradient(circle at 85% 0%, rgba(0, 153, 173, 0.22), transparent 30%);
    z-index: 0;
    mix-blend-mode: screen;
}

.services-grid--showcase .service-card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.services-grid--showcase .service-card span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.1rem;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(240, 250, 252, 0.92));
    color: #005a66;
    border-radius: 8px 0px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    font-weight: 800;
}

.services-grid--showcase .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.24);
    border-color: rgba(0, 153, 173, 0.55);
}

.service-item {
     
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-item h3 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.service-item h3 a:hover {
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-section h1 {
     
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-section h2 {
     
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-section p {
    font-size: 1.25rem; /* Increased from 1.1rem */
    line-height: 1.8;
    color: var(--text-light);
}

.about-section strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact-section h1 {
     
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-section h2 {
     
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-section p {
    font-size: 1.25rem; /* Increased from 1.1rem */
    line-height: 1.8;
    color: var(--text-light);
}

/* Override for contact-detailed section */
.contact-section.contact-detailed h2,
.contact-section.contact-detailed p {
    text-align: left;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
     
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form {
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1.125rem; /* Increased from 1rem */
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 153, 173, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.features-section h2 {
     
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
     
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Preview Section */
.about-preview {
    padding: 5rem 0;
    background: var(--bg-white);
}

.about-preview .container {
     
    max-width: 800px;
}

.about-preview h2 {
    color: #0099AD;
    font-size: 2.5rem;
    margin-bottom: 30px;
     
}

.about-preview p {
    max-width: 800px;
    margin: 0 auto 40px;
     
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Service Pages Styling */
.page-header {
    background: linear-gradient(135deg, #0099AD, #007a8a);
    color: white;
    padding: 80px 0;
     
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.service-text h2 {
    color: #0099AD;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.service-text p {
    font-size: 1.25rem; /* Increased from 1.1rem */
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 153, 173, 0.2);
}

.service-section, .about-section, .company-philosophy {
    padding: 80px 0;
}

.service-section h2, .about-section h2, .company-philosophy h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0099AD;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 153, 173, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 153, 173, 0.15);
}

.service-card h3 {
    color: #0099AD;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-list {
    margin: 60px 0;
}

.service-list h3 {
    color: #0099AD;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-list li {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid #0099AD;
    font-weight: 500;
}

.specialty-service {
    background: linear-gradient(135deg, rgba(0, 153, 173, 0.05), rgba(0, 153, 173, 0.1));
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
}

.specialty-service h3 {
    color: #0099AD;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testing-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 153, 173, 0.1);
}

.testing-category h4 {
    color: #0099AD;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.testing-category ul {
    list-style: none;
    padding: 0;
}

.testing-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.testing-category li:last-child {
    border-bottom: none;
}

/* Related Services Section */
.related-services {
    background: linear-gradient(135deg, rgba(0, 153, 173, 0.05), rgba(0, 153, 173, 0.1));
    padding: 80px 0;
}

.related-services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #0099AD;
}

.services-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-nav-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 153, 173, 0.1);
     
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 153, 173, 0.2);
}

.service-nav-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-nav-item h3 a {
    color: #0099AD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-nav-item h3 a:hover {
    color: #007a8a;
}

.service-nav-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.engineering-services {
    margin-top: 60px;
}

.engineering-services h3 {
     
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0099AD;
}

/* Product Development Page */
.page-hero {
    position: relative;
    height: 320px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.page-hero__shade {
    position: absolute;
    inset: auto 0 -1px 0;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 2.5rem;
}

.page-hero__eyebrow {
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.product-dev-section {
    padding: 80px 0 40px;
}

.product-dev-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-dev-text h2 {
    color: #0099AD;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-dev-text p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Increased for better readability */
}

.product-dev-list {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.product-dev-list h3 {
    color: #0099AD;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.product-dev-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.product-dev-visual {
    margin-top: 40px;
     
}

.product-dev-visual img {
    width: min(100%, 520px);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.services-showcase {
    padding: 60px 0;
    background: #fff;
}

.services-showcase h2 {
     
    color: #0099AD;
    margin-bottom: 2rem;
}

.cta-band {
    background: #0099AD;
    color: #fff;
     
    padding: 60px 20px;
    margin-bottom: 0;
}

.cta-band p {
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.cta-band .cta-button {
    background: #fff;
    color: #0099AD;
}

.cta-band .cta-button:hover {
    background: #f1f5f9;
}

/* Engineering Page */
.engineering-section {
    padding: 80px 0 40px;
    background: #fff;
}

.engineering-section .section-heading {
    text-align: left;
    color: #0099AD;
    margin-bottom: 1rem;
}

.engineering-section p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Increased for better readability */
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.eng-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.eng-card__image {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.eng-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.eng-card__title {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.eng-card__body {
    padding: 1rem 1.25rem 1.25rem;
}

.eng-card__body p {
    margin: 0;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Prototype & Fabrication Page */
.protofab-section {
    padding: 80px 0 40px;
    background: #fff;
}

.protofab-section .section-heading {
    color: #0099AD;
    margin-bottom: 1rem;
}

.protofab-section p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Increased for better readability */
}

.protofab-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.protofab-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.protofab-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    color: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.protofab-card__overlay h3 {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.protofab-card__overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.35rem 1rem;
    font-weight: 600;
}

.protofab-text {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.protofab-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.protofab-tile {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    min-height: 180px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.protofab-tile--overlay {
    position: relative;
    overflow: hidden;
}

.protofab-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
    color: #fff;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    font-weight: 600;
    line-height: 1.5;
}

.protofab-description {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.protofab-strip {
    background: #0099AD;
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin: 1.75rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
}

.manufacturing-section {
    padding: 80px 0 40px;
    background: #fff;
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    align-items: start;
}

.manufacturing-text h2 {
    color: #0099AD;
    margin-bottom: 1rem;
}

.manufacturing-text p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Increased for better readability */
}

.manufacturing-capabilities {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.manufacturing-capabilities h3 {
    color: #0099AD;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manufacturing-capabilities ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    font-weight: 600;
    color: #2c3e50;
}

.connectors-section {
    padding: 40px 0;
    background: #fff;
}

.connectors-section h2 {
    color: #0099AD;
    margin-bottom: 0.75rem;
}

.connectors-section p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.connectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.connector-item {
    background: #f0f4f6;
    border: 1px solid #d9e2e8;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.connectors-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.connectors-gallery img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Industrial Design Page */
.design-section {
    padding: 80px 0 40px;
    background: #fff;
    text-align: left;
}

.design-section .section-heading {
    color: #0099AD;
    margin-bottom: 1rem;
}

.design-section p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Increased for better readability */
}

/* Testing Page */
.testing-section {
    padding: 80px 0 40px;
    background: #fff;
}

.testing-section .section-heading {
    color: #0099AD;
    margin-bottom: 1rem;
}

.testing-section p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Increased for better readability */
}

.testing-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.testing-callout {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.testing-callout h3 {
    margin-top: 0;
    color: #0099AD;
}

.testing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: #2c3e50;
}

.testing-gallery-mosaic {
    padding: 30px 0 10px;
    background: #fff;
}

.testing-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.testing-mosaic .tile {
    position: relative;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.testing-mosaic .tile.overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.testing-mosaic .tile-text {
    position: absolute;
    inset: 0;
    padding: 1rem;
    color: #fff;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.testing-mosaic .tile-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.3rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .intro-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .banner-section {
        height: 220px;
    }

    .product-dev-grid,
    .protofab-grid,
    .manufacturing-grid,
    .testing-columns {
        grid-template-columns: 1fr;
    }
}

/* Manufacturing Gallery */
.manufacturing-gallery {
    margin: 60px 0;
}

.manufacturing-gallery h3 {
     
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0099AD;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 153, 173, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 153, 173, 0.3);
}

/* About Page Styling */
.core-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 153, 173, 0.1);
     
}

.value-card h3 {
    color: #0099AD;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 153, 173, 0.1);
}

.approach-item h3 {
    color: #0099AD;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Contact Page Styling */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-section h2 {
    color: #0099AD;
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: #0099AD;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.125rem; /* Increased from 1rem */
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: #0099AD;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007a8a;
}

.contact-form-section h2 {
    color: #0099AD;
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1.125rem; /* Increased from 1rem */
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0099AD;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    border: 1px solid #c3e6cb;
}

/* Footer */
.site-footer {
    background: #ffffff;
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.footer-section p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(3px);
    display: inline-block;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d;
}

.contact-info i {
    color: var(--primary-light);
    font-size: 1.1rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 2rem 0;
     
    max-width: 1200px;
    margin: 0 auto;
    color: #B0B0B0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-text {
        order: 2;
    }
    
    .service-image {
        order: 1;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .core-values {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid.services-grid--showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu > li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
         
        border-radius: 8px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 0.5rem;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 5vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .cta-button,
    .secondary-button {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
        background: var(--bg-white);
        color: var(--primary-color);
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-controls {
        bottom: 2rem;
        gap: 0.75rem;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
    }
    
    .slider-arrow.prev {
        left: 1rem;
    }
    
    .slider-arrow.next {
        right: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
         
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .services-grid.services-grid--showcase {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button,
    .secondary-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        background: var(--bg-white);
        color: var(--primary-color);
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    
    .features-section h2,
    .about-preview h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Industry Pages Styles */
.industry-overview {
    padding: 80px 0;
    background: var(--bg-light);
}

.industry-header {
    text-align: center;
    margin-bottom: 4rem;
}

.industry-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.industry-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text);
}

.industry-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

.ev-services,
.battery-services,
.automotive-services,
.medical-services,
.consumer-services,
.power-services {
    padding: 80px 0;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.types-grid,
.categories-grid,
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.type-card,
.category-card,
.application-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.type-card:hover,
.category-card:hover,
.application-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.type-card h3,
.category-card h3,
.application-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-muted);
    line-height: 1.6;
}

.capabilities-grid,
.standards-grid,
.certifications-grid,
.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.capability-item,
.standard-item,
.certification-item,
.technology-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.check-icon,
.compliance-icon,
.cert-icon,
.tech-icon {
    width: 24px;
    height: 24px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.industry-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-600));
    color: white;
    text-align: center;
}

.industry-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.industry-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn--primary {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
}

.btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Battery Images Grid */
.battery-images-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    z-index: 1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.battery-image-item:nth-child(1) { animation-delay: 0.1s; }
.battery-image-item:nth-child(2) { animation-delay: 0.2s; }
.battery-image-item:nth-child(3) { animation-delay: 0.3s; }
.battery-image-item:nth-child(4) { animation-delay: 0.4s; }

.battery-image-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 153, 173, 0.15) 0%, 
        rgba(0, 195, 168, 0.1) 50%, 
        rgba(0, 122, 153, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.battery-image-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.3) 70%, 
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.battery-image-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 153, 173, 0.3);
}

.battery-image-item:hover::before {
    opacity: 1;
}

.battery-image-item:hover::after {
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.2) 70%, 
        rgba(0, 0, 0, 0.4) 100%);
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments for battery grid */
@media (max-width: 1024px) {
    .battery-images-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }
}

@media (max-width: 768px) {
    .battery-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .battery-images-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }
}

/* Manufacturing Banner Styles */
.manufacturing-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.manufacturing-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.manufacturing-banner h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 10px;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.manufacturing-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.manufacturing-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.manufacturing-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 153, 173, 0.2) 0%, 
        rgba(0, 195, 168, 0.1) 50%, 
        rgba(0, 122, 153, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.manufacturing-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 153, 173, 0.4);
}

.manufacturing-image:hover::after {
    opacity: 1;
}

/* Responsive adjustments for manufacturing banner */
@media (max-width: 768px) {
    .manufacturing-banner {
        min-height: 500px;
        padding: 2rem;
    }
    
    .manufacturing-banner .container {
        align-items: center;
        text-align: center;
    }
    
    .manufacturing-images {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .manufacturing-image {
        height: 180px;
    }
}

/* Manufacturing Images Grid for Hero Slider */
.manufacturing-images-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    z-index: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.manufacturing-image-item:nth-child(1) { animation-delay: 0.1s; }
.manufacturing-image-item:nth-child(2) { animation-delay: 0.3s; }

.manufacturing-image-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.15) 0%, 
        rgba(255, 165, 0, 0.1) 50%, 
        rgba(255, 100, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.manufacturing-image-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.3) 70%, 
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.manufacturing-image-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.3);
}

.manufacturing-image-item:hover::before {
    opacity: 1;
}

.manufacturing-image-item:hover::after {
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.2) 70%, 
        rgba(0, 0, 0, 0.4) 100%);
}

/* Industrial Design Images Grid for Hero Slider */
.industrial-design-images-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    z-index: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.industrial-design-image-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform; /* Optimize for animations */
}

.industrial-design-image-item.loaded {
    opacity: 1;
    transform: scale(1);
}

.industrial-design-image-item.error {
    opacity: 0.3;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iIzJhMmEyYSIvPjx0ZXh0IHg9IjUwIiB5PSI1NSIgZm9udC1mYW1pbHk9IkFyaWFsIiBmb250LXNpemU9IjE0IiBmaWxsPSIjNzc3IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5JbWFnZSBVbmF2YWlsYWJsZTwvdGV4dD48L3N2Zz4=') !important;
}

.industrial-design-image-item:nth-child(1) { animation-delay: 0.1s; }
.industrial-design-image-item:nth-child(2) { animation-delay: 0.3s; }

.industrial-design-image-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.15) 0%, 
        rgba(75, 0, 130, 0.1) 50%, 
        rgba(148, 0, 211, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.industrial-design-image-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.3) 70%, 
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.industrial-design-image-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
}

.industrial-design-image-item:hover::before {
    opacity: 1;
}

/* Responsive adjustments for industrial design grid */
@media (max-width: 768px) {
    .industrial-design-images-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

/* Responsive adjustments for manufacturing grid */
@media (max-width: 768px) {
    .manufacturing-images-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}
