/* ============================================
   AM TEHNOLOG REDESIGN - CSS STYLES
   ============================================ */

/* CSS VARIABLES */
:root {
    --primary-color: #3d9e8f;
    --primary-dark: #2d7e71;
    --primary-light: #5fbfb0;
    --secondary-color: #1e3a5f;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --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);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    max-width: 100vw;
}

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

/* Ne dozvoliti CSS img reset da pregazi eksplicitnu visinu loga */
.logo img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

/* UTILITY CLASSES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* NAVIGATION */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

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

.has-mega-menu {
    position: relative;
}

.arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform var(--transition-fast);
}

.has-mega-menu.active .arrow {
    transform: rotate(180deg);
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    margin-top: 1rem;
    pointer-events: none;
}

.has-mega-menu.active .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
    pointer-events: auto;
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mega-column h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.mega-column ul {
    list-style: none;
}

.mega-column ul li {
    margin-bottom: 0.7rem;
}

.mega-column ul li a {
    color: var(--text-medium);
    font-size: 0.9rem;
    display: block;
    padding: 0.3rem 0;
    transition: var(--transition-fast);
}

.mega-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* MEGA MENU - PRODUCTS WITH IMAGES */
.mega-menu-products {
    width: 1000px;
    padding: 2.5rem;
}

.mega-menu-container-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(74, 155, 142, 0.2);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: white;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h4 {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover h4 {
    color: var(--primary-color);
}

/* CATALOG MEGA MENU - SPLIT LAYOUT */
.mega-menu-catalog {
    width: 950px;
    padding: 0;
}

.catalog-menu-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 600px;
    overflow: hidden;
}

.catalog-menu-sidebar {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f3 100%);
    border-right: 1px solid rgba(0, 191, 166, 0.15);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: stretch;
}

.catalog-main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.catalog-main-menu li {
    margin-bottom: 0.75rem;
}

.catalog-main-menu li:last-child {
    margin-bottom: 0;
}

.catalog-main-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: left;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
}

.catalog-main-menu li a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 191, 166, 0.15);
    border-color: var(--primary-color);
}

.catalog-main-menu li a.active {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 191, 166, 0.2);
}

.catalog-products-showcase {
    background: white;
    padding: 2rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.showcase-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    grid-column: 1 / -1;
}

.showcase-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(74, 155, 142, 0.2);
    border-color: var(--primary-color);
}

.showcase-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: white;
}

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

.showcase-card:hover .showcase-image img {
    transform: scale(1.1);
}

.showcase-card h4 {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.showcase-card:hover h4 {
    color: var(--primary-color);
}

/* Wide card - spans full width of the grid (used for ekstruder overview) */
.showcase-card-wide {
    grid-column: 1 / -1;
}

.showcase-card-wide .showcase-image {
    height: 220px;
}

/* Kompaktne dimenzije - samo za EKSTRUDER i PRESE panel */
.showcase-products-sm .showcase-image {
    height: 130px;
}

.showcase-products-sm .showcase-card-wide .showcase-image {
    height: 170px;
}

.showcase-products-sm .showcase-card h4 {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    min-height: 44px;
    line-height: 1.3;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ── Language Switcher Dropdown ── */
.language-switcher {
    position: relative;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.3px;
}

.lang-trigger:hover {
    background: var(--primary-dark);
}

.lang-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.language-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 80px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 9999;
}

.language-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.lang-option:hover {
    background: var(--primary-color);
    color: white;
}

.cta-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ── Hamburger Button ── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
    display: block;
}

/* X animacija kada je drawer otvoren */
.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ═══════════════════════════════════════
   MOBILE DRAWER
═══════════════════════════════════════ */

/* Overlay pozadina */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1199;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.mob-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Drawer panel */
.mob-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    background: #fff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: -8px 0 40px rgba(0,0,0,0.18);
}
.mob-drawer.is-open {
    transform: translateX(0);
}

/* Header drawera */
.mob-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    background: #fff;
}

.mob-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    transition: background 0.2s, transform 0.2s;
}
.mob-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

/* Scroll area */
.mob-nav {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 0;
}

/* Menu lista */
.mob-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Glavna linkovi */
.mob-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    gap: 12px;
    transition: background 0.18s, color 0.18s;
    text-align: left;
    font-family: inherit;
}
.mob-link i {
    width: 18px;
    text-align: center;
    color: var(--primary-color);
    flex-shrink: 0;
}
.mob-link:hover,
.mob-link:focus-visible {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Accordion trigger */
.mob-accordion-trigger {
    justify-content: space-between;
}
.mob-accordion-trigger > span {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Chevron ikonica */
.mob-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--text-light);
}
.mob-accordion-trigger[aria-expanded="true"] .mob-chevron {
    transform: rotate(180deg);
}
.mob-accordion-trigger[aria-expanded="true"] {
    color: var(--primary-color);
    background: rgba(61,158,143,0.06);
}

/* Accordion sadržaj */
.mob-sub {
    display: none;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.mob-sub.is-open {
    display: block;
}

/* Sekcija unutar sub menija */
.mob-sub-section {
    padding: 10px 0;
}
.mob-sub-section + .mob-sub-section {
    border-top: 1px solid var(--border-color);
}

/* Label sekcije */
.mob-sub-label {
    display: block;
    padding: 8px 20px 4px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

/* Sub linkovi */
.mob-sub-link {
    display: block;
    padding: 9px 20px 9px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.mob-sub-link:hover {
    background: rgba(61,158,143,0.08);
    color: var(--primary-color);
    padding-left: 38px;
}

/* Separator između glavnih stavki */
.mob-menu > li:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Footer drawera */
.mob-drawer-footer {
    flex-shrink: 0;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Jezici */
.mob-lang-row {
    display: flex;
    gap: 8px;
}
.mob-lang-btn {
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-medium);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mob-lang-btn:hover,
.mob-lang-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* CTA dugme */
.mob-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}
.mob-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Kontakt info */
.mob-contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mob-contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-medium);
    transition: color 0.15s;
}
.mob-contact-info a i {
    color: var(--primary-color);
    width: 14px;
    text-align: center;
}
.mob-contact-info a:hover {
    color: var(--primary-color);
}

/* Sakrij drawer na desktopu */
@media (min-width: 993px) {
    .mob-overlay,
    .mob-drawer {
        display: none !important;
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    padding-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://amtehnolog.com/wp-content/uploads/2024/09/peletiranje-biomase.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
    opacity: 1; /* Changed from 0 to prevent flash */
}

/* Animation only applies after preload class is removed */
body:not(.preload) .hero-content {
    animation: delayedFadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

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

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

/* Animation only after preload */
body:not(.preload) .title-line {
    animation: fadeInUp 0.8s ease;
}

.title-line.highlight {
    color: var(--primary-light);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Animation only after preload */
body:not(.preload) .hero-subtitle {
    animation: fadeInUp 1s ease;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation only after preload */
body:not(.preload) .hero-actions {
    animation: fadeInUp 1.2s ease;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 158, 143, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(61, 158, 143, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-stats {
    position: absolute;
    bottom: 10rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4rem;
    z-index: 2;
    flex-wrap: wrap;
    padding: 0 2rem;
    opacity: 1;
    visibility: visible;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    min-width: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    line-height: 1;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    white-space: nowrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

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

/* SECTIONS */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-header.centered {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--text-dark);
    max-width: 800px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* SOLUTION FINDER */
.solution-finder {
    background: var(--bg-light);
}

.wizard-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-medium);
    transition: all var(--transition-normal);
}

.progress-step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 600;
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    margin: 0 -1rem;
    margin-top: -2rem;
}

.wizard-content {
    min-height: 400px;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-step.active {
    display: block;
}

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

.wizard-question {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.wizard-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.option-card {
    background: var(--bg-light);
    border: 3px solid transparent;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.option-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.option-card.selected {
    border-color: var(--primary-color);
    background: rgba(61, 158, 143, 0.05);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.option-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.option-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 1rem;
}

.wizard-btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.wizard-prev {
    background: var(--bg-light);
    color: var(--text-dark);
}

.wizard-prev:hover {
    background: var(--border-color);
}

.wizard-next {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.wizard-next:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
}

.wizard-results {
    text-align: center;
}

.result-header {
    margin-bottom: 3rem;
}

.result-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

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

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* WHY CHOOSE US */
.why-choose-us {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.why-choose-us .section-tag {
    background: rgba(255, 255, 255, 0.2);
}

.why-choose-us .section-title {
    color: white;
}

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

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.advantage-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.advantage-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.advantage-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.certifications {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.certifications h3 {
    color: white;
    margin-bottom: 2rem;
}

.cert-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cert-item {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* DELIVERY SYSTEM / TIMELINE */
.delivery-system {
    background: var(--bg-light);
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--primary-light), 
        var(--primary-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item.reverse {
    direction: rtl;
}

.timeline-item.reverse > * {
    direction: ltr;
}

.timeline-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

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

.timeline-item:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* TECH PROCESSES GRID */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.process-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.process-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.process-card:hover .process-image img {
    transform: scale(1.1);
}

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.process-card:hover .process-overlay {
    opacity: 1;
}

.process-arrow {
    font-size: 3rem;
    color: white;
    font-weight: 300;
}

.process-card h3 {
    padding: 1.5rem;
    background: white;
    color: var(--text-dark);
}

.process-card p {
    padding: 0 1.5rem 1.5rem;
    background: white;
    color: var(--text-medium);
}

/* VIDEO SECTION */
.video-section {
    background: var(--bg-white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.video-card.featured {
    grid-column: span 6;
}

.video-card:not(.featured) {
    grid-column: span 4;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-light);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-normal);
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.video-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.video-cta {
    text-align: center;
    margin-top: 3rem;
}

/* TECH SPECS VISUAL */
.tech-specs-visual {
    background: var(--bg-light);
}

.comparison-tool {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.comparison-selector {
    margin-bottom: 3rem;
}

.comparison-selector h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.product-checkboxes {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.checkbox-card {
    cursor: pointer;
}

.checkbox-card input {
    display: none;
}

.checkbox-content {
    border: 3px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    min-width: 150px;
}

.checkbox-content img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.checkbox-card input:checked + .checkbox-content {
    border-color: var(--primary-color);
    background: rgba(61, 158, 143, 0.05);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table th:first-child {
    border-radius: 15px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 15px 0 0;
}

.product-header {
    text-align: center;
}

.product-header img {
    width: 100px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 1rem;
}

.product-header h4 {
    margin-bottom: 0.5rem;
}

.product-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.spec-name {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-info {
    margin-left: 0.5rem;
    cursor: help;
}

.spec-value {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.unit {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.spec-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    position: relative;
}

.spec-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--width, 50%);
    background: var(--primary-color);
    border-radius: 3px;
}

.price-indicator {
    display: flex;
    gap: 0.3rem;
}

.price-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.price-dot.filled {
    background: var(--accent-color);
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-light);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.action-row td {
    padding-top: 2rem;
}

.btn-table-primary,
.btn-table-secondary {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

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

.btn-table-primary:hover {
    background: var(--primary-dark);
}

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

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

.export-comparison {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CASE STUDIES */
.case-studies {
    background: var(--bg-white);
}

.case-study-slider {
    position: relative;
}

.case-study-slide {
    display: none;
}

.case-study-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.case-study-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.case-study-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.case-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
}

.case-study-text h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.case-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.case-study-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.case-results {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-text strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.result-text span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.testimonial {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 10px;
    font-style: italic;
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* LATEST NEWS */
.latest-news {
    background: var(--bg-light);
}

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

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.news-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.news-date {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.news-link:hover {
    color: var(--primary-dark);
}

/* CONTACT CTA */
.contact-cta {
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* FOOTER */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* MODALS */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.quote-form {
    margin-top: 2rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.video-modal-content {
    max-width: 1000px;
    padding: 0;
    background: black;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* AOS ANIMATIONS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.4s; /* Faster animation - was 0.3s but feels smoother at 0.4s */
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother easing */
    will-change: opacity, transform; /* Hardware acceleration hint */
    backface-visibility: hidden; /* Prevent flickering */
}

[data-aos].aos-animate {
    opacity: 1;
    will-change: auto; /* Remove hint after animation */
}

[data-aos="fade-up"] {
    transform: translateY(10px); /* Reduced distance for smoother effect */
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.98); /* Subtle zoom for fluid effect */
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .mega-menu {
        width: 700px;
    }
    
    .mega-menu-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-menu-catalog {
        width: 800px;
    }
    
    .catalog-menu-container {
        grid-template-columns: 250px 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mega-menu-catalog {
        width: 100%;
    }
    
    .catalog-menu-container {
        grid-template-columns: 1fr;
    }
    
    .catalog-menu-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(0, 191, 166, 0.15);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-line {
        display: none;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .wizard-container {
        padding: 2rem 1.5rem;
    }
    
    .wizard-options {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card.featured,
    .video-card:not(.featured) {
        grid-column: span 12;
    }
    
    .comparison-tool {
        padding: 1.5rem;
    }
    
    .product-checkboxes {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
