/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav {
    padding: 1rem 0;
}

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

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

.logo h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    overflow: hidden;
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.03) 50%, transparent 70%);
    animation: rotateBackground 30s linear infinite;
    z-index: 1;
}

/* Engineering Elements Background */
.hero-engineering {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.08;
}

/* Gas Pipes */
.pipe {
    position: absolute;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    animation: pipeFlow 20s ease-in-out infinite;
}

.pipe::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 10px,
        var(--primary-blue) 10px,
        var(--primary-blue) 15px
    );
    transform: translateY(-50%);
    animation: flowAnimation 3s linear infinite;
}

.pipe-horizontal-1 {
    top: 15%;
    left: 5%;
    width: 200px;
    height: 8px;
    border-radius: 4px;
    animation-delay: 0s;
}

.pipe-horizontal-2 {
    top: 45%;
    right: 10%;
    width: 150px;
    height: 6px;
    border-radius: 3px;
    animation-delay: -5s;
}

.pipe-horizontal-3 {
    bottom: 25%;
    left: 15%;
    width: 180px;
    height: 7px;
    border-radius: 3.5px;
    animation-delay: -10s;
}

.pipe-vertical-1 {
    top: 20%;
    left: 8%;
    width: 6px;
    height: 120px;
    border-radius: 3px;
    animation-delay: -3s;
}

.pipe-vertical-2 {
    top: 35%;
    right: 20%;
    width: 8px;
    height: 100px;
    border-radius: 4px;
    animation-delay: -8s;
}

/* Pipe Joints and Valves */
.pipe-joint {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: jointPulse 4s ease-in-out infinite;
}

.joint-1 {
    top: 15%;
    left: 12%;
    animation-delay: 0s;
}

.joint-2 {
    top: 45%;
    right: 15%;
    animation-delay: -1s;
}

.joint-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: -2s;
}

.joint-4 {
    top: 35%;
    right: 25%;
    animation-delay: -3s;
}

/* Gas Meter Icons */
.gas-meter {
    position: absolute;
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 4px;
    animation: meterBlink 6s ease-in-out infinite;
}

.gas-meter::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.gas-meter::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 16px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
}

.meter-1 {
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.meter-2 {
    bottom: 35%;
    right: 25%;
    animation-delay: -2s;
}

/* Pressure Gauges */
.pressure-gauge {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: gaugeRotate 8s linear infinite;
}

.pressure-gauge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 8px;
    background: var(--primary-blue);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 1px;
}

.gauge-1 {
    top: 30%;
    left: 35%;
    animation-delay: 0s;
}

.gauge-2 {
    bottom: 40%;
    right: 35%;
    animation-delay: -4s;
}

/* Technical Grid Pattern */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridShift 30s linear infinite;
}

/* Particles Effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 12s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; }
.particle:nth-child(5) { left: 50%; animation-delay: -8s; }
.particle:nth-child(6) { left: 60%; animation-delay: -10s; }
.particle:nth-child(7) { left: 70%; animation-delay: -1s; }
.particle:nth-child(8) { left: 80%; animation-delay: -3s; }
.particle:nth-child(9) { left: 90%; animation-delay: -5s; }
.particle:nth-child(10) { left: 15%; animation-delay: -7s; }

/* Light Rays Effect */
.hero-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    animation: rayShift 25s ease-in-out infinite;
}


.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
	z-index: 999;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.hero-icon {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: heroIconPulse 8s ease-in-out infinite;
    position: relative;
}

.hero-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    opacity: 0.2;
    animation: heroIconPulse 8s ease-in-out infinite reverse;
    z-index: -1;
}

.hero-icon i {
    font-size: 8rem;
    color: var(--white);
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light-blue);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-icon {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: pulse 4s ease-in-out infinite;
}

.about-icon i {
    font-size: 6rem;
    color: var(--white);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--light-blue);
}

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

.service-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-content {
    padding: 2rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.project-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Project Image Slider */
.project-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.project-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-slide i {
    font-size: 3rem;
    color: var(--white);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-card:hover .slider-nav {
    display: flex;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-indicator.active {
    background: white;
}

.project-content {
    padding: 2rem;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.projects-load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.image-modal-close:hover {
    color: #ccc;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.image-modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* Contacts Section */
.contacts {
    padding: 5rem 0;
    background: var(--white);
}

.contacts-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--light-blue);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* Hero Background Animations */
@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(20px) translateY(-10px);
    }
    50% {
        transform: translateX(-10px) translateY(20px);
    }
    75% {
        transform: translateX(10px) translateY(10px);
    }
}

@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(15px) translateX(5px) rotate(270deg);
        opacity: 0.25;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

@keyframes rayShift {
    0%, 100% {
        transform: translateX(-100px);
        opacity: 0.3;
    }
    50% {
        transform: translateX(100px);
        opacity: 0.1;
    }
}

/* Enhanced Hero Icon Animation */
@keyframes heroIconPulse {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
    }
    25% {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 25px 30px -5px rgba(37, 99, 235, 0.4);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
        box-shadow: 0 30px 35px -5px rgba(37, 99, 235, 0.5);
    }
    75% {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 25px 30px -5px rgba(37, 99, 235, 0.4);
    }
}

/* Engineering Elements Animations */
@keyframes pipeFlow {
    0%, 100% {
        transform: translateX(0px) translateY(0px);
        opacity: 0.08;
    }
    25% {
        transform: translateX(5px) translateY(-2px);
        opacity: 0.12;
    }
    50% {
        transform: translateX(-3px) translateY(3px);
        opacity: 0.1;
    }
    75% {
        transform: translateX(2px) translateY(-1px);
        opacity: 0.09;
    }
}

@keyframes flowAnimation {
    0% {
        transform: translateX(-20px) translateY(-50%);
    }
    100% {
        transform: translateX(20px) translateY(-50%);
    }
}

@keyframes jointPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.08;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

@keyframes meterBlink {
    0%, 90%, 100% {
        opacity: 0.08;
    }
    95% {
        opacity: 0.2;
    }
}

@keyframes gaugeRotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gridShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 6rem 2rem 2rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        padding: 0.5rem 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-image,
    .about-image {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-icon {
        width: 200px;
        height: 200px;
    }
    
    .hero-icon i {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    /* Добавляем overlay для мобильного меню */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .advantage-card,
    .service-card,
    .project-card {
        margin: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}