/*--------------------------------------------------------------
# Modern UMS Smart Polygon Website - Premium Design
--------------------------------------------------------------*/

:root {
    /* Color Palette - Modern Blues & Gradients */
    --primary-blue: #1a237e;
    --primary-blue-light: #1976d2;
    --primary-blue-dark: #0d47a1;
    --accent-cyan: #00bcd4;
    --accent-orange: #ff6b35;
    --accent-gold: #ffc107;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #1976d2 100%);
    --gradient-secondary: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    --gradient-accent: linear-gradient(135deg, #00bcd4 0%, #26c6da 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 35, 126, 0.95) 0%, rgba(13, 71, 161, 0.9) 100%);

    /* Neutral Colors */
    --dark: #0a0e27;
    --dark-light: #1a1f3a;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --light: #f1f5f9;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Orbitron', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 15px;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --glow: 0 0 20px rgba(25, 118, 210, 0.5);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-blue-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/*--------------------------------------------------------------
# Floating Contact Buttons
--------------------------------------------------------------*/
.floating-contacts {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    animation: pulse 2s infinite;
}

.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    font-family: var(--font-primary);
}

.floating-btn:hover::before {
    opacity: 1;
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.floating-btn.phone {
    background: var(--gradient-primary);
}

.floating-btn.email {
    background: var(--gradient-accent);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(25, 118, 210, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(25, 118, 210, 0);
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a1f3a 100%);
}

#header.header-scrolled {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    padding: 15px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 36px;
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #ff6b35 0%, #ffc107 50%, #00bcd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35 0%, #ffc107 100%);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #00bcd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-text {
    display: block;
    color: var(--white);
    font-size: 48px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #ffffff 0%, #00bcd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 188, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 188, 212, 0.6);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
    color: var(--white);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.indicator.active,
.indicator:hover {
    background: var(--white);
    transform: scale(1.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/*--------------------------------------------------------------
# Section Headers
--------------------------------------------------------------*/
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-overlay-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.overlay-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.overlay-text h4 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    margin: 0;
}

.overlay-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.about-content {
    padding-left: 30px;
}

.about-intro .lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-light);
    margin-bottom: 40px;
}

.machine-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.spec-item i {
    font-size: 32px;
    color: var(--primary-blue);
}

.spec-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.spec-item p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.capabilities h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
}

.capability-list {
    list-style: none;
    padding: 0;
}

.capability-list li {
    padding: 12px 0;
    color: var(--dark-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.capability-list i {
    color: var(--accent-cyan);
    font-size: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 25px;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

/*--------------------------------------------------------------
# Animation Section
--------------------------------------------------------------*/
.animation-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.animation-wrapper {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--primary-blue-light);
}

.animation-image {
    width: 100%;
    display: block;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.video-showcase {
    margin-bottom: 60px;
}

.video-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.video-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-title i {
    color: var(--primary-blue);
}

.service-video {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    color: var(--white);
    font-size: 48px;
}

.service-content {
    padding: 25px;
}

.service-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--gray-light);
    background: var(--white);
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    transition: var(--transition-base);
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 280px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: var(--white);
    margin-bottom: 20px;
}

.portfolio-info h5 {
    font-size: 18px;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 14px;
    opacity: 0.9;
}

.portfolio-lightbox {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition-base);
}

.portfolio-lightbox:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: scale(1.2);
}

/*--------------------------------------------------------------
# Location Section
--------------------------------------------------------------*/
.location-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--primary-blue-light);
}

.location-map {
    width: 100%;
    height: 450px;
    border: none;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin: 0 auto 25px;
    transition: var(--transition-base);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
}

.contact-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray);
    line-height: 1.8;
    margin: 0;
}

.contact-card a {
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary-blue-light);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    padding: 80px 0 40px;
}

.footer-info h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.footer-address {
    line-height: 2;
    margin-bottom: 30px;
}

.footer-address strong {
    color: var(--white);
}

.footer-address a {
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    padding: 8px 0;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.footer-links ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-newsletter h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-newsletter p {
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.copyright {
    margin-bottom: 10px;
}

.credits a {
    color: var(--accent-cyan);
}

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 998;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(26, 35, 126, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 30px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s ease;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-title {
        font-size: 48px;
    }

    .tech-text {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .machine-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .tech-text {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .floating-contacts {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 28px;
    }

    .hero-title {
        font-size: 28px;
    }

    .tech-text {
        font-size: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# AOS Animation Overrides
--------------------------------------------------------------*/
[data-aos] {
    transition-duration: 0.8s;
}

[data-aos].aos-animate {
    transition-duration: 0.8s;
}