@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Custom Properties */
:root {
    --primary-blue: #1a365d;
    --primary-dark: #1a202c;
    --accent-orange: #ff5317;
    --accent-orange-hover: #e63800;
    --accent-yellow: #fbbf24;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-bg: #111827;
    --industrial-gray: #374151;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-600: #ff5317;
    --orange-700: #e63800;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--primary-dark);
    line-height: 1.7;
    font-weight: 400;
}

/* Utility Classes */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--orange-700));
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 83, 23, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-700), var(--accent-orange-hover));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 83, 23, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: 2px solid var(--primary-dark);
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

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

/* Quote Button */
.btn-quote {
    background-color: var(--accent-orange);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(255, 100, 50, 0.3);
}

.btn-quote:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 100, 50, 0.4);
}

/* Read More Button */
.btn-read-more {
    background-color: var(--accent-orange);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-read-more:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
}

/* Navigation Styles */
.nav-floating {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.nav-floating.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-floating.nav-scrolled .nav-logo-text {
    color: #1a202c !important;
}

.nav-floating.nav-scrolled .nav-link {
    color: #4a5568 !important;
}

.nav-floating.nav-scrolled .nav-link:hover {
    color: #ff5317 !important;
}

/* Navigation hover effects with new theme color */
.nav-link:hover {
    color: #ff5317 !important;
}

.hover-orange:hover {
    color: #ff5317 !important;
}

.bg-orange-new {
    background-color: #ff5317 !important;
}

.text-orange-new {
    color: #ff5317 !important;
}

.border-orange-new {
    border-color: #ff5317 !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-title {
    font-weight: 900;
    color: white;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.025em;
}

.hero-stats {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.business-badge {
    z-index: 20;
}

.business-badge .bg-white {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 120px;
}

@media (max-width: 768px) {
    .business-badge {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Card Styles */
.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Section Spacing */
.section-padding {
    padding: 3rem 0;
}

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

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-dark);
}

/* Loading Animation */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--accent-orange);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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

/* Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

.animate-scroll {
    animation: scroll 2s ease-in-out infinite;
}

/* Performance optimizations for animations */
.workflow-icon,
.hero-title-line,
.hero-text {
    will-change: transform, opacity;
}

/* Smooth transitions for all interactive elements */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Loading animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* GPU acceleration for better performance */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Hero Title Styling */
.hero-title-spaced {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.1em;
    color: white !important;
}


/* Grid System Enhancements */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Typography Enhancements */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

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

@media (min-width: 1024px) {
    .section-title {
        font-size: 4rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

/* About Section Typography */
.about-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text {
    font-size: 1rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Workflow Section Typography */
.workflow-subtitle {
    color: var(--accent-orange);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.workflow-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 3rem;
}

.workflow-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.workflow-step-desc {
    font-size: 0.875rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Image Styles */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Images */
.about-images {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Workflow Icons */
.workflow-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.workflow-icon-yellow {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.workflow-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Customer Stories */
.customer-story {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.customer-story:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.story-image-container {
    height: 200px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.customer-story:hover .story-image {
    transform: scale(1.05);
}

.story-content {
    padding: 1.5rem;
}

.story-date {
    font-size: 0.75rem;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.story-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.story-quote {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-orange);
}

.story-contact {
    font-size: 0.75rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .workflow-title {
        font-size: 1.875rem;
    }
    
    .about-title {
        font-size: 1.875rem;
    }
    
    .category-image-container {
        height: 250px;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Footer Styles */
.footer-dark {
    background-color: var(--dark-bg);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    height: 2rem;
}

.footer-copyright {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}