/*
Theme Name: SIMAT Corporate Theme
Theme URI: https://www.simat.bg
Author: SIMAT AD
Author URI: https://www.simat.bg
Description: Корпоративна тема за „СИМАТ" АД - водещ производител на стоманобетонни стълбове, фундаменти и изделия за енергетиката
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simat
Tags: corporate, industrial, responsive, custom-menu, custom-logo, featured-images
*/

/* ========================================
   CSS CUSTOM PROPERTIES (Variables)
   ======================================== */
:root {
    /* Primary Colors - Green palette (from SIMAT logo) */
    --color-primary: #5BBF3D;
    --color-primary-dark: #3D8C29;
    --color-primary-light: #7ED957;
    --color-secondary: #2E7D32;
    
    /* Accent Colors - Orange (from logo diamond) */
    --color-accent: #F7941D;
    --color-accent-hover: #E07F0D;
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-light-gray: #e9ecef;
    --color-gray: #6c757d;
    --color-dark-gray: #495057;
    --color-dark: #212529;
    --color-heading: #2d3748;
    
    /* Functional Colors */
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    
    /* Typography */
    --font-primary: 'Source Sans 3', 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Container */
    --container-max: 1320px;
    --container-narrow: 960px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-dark);
    background-color: #fafcf8;
    overflow-x: hidden;
}

/* Subtle background pattern for all pages */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 100% 0%, rgba(91, 191, 61, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(247, 148, 29, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

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

a:hover {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: #2d3748;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-lg {
    padding: var(--spacing-3xl) 0;
}

/* Alternating Section Backgrounds */
.section:nth-child(odd) {
    background: var(--color-white);
}

.section:nth-child(even) {
    background: linear-gradient(180deg, #f8faf8 0%, #f0f4f0 100%);
}

/* Section with pattern background */
.section-pattern {
    background: 
        linear-gradient(180deg, #f9fbf9 0%, #f4f7f4 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(91,191,61,0.1)"/></svg>') repeat;
}

/* Section with gradient accent */
.section-accent-light {
    background: linear-gradient(180deg, #fafbfa 0%, #f5f8f5 50%, #f0f4f0 100%);
    position: relative;
}

.section-accent-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    opacity: 0.3;
}

/* Section with dark background */
.section-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--color-white);
}

.section-dark .section-label {
    color: var(--color-accent);
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   DECORATIVE SECTION DIVIDERS
   ======================================== */

/* Wave Divider */
.section-divider-wave {
    position: relative;
    padding-bottom: calc(var(--spacing-2xl) + 30px);
}

.section-divider-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 30" preserveAspectRatio="none"><path fill="%231a1a2e" d="M0,15 C360,30 720,0 1080,15 C1260,22.5 1350,22.5 1440,15 L1440,30 L0,30 Z"/></svg>') no-repeat center bottom;
    background-size: 100% 100%;
    pointer-events: none;
}

/* Angle Divider */
.section-divider-angle {
    position: relative;
    padding-bottom: calc(var(--spacing-2xl) + 40px);
}

.section-divider-angle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to right bottom, transparent 49.5%, var(--color-white) 50%);
    pointer-events: none;
}

/* Dots Divider */
.section-divider-dots::after {
    content: '• • •';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    letter-spacing: 1rem;
    color: var(--color-primary);
    opacity: 0.4;
    z-index: 1;
}

/* Line with diamond */
.section-divider-diamond::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: 
        linear-gradient(var(--color-primary), var(--color-primary)) center/100% 2px no-repeat,
        linear-gradient(45deg, transparent 40%, var(--color-primary) 40%, var(--color-primary) 60%, transparent 60%) center/12px 12px no-repeat;
    opacity: 0.3;
}

.section-sm {
    padding: var(--spacing-2xl) 0;
}

.section-lg {
    padding: var(--spacing-4xl) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

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

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

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(91, 191, 61, 0.1);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 var(--spacing-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 500;
    color: var(--color-dark);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--color-primary);
    background: var(--color-light);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
}

/* Mobile Menu Toggle - Hidden on desktop, visible on mobile */
.menu-toggle {
    display: none !important;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: all var(--transition-normal);
    transform-origin: center;
}

/* Hamburger to X animation when active */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
    .site-header {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        padding: var(--spacing-xl);
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-menu a {
        padding: var(--spacing-md);
        font-size: 1.125rem;
        border-bottom: 1px solid var(--color-light-gray);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-lg);
        display: none;
    }
    
    .nav-menu li.submenu-open .sub-menu {
        display: block;
    }
}

/* Header CTA */
.header-cta {
    margin-left: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .header-cta {
        display: none;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.625rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-color: var(--color-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    transition: left var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover {
    border-color: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(91, 191, 61, 0.4);
}

.btn-primary:hover::before {
    left: 0;
}

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

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

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: #1a1a2e;
    border-color: var(--color-accent);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 700;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn-accent:hover {
    border-color: var(--color-accent);
    color: #1a1a2e;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(247, 148, 29, 0.4);
}

.btn-accent:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-white:hover {
    background: var(--color-light);
    border-color: var(--color-light);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

.btn-icon {
    padding: 0.625rem;
}

/* Buttons with icons - ensure proper spacing */
.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-sm svg {
    width: 14px;
    height: 14px;
}

.btn-lg svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(91, 191, 61, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 148, 29, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(91, 191, 61, 0.1) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: conic-gradient(from 0deg, transparent, rgba(91, 191, 61, 0.1), transparent, rgba(247, 148, 29, 0.1), transparent);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.9) 100%);
}

/* Floating geometric shapes */
.hero .floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero .floating-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero .floating-shape:nth-child(2) {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero .floating-shape:nth-child(3) {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-4xl) 0;
    margin-top: 80px;
}

.hero-label {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--spacing-4xl) 0 var(--spacing-2xl);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-description {
    color: var(--color-gray);
    font-size: 1.125rem;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(91, 191, 61, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(91, 191, 61, 0.15);
    border-color: rgba(91, 191, 61, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.card-body {
    padding: var(--spacing-xl);
}

.card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.card-title a {
    color: #2d3748;
}

.card-title a:hover {
    color: var(--color-primary);
}

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

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
}

.card-link svg {
    transition: transform var(--transition-fast);
}

.card-link:hover svg {
    transform: translateX(4px);
}

/* Product Card */
.product-card {
    position: relative;
}

.product-card .card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 40, 64, 0.8) 0%, transparent 50%);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .card-image::before {
    opacity: 1;
}

.product-card .card-cta {
    position: absolute;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.product-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Feature Card */
.feature-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(91, 191, 61, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(91, 191, 61, 0.1) 0%, transparent 60%);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover {
    background: var(--color-white);
    box-shadow: 0 15px 40px rgba(91, 191, 61, 0.12);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    top: -50%;
    left: -50%;
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(91, 191, 61, 0.3);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(91, 191, 61, 0.4);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--color-gray);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   ABOUT / INTRO SECTION
   ======================================== */
.intro-section {
    background: linear-gradient(180deg, #f5faf3 0%, #edf5ea 100%);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(91, 191, 61, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.intro-image::after {
    content: '';
    position: absolute;
    top: var(--spacing-xl);
    left: var(--spacing-xl);
    right: calc(-1 * var(--spacing-xl));
    bottom: calc(-1 * var(--spacing-xl));
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.intro-content .section-label {
    margin-bottom: var(--spacing-md);
}

.intro-content h2 {
    margin-bottom: var(--spacing-lg);
}

.intro-content p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.intro-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.intro-feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.intro-feature-icon svg {
    width: 14px;
    height: 14px;
}

.intro-feature span {
    font-weight: 500;
    color: var(--color-dark);
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image::after {
        display: none;
    }
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    background: linear-gradient(180deg, #ffffff 0%, #fafcf8 100%);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(91, 191, 61, 0.03) 100%);
    pointer-events: none;
}

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

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, var(--color-primary-dark) 100%);
    overflow: hidden;
}

.cta-section .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
}

.cta-section .btn-lg {
    padding: 0.625rem 1.75rem;
    font-size: 0.8125rem;
}

/* Phone button with icon - make text fit on one line */
.cta-section .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 191, 61, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 148, 29, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 2s;
}

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

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ========================================
   LABORATORY SECTION
   ======================================== */
.lab-section {
    background: linear-gradient(135deg, #f0f7ed 0%, #e8f5e3 50%, #f5faf3 100%);
    position: relative;
    overflow: hidden;
}

.lab-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 191, 61, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.lab-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(247, 148, 29, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.lab-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.lab-content h2 {
    margin-bottom: var(--spacing-lg);
}

.lab-content p {
    margin-bottom: var(--spacing-lg);
}

.lab-services {
    margin-bottom: var(--spacing-xl);
}

.lab-service {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.lab-service:last-child {
    border-bottom: none;
}

.lab-service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.lab-service h4 {
    margin-bottom: var(--spacing-xs);
}

.lab-service p {
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.lab-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.lab-badge {
    position: absolute;
    bottom: var(--spacing-xl);
    left: var(--spacing-xl);
    background: var(--color-white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.lab-badge-title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.lab-badge-text {
    font-size: 0.875rem;
    color: var(--color-gray);
}

@media (max-width: 992px) {
    .lab-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news-section {
    background: linear-gradient(180deg, #fafcf8 0%, #f5faf3 50%, #ffffff 100%);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 191, 61, 0.2), transparent);
}

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

.news-card .card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 0.8125rem;
    color: var(--color-gray);
}

.news-card .card-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
    background: var(--color-light);
    padding: var(--spacing-2xl) 0;
}

.partners-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xl);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-2xl);
}

.partner-logo {
    opacity: 0.6;
    transition: opacity var(--transition-normal);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-logo img {
    max-height: 50px;
    width: auto;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.contact-info h2 {
    margin-bottom: var(--spacing-lg);
}

.contact-info p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.contact-item p,
.contact-item a {
    color: var(--color-dark);
    font-weight: 500;
    margin-bottom: 0;
}

.contact-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(145deg, #ffffff 0%, #f5faf3 100%);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(91, 191, 61, 0.1);
    box-shadow: 0 10px 40px rgba(91, 191, 61, 0.08);
}

.contact-form h3 {
    margin-bottom: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-label .required {
    color: var(--color-danger);
}

.form-control {
    width: 100%;
    padding: 0.875rem var(--spacing-md);
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-file {
    position: relative;
}

.form-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.form-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    border: 2px dashed var(--color-light-gray);
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-gray);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.form-file-label:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--color-primary);
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.form-checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    height: 400px;
    background: var(--color-light-gray);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-main {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

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

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 45px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.footer-brand .contact-social {
    gap: var(--spacing-sm);
}

.footer-brand .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.footer-brand .social-link:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

.footer-menu li {
    margin-bottom: var(--spacing-sm);
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--color-accent);
    padding-left: var(--spacing-sm);
}

.footer-contact-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    margin-top: 3px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-group {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-group a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-group a:hover {
    color: var(--color-accent);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   PAGE TEMPLATES
   ======================================== */
/* Page Header */
.page-header {
    position: relative;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

/* Background image support */
.page-header.has-bg-image {
    background-size: cover;
    background-position: center;
}

.page-header.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.85) 100%);
}

/* Thematic backgrounds for different pages */
.page-header--products {
    background: linear-gradient(135deg, #1a3d1a 0%, #0d2810 50%, #1a1a2e 100%);
}

.page-header--products::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(91, 191, 61, 0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(91,191,61,0.1)"/></svg>') repeat;
    background-size: auto, 30px 30px;
}

.page-header--laboratory {
    background: linear-gradient(135deg, #1a2a4a 0%, #0d1a30 50%, #1a1a2e 100%);
}

.page-header--laboratory::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(91, 191, 61, 0.1) 0%, transparent 50%);
}

.page-header--innovations {
    background: linear-gradient(135deg, #2d1a4a 0%, #1a0d30 50%, #1a1a2e 100%);
}

.page-header--innovations::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(247, 148, 29, 0.1) 0%, transparent 50%);
}

.page-header--about {
    background: linear-gradient(135deg, #1a3030 0%, #0d1a1a 50%, #1a1a2e 100%);
}

.page-header--about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(91, 191, 61, 0.1) 0%, transparent 60%);
}

.page-header--contact {
    background: linear-gradient(135deg, #3d2a1a 0%, #1a1a0d 50%, #1a1a2e 100%);
}

.page-header--contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 80%, rgba(247, 148, 29, 0.2) 0%, transparent 50%);
}

.page-header--careers {
    background: linear-gradient(135deg, #1a3d3d 0%, #0d2020 50%, #1a1a2e 100%);
}

.page-header--news {
    background: linear-gradient(135deg, #2a1a3d 0%, #150d20 50%, #1a1a2e 100%);
}

.page-header--projects {
    background: linear-gradient(135deg, #1a2d3d 0%, #0d1520 50%, #1a1a2e 100%);
}

.page-header::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: conic-gradient(from 0deg, transparent, rgba(91, 191, 61, 0.03), transparent);
    border-radius: 50%;
    animation: rotate 40s linear infinite;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-header .breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
    color: var(--color-white);
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs .current {
    color: var(--color-accent);
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Page Content */
.page-content {
    padding: var(--spacing-4xl) 0;
}

.page-content h2 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
}

.page-content h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.page-content ul,
.page-content ol {
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-lg);
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

.page-content li {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray);
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-detail {
    padding: var(--spacing-4xl) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.product-gallery-thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
    opacity: 1;
}

.product-info h1 {
    margin-bottom: var(--spacing-md);
}

.product-info .lead {
    margin-bottom: var(--spacing-xl);
}

.product-specs {
    background: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.product-specs h3 {
    margin-bottom: var(--spacing-md);
}

.spec-table {
    width: 100%;
}

.spec-table tr {
    border-bottom: 1px solid var(--color-light-gray);
}

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

.spec-table td {
    padding: var(--spacing-sm) 0;
}

.spec-table td:first-child {
    color: var(--color-gray);
    width: 40%;
}

.spec-table td:last-child {
    font-weight: 500;
}

.product-cta {
    background: var(--color-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.product-cta h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.product-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

.product-downloads {
    margin-top: var(--spacing-xl);
}

.download-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    transition: all var(--transition-fast);
}

.download-link:hover {
    background: var(--color-light-gray);
}

.download-link svg {
    color: var(--color-primary);
}

.download-link span {
    flex: 1;
    font-weight: 500;
}

.download-link small {
    color: var(--color-gray);
    font-size: 0.8125rem;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
}

/* ========================================
   NEWS/BLOG TEMPLATES
   ======================================== */
.news-archive {
    padding: var(--spacing-4xl) 0;
}

.news-featured {
    margin-bottom: var(--spacing-3xl);
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-news-card .card-image {
    aspect-ratio: 16/10;
}

.featured-news-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-2xl);
}

.featured-news-card .card-title {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }
}

/* Single News */
.single-news {
    padding: var(--spacing-4xl) 0;
}

.single-news-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-3xl);
}

.news-content {
    max-width: 100%;
}

.news-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-light-gray);
    font-size: 0.9375rem;
    color: var(--color-gray);
}

.news-body {
    font-size: 1.0625rem;
    line-height: 1.9;
}

.news-body p {
    margin-bottom: var(--spacing-lg);
}

.news-body img {
    border-radius: var(--radius-md);
    margin: var(--spacing-xl) 0;
}

.news-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.sidebar-widget h4 {
    margin-bottom: var(--spacing-md);
}

.related-news-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.related-news-item:last-child {
    border-bottom: none;
}

.related-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.related-news-item h5 {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-xs);
}

.related-news-item span {
    font-size: 0.8125rem;
    color: var(--color-gray);
}

@media (max-width: 992px) {
    .single-news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
    }
}

/* ========================================
   TIMELINE (History)
   ======================================== */
.timeline {
    position: relative;
    padding-left: var(--spacing-3xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-light-gray);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--spacing-3xl) - 6px);
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.timeline-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.timeline-content p {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    counter-reset: step;
}

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

.process-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--color-light-gray);
}

.process-step:last-child::after {
    display: none;
}

.process-step h4 {
    margin-bottom: var(--spacing-sm);
}

.process-step p {
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-gray { color: var(--color-gray); }
.text-white { color: var(--color-white); }

.bg-light { 
    background: linear-gradient(135deg, #f8fdf6 0%, #f0f7ed 50%, #e8f5e3 100%);
}
.bg-white { 
    background: linear-gradient(180deg, #ffffff 0%, #fafcf8 100%);
}
.bg-primary { background: var(--color-primary); }
.bg-dark { background: var(--color-primary-dark); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.hidden { display: none; }
.visible { display: block; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
}

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

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Additional keyframes */
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes shimmer-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-left {
    transform: translateX(-30px);
}

.reveal.reveal-right {
    transform: translateX(30px);
}

.reveal.reveal-scale {
    transform: scale(0.95);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered grid animations */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   HOVER EFFECTS
   ======================================== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card .card-image {
    overflow: hidden;
}

.card .card-image img {
    transition: transform 0.5s ease;
}

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

/* Feature card animations */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.feature-card .feature-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-primary);
}

.feature-card:hover .feature-icon svg {
    color: white;
}

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Arrow animation on hover */
.card-link svg,
.btn svg {
    transition: transform 0.3s ease;
}

.card-link:hover svg,
.btn:hover svg {
    transform: translateX(4px);
}

/* Section label diamond animation */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: rotate(45deg);
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Icon float on hover */
.icon-float:hover svg {
    animation: float 1s ease-in-out infinite;
}

/* Shimmer effect for loading states */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer-line 2s infinite;
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
/* WordPress alignments */
.alignleft {
    float: left;
    margin-right: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: calc(var(--container-max) + 100px);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* WordPress Captions */
.wp-caption {
    max-width: 100%;
    margin-bottom: var(--spacing-lg);
}

.wp-caption img {
    display: block;
    border-radius: var(--radius-md);
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-gray);
    padding-top: var(--spacing-sm);
    text-align: center;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
    margin: 0;
}

.gallery-item img {
    border-radius: var(--radius-md);
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   INNOVATIVE ENHANCEMENTS
   ======================================== */

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

/* Glowing text effect for headings */
.hero h1 {
    text-shadow: 0 0 40px rgba(91, 191, 61, 0.3);
}

/* Animated underline for links */
.card-link {
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width var(--transition-normal);
}

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

/* Stats counter animation enhancement */
.hero-stat-value {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFD93D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section label styling */
.section-label {
    position: relative;
    padding-left: 20px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--color-primary) 50%, var(--color-accent) 50%);
    transform: translateY(-50%) rotate(45deg);
}

/* Gradient border sections */
.section.gradient-border {
    position: relative;
}

.section.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

/* Hover glow effect for images */
.intro-image {
    position: relative;
}

.intro-image::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: calc(var(--radius-lg) + 5px);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.intro-image:hover::before {
    opacity: 0.3;
}

/* Timeline enhancements */
.timeline::before {
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
}

.timeline-marker {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 0 20px rgba(91, 191, 61, 0.4);
}

/* Process step enhancements */
.process-step::before {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 10px 30px rgba(91, 191, 61, 0.3);
    transition: all var(--transition-normal);
}

.process-step:hover::before {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(91, 191, 61, 0.4);
}

.process-step::after {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    height: 3px;
}

/* Contact form enhancements */
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(91, 191, 61, 0.15);
}

/* Download link enhancements */
.download-link {
    position: relative;
    overflow: hidden;
}

.download-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(91, 191, 61, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-link:hover::before {
    left: 100%;
}

/* Footer enhancements */
.site-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
}

.footer-brand .social-link:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* Lab badge pulse effect */
.lab-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 8px 30px rgba(91, 191, 61, 0.3); }
}

/* Product card overlay gradient */
.product-card .card-image::before {
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, transparent 60%);
}

/* Menu hover effect */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
    width: 80%;
}

/* Dark section with pattern */
.bg-dark-pattern {
    background: 
        linear-gradient(135deg, #1a1a2e 0%, #16213e 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(91, 191, 61, 0.03) 10px,
            rgba(91, 191, 61, 0.03) 20px
        );
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ========================================
   COMPACT VARIANTS
   ======================================== */

/* Compact Page Header */
.page-header-compact {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-xl);
}

.page-header-compact h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

.page-header-compact .lead {
    font-size: 1rem;
}

/* Compact Section */
.section-compact {
    padding: var(--spacing-2xl) 0;
}

/* Compact CTA */
.cta-compact {
    padding: var(--spacing-2xl) 0;
}

.cta-compact h2,
.cta-compact h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-compact p {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
}

.cta-compact .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* Button sizes - compact and wide for better readability */
.btn {
    padding: 0.625rem 1.75rem;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

/* ========================================
   MODERN PRODUCT MODAL & INTERACTIVE CARDS
   ======================================== */

/* Product Cards Grid - Interactive */
.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.product-card-modern {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(91, 191, 61, 0.1);
}

.product-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(91, 191, 61, 0.2);
    border-color: var(--color-primary);
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card-modern:hover::before {
    transform: scaleX(1);
}

.product-card-modern .card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-card-modern .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

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

.product-card-modern .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--spacing-xl);
}

.product-card-modern:hover .card-overlay {
    opacity: 1;
}

.product-card-modern .view-details-btn {
    background: var(--color-accent);
    color: #1a1a2e;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card-modern:hover .view-details-btn {
    transform: translateY(0);
    opacity: 1;
}

.product-card-modern .card-content {
    padding: var(--spacing-xl);
}

.product-card-modern .card-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: var(--spacing-sm);
}

.product-card-modern .card-title {
    font-size: 1.25rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-sm);
}

.product-card-modern .card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.product-card-modern .spec-tag {
    background: var(--color-light);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-dark-gray);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-card-modern .spec-tag svg {
    width: 12px;
    height: 12px;
    color: var(--color-primary);
}

/* ========================================
   PRODUCT MODAL - MODERN POPUP
   ======================================== */

.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.product-modal-overlay.active .product-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.product-modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

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

.product-modal-close svg {
    width: 20px;
    height: 20px;
}

.product-modal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
}

.product-modal-gallery {
    position: relative;
    background: linear-gradient(135deg, #f5f7f5 0%, #e8ede8 100%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    min-height: 400px;
    overflow: hidden;
}

.product-modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-modal-content {
    padding: var(--spacing-2xl);
    overflow-y: auto;
    max-height: 90vh;
}

.product-modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
}

.product-modal-title {
    font-size: 1.75rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-md);
}

.product-modal-description {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-light-gray);
    padding-bottom: var(--spacing-sm);
}

.modal-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.modal-tab:hover {
    color: var(--color-primary);
    background: var(--color-light);
}

.modal-tab.active {
    color: var(--color-primary);
    background: var(--color-light);
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px 3px 0 0;
}

.modal-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.modal-tab-content.active {
    display: block;
}

/* Specs in Modal */
.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.modal-spec-item {
    background: var(--color-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.modal-spec-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.modal-spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-heading);
}

/* Modal CTA */
.modal-cta {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-light-gray);
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.modal-cta .btn-outline {
    background: var(--color-accent);
    color: #1a1a2e;
    border: 2px solid var(--color-accent);
    font-weight: 700;
}

.modal-cta .btn-outline:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

/* Modal Spec Items Animation */
.modal-spec-item {
    opacity: 0;
    transform: translateY(20px);
    animation: specFadeIn 0.4s ease forwards;
}

.modal-spec-item:nth-child(1) { animation-delay: 0.05s; }
.modal-spec-item:nth-child(2) { animation-delay: 0.1s; }
.modal-spec-item:nth-child(3) { animation-delay: 0.15s; }
.modal-spec-item:nth-child(4) { animation-delay: 0.2s; }
.modal-spec-item:nth-child(5) { animation-delay: 0.25s; }
.modal-spec-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes specFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Lightbox */
.product-modal-gallery {
    cursor: zoom-in;
    position: relative;
}

.product-modal-gallery .zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.product-modal-gallery .zoom-hint svg {
    width: 16px;
    height: 16px;
}

.product-modal-gallery:hover .zoom-hint {
    opacity: 1;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

/* Product Card Animations */
.product-card-modern .card-content {
    padding: var(--spacing-xl);
}

.product-card-modern .spec-tag {
    transition: all 0.3s ease;
}

.product-card-modern:hover .spec-tag {
    background: var(--color-primary);
    color: white;
}

.product-card-modern:hover .spec-tag svg {
    color: white;
}

/* Card entrance animation */
.products-showcase .product-card-modern {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease forwards;
}

.products-showcase .product-card-modern:nth-child(1) { animation-delay: 0.1s; }
.products-showcase .product-card-modern:nth-child(2) { animation-delay: 0.2s; }
.products-showcase .product-card-modern:nth-child(3) { animation-delay: 0.3s; }
.products-showcase .product-card-modern:nth-child(4) { animation-delay: 0.4s; }
.products-showcase .product-card-modern:nth-child(5) { animation-delay: 0.5s; }
.products-showcase .product-card-modern:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .product-modal-inner {
        grid-template-columns: 1fr;
    }
    
    .product-modal-gallery {
        height: 250px;
    }
    
    .modal-specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DETAILED PRODUCT DESCRIPTIONS
   ======================================== */

.product-description-full {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(91, 191, 61, 0.1);
}

.product-description-full h3 {
    color: var(--color-heading);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-light-gray);
}

.product-description-full p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-dark-gray);
    margin-bottom: var(--spacing-md);
}

.product-description-full ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.product-description-full ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark-gray);
}

.product-description-full ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Technical specs table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-md);
}

.specs-table tr {
    border-bottom: 1px solid var(--color-light-gray);
}

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

.specs-table td {
    padding: var(--spacing-md) var(--spacing-sm);
    vertical-align: top;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--color-dark);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--color-dark-gray);
}

/* Product highlights grid */
.product-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.product-highlight {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-light);
    border-radius: var(--radius-md);
}

.product-highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    color: var(--color-white);
}

.product-highlight-icon svg {
    width: 24px;
    height: 24px;
}

.product-highlight h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-heading);
}

.product-highlight p {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .product-highlights {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UNIFIED PRODUCT PAGE STYLES
   ======================================== */

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.product-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info .product-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(91, 191, 61, 0.1);
    border-radius: var(--radius-sm);
}

.product-info h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.product-description {
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.product-description p {
    margin-bottom: var(--spacing-sm);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--color-dark);
}

.product-features li svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SMALLER SECTION HEADERS
   ======================================== */

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-description {
    font-size: 1rem;
}

/* ========================================
   COMPACT CARDS
   ======================================== */

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: 1.125rem;
}

.card-text {
    font-size: 0.9375rem;
}

/* ========================================
   COMPACT FEATURE CARDS
   ======================================== */

.feature-card {
    padding: var(--spacing-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.125rem;
}

.feature-card p {
    font-size: 0.875rem;
}

/* ========================================
   COMPACT INTRO GRID
   ======================================== */

.intro-grid {
    gap: var(--spacing-2xl);
}

.intro-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.intro-content p {
    font-size: 0.9375rem;
}

.intro-features {
    gap: var(--spacing-sm);
}

.intro-feature span {
    font-size: 0.875rem;
}

/* ========================================
   COMPACT FOOTER
   ======================================== */

.footer-main {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-brand p {
    font-size: 0.875rem;
}

.footer-menu a {
    font-size: 0.875rem;
}

.footer-contact-item {
    font-size: 0.875rem;
}

/* ========================================
   COMPACT HERO
   ======================================== */

.hero-content {
    padding: var(--spacing-2xl) 0;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-text {
    font-size: 1.0625rem;
}

.hero-stats {
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
}

.hero-stat-value {
    font-size: 2rem;
}

.hero-stat-label {
    font-size: 0.75rem;
}

