/*
* Design Lab - Main Stylesheet
* Version: 1.0.0
* Author: Your Name
*/

/* ==========================================================================
   Table of Contents:
   1. CSS Variables
   2. Base Styles
   3. Typography
   4. Layout & Grid
   5. Navigation
   6. Dropdown Menu
   7. Hero Section
   8. Services Section
   9. Success Stories
   10. Footer
   11. Animations
   12. Utility Classes
   13. Media Queries
   ========================================================================== */

/* 1. CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #FF6B00;    /* Orange - main brand color */
    --secondary-color: #FF8533;  /* Light orange - for accents */
    --accent-color: #FFA366;     /* Pale orange - for highlights */
    --dark-bg: #111111;          /* Darker background */
    --dark-bg-2: #1A1A1A;        /* Secondary dark background */
    --dark-bg-3: #222222;        /* Tertiary dark background */
    --light-bg: #FFFFFF;         /* White - light mode background */
    --text-color: #FFFFFF;       /* White - dark mode text */
    --text-muted: rgba(255,255,255,0.7); /* Muted text */
    --text-color-dark: #1A1A1A;  /* Dark gray - light mode text */
    --border-color: rgba(255,255,255,0.1); /* Border color */
    --success-color: #4CAF50;    /* Green - for success states */
    --warning-color: #FFC107;    /* Yellow - for warnings */
    --error-color: #F44336;      /* Red - for errors */
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --border-radius: 8px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;

    --header-height: 80px;
    --mobile-header-height: 70px;
}

/* 2. Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* 3. Typography
   ========================================================================== */
/* Section Title Styles */
.section-title {
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    text-align: center;
}

.section-title.services {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title.why-choose {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-title.process {
    font-size: 3rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.section-title.cta {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
}

.subtitle h2 {
    font-size: 3.5rem;
    color: var(--secondary-color);
}

.template-text h3 {
    color: var(--secondary-color);
    font-size: 2rem;
}

.template-text h2 {
    font-size: 2.5rem;
}

/* 4. Layout & Grid
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 5. Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(26, 26, 26, 0.85) 60%, rgba(255, 107, 0, 0.75) 200%);
    background-clip: padding-box;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;

    transition: transform 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: 1rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    background-size: 200% auto;
    background-position: 0 0;
    font-family: var(--font-heading);
    margin: 0 0.2rem;
}

.gradient-menu {
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 133, 51, 0.2) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-menu:hover::before {
    opacity: 1;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 133, 51, 0.2) 100%);
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(255, 133, 51, 0.3) 100%);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
    opacity: 1;
}

.purchase-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    margin-left: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-heading);
}

.purchase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    z-index: -1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(100%);
}

.purchase-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
    letter-spacing: 1px;
}

.purchase-btn:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.purchase-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

.purchase-btn:active::after {
    transform: scale(3);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.purchase-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

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

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(33, 33, 33, 0.98);
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
}

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

.dropdown-item {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dropdown-item:hover {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    padding-left: 1.4rem;
}

/* 7. Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl) 0;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2A2A2A 100%);
}

.hero-content {
    max-width: 600px;
    padding: var(--spacing-xl);
    color: var(--text-color);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
}

.subtitle h2 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.template-text h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.template-text h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark-bg);
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Process Section */
.our-process {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    color: var(--text-color-dark);
    margin-bottom: var(--spacing-sm);
}

.step p {
    color: var(--text-color-dark);
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* 8. Services Section
   ========================================================================== */
.services-overview {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2.5rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background-color: var(--light-bg);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    color: var(--text-color-dark);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-color-dark);
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* 9. Success Stories
   ========================================================================== */
.success-stories {
    padding: var(--spacing-xl) 0;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.story-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

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

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

.story-content {
    padding: var(--spacing-md);
}

.story-content h3 {
    color: var(--text-color-dark);
    margin-bottom: var(--spacing-xs);
}

.story-meta {
    color: var(--text-color-dark);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.story-excerpt {
    color: var(--text-color-dark);
    margin-bottom: var(--spacing-md);
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* 10. Footer
   ========================================================================== */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--text-color);
    border-top: 1px solid rgba(255, 107, 0, 0.1);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-section h3 {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 11. Animations
   ========================================================================== */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(255, 107, 0, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
}

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

@keyframes checkmarkPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes lineGrow {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Staggered animation for solution items */
.solution-item:nth-child(1) { animation-delay: 0.1s; }
.solution-item:nth-child(2) { animation-delay: 0.3s; }
.solution-item:nth-child(3) { animation-delay: 0.5s; }
.solution-item:nth-child(4) { animation-delay: 0.7s; }

/* Staggered animation for approach steps */
.approach-step:nth-child(1) .step-number { animation-delay: 0.2s; }
.approach-step:nth-child(2) .step-number { animation-delay: 0.4s; }
.approach-step:nth-child(3) .step-number { animation-delay: 0.6s; }
.approach-step:nth-child(4) .step-number { animation-delay: 0.8s; }
.approach-step:nth-child(5) .step-number { animation-delay: 1s; }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating-elements {
    position: relative;
    width: 50%;
    height: 100%;
}

.avatar {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

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

/* Industry Solutions Section
   ========================================================================== */
.industry-solutions {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark-bg-2);
}

.industry-solutions h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
    position: relative;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.solution-item {
    background: linear-gradient(145deg, var(--dark-bg-2), var(--dark-bg-3));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 107, 0, 0.3);
}

.solution-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    animation: pulseGlow 3s ease-in-out infinite;
}

.solution-content {
    flex: 1;
}

.solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.solution-item p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-align: center;
}

.solution-features {
    list-style: none;
    margin-top: 1.5rem;
}

.solution-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.solution-features li i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.3rem;
    animation: checkmarkPop 0.5s ease-out backwards;
}

.solution-features li:nth-child(1) i { animation-delay: 0.2s; }
.solution-features li:nth-child(2) i { animation-delay: 0.4s; }
.solution-features li:nth-child(3) i { animation-delay: 0.6s; }

.solutions-approach {
    margin-top: 4rem;
}

.solutions-approach h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.approach-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.approach-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 1;
    animation: lineGrow 1.5s ease-out;
    transform-origin: left center;
}

.approach-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 180px;
    margin-bottom: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    animation: rotateIn 0.8s ease-out backwards;
    transition: transform 0.3s ease;
}

.approach-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
}

.approach-step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Design Media Queries
   ========================================================================== */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .service-card, .industry-card, .story-card {
        padding: 1.8rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .service-grid, .industry-cards, .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .approach-steps:before {
        display: none; /* Hide connecting line on smaller screens */
    }
    
    .approach-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .approach-step {
        width: 100%;
        max-width: 300px;
        margin-bottom: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .service-grid, .industry-cards, .story-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .industry-solutions h2 {
        font-size: 2.2rem;
    }
    
    .solutions-approach h3 {
        font-size: 1.8rem;
    }
    
    .solution-item {
        padding: var(--spacing-md);
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        background-color: var(--dark-bg);
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 100;
    }
    
    .nav-links.active {
        transform: translateY(0);
        display: flex;
    }
    
    .nav-link {
        margin: 0.8rem 0;
    }
    
    .dropdown-content {
        position: relative;
        width: 100%;
        box-shadow: none;
        margin-top: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .solution-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-title {
        font-size: 1.6rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .site-footer {
        padding: 2rem 0 1rem;
    }
}

/* Very Small Devices (Phones, less than 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .service-card, .industry-card, .story-card {
        padding: 1.2rem;
    }
    
    .purchase-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .logo-image {
        max-height: 40px;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
}

/* 12. Utility Classes
   ========================================================================== */
.hidden {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 13. Media Queries
   ========================================================================== */
@media (max-width: 1200px) {
    :root {
        --header-height: 70px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .floating-elements {
        width: 100%;
        height: 300px;
        margin-top: var(--spacing-xl);
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .floating-elements {
        width: 100%;
        height: 300px;
        margin-top: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: var(--mobile-header-height);
    }
    
    /* Hide header on scroll down, show on scroll up */
    .header.scroll-up {
        transform: translateY(0);
    }
    
    .header.scroll-down {
        transform: translateY(-100%);
    }

    .navbar {
        height: var(--mobile-header-height);
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: var(--mobile-header-height);
        left: 0;
        width: 100%;
        background-color: rgba(33, 33, 33, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: transparent;
        border: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .purchase-btn {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }

    .logo-image {
        height: 35px;
    }

    .service-hero {
        padding: 3rem 1rem;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-intro {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-section {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        margin-bottom: var(--spacing-md);
    }
} 

/* Industries Page Styles */
.industries-grid {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark-bg-2);
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: linear-gradient(145deg, var(--dark-bg-2), var(--dark-bg-3));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    transition: transform 0.3s ease;
}

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

.industry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.industry-card p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.industry-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-features li {
    color: var(--text-color);
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: 1.5rem;
    transition: transform 0.3s ease;
}

.industry-features li:hover {
    transform: translateX(5px);
}

.industry-features li:before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Mechanical Services Styles */
.service-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2A2A2A 100%);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/mechanical/hero-pattern.svg') repeat;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

.service-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

}

.service-intro {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

.service-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-section:nth-child(even) {
    background-color: #2A2A2A;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.service-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateY(0deg);
}

.service-image-container:hover {
    transform: perspective(1000px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-details {
    padding: 2rem;
    position: relative;
}

.service-number {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 50px;
}

.service-title {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.service-section:hover .service-title::after {
    width: 100px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-list {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.feature-list li:hover {
    transform: translateX(10px);
    opacity: 1;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.feature-list li:hover::before {
    transform: scale(1.2);
}

.service-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 6rem 0;
    text-align: center;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/mechanical/cta-pattern.svg') repeat;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    color: var(--text-color);
    border-color: var(--text-color);
    transform: translateY(-3px);
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 1024px) {
    .service-content {
        gap: 2rem;
    }
    
    .service-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 0;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .service-image {
        height: 300px;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
} 