/* ==========================================
   PrecisionCNC - Main Stylesheet
   ========================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #0052CC;
    --primary-dark: #003d99;
    --primary-light: #4d8fe0;
    --secondary: #00875A;
    --secondary-dark: #006644;
    --accent: #FF6B00;
    --accent-light: #ff8533;
    
    /* Neutrals */
    --dark: #0a1628;
    --dark-gray: #1a2942;
    --gray: #5c6c7c;
    --gray-light: #8c9bab;
    --light-gray: #e8ecf0;
    --off-white: #f5f7fa;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0052CC 0%, #00875A 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2942 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1280px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

/* Secondary Light Button - For dark video backgrounds */
.btn-secondary-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary-light:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

/* Primary Light Button - For dark backgrounds */
.btn-primary-light {
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.5);
}

.btn-primary-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 82, 204, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(0, 135, 90, 0.1) 100%);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: var(--primary-light);
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a {
    color: var(--gray-light);
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--white);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    display: block;
}

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

@media (min-width: 1200px) {
    .logo-img {
        height: 56px;
    }
}

/* Footer Logo - 白框小，logo大 */
.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: auto;
    width: 280px;
    max-width: 100%;
    min-width: unset;
    filter: none;
    object-fit: contain;
    object-position: left center;
}

.footer-logo .logo-img.footer-logo-visible {
    filter: none;
    width: 280px;
    height: auto;
    max-width: 100%;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 768px) {
    .footer-logo .logo-img.footer-logo-visible {
        width: 300px;
        padding: 14px 22px;
    }
}

@media (min-width: 1200px) {
    .footer-logo .logo-img.footer-logo-visible {
        width: 320px;
        padding: 15px 25px;
    }
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1.25rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-highlight {
    color: var(--primary);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--off-white);
}

.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul li a {
    display: block;
    padding: 12px 24px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu ul li a:hover {
    background: var(--off-white);
    color: var(--primary);
}

/* Mega Menu */
.mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 900px;
    padding: 30px;
}

.nav-item:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-menu-section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.mega-menu-section ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.mega-menu-section ul li a i {
    width: 20px;
    color: var(--primary);
}

.mega-menu-section ul li a:hover {
    color: var(--primary);
    background: none;
}

.mega-menu-featured {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 20px;
}

.mega-menu-featured img {
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.mega-menu-featured h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    border: none;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
}

.mega-menu-featured p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 12px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(26, 41, 66, 0.80) 100%);
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-badge span {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 135, 90, 0.2);
    color: #4ade80;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.hero-title {
    font-size: 3.75rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #4ade80 50%, #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-trust {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logos img {
    height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: var(--transition);
}

.trust-logos img:hover {
    opacity: 0.8;
}

.trust-logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 8px 0;
}

.trust-logo-text:hover {
    color: rgba(255, 255, 255, 1);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ==========================================
   Trusted By Section
   ========================================== */
.trusted-by {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f7 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trusted-by-content {
    text-align: center;
}

.trusted-by-label {
    display: block;
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trusted-by-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px 60px;
}

.trust-logo-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    opacity: 0.7;
    transition: var(--transition);
    letter-spacing: 1px;
}

.trust-logo-item:hover {
    opacity: 1;
    color: var(--primary);
}

@media (max-width: 768px) {
    .trusted-by {
        padding: 40px 0;
    }
    
    .trusted-by-label {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .trusted-by-logos {
        gap: 25px 40px;
    }
    
    .trust-logo-item {
        font-size: 1.2rem;
    }
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    display: none;
}

.service-content {
    flex: 1;
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.service-features li i {
    color: var(--secondary);
    font-size: 0.85rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
}

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

.service-image {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid var(--light-gray);
    background: var(--off-white);
    padding: 50px 30px;
    border-radius: var(--radius-lg);
}

.services-cta p {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.services-cta .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
}

/* ==========================================
   Quote Section
   ========================================== */
.quote-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.quote-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.quote-content > p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.quote-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.quote-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.quote-feature i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    color: var(--primary);
    font-size: 1.25rem;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.quote-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

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

.supported-formats span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.format-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.format-tags span {
    padding: 6px 14px;
    background: var(--off-white);
    color: var(--dark-gray);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
}

/* Quote Form */
.quote-form-wrapper {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.upload-zone {
    background: var(--white);
    border: 2px dashed var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 30px;
}

.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(0, 82, 204, 0.02);
}

.upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(0, 82, 204, 0.05);
}

.upload-zone i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.upload-zone h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.upload-zone p {
    color: var(--gray);
    margin-bottom: 16px;
}

.upload-hint {
    font-size: 0.8rem;
    color: var(--gray-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* ==========================================
   Process Section
   ========================================== */
.process {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    color: var(--white);
}

.process .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.process .section-title {
    color: var(--white);
}

.process .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
}

.step-content h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    margin-top: 120px;
    flex-shrink: 0;
}

/* ==========================================
   Materials Section
   ========================================== */
.materials {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.materials-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
    background: var(--off-white);
    border-radius: 50px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.material-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    position: relative;
}

.material-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.material-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}

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

.material-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}

.materials-cta {
    text-align: center;
    margin-top: 50px;
    padding: 50px 30px;
    background: var(--dark);
    border-radius: var(--radius-lg);
}

.materials-cta p {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.materials-cta .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
}

/* ==========================================
   Industries Section
   ========================================== */
.industries {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.industry-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.industry-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.6) 100%);
}

.industry-content {
    padding: 30px;
    position: relative;
}

.industry-content .industry-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 16px;
    margin-top: -55px;
    position: relative;
    box-shadow: var(--shadow);
}

.industry-content > .industry-link i {
    width: auto !important;
    height: auto !important;
    display: inline !important;
    background: none !important;
    margin: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
}

.industry-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.industry-content > p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.industry-content ul {
    margin-bottom: 20px;
}

.industry-content ul li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 6px;
}

.industry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.industry-link i.fa-arrow-right {
    width: auto !important;
    height: auto !important;
    display: inline !important;
    background: none !important;
    color: var(--primary) !important;
    font-size: 0.85rem !important;
    border-radius: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    position: static !important;
}

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

/* ==========================================
   Why Us Section
   ========================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.why-us-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.why-us-content > p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-text p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.why-us-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-5px);
}

.stat-card:hover .stat-icon,
.stat-card:hover .stat-value,
.stat-card:hover .stat-label {
    color: var(--white);
}

.stat-card .stat-icon {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ==========================================
   Certifications Section
   ========================================== */
.certifications {
    padding: 80px 0;
    background: var(--dark);
}

.certifications-content {
    text-align: center;
}

.certifications-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cert-item img {
    height: 70px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.cert-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

.cert-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white) !important;
    opacity: 1;
    letter-spacing: 2px;
}

/* ==========================================
   Factory Tour Section
   ========================================== */
.factory-tour {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

.tour-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tour-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 30px;
    background: var(--gradient-primary);
    color: var(--white);
}

.tour-header i {
    font-size: 1.5rem;
}

.tour-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
}

.video-container,
.ar-container {
    padding: 20px;
    min-height: 400px;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 360px;
    background: var(--dark);
    border-radius: var(--radius-lg);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    background: var(--dark-gray);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.video-placeholder p {
    font-size: 1rem;
    opacity: 0.8;
}

.video-placeholder .video-note {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.ar-container iframe {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 400px;
}

@media (max-width: 1024px) {
    .tour-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .video-container,
    .ar-container {
        padding: 15px;
        min-height: 300px;
    }
    
    .video-placeholder {
        height: 280px;
    }
    
    .ar-container iframe {
        height: 300px;
    }
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.testimonials-wrapper {
    overflow: hidden;
    width: 100%;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.testimonial-content {
    padding: 40px;
}

.stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 20px;
}

.testimonial-content > p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

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

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

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

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

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 50%;
    color: var(--dark);
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ==========================================
   News Section
   ========================================== */
.news {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-card.featured {
    grid-row: span 2;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}

.news-content {
    padding: 30px;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

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

.news-cta {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.cta-contact {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-contact span {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.phone-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-main {
    display: grid;
    grid-template-columns: 380px 1fr 250px;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: block;
    margin-bottom: 25px;
}

.footer-logo .logo-icon {
    background: var(--gradient-primary);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-contact address p i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-contact address a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact address a:hover {
    color: var(--white);
}

.footer-hours {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours h5 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-hours p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-certifications {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-certifications > span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.cert-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ==========================================
   Responsive Styles
   ========================================== */
@media (max-width: 1200px) {
    .mega-menu {
        width: 750px;
    }
    
    .mega-menu-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mega-menu-featured {
        display: none;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        grid-column: auto;
    }
    
    .quote-wrapper {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-wrapper {
        grid-template-columns: 1fr;
    }
    
    .why-us-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }
    
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .dropdown-menu,
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }
    
    .nav-item:hover .dropdown-menu,
    .nav-item:hover .mega-menu {
        display: block;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .trust-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-image,
    .service-card:not(.featured) .service-image {
        width: 100%;
        height: 200px;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-connector {
        display: none;
    }
    
    .materials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .testimonial-card {
        flex: none;
        width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-row: auto;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-certifications {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cert-logos {
        gap: 30px;
    }
}

/* ==========================================
   Animation Classes
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ==========================================
   Enhanced Responsive Design
   ========================================== */

/* Extra large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Large screens */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3rem;
    }
}

/* Medium screens - tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-item {
        flex: 0 0 45%;
    }
    .quote-wrapper {
        grid-template-columns: 1fr;
    }
    .why-us-wrapper {
        grid-template-columns: 1fr;
    }
    .tour-grid {
        grid-template-columns: 1fr;
    }
}

/* Small screens - mobile landscape */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .trust-logos {
        gap: 20px;
    }
    .trust-logo-text {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .services-cta p,
    .materials-cta p {
        font-size: 1.2rem;
    }
    .cert-text {
        font-size: 1.5rem;
    }
    .certifications-content h3 {
        font-size: 1.5rem;
    }
}

/* Extra small screens - mobile portrait */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-stats {
        gap: 15px;
    }
    .stat-item {
        flex: 0 0 100%;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .service-content {
        padding: 20px;
    }
    .industry-content {
        padding: 20px;
    }
    .section-padding {
        padding: 60px 0;
    }
    .trust-logos {
        flex-direction: column;
        gap: 15px;
    }
}
